joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401894
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x4204e4
push edx
call dword [0x41d398]
mov ecx, 0x6f
mov edx, 0x66
mov edi, 0x65
mov eax, 0x5c
mov esi, 0x73
add esp, 0xc
mov word [esp + 0x60], 0x53
mov word [esp + 0x62], cx
mov word [esp + 0x64], dx
mov word [esp + 0x66], 0x74
mov word [esp + 0x68], 0x77
mov word [esp + 0x6a], 0x61
mov word [esp + 0x6c], bp
mov word [esp + 0x6e], di
mov word [esp + 0x70], ax
mov word [esp + 0x72], 0x4d
mov word [esp + 0x74], bx
mov word [esp + 0x76], 0x63
mov word [esp + 0x78], bp
mov word [esp + 0x7a], cx
mov word [esp + 0x7c], si
mov word [esp + 0x7e], cx
mov word [esp + 0x84], ax
mov word [esp + 0x94], ax
mov word [esp + 0xb2], ax
lea eax, [esp + 0x10]
mov word [esp + 0x8e], cx
mov word [esp + 0xae], cx
push eax
push 3
lea ecx, [esp + 0x68]
mov word [esp + 0x88], dx
push 0
mov edx, 0x6e
push ecx
push 0x80000001
mov word [esp + 0x96], 0x74
mov word [esp + 0x9a], 0x57
mov word [esp + 0x9c], bx
mov word [esp + 0x9e], dx

