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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x42f080]
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.0041689d
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.0041689d
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 0x41f2c0
cmp word [ecx], dx
je 0x41f2c0
mov eax, dword [0x427c1c]
push edi
dec eax
push eax
push 0x427b08
call fcn.0041f1e8
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41f333
cmp word [eax], dx
je 0x41f333
mov eax, dword [edi]
test eax, eax
je 0x41f2e4
cmp word [eax], dx
je 0x41f2e4
lea eax, [ebp - 0x10]
push eax
call fcn.0041ebcb
jmp 0x41f2ed
lea eax, [ebp - 0x10]
push eax
call fcn.0041ec66
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41f35d
mov eax, dword [0x427b04]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4277f8
call fcn.0041f1e8
add esp, 0xc
test al, al
je 0x41f35d
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41f328
cmp word [eax], di
je 0x41f328
lea eax, [ebp - 0x10]
push eax
call fcn.0041ebcb
pop ecx
jmp 0x41f35f
lea eax, [ebp - 0x10]
push eax
call fcn.0041ec66
jmp 0x41f325
mov eax, dword [edi]
test eax, eax
je 0x41f34a
cmp word [eax], dx
je 0x41f34a
lea eax, [ebp - 0x10]
push eax
call fcn.0041eb80
pop ecx
jmp 0x41f35d
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 0x41f428
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041f06d
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41f428
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41f428
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41f428
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41f3b5
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0041982e
test ebx, ebx
je 0x41f423
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0041982e
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41f428
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 0x41f428
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0042133d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41f42a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040acde
leave
ret
Function at 0x421a05
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00421981
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x421b74
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x421b74
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x421b29
jg 0x421a61
test eax, eax
je 0x421b1f
push 1
push 0x1000
call fcn.0041744e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x421a84
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x421b16
push 0x8000
push ebx
call fcn.00413d14
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x421aad
jg 0x421aa8
cmp ecx, 0x1000
jb 0x421aad
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041873b
add esp, 0x10
cmp eax, 0xffffffff
je 0x421af2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x421aa8
jl 0x421ad9
test ecx, ecx
jne 0x421a9a
push dword [ebp - 0xc]
push ebx
call fcn.00413d14
push esi
call fcn.00416d78
add esp, 0xc
xor ebx, ebx
jmp 0x421b82
cmp byte [edi + 0x24], 0
je 0x421b09
cmp dword [edi + 0x20], 5
jne 0x421b09
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x421b14
mov ebx, dword [edi + 0x18]
jmp 0x421b16
xor ebx, ebx
push esi
call fcn.00416d78
pop ecx
jmp 0x421b82
test ecx, ecx
jg 0x421aeb
jl 0x421b29
test eax, eax
jae 0x421aeb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418b9d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x421b49
cmp byte [edi + 0x1c], 0
je 0x421aeb
jmp 0x421b7a
push ebx
call fcn.0041d144
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x421aeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x421b82
cmp byte [edi + 0x1c], 0
je 0x421b7f
mov ebx, dword [edi + 0x18]
jmp 0x421b82
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00418b9d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x422c00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x422c2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422c2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5df178
Capabilities:
Check for vm using instruction vpcext

