joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425f45
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00408ce0
pop ecx
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, esi
je 0x425fc1
mov edi, 0x80000000
and byte [eax], 0
lea eax, [ebp + 8]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x425fc1
lea eax, [ebp - 0x108]
xor ebx, ebx
push 0x105
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x425f9e
push 1
pop ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x425fc1
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x5c
push esi
call fcn.004098a0
pop ecx
test eax, eax
pop ecx
jne 0x425f6c
push esi
call fcn.00408330
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x402260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402279
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40228d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4022ae
cmp esi, eax
jae 0x402287
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4022a0
cmp esi, eax
jae 0x402287
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4026f0
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
mov esi, eax
mov ecx, 0x53a618
sub ecx, esi
mov edx, 0x12
push edi
mov edi, dword [ecx + eax]
mov dword [eax], edi
add eax, 4
dec edx
jne 0x402700
mov eax, 0x53a660
lea ecx, [esi + 0x48]
pop edi
mov edx, 0x100
lea esp, [esp]
mov esi, dword [eax]
mov dword [ecx], esi
add eax, 4
add ecx, 4
dec edx
jne 0x402720
cmp eax, 0x53b660
jl 0x402714
pop esi
ret
Function at 0x407cc0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x51ee38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x565e78]
push 5
push str.OTHER
lea ecx, [esp + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
call fcn.00401b10
mov dword [esp + 0x28], 0
call fcn.00410f00
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
cmp ecx, 0x10
mov ecx, dword [esp + 4]
jae 0x407d26
lea ecx, [esp + 4]
push eax
push 1
push str.ISCHICKCLOSE
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x30]
neg eax
sbb eax, eax
inc eax
mov dword [ecx + 0x70], eax
cmp dword [esp + 0x18], 0x10
jb 0x407d55
mov edx, dword [esp + 4]
push edx
call fcn.004fa776
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1c]
call fcn.004b6cac
add esp, 0x2c
ret 4
Function at 0x40c420
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x51a018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push esi
push edi
lea eax, [esp + 0x18]
mov edi, ecx
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x68], 0
lea ebx, [ebp + 0xb4]
nop
mov edx, dword [esp + 0x68]
mov al, byte [edx + ebp + 0x130]
test al, al
je 0x40c4ab
mov ecx, dword [ebp + 0x54]
lea eax, [esp + 0x28]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [ebx]
mov eax, dword [ebx - 4]
push edx
sub eax, dword [esp + 0x30]
lea esi, [ebp + 0x68]
push eax
call fcn.0040c9c0
lea ecx, [ebp + 0x70]
push ecx
lea ecx, [ebx - 4]
call fcn.0040c900
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
push edx
lea esi, [ebp + 0x78]
push eax
jmp 0x40c4e5
mov edx, dword [ebp + 0x54]
lea ecx, [esp + 0x40]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebx]
mov ecx, dword [ebx - 4]
push eax
sub ecx, dword [esp + 0x48]
lea esi, [ebp + 0x50]
push ecx
call fcn.0040c9c0
lea edx, [ebp + 0x58]
push edx
lea ecx, [ebx - 4]
call fcn.0040c900
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
push eax
lea esi, [ebp + 0x60]
push ecx
call fcn.0040c9c0
mov eax, dword [esp + 0x7c]
add esp, 0x14
inc eax
add ebx, 0x10
cmp eax, 4
mov dword [esp + 0x68], eax
jl 0x40c460
push 0x856537
xor esi, esi
push esi
push esi
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], vtable.CFont.0
push esi
push 0x53d360
push 0x64
lea ecx, [esp + 0x1c]
mov dword [esp + 0x6c], esi
call fcn.0050421b
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x40c545
mov edx, dword [edi + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi]
push 0x856537
mov ecx, edi
call dword [eax + 0x30]
push 1
mov ecx, edi
call fcn.004ff23e
mov eax, dword [ebp + 0x80]
mov ecx, dword [eax - 0xc]
mov edx, dword [edi]
push 1
lea esi, [ebp + 0xf0]
push esi
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [ebp + 0x84]
mov ecx, dword [eax - 0xc]
mov edx, dword [edi]
push 1
lea esi, [ebp + 0x100]
push esi
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [ebp + 0x88]
mov ecx, dword [eax - 0xc]
mov edx, dword [edi]
push 1
lea esi, [ebp + 0x110]
push esi
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [ebp + 0x8c]
mov ecx, dword [eax - 0xc]
mov edx, dword [edi]
push 1
add ebp, 0x120
push ebp
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.004ffb76
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4
Function at 0x410e20
Capabilities:
Read .ini file

