joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428930
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x54], edi
mov eax, dword [edi + 0x6530]
test eax, eax
je 0x428b8d
mov eax, dword [0x7e04f0]
test eax, eax
jne 0x428b8d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 0x80
je 0x428b8d
mov esi, dword [0x8aa48c]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x428b8d
push 0x3f800000
push 0
push 0x3ec8c8c9
lea eax, [esp + 0x64]
push 0x3f48c8c9
push eax
mov dword [esp + 0x28], 0xdc
mov dword [esp + 0x2c], 0x190
mov dword [esp + 0x30], 0x140
mov dword [esp + 0x34], 0x235
mov dword [esp + 0x38], 0x435c0000
mov dword [esp + 0x3c], 0x43c80000
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x42c80000
mov dword [esp + 0x48], 0x43250000
mov dword [esp + 0x4c], 0x3f800000
call fcn.00466800
add esp, 0x14
lea ecx, [esp + 0x58]
lea edx, [esp + 0x30]
lea eax, [esp + 0x24]
push 0
push 0
push ecx
mov ecx, dword [0x8ab7bc]
push edx
push eax
push ecx
mov ecx, 0x5600fc
mov dword [esp + 0x7c], 0x3f34b4b5
call fcn.004542f0
push 1
push 0x5050a0
lea edx, [esp + 0x1c]
push 0
push edx
mov ecx, 0x8ab7a8
call fcn.0045e570
mov ebx, dword [edi + 0x6520]
xor ebp, ebp
test ebx, ebx
je 0x428b8d
xor edi, edi
mov dword [esp + 0x10], edi
mov esi, dword [ebx + 4]
test esi, esi
je 0x428b7a
mov eax, dword [esp + 0x54]
cmp ebp, dword [eax + 0x6534]
jne 0x428b29
push 0x3f800000
push 0
push 0
lea ecx, [esp + 0x64]
push 0x3f800000
push ecx
call fcn.00466800
fild dword [esp + 0x28]
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x64]
add esp, 0x14
mov dword [esp + 0x2c], ecx
fadd dword [0x476658]
mov dword [esp + 0x40], 0x41800000
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x34], ecx
fstp dword [esp + 0x48]
fild dword [esp + 0x10]
mov edx, dword [esp + 0x48]
push 0
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
fiadd dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x6c], 0x3ef0f0f1
fadd dword [0x476868]
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
sub edx, eax
sub edx, 2
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x4c]
fild dword [esp + 0x18]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x2c]
fstp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x60]
push eax
mov eax, dword [0x8ab7bc]
push ecx
push edx
push eax
mov ecx, 0x5600fc
call fcn.004542f0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add esi, 8
push 0
push esi
push 0
lea edx, [edi + ecx + 4]
push 0xa0a0a
add eax, 4
push edx
push eax
push 0
mov ecx, 0x8ab7a8
call fcn.0045dd70
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0
push esi
push 0
lea edx, [edi + ecx + 5]
push 0xffffff
add eax, 5
push edx
push eax
push 0
mov ecx, 0x8ab7a8
call fcn.0045dd70
mov ebx, dword [ebx + 0xc]
inc ebp
add edi, 0x10
test ebx, ebx
mov dword [esp + 0x10], edi
jne 0x428a47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
Function at 0x428d10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10c
lea eax, [esp + 8]
push esi
push edi
push 0x47eed0
push 0x47eee4
push str..Data_s__s_.slt
mov edi, ecx
push eax
call fcn.0046811c
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x428dbb
mov dx, word [0x47ad94]
push ebp
mov ebp, dword [edi + 0x6520]
mov word [esp + 0xe], dx
test ebp, ebp
je 0x428db3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 4]
test eax, eax
je 0x428dab
lea edx, [eax + 8]
lea eax, [esp + 0x14]
push 0
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call ebx
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x1a]
push 1
push edx
push esi
call ebx
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x428d78
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
add esp, 0x10c
ret
Function at 0x429420
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10c
lea eax, [esp + 8]
push esi
push edi
push 0x47eed0
push 0x47eee4
push str..Data_s__s_.mlt
mov edi, ecx
push eax
call fcn.0046811c
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4294cb
mov dx, word [0x47ad94]
push ebp
mov ebp, dword [edi + 0x653c]
mov word [esp + 0xe], dx
test ebp, ebp
je 0x4294c3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 4]
test eax, eax
je 0x4294bb
lea edx, [eax + 8]
lea eax, [esp + 0x14]
push 0
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call ebx
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x1a]
push 1
push edx
push esi
call ebx
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x429488
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
add esp, 0x10c
ret
Function at 0x42e1f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
xor eax, eax
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x41
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x118]
push 0x8b187c
push str..itm
push eax
lea ecx, [esp + 0x1c]
push str..Data_
push ecx
push 0x8ab7a8
call fcn.0045dc70
add esp, 0x18
lea edx, [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42e2b5
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [ebx + 0x6cc8]
push 0x22fe8
push ecx
push esi
call edi
lea edx, [esp + 0xc]
push 0
push edx
lea eax, [ebx + 0x6818]
push 0x4b0
push eax
push esi
call edi
lea ecx, [esp + 0xc]
push 0
push ecx
add ebx, 0xda4
push 0x48d8
push ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x108
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x108
ret 4
Function at 0x43b600
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x88
lea eax, [esp + 8]
push ebx
push esi
push edi
mov edi, dword [esp + 0x98]
push edi
push str..Map_s.map
mov ebx, ecx
push eax
call fcn.0046811c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
lea edx, [ebx + 4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x80
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 3
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push 1
lea ecx, [esp + 0x28]
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x43b812
mov ecx, ebx
call fcn.0043b820
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [ebx + 0x110]
push 0x1c
push eax
push edi
call esi
movsx eax, word [ebx + 0x128]
movsx ecx, word [ebx + 0x126]
imul eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edx, [eax + eax*2]
push edx
call fcn.00468b1a
movsx edx, word [ebx + 0x126]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [ebx + 0x108], eax
push 0
push ecx
movsx ecx, word [ebx + 0x128]
imul ecx, edx
lea ecx, [ecx + ecx*2]
shr ecx, 2
push ecx
push eax
push edi
call esi
movsx eax, word [ebx + 0x128]
movsx edx, word [ebx + 0x126]
imul eax, edx
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 1
push ecx
call fcn.00468b1a
movsx ecx, word [ebx + 0x128]
add esp, 4
lea edx, [esp + 0x10]
mov dword [ebx + 0x10c], eax
push 0
push edx
movsx edx, word [ebx + 0x126]
imul ecx, edx
lea edx, [ecx*8]
sub edx, ecx
shl edx, 1
push edx
push eax
push edi
call esi
mov eax, 0x64
mov dword [ebx], 1
cmp word [ebx + 0x126], ax
jge 0x43b756
cmp word [ebx + 0x128], ax
jge 0x43b756
mov dword [ebx + 0x18c], 0
mov esi, 0x5612b4
mov ecx, esi
call fcn.00465fe0
add esi, 0x144
cmp esi, 0x565994
jl 0x43b75b
mov al, byte [ebx + 0x124]
mov cl, 0xe
inc al
imul cl
mov byte [esp + 0xc], al
mov eax, dword [esp + 0xc]
and eax, 0xff
lea ecx, [eax + 0xe]
cmp eax, ecx
jge 0x43b7e9
lea edx, [eax + eax*8]
push ebp
lea edx, [edx + edx*8]
lea esi, [edx*4 + 0x5600fc]
mov edx, eax
shl edx, 6
add edx, eax
sub ecx, eax
mov dword [esp + 0x10], ecx
lea ebp, [edx*4 + 0x56b22c]
push 1
push ebp
mov ecx, esi
call fcn.004660e0
test eax, eax
jne 0x43b7d1
mov ecx, esi
call fcn.00465fe0
push 0
push ebp
mov ecx, esi
call fcn.004660e0
mov eax, dword [esp + 0x10]
add ebp, 0x104
add esi, 0x144
dec eax
mov dword [esp + 0x10], eax
jne 0x43b7b2
pop ebp
mov eax, dword [ebx + 0x18c]
test eax, eax
je 0x43b7fa
mov ecx, ebx
call fcn.0043b440
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x88
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x88
ret 4
Function at 0x43deb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
push edi
push ebx
lea ebp, [esi + 0x2c0]
push ebp
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x43df2c
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x43df2c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
mov dl, ah
test dl, dl
je 0x43df2c
mov eax, dword [esi + 0x2f4]
mov edx, dword [esi + 0x2bc]
mov ecx, dword [esi + 0x2f0]
sub edx, eax
add edx, edi
sub edi, eax
push edx
mov edx, dword [esi + 0x2b8]
sub edx, ecx
add edx, ebx
sub ebx, ecx
push edx
push edi
push ebx
push ebp
call dword [sym.imp.USER32.dll_SetRect]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8

Function at 0x43e260
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, ecx
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push edi
push ebx
push eax
push ecx
push ebp
push edx
mov ecx, esi
call fcn.00423b30
push 0
push 0xffffffffffffffff
push 1
lea eax, [edi + 0x10]
push 0
lea ecx, [ebx + 0x224]
push eax
push ecx
push 0xa2
push 0xa1
push ebp
lea ecx, [esi + 0x54]
call fcn.00417550
push 0
push 0xffffffffffffffff
push 1
add edi, 0x1b
push 0
add ebx, 0x1f0
push edi
push ebx
push 0x25f
push 0x25e
push ebp
lea ecx, [esi + 0x108]
call fcn.00417550
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edi, [esi + 0x1bc]
lea edx, [eax + 0xe0]
add eax, 0x36
push edx
lea edx, [ecx + 0x202]
push edx
add ecx, 0x2e
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [0x8ab7ac]
mov eax, dword [esi + 0x1c0]
mov edx, dword [0x8ab7b0]
mov edi, dword [edi]
push 0
push ecx
mov ecx, dword [esi + 0x1c8]
push 0
sub ecx, eax
push edx
mov edx, dword [esi + 0x1c4]
push ecx
mov ecx, dword [0x8ab7f4]
sub edx, edi
add eax, ecx
push edx
push eax
mov edx, dword [0x8ab7f0]
add edi, edx
push edi
push 0x80000044
push 0x8b187c
push str.EDIT
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [esi + 0x1cc], eax
je 0x43e3b6
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x1cc]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1cc]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0xfa0
push 0xc5
push ecx
call edi
mov edx, dword [0x8aa4a0]
mov eax, dword [esi + 0x1cc]
push 1
push edx
push 0x30
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x24
Function at 0x43e4b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1f40
call fcn.00468d10
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0x1f50]
mov eax, dword [ebp + 0x54]
lea ecx, [ebp + 0x54]
push edi
mov edi, dword [esp + 0x1f50]
push esi
push edi
call dword [eax + 0x10]
test eax, eax
je 0x43e4ed
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x1f40
ret 8
mov edx, dword [ebp + 0x108]
lea ecx, [ebp + 0x108]
push esi
push edi
call dword [edx + 0x10]
test eax, eax
je 0x43e62c
mov edx, dword [ebp + 0x1cc]
test edx, edx
je 0x43e61b
mov ecx, 0x3e8
xor eax, eax
lea edi, [esp + 0xfac]
push ebx
rep stosd dword es:[edi], eax
mov ecx, 0x3e8
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xfb0]
push 0xfa0
push eax
push edx
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0xfb0]
push 0xa
push ecx
lea esi, [esp + 0xfb8]
call fcn.00468bf0
mov edi, eax
add esp, 8
test edi, edi
je 0x43e5bc
mov byte [edi], 0
mov al, byte [esi]
cmp al, 0xd
push 0x8b187c
jne 0x43e58f
lea edx, [esp + ebx + 0x14]
push 0x47c4a4
push edx
push 0x8ab7a8
call fcn.0045dc70
add esp, 0x10
add ebx, 2
jmp 0x43e5a8
lea eax, [esp + ebx + 0x14]
push esi
push eax
push 0x8ab7a8
call fcn.0045dc70
mov ecx, edi
add esp, 0x10
sub ecx, esi
add ebx, ecx
lea esi, [edi + 1]
push 0xa
push esi
call fcn.00468bf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x43e565
cmp byte [esi], 0
je 0x43e5d9
push 0x8b187c
lea edx, [esp + ebx + 0x14]
push esi
push edx
push 0x8ab7a8
call fcn.0045dc70
add esp, 0x10
mov al, byte [esp + 0x10]
pop ebx
test al, al
je 0x43e61b
mov al, byte [ebp + 0x1d0]
test al, al
jne 0x43e60c
lea eax, [esp + 0xc]
mov ecx, 0x8ab828
push eax
call fcn.004524d0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x1f40
ret 8
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x8ab828
call fcn.004524a0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x1f40
ret 8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1f40
ret 8
Function at 0x441b30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp + 0x104]
push ebx
push eax
mov ebx, ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x441cae
mov al, byte [esp + 0x108]
test al, al
je 0x441cae
push ebp
push esi
push edi
mov edi, str.Config.ini
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x114]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x10]
and ecx, 3
push 0xa
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x58]
push eax
push ecx
call fcn.0046855f
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
lea edx, [esp + 0x114]
lea eax, [esp + 0x10]
push edx
push eax
push str.EffectSound
push str.Options
call esi
mov edx, dword [0x8ab14c]
lea ecx, [esp + 0x10]
push 0xa
push ecx
push edx
call fcn.0046855f
add esp, 0xc
lea eax, [esp + 0x114]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.EffectSoundLevel
push str.Options
call esi
mov eax, dword [ebx + 0x54]
lea edx, [esp + 0x10]
push 0xa
push edx
push eax
call fcn.0046855f
add esp, 0xc
lea ecx, [esp + 0x114]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x47c594
push str.Options
call esi
mov ecx, dword [0x8ab150]
lea eax, [esp + 0x10]
push 0xa
push eax
push ecx
call fcn.0046855f
add esp, 0xc
lea edx, [esp + 0x114]
lea eax, [esp + 0x10]
push edx
push eax
push str.BGMLevel
push str.Options
call esi
push 0xa
lea ecx, [esp + 0x14]
mov edx, dword [ebx + 0x5c]
push ecx
push edx
call fcn.0046855f
add esp, 0xc
lea eax, [esp + 0x114]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.Ambience
push str.Options
call esi
mov eax, dword [ebx + 0x60]
lea edx, [esp + 0x10]
push 0xa
push edx
push eax
call fcn.0046855f
add esp, 0xc
lea ecx, [esp + 0x114]
lea edx, [esp + 0x10]
push ecx
push edx
push str.ShadowBlend
push str.Options
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x441cc0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x20c
xor eax, eax
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x41
lea edi, [esp + 0x114]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x441f2e
mov al, byte [esp + 0x114]
test al, al
je 0x441f2e
mov edi, str.Config.ini
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x118]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x118]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push 0x47c5bc
push str.EffectSound
push str.Options
call esi
lea edx, [esp + 0x14]
pop ebp
test edx, edx
je 0x441f2e
lea eax, [esp + 0x10]
push eax
call fcn.004681f9
add esp, 4
mov dword [ebx + 0x58], eax
test eax, eax
mov ecx, 0x8ab130
je 0x441d98
call fcn.0045b1b0
jmp 0x441da7
call fcn.0045b1d0
mov ecx, 0x8ab130
call fcn.0045b1c0
lea ecx, [esp + 0x114]
lea edx, [esp + 0x10]
push ecx
push 0x104
push edx
push 0x47c5b8
push str.EffectSoundLevel
push str.Options
call esi
lea eax, [esp + 0x10]
push eax
call fcn.004681f9
add esp, 4
lea ecx, [esp + 0x114]
lea edx, [esp + 0x10]
mov dword [0x8ab14c], eax
push ecx
push 0x104
push edx
push 0x47c5bc
push 0x47c594
push str.Options
call esi
lea eax, [esp + 0x10]
push eax
call fcn.004681f9
add esp, 4
mov dword [ebx + 0x54], eax
test eax, eax
mov ecx, 0x8ab130
je 0x441e1f
call fcn.0045b410
jmp 0x441e2e
call fcn.0045b3d0
mov ecx, 0x8ab130
call fcn.0045b430
lea ecx, [esp + 0x114]
lea edx, [esp + 0x10]
push ecx
push 0x104
push edx
push 0x47c5b8
push str.BGMLevel
push str.Options
call esi
lea eax, [esp + 0x10]
push eax
call fcn.004681f9
add esp, 4
mov dword [0x8ab150], eax
test eax, eax
jg 0x441e6c
cmp eax, 0xffffff9c
jge 0x441e76
mov dword [0x8ab150], 0
mov eax, dword [0x8ab14c]
test eax, eax
jg 0x441e84
cmp eax, 0xffffff9c
jge 0x441e8b
xor eax, eax
mov dword [0x8ab14c], eax
add eax, 0x64
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x476968]
call fcn.00468520
mov dword [ebx + 0x74], eax
mov ecx, dword [0x8ab150]
add ecx, 0x64
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fmul qword [0x476968]
call fcn.00468520
lea edx, [esp + 0x114]
mov dword [ebx + 0x6c], eax
push edx
lea eax, [esp + 0x14]
push 0x104
push eax
push 0x47c5b8
push str.Ambience
push str.Options
call esi
lea ecx, [esp + 0x10]
push ecx
call fcn.004681f9
add esp, 4
lea edx, [esp + 0x114]
mov dword [ebx + 0x5c], eax
lea eax, [esp + 0x10]
push edx
push 0x104
push eax
push 0x47c5b8
push str.ShadowBlend
push str.Options
call esi
lea ecx, [esp + 0x10]
push ecx
call fcn.004681f9
mov dword [ebx + 0x60], eax
add esp, 4
mov dword [0x47ef48], eax
pop edi
pop esi
pop ebx
add esp, 0x20c
ret
Function at 0x44a8b0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push connect
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a903
lea ecx, [esp + 0xc]
push 0
push ecx
add edi, 0x132
push 0xa50
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x451320
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Print debug messages