Disassembly:
std
push es
push ds
ror dword [edi], 8
sbb dword [edi], esi
dec edx
sub al, 0x61
xchg esi, ebx
jg 0x5df055
cmp ecx, ebp
std
int 0xfd
jns 0x5df048
invalid
jnp 0x5deffe
invalid
scasb al, byte es:[edi]
stosb byte es:[edi], al
or dword [esi + eax*4 + 3], 0xffffff8f
idiv ch
push ss
push ss
mov dh, bl
add edx, dword [esi]
jge 0x5defed
or byte [edi - 0x1ce7ba0], bh
inc esp
aam 0x23
sbb dword [ebp - 7], edi
inc esp
ljmp 0xfd7d
inc esp
add al, 8
sbb dword [ebp - 7], edi
or byte [ecx], bl
jge 0x5df083
inc esp
invalid
dec edi
stosd dword es:[edi], eax
push ecx
xchg byte [ebx], al
push ss
jge 0x5df05e
pushfd
xchg esi, eax
or esi, 0xbefbccd2
xchg byte [0x2d6fbf16], ch
push ss
mov edi, 0x7d162b85
xchg dword [ebx - 0x44a0855a], eax
leave
push ds
loopne 0x5df086
insd dword es:[edi], dx
push ebp
xchg dword [ebx], edx
imul ebx, dword [ebx], 0xffffff87
add edx, dword [esi]
xor dh, byte [0x7919998f]
adc eax, 0x2597d94
xchg esp, eax
jbe 0x5df14f
add dl, byte [esp + edi*2 + 0x7d16024f]
pop es
dec edi
add dl, byte [esi]
jge 0x5df105
rcr dword [eax], cl
cmc
xchg dword [esi - 0x4c], ebp
xchg dword [esp + eax*4 - 0x71488312], esp
mov bl, 0x7d
xchg dword [ebx], eax
jg 0x5df149
movsb byte es:[edi], byte [esi]
test dh, ch
jl 0x5df0c1
invalid
adc byte [edi - 0x3dc79a55], 0xe9
jecxz 0x5df14b
mov ebx, 0xdb823872
cmpsb byte [esi], byte es:[edi]
loopne 0x5df14d
dec edx
push ds
loopne 0x5df0f9
sbb eax, 0x1908274c
invalid
in al, 2
push ss
jge 0x5df0ba
xor esi, ebp
inc ebx
lds ecx, [eax]
sbb dword [ebp - 0x5d], edi
mov word [ebx + 0x1aa53861], gs
invalid
mov al, byte [0xaa877d16]
push ss
jge 0x5df0d5
xchg dword [edx + 0x3877cfe], ebp
sbb ebx, edx
add byte [ebx], 0x51
sahf
ror esp, 1
sti
push ecx
stosb byte es:[edi], al
invalid
sub eax, 0x877d1713
add ebp, ecx
clc
jmp 0x1660a060
scasb al, byte es:[edi]
add dl, byte [esi]
jge 0x5df0ee
xor esi, edi
inc esp
wait
or byte [ecx], bl
jge 0x5df1ad
int 0xe1
sahf
scasd eax, dword es:[edi]
push ss
push ss
dec eax
cmp dword [ebp - 0x5c8dbe94], ebp
jae 0x5df163
rol dword [ecx], 1
rol dword [esi + 0x659b0877], cl
test byte [ebx + 0x157903b1], bl
imul edi, dword [ebp + 0x7cf28db6], 0xffffff87
add eax, dword [ecx + 0x38]
mov al, byte [0xaa877d16]
add byte [ebp - 0x79], bh
add eax, dword [ecx + 0x38]
mov al, byte [edx]
push ss
jge 0x5df131
xchg dword [edx + 0x3877d00], ebp
inc ecx
cmp byte [edx - 0x7882e9fe], cl
mov byte [0x4d8a3875], al
sub al, 0x79
xchg esi, ebx
jg 0x5df20d
mov cl, byte [ebp + 0x2c]
jns 0x5df139
fidivr word [edi + 0x58]
mov dh, 0xf1
mov esi, 0x5c64aae2
loop 0x5df165
pop esp
xchg dword [ebx], eax
imul edi, dword [ebp + 0x7c168eb6], 0xffffff87
add edi, dword [edi + 0x38]
jle 0x5df19d
cmpsb byte [esi], byte es:[edi]
fidivr word [ecx + 0xb]
sbb dword [edi], esp
into
arpl word [ecx], bx
jge 0x5df15d
adc dword [esi - 0x76], 0x7d161cf2
xchg dword [edi + ebp*2 + 0x6b188761], eax
pushal
xchg dword [eax - 0x2a], edx
mov word [edi - 0x5f82e9fd], es
mov word [ebx - 0x125d19b], es
sub eax, 0xce81969f
ror ah, cl
sti
mov esi, 0xbf162d86
outsd dx, dword [esi]
sub eax, 0x2b85bf16
push ss
jge 0x5df1b9
and dword [esi - 0x3644a086], 0x1e
Function at 0x10010bf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1008c400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x100ca0b0]
push esi
push eax
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.10026c40
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x10010cc2
mov eax, dword [edi]
test eax, eax
je 0x10010c71
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10010c71
test ebx, ebx
je 0x10010c71
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10010c71
cmp dword [ebp - 8], esi
je 0x10010cc2
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10010c91
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10010c85
cmp eax, 1
jne 0x10010c91
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002461d
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002461d
mov esp, ebp
pop ebp
ret 8
Function at 0x10015ca0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push esi
push edi
lea edi, [ebp - 0x150]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1008c400]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x100cb0a7
call fcn.100245eb
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x130], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10015de5
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.10031010
add esp, 8
test eax, eax
jne 0x10015d69
mov esi, esp
mov ecx, dword [ebp - 0x128]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.100245c8
mov dword [ebp - 0x13c], eax
mov esi, esp
push 0
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp esi, esp
call fcn.100245c8
push 0xffffffffffffffff
call fcn.10031590
nop
push 0
call fcn.100155a0
add esp, 4
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], edx
lea eax, [ebp - 0x148]
push eax
call fcn.10015570
add esp, 4
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0x14]
add edx, 0x76c
cmp edx, 0x7e7
jne 0x10015dc2
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x14]
add ecx, 0x76c
cmp ecx, 0x7e8
je 0x10015dca
push 0xffffffffffffffff
call fcn.10031590
nop
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x138]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10015d0f
cmp dword [ebp - 0x138], 0xffffffff
je 0x10015e05
mov esi, esp
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100245c8
nop
push edx
mov ecx, ebp
push eax
lea edx, [0x10015e34]
call fcn.10024574
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002461d
add esp, 0x150
cmp ebp, esp
call fcn.100245c8
mov esp, ebp
pop ebp
ret
Function at 0x1001b1e0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov ecx, 0x100cb323
call fcn.100245eb
mov dword [ebp - 8], str.totoshka.hopto.org
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp esi, esp
call fcn.100245c8
mov dword [ebp - 4], eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx + ecx]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
push 0xf
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
cmp esi, esp
call fcn.100245c8
push eax
push 0x7c0dd0
call fcn.10026c40
add esp, 0xc
push 0xf
mov esi, esp
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
cmp esi, esp
call fcn.100245c8
push eax
push 0x1008f76c
call fcn.10026c40
add esp, 0xc
push edx
mov ecx, ebp
push eax
lea edx, [0x1001b2a0]
call fcn.10024574
pop eax
pop edx
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.100245c8
mov esp, ebp
pop ebp
ret
Function at 0x1001d130
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov ecx, 0x100cb8ea
call fcn.100245eb
nop
push 0x104
call fcn.10024a3d
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov esi, esp
push 0x1007c2a0
push 0x104
mov ecx, dword [ebp - 0x10]
push ecx
push str.Verdana
push str.FONT_NAME
push 0x1007c2c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.100245c8
push 7
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [0x1008c2f0]
add eax, 0x357718
push eax
lea ecx, [ebp - 5]
call fcn.10021f80
mov esi, esp
push 0x1007c2cc
push 0x104
mov ecx, dword [ebp - 0x10]
push ecx
push 0x1007c2dc
push str.FONT_SIZE
push 0x1007c2ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.100245c8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1004ebfb
add esp, 4
mov byte [ebp - 0x15], al
movzx eax, byte [ebp - 0x15]
cmp eax, 0xb
jge 0x1001d204
mov byte [ebp - 0x15], 0xb
jmp 0x1001d211
movzx ecx, byte [ebp - 0x15]
cmp ecx, 0x14
jle 0x1001d211
mov byte [ebp - 0x15], 0x14
movzx edx, byte [ebp - 0x15]
add edx, 2
mov byte [ebp - 0x15], dl
push 1
lea eax, [ebp - 0x15]
push eax
mov ecx, dword [0x1008c2f0]
add ecx, 0x176b80
push ecx
lea ecx, [ebp - 5]
call fcn.10021f80
movzx edx, byte [ebp - 0x15]
sub edx, 2
mov byte [ebp - 0x15], dl
push 1
lea eax, [ebp - 0x15]
push eax
mov ecx, dword [0x1008c2f0]
add ecx, 0x176b99
push ecx
lea ecx, [ebp - 5]
call fcn.10021f80
movzx edx, byte [ebp - 0x15]
sub edx, 1
mov byte [ebp - 0x15], dl
push 1
lea eax, [ebp - 0x15]
push eax
mov ecx, dword [0x1008c2f0]
add ecx, 0x176bb3
push ecx
lea ecx, [ebp - 5]
call fcn.10021f80
nop
push edx
mov ecx, ebp
push eax
lea edx, [0x1001d2a4]
call fcn.10024574
pop eax
pop edx
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.100245c8
mov esp, ebp
pop ebp
ret