Disassembly:
mov cl, byte [0x56c93c]
mov eax, 1
test al, cl
jne 0x410e56
or dword [0x56c93c], eax
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
push 0x522c90
mov dword [0x56c938], eax
call fcn.004b3e7f
add esp, 4
call fcn.00410f00
mov eax, dword [eax]
push eax
push 0
push str.SKIN
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0x56b5e8
push str._simg_skin_skin_d_
push 0x56c938
call fcn.00405820
add esp, 0x10
mov eax, 0x56c938
ret

Function at 0x411110
Capabilities:
Create directory

Disassembly:
mov cl, byte [0x56c91c]
mov eax, 1
test al, cl
jne 0x411146
or dword [0x56c91c], eax
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
push 0x522cf0
mov dword [0x56c918], eax
call fcn.004b3e7f
add esp, 4
mov eax, dword [0x56c918]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x411199
mov eax, 0x56b5e8
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411160
sub eax, edx
push eax
push 0x56b5e8
mov ecx, 0x56c918
call fcn.00401f00
push 9
push str.Property
mov ecx, 0x56c918
call fcn.00401a20
mov ecx, dword [0x56c918]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 0x56c918
ret

Function at 0x411220
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x565e78]
mov cl, byte [0x56c96c]
mov dword [esp + 0x104], eax
mov eax, 1
test al, cl
jne 0x411268
or dword [0x56c96c], eax
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
push 0x522d10
mov dword [0x56c968], eax
call fcn.004b3e7f
add esp, 4
call fcn.00410f00
mov eax, dword [eax]
push eax
push 0x104
lea ecx, [esp + 8]
push ecx
push 0x53a3bc
push str.AdDlgUrl
push str.ClientSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411295
sub eax, edx
push eax
lea edx, [esp + 4]
push edx
mov ecx, 0x56c968
call fcn.00401f00
mov ecx, dword [esp + 0x104]
mov eax, 0x56c968
call fcn.004b6cac
add esp, 0x108
ret 4
Function at 0x4112d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x51b798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
call fcn.00410f70
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401c20
add eax, 0x10
add esp, 4
mov dword [esp + 0xc], eax
push 0xd
push str._relation.dat
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call fcn.00401a20
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x20], 1
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x20], 2
mov eax, dword [0x56bb0c]
push eax
lea ecx, [esp + 0x18]
push 0x53e840
push ecx
call fcn.00405820
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x20]
push 0x53e840
push eax
call fcn.00405820
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add esp, 0x18
push ebp
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esp + 0x2c], eax
lea eax, [esi - 0x10]
mov byte [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4113b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add edi, 0xfffffff0
mov byte [esp + 0x20], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4113d2
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
add ebp, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4113f5
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x4121f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x24
mov eax, dword [0x565e78]
push esi
mov dword [esp + 0x24], eax
call fcn.00410f00
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401c20
add esp, 4
mov esi, eax
add esi, 0x10
push esi
push 0x20
lea eax, [esp + 0xc]
push eax
push 0x53e4e4
push str.shotKey
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov cl, byte [esp + 4]
mov edx, dword [esp + 0x2c]
mov byte [edx + 0x110], cl
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x41225b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
call fcn.004b6cac
add esp, 0x24
ret 4

Function at 0x412bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51ee38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x565e78]
push ebx
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc]
push eax
push 0x400
push ecx
push ebx
mov dword [esp + 0x1c], ebx
push 0x1300
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 4]
cmp edx, ebx
je 0x412c47
mov eax, edx
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412c27
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.00401b10
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x10]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004018b0
cmp dword [esp + 0x20], 0x10
pop ebx
jb 0x412c78
mov ecx, dword [esp + 8]
push ecx
call fcn.004fa776
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
mov eax, esi
call fcn.004b6cac
add esp, 0x30
ret
Function at 0x41c530
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x51b708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x565e78]
push esi
push edi
mov dword [esp + 0x4c], eax
call fcn.00410f00
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401c20
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 8], esi
push esi
push 0x40
lea eax, [esp + 0x14]
push eax
push 0x53a3bc
push str.LastSvrSel
push str.Public
mov dword [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0xc]
add ecx, 0x11a0
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c5a3
sub eax, edi
push eax
lea edx, [esp + 0x10]
push edx
call fcn.00401f00
lea eax, [esi - 0x10]
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x41c5db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x44]
call fcn.004b6cac
add esp, 0x54
ret 4