Disassembly:
sub esp, 0x110
push esi
mov esi, ecx
cmp dword [esi + 0x6044], 0xffffffff
jne 0x451409
push 0
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 0x6044], eax
jne 0x451359
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.socket___generated_error__d_n
jmp 0x4513ae
mov edx, dword [esp + 0x120]
mov word [esp + 4], 2
push edx
call sub.WS2_32.dll_htons
mov word [esp + 6], ax
mov eax, dword [esp + 0x11c]
push eax
call sub.WS2_32.dll_inet_addr
mov ecx, dword [esp + 0x118]
mov edx, dword [esi + 0x6044]
push 0x31
push 0x7e8
push ecx
push edx
mov dword [esp + 0x18], eax
call sub.WS2_32.dll_WSAAsyncSelect
cmp eax, 0xffffffff
jne 0x4513d3
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.WSAAsyncSelect___generated_error__d_n
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop esi
add esp, 0x110
ret 0xc
mov eax, dword [esi + 0x6044]
lea edx, [esp + 4]
push 0x10
push edx
push eax
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x451402
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x451402
push str.This_socket_is_Non_Blocking_Mode
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x14], 1
mov eax, 1
pop esi
add esp, 0x110
ret 0xc

Function at 0x4514f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
sub esp, 0x600
push esi
mov esi, ecx
mov ecx, dword [esp + 0x610]
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
mov eax, dword [esp + 0x610]
push ecx
push edx
push eax
lea ecx, [esp + 0x218]
push str._s__s__d__d_1
push ecx
call edi
add esp, 0x18
lea edx, [esp + 0x208]
push 0x200
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x210]
push eax
push ecx
call fcn.00452740
mov byte [esp + eax + 8], 0
mov eax, dword [esi + 0x14]
cmp eax, 9
jl 0x451568
mov dword [esi + 0x14], 1
jmp 0x45156c
inc eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
lea edx, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x410]
push str._d_s_
push ecx
call edi
lea edi, [esp + 0x418]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x6044]
push 0
not ecx
dec ecx
lea edx, [esp + 0x40c]
push ecx
push edx
push eax
call sub.WS2_32.dll_send
pop edi
pop esi
add esp, 0x600
ret 0x10
Function at 0x4514fe
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
sub esp, 0x600
push esi
mov esi, ecx
mov ecx, dword [esp + 0x610]
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
mov eax, dword [esp + 0x610]
push ecx
push edx
push eax
lea ecx, [esp + 0x218]
push str._s__s__d__d_1
push ecx
call edi
add esp, 0x18
lea edx, [esp + 0x208]
push 0x200
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x210]
push eax
push ecx
call fcn.00452740
mov byte [esp + eax + 8], 0
mov eax, dword [esi + 0x14]
cmp eax, 9
jl 0x451568
mov dword [esi + 0x14], 1
jmp 0x45156c
inc eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
lea edx, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x410]
push str._d_s_
push ecx
call edi
lea edi, [esp + 0x418]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x6044]
push 0
not ecx
dec ecx
lea edx, [esp + 0x40c]
push ecx
push edx
push eax
call sub.WS2_32.dll_send
pop edi
pop esi
add esp, 0x600
ret 0x10

Function at 0x451e60
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, ecx
push edi
push 0x20
lea edi, [esi + 0x24]
push edi
push eax
call fcn.004528e0
mov eax, dword [esi + 0x14]
cmp eax, 9
jl 0x451e86
mov dword [esi + 0x14], 1
jmp 0x451e8a
inc eax
mov dword [esi + 0x14], eax
mov edx, dword [esp + 0x14]
test edx, edx
je 0x451ecf
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebp, [esi + 0x44]
push 0x2000
push ecx
push ebp
push edx
call fcn.00452740
mov ecx, dword [esi + 0x14]
lea eax, [esi + 0x24]
push ebp
push eax
lea ebx, [esi + 0x2044]
push ecx
push str._d_s_s_
push ebx
call fcn.0046811c
add esp, 0x14
pop ebp
jmp 0x451ee8
mov edx, dword [esi + 0x14]
push edi
lea ebx, [esi + 0x2044]
push edx
push str._d_s_
push ebx
call fcn.0046811c
add esp, 0x10
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x6044]
not ecx
dec ecx
push ecx
push ebx
push eax
call sub.WS2_32.dll_send
pop edi
pop esi
pop ebx
ret 8