Function at 0x1001d2f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov ecx, 0x100cb98c
call fcn.100245eb
mov esi, esp
push 1
push 0
push 0
push str.https:__shaiya.sonovgames.com__pdonate
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp esi, esp
call fcn.100245c8
nop
pop esi
cmp ebp, esp
call fcn.100245c8
pop ebp
ret
Function at 0x1001d970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
push edi
lea edi, [ebp - 0x80]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1008c400]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x100cbc17
call fcn.100245eb
cvtsi2ss xmm0, dword [ebp + 0x10]
movss dword [ebp - 8], xmm0
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
push 0x64
lea ecx, [ebp - 0x70]
push ecx
push 0x1007c32d
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.100245c8
test eax, eax
jbe 0x1001da09
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.10054d3f
add esp, 8
fstp dword [ebp - 8]
movss xmm0, dword [ebp - 8]
ucomiss xmm0, dword [0x1007c3a8]
lahf
test ah, 0x44
jp 0x1001da09
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x7c], eax
jne 0x1001da09
cvtsi2ss xmm0, dword [ebp + 0x10]
movss dword [ebp - 8], xmm0
fld dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x1001da3c]
call fcn.10024574
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002461d
add esp, 0x80
cmp ebp, esp
call fcn.100245c8
mov esp, ebp
pop ebp
ret
Function at 0x10021d80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov ecx, 0x100cbf41
call fcn.100245eb
nop
cmp dword [ebp + 0x10], 5
jge 0x10021dbc
xor eax, eax
jmp 0x10021e2d
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100245c8
mov eax, dword [ebp + 0x10]
push eax
push 0x90
mov ecx, dword [ebp + 8]
push ecx
call fcn.100271c0
add esp, 0xc
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
sub edx, 5
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov byte [eax], 0xe9
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 1], edx
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100245c8
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x10021e50]
call fcn.10024574
pop eax
pop edx
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.100245c8
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10022340
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov ecx, 0x100cc042
call fcn.100245eb
nop
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x10022368
jmp 0x1002244c
mov esi, esp
push str.game.exe
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.100245c8
mov dword [0x1008c2f0], eax
cmp dword [0x1008c2f0], 0
je 0x10022444
call fcn.10022780
mov esi, esp
push 0
push 0
push 0
push 0x10022180
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.100245c8
mov esi, esp
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.100245c8
mov esi, esp
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x10015e60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.100245c8
mov esi, esp
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x10022880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.100245c8
mov esi, esp
push 0
push 0
push 0
push 0x1001bf50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.100245c8
mov esi, esp
push 0
push 0
push 0
push 0x1001bec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.100245c8
nop
jmp 0x1002244c
push 0xffffffffffffffff
call fcn.10031590
nop
mov eax, 1
pop esi
add esp, 4
cmp ebp, esp
call fcn.100245c8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10024698
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x100246cd
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x100246ca
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x100246d6
add edx, 0x28
cmp edx, esi
jne 0x100246b8
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x100246d3
Function at 0x1003142d
Capabilities:
Parse pe header

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

Function at 0x100592ea
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10080374
push 0x1008036c
push str.FlsAlloc
push 0x1f
call fcn.10058fb8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005931e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1007b254]
call esi
jmp 0x10059324
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10059368
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10080384
push 0x1008037c
push str.FlsGetValue
push 0x21
call fcn.10058fb8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005939f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1007b254]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100593a7
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1008038c
push 0x10080384
push str.FlsSetValue
push 0x22
call fcn.10058fb8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100593e1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1007b254]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]