Function at 0x41c660
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x520e38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x565e78]
push esi
push edi
mov dword [esp + 0x2c], eax
call fcn.00410f00
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401c20
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 8], esi
push esi
push 0x20
lea eax, [esp + 0x14]
push eax
push 0
push 0x540144
push str.Public
mov dword [esp + 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xc]
add ecx, 0x11a4
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c6d0
sub eax, edi
push eax
lea edx, [esp + 0x10]
push edx
call fcn.00401f00
lea eax, [esi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x41c708
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
call fcn.004b6cac
add esp, 0x34
ret 4
Function at 0x41f640
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x15c
mov eax, dword [0x565e78]
mov dword [esp + 0x158], eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x41f682
cmp eax, 3
je 0x41f682
push ecx
lea eax, [esp + 0x58]
push str._regclient.exe____d_
push eax
call fcn.004b3891
add esp, 0xc
jmp 0x41f6a3
mov edx, dword [esi + 0x1120]
mov eax, dword [esi + 0x111c]
push edx
push eax
push ecx
lea ecx, [esp + 0x60]
push str._regclient.exe____d__s__s_
push ecx
call fcn.004b3891
add esp, 0x14
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [esp]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x56b5e8
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x74]
push edx
push str.RegClient.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x158]
call fcn.004b6cac
add esp, 0x15c
ret
Function at 0x4256b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51d17b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
xor ecx, ecx
mov edx, 0xf
mov dword [eax + 0x20], edx
mov dword [eax + 0x1c], ecx
mov byte [eax + 0xc], cl
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], edx
mov byte [eax + 0x3c], cl
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 4
Function at 0x4297b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51d0fb
push eax
mov dword fs:[0], esp
mov eax, dword [edi]
push esi
mov esi, dword [esp + 0x14]
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
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
lea edx, [esi + 0x20]
mov dword [esi + 0x1c], ecx
lea ecx, [edi + 0x20]
push edx
call fcn.00450840
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
push eax
mov dword [esp + 0x10], 0
call fcn.00450a30
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x42aad0
Capabilities:
Read .ini file