Function at 0x4031b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x268
mov eax, 0x72
push esi
mov word [esp + 0x14], ax
mov word [esp + 0x20], ax
mov word [esp + 0x42], ax
mov word [esp + 0x44], ax
mov word [esp + 0x50], ax
mov ecx, 0x6f
lea eax, [esp + 4]
push edi
mov word [esp + 0xe], cx
mov edx, 0x66
mov word [esp + 0x26], cx
mov word [esp + 0x2a], cx
mov word [esp + 0x3a], cx
mov word [esp + 0x5a], cx
push eax
push 3
lea ecx, [esp + 0x14]
mov word [esp + 0x18], dx
mov word [esp + 0x34], dx
push 0
mov esi, 0x5c
mov edi, 0x73
mov edx, 0x6e
push ecx
push 0x80000001
mov word [esp + 0x20], 0x53
mov word [esp + 0x26], 0x74
mov word [esp + 0x28], 0x77
mov word [esp + 0x2a], 0x61
mov word [esp + 0x2e], 0x65
mov word [esp + 0x30], si
mov word [esp + 0x32], 0x4d
mov word [esp + 0x34], 0x69
mov word [esp + 0x36], 0x63
mov word [esp + 0x3c], di
mov word [esp + 0x42], 0x74
mov word [esp + 0x44], si
mov word [esp + 0x46], 0x57
mov dword [esp + 0x46], 0xc7660057
inc esp
and al, 0x48
imul eax, dword [eax], 0x24548966
dec edx
mov word [esp + 0x4c], 0x64
mov word [esp + 0x50], 0x77
mov word [esp + 0x52], di
mov word [esp + 0x54], si
mov word [esp + 0x56], 0x43
mov word [esp + 0x58], 0x75
mov word [esp + 0x5e], 0x65
mov word [esp + 0x60], dx
mov word [esp + 0x62], 0x74
mov word [esp + 0x64], 0x76
mov word [esp + 0x66], 0x65
mov word [esp + 0x6a], di
mov word [esp + 0x6c], 0x69
mov word [esp + 0x70], dx
mov word [esp + 0x72], si
mov word [esp + 0x74], 0x52
mov word [esp + 0x76], 0x75
mov word [esp + 0x78], dx
mov word [esp + 0x7a], 0
call dword [0x428860]
mov edi, dword [esp + 0x274]
test eax, eax
jne 0x403325
mov edx, dword [esp + 8]
push edi
push edx
call dword [0x428874]
mov eax, dword [esp + 8]
push eax
call dword [0x428854]
mov esi, dword [esp + 0x278]
lea ecx, [esp + 0x68]
push esi
push ecx
call dword [0x41d374]
lea edx, [esp + 0x70]
push edi
push edx
call dword [0x41d390]
push esi
call fcn.00408340
add esp, 0x14
push 0
call dword [0x41d2f0]
pop edi
pop esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x403274
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x268
mov eax, 0x72
push esi
mov word [esp + 0x14], ax
mov word [esp + 0x20], ax
mov word [esp + 0x42], ax
mov word [esp + 0x44], ax
mov word [esp + 0x50], ax
mov ecx, 0x6f
lea eax, [esp + 4]
push edi
mov word [esp + 0xe], cx
mov edx, 0x66
mov word [esp + 0x26], cx
mov word [esp + 0x2a], cx
mov word [esp + 0x3a], cx
mov word [esp + 0x5a], cx
push eax
push 3
lea ecx, [esp + 0x14]
mov word [esp + 0x18], dx
mov word [esp + 0x34], dx
push 0
mov esi, 0x5c
mov edi, 0x73
mov edx, 0x6e
push ecx
push 0x80000001
mov word [esp + 0x20], 0x53
mov word [esp + 0x26], 0x74
mov word [esp + 0x28], 0x77
mov word [esp + 0x2a], 0x61
mov word [esp + 0x2e], 0x65
mov word [esp + 0x30], si
mov word [esp + 0x32], 0x4d
mov word [esp + 0x34], 0x69
mov word [esp + 0x36], 0x63
mov word [esp + 0x3c], di
mov word [esp + 0x42], 0x74
mov word [esp + 0x44], si
mov word [esp + 0x46], 0x57
mov dword [esp + 0x46], 0xc7660057
inc esp
and al, 0x48
imul eax, dword [eax], 0x24548966
dec edx
mov word [esp + 0x4c], 0x64
mov word [esp + 0x50], 0x77
mov word [esp + 0x52], di
mov word [esp + 0x54], si
mov word [esp + 0x56], 0x43
mov word [esp + 0x58], 0x75
mov word [esp + 0x5e], 0x65
mov word [esp + 0x60], dx
mov word [esp + 0x62], 0x74
mov word [esp + 0x64], 0x76
mov word [esp + 0x66], 0x65
mov word [esp + 0x6a], di
mov word [esp + 0x6c], 0x69
mov word [esp + 0x70], dx
mov word [esp + 0x72], si
mov word [esp + 0x74], 0x52
mov word [esp + 0x76], 0x75
mov word [esp + 0x78], dx
mov word [esp + 0x7a], 0
call dword [0x428860]
mov edi, dword [esp + 0x274]
test eax, eax
jne 0x403325
mov edx, dword [esp + 8]
push edi
push edx
call dword [0x428874]
mov eax, dword [esp + 8]
push eax
call dword [0x428854]
mov esi, dword [esp + 0x278]
lea ecx, [esp + 0x68]
push esi
push ecx
call dword [0x41d374]
lea edx, [esp + 0x70]
push edi
push edx
call dword [0x41d390]
push esi
call fcn.00408340
add esp, 0x14
push 0
call dword [0x41d2f0]
pop edi
pop esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x40be44
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x451b06
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4632c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
lea eax, [edi + 0x14]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00402464
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
lea eax, [edi + 0x30]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00402464
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 1
lea eax, [edi + 0x4c]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00402464
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x40bf04
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4519a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4632c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00402a14
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40bf5a
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [esp + 0x14]
call fcn.00406074
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00402a14
cmp dword [esp + 0x24], 8
jb 0x40bfa2
mov edx, dword [esp + 0x10]
push edx
call 0x435d19
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x411404
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4540c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x4632c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
push 8
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x30], eax
push 0x222034
xor edx, edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00414f34
test eax, eax
je 0x411464
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
call fcn.00411484
lea esi, [esp + 0xc]
call fcn.004150f4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 4
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4e2008], 0x8088405
inc edx
mov dword [ebx + 0x4e2008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4c654a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6551
ret
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x4c78af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0x4e454c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0x4e454c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0x4e3378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c78b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x10001dbf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x10035264], 0x18a6
mov dword [ebp - 0x10], eax
call fcn.100020ff
mov ecx, eax
mov dword [0x10035264], 0x1b2b
mov edx, dword [eax + 0x3c]
mov dword [0x10035268], 0x1008
mov edx, dword [eax + edx + 0x78]
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov dword [0x10035268], 0x1ce1
mov eax, dword [eax + edx + 0x24]
mov dword [0x10035264], 0x1959
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ecx + edx + 0x18]
cmp esi, 0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
je 0x10001f32
jmp 0x10001e8a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
jmp 0x10001e9c
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10001e9c
jmp 0x10001ec5
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
add ecx, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jmp 0x10001e44
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
jne 0x10001e60
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10001f0f
jmp 0x10001ece
mov eax, dword [ebp - 0x38]
add eax, 2
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x24]
cmp ecx, edx
setb bl
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov byte [ebp - 0x51], bl
xor eax, eax
mov cl, byte [ebp - 0x51]
test cl, 1
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], eax
jne 0x10001e44
jmp 0x10001f32
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x18]
add edi, dword [edx + ecx*4]
mov dword [0x10035264], 0x195f
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10002336
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov eax, dword [0x10035264]
add eax, 0x851
mov dword [0x10035264], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10035268], 0x2390
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x100023c1
mov eax, 0xfffffce9
mov ecx, dword [ebp - 0x18]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jl 0x100023c1
jmp 0x100023df
mov dword [0x10035264], 0x27cc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1000245d
jmp 0x1000247e
mov eax, dword [ebp - 0x14]
mov ecx, 0x54c
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], esi
jne 0x1000237c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [0x10035268], ecx
mov dword [0x10035264], 0x1103
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x1000247e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1000247e
mov dword [0x10035264], 0x10da
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff5
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2], 0x61
jne 0x1000247e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1000247e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1000239f
jmp 0x1000247e
mov eax, 1
mov dword [0x10035264], 0xc6b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x30], eax
je 0x10002497
mov eax, dword [ebp - 0x28]
add eax, 0xfffffb96
mov dword [ebp - 0x34], eax
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov dword [0x10035264], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add esp, 0x30
pop esi
pop ebp
ret
Function at 0x1000262f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, str.xQV
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x10035264], 0x1fa4
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10001d12
mov dword [0x10035264], 0xb6a
call fcn.10002e94
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10001f3d
xor ecx, ecx
mov dword [0x10035264], 0x1d9b
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1000275e
mov eax, dword [ebp - 0x30]
add eax, 0x40
mov ecx, dword [ebp - 0x3c]
mov dword [0x10035264], 0x5b1
mov edx, esp
mov dword [edx + 0xc], 0x40
mov dword [edx + 8], 0x1000
mov dword [edx + 4], 0x6000
mov dword [edx], 0
mov dword [ebp - 0x44], eax
call ecx
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.1000322a
mov eax, dword [ebp - 0x48]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov dword [eax + 0xc0], 0x4550
mov dword [0x10035268], 0xb5e
add eax, 0xffc00000
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x10], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov dword [ecx], edx
mov dword [0x10035264], 0xc06
cmp edx, 0
mov dword [ebp - 0x40], eax
je 0x1000275e
mov dword [0x10035264], 0x263b
mov eax, dword [ebp - 0x48]
add eax, 0x20b1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop edi
pop ebp
ret