Disassembly:
push esi
push 0x56b958
call fcn.00411050
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401c20
add esp, 4
mov esi, eax
add esi, 0x10
push esi
push 0
push str.svrId
push str.lastGameSvr
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop esi
jg 0x42ab25
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 4], eax
jmp dword [edx + 4]
ret 4
Function at 0x434360
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x51d088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x565e78]
mov dword [esp + 0x5c], eax
push ebp
mov ebp, dword [esp + 0x74]
mov eax, 0x56b5e8
push edi
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4343a4
sub eax, edx
push eax
push 0x56b5e8
lea ecx, [esp + 0x10]
call fcn.00401b10
push 0xb
push str.config.ini
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0
call fcn.00407970
mov eax, dword [esp + 0x20]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0xc]
jae 0x4343e9
lea eax, [esp + 0xc]
push eax
push 0
push str.areaId
push str.Public
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x56b7fc], eax
cmp dword [esp + 0x20], edi
mov eax, dword [esp + 0xc]
jae 0x43440f
lea eax, [esp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x40
lea eax, [esp + 0x30]
push eax
push 0x53a3bc
push str.title
push str.Public
call esi
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x434436
sub eax, edx
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [ebp + 0x358]
call fcn.00401f00
cmp dword [esp + 0x24], edi
mov eax, dword [esp + 0x10]
jae 0x43445e
lea eax, [esp + 0x10]
push eax
push 0x40
lea edx, [esp + 0x30]
push edx
push 0x53a3bc
push str.mainUrl
push str.Public
call esi
lea eax, [esp + 0x28]
lea edx, [eax + 1]
pop esi
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x434480
sub eax, edx
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [ebp + 0x35c]
call fcn.00401f00
cmp dword [esp + 0x20], edi
pop edi
pop ebp
jb 0x4344af
mov ecx, dword [esp + 4]
push ecx
call fcn.004fa776
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x5c]
call fcn.004b6cac
add esp, 0x6c
ret 4
Function at 0x43ac80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x51e4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, esi
call fcn.00441510
push eax
lea ecx, [esp + 0xc]
call fcn.00402030
mov dword [esp + 0x14], 0
cmp dword [esi + 0x60], 0x10
jb 0x43acbe
mov edx, dword [esi + 0x4c]
jmp 0x43acc1
lea edx, [esi + 0x4c]
test edx, edx
jne 0x43acc9
xor eax, eax
jmp 0x43acd9
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43acd0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x10]
call fcn.00401a20
push 4
push str..ini
lea ecx, [esp + 0x10]
call fcn.00401a20
mov eax, dword [esp + 8]
push eax
push 0
push str.Enable
push str.Replay
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 8]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ad37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x43d480
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x264
mov eax, dword [0x565e78]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x268], eax
mov eax, dword [esi + 0x3120]
test eax, eax
je 0x43d4ae
mov ecx, dword [esi + 0x1acc]
push eax
call fcn.004f4a5f
jmp 0x43d4b4
lea eax, [esi + 0x6670]
mov ebp, dword [esi + 0x23c]
mov dword [esp + 8], eax
cmp ebp, dword [esi + 0x240]
mov cl, 1
je 0x43d669
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
mov eax, dword [esp + 0x10]
mov edx, dword [ebp]
cmp edx, dword [eax + 0x20]
jne 0x43d54f
mov edi, dword [ebp + 0x38]
mov eax, dword [ebp + 0x3c]
cmp edi, eax
je 0x43d54f
lea ebx, [ebx]
cmp dword [edi + 0x24], 8
je 0x43d4ff
add edi, 0x58
cmp edi, eax
jne 0x43d4f0
jmp 0x43d54f
call fcn.00410e90
mov ecx, dword [eax]
cmp dword [edi + 0x40], 0x10
jb 0x43d511
mov eax, dword [edi + 0x2c]
jmp 0x43d514
lea eax, [edi + 0x2c]
push ecx
push eax
push 0x541900
push str.stockReg
call ebx
call fcn.00410e90
mov eax, dword [eax]
mov edx, dword [edi + 0x44]
push eax
push 0xa
lea ecx, [esp + 0x174]
push ecx
push edx
call fcn.004b4957
add esp, 0xc
push eax
push str.port
push str.stockReg
call ebx
xor cl, cl
mov eax, dword [esi + 0x240]
add ebp, 0x44
cmp ebp, eax
jne 0x43d4d4
test cl, cl
jne 0x43d667
mov eax, dword [0x56bb50]
xor edi, edi
test ah, 0xf0
je 0x43d5ee
mov ecx, eax
and ecx, 0x1000
sub ecx, 0x1000
mov edx, eax
and edx, 0x2000000
neg ecx
sbb ecx, ecx
inc ecx
test ecx, ecx
je 0x43d59a
mov edi, 1
jmp 0x43d5ee
mov ecx, eax
and ecx, 0x2000
sub ecx, 0x2000
neg ecx
sbb ecx, ecx
inc ecx
test ecx, ecx
je 0x43d5b8
mov edi, 2
jmp 0x43d5ee
mov ecx, eax
and ecx, 0x4000
sub ecx, 0x4000
neg ecx
sbb ecx, ecx
inc ecx
test ecx, ecx
je 0x43d5d6
mov edi, 3
jmp 0x43d5ee
and eax, 0x8000
sub eax, 0x8000
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x43d5ee
mov edi, 4
mov eax, dword [esp + 0x278]
mov ecx, dword [0x56bb58]
mov edx, dword [0x56bb0c]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x78]
push str._stockReg.exe____d__d__d__d_
push eax
call fcn.004b3891
add esp, 0x18
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00441310
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push 0x56b5e8
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0x88]
push ecx
push str.stockReg.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x6660], edx
mov dword [esi + 0x6664], eax
pop edi
pop ebx
mov ecx, dword [esp + 0x268]
pop esi
pop ebp
call fcn.004b6cac
add esp, 0x264
ret 4