joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465590
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ad3c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004a5063
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00464ef0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004a4f91
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004a184f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004a184f
push 1
push 0
push 0
mov ecx, esi
call fcn.004a17f7
push 1
push 0
push 1
mov ecx, esi
call fcn.004a17f7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a50d5
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x465710
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ad3e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004a5063
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00464ef0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004a4f91
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4657d4
cmp dword [esp + 0x40], 1
jne 0x4657d2
cmp ecx, eax
jge 0x4657d4
mov eax, ecx
cmp eax, 0xc8
jge 0x4657e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00465590
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a50d5
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x465fd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ad493
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0049fc6c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004a530b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a6827
test eax, eax
je 0x4660ec
mov ecx, dword [esp + 0x3c]
call fcn.004a5338
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4660b0
push edi
mov ecx, esi
call fcn.004a299f
mov ecx, esi
call fcn.00466290
cmp dword [esp + 0x38], 1
jne 0x4660e5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004a2ada
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4682d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x468303
push esi
call fcn.004765e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4682fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x468389
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x468372
mov eax, dword [esi + 8]
test eax, eax
je 0x468327
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46836e
cmp eax, 2
je 0x468372
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46831a
cmp eax, 3
je 0x46834d
cmp eax, 1
jne 0x46831a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46831a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46831a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004683b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x468398
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004683b0
add esp, 4
pop esi
ret

Function at 0x468c20
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x468c41
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x468c41
mov eax, dword [eax + 0x44]
test eax, eax
je 0x468c41
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x484ef0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0xa768cc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x484f03
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x484f44
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0xa76974]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x484f76
mov bl, byte [esp + ecx + 0x4c]
jmp 0x484f7a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x484f6b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x484f98
mov bl, byte [esp + ecx + 0x4c]
jmp 0x484f9c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x484f8d
xor ecx, ecx
mov eax, 0xa768dc
xor ebx, ebx
mov bl, byte [ecx + 0xa76984]
cmp byte [esp + ebx + 0x14], 0
je 0x484fc7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0xa7699c]
cmp byte [esp + ebx + 0x14], 0
je 0x484fde
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x484fae
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x484f37
lea edx, [esp + 0x84]
push edx
call fcn.00485020
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x489810
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x489876
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x489876
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x489857
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x489c00
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x489c38
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x48a900
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x48a949
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x48adc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ada00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0048a970
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0048a9f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0048a9f0
lea ecx, [esi + 0xc]
call fcn.0049e61f
lea ecx, [esi + 0x10]
call fcn.0049e61f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0048bf80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0048bf80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0048bf80
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0049e694
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0049e694
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a0a62
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a0a9a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049eaef
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049eac7
jmp 0x4a0aa6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a2157
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a2199
call fcn.004a7ecd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a2199
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a2190
xor eax, eax
jmp 0x4a21a1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a21a7
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a83fd
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a842b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a8449
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a8363
jmp 0x4a8449
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a8449
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a8363
test edi, edi
mov eax, edi
jne 0x4a8433
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [str.SOFTWAREKWMUSIC]
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], 1
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404012
mov ecx, dword [str.KWMUSIC_HOME]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x404007
mov byte [esi], 0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404017
sub eax, edx
mov dword [esp + 0x18], eax
jne 0x40402d
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret
pop edi
mov byte [esi + ebx - 1], 0
pop esi
mov al, 1
pop ebx
pop ecx
ret

Function at 0x404040
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x144
push esi
push edi
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push 0x104
push eax
xor esi, esi
call fcn.00403f90
add esp, 8
test al, al
je 0x4040e7
lea edi, [esp + 0x48]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404072
mov ecx, dword [str.loading_ad_ad.ini]
mov edx, dword [0x4188b4]
mov eax, dword [0x4188b8]
mov dword [edi], ecx
mov ecx, dword [0x4188bc]
mov dword [edi + 4], edx
mov dx, word [0x4188c0]
mov dword [edi + 8], eax
mov al, byte [0x4188c2]
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0x48]
push ecx
push 0x40
mov word [edi + 0x10], dx
lea edx, [esp + 0x10]
push edx
push 0
push 0x4188ac
push str.FlashMessage
mov byte [edi + 0x12], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4040e7
lea eax, [esp + 8]
push eax
call fcn.0040caf6
add esp, 4
pop edi
pop esi
add esp, 0x144
ret
pop edi
mov eax, esi
pop esi
add esp, 0x144
ret
Function at 0x4044a0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x416f26
push eax
mov dword fs:[0], esp
sub esp, 0x17c
push esi
push edi
mov esi, 0x10
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x80]
push 0x104
push eax
call fcn.00403f90
add esp, 8
test al, al
jne 0x4044fc
pop edi
pop esi
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
add esp, 0x188
ret
push ebx
xor ebx, ebx
lea eax, [esp + 0x84]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404520
sub eax, edx
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401560
push str._facekwc.img
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x19c], ebx
call fcn.00404350
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x19c], 1
call fcn.00401470
cmp dword [esp + 0x40], esi
mov byte [esp + 0x190], bl
jb 0x404588
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0040c618
add esp, 4
cmp dword [esp + 0x24], esi
mov eax, dword [esp + 0x10]
jae 0x404596
lea eax, [esp + 0x10]
push eax
push 0x3f
lea edx, [esp + 0x4c]
push edx
push ebx
push str.Version
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4045e0
cmp dword [esp + 0x24], esi
jb 0x4045c6
mov eax, dword [esp + 0x10]
push eax
call fcn.0040c618
add esp, 4
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
add esp, 0x188
ret
lea eax, [esp + 0x44]
mov byte [esp + 0x83], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4045f0
sub eax, edx
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x1a0]
call fcn.00401560
cmp dword [esp + 0x24], esi
jb 0x40461e
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c618
add esp, 4
mov ecx, dword [esp + 0x188]
pop ebx
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x188
ret
Function at 0x4046e0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x416f40
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
call fcn.00404040
mov esi, dword [esp + 0x8c]
cmp esi, eax
jae 0x40488f
push edi
xor edi, edi
push edi
push 0x418424
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
call fcn.00401560
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x8c], edi
call fcn.00404640
mov ecx, dword [esp + 0x24]
add esp, 4
push edi
push 0x418424
push ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.004041c0
test eax, eax
jne 0x40478b
cmp dword [esp + 0x24], 0x10
jb 0x404775
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c618
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], eax
push esi
push ecx
mov dword [esp + 0x84], eax
call fcn.0040aa00
push eax
lea edx, [esp + 0x34]
push str.FlashGroup
push edx
mov byte [esp + 0x9c], 1
call fcn.004016f0
mov ecx, dword [esp + 0x38]
mov esi, 0x10
add esp, 0x14
cmp ecx, esi
mov ecx, dword [esp + 0x10]
jae 0x4047eb
lea ecx, [esp + 0x10]
cmp dword [eax + 0x18], esi
jb 0x4047f5
mov eax, dword [eax + 4]
jmp 0x4047f8
add eax, 4
push ebx
push ecx
push 0x20
lea ecx, [esp + 0x6c]
push ecx
push edi
push 0x4188ac
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
mov eax, dword [esp + 0x44]
setne bl
cmp eax, esi
jb 0x404828
mov edx, dword [esp + 0x30]
push edx
call fcn.0040c618
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
jb 0x40484c
mov eax, dword [esp + 0x4c]
push eax
call fcn.0040c618
add esp, 4
test bl, bl
pop ebx
je 0x404862
lea ecx, [esp + 0x60]
push ecx
call fcn.0040caf6
add esp, 4
mov edi, eax
jmp 0x404866
mov edi, dword [esp + 8]
cmp dword [esp + 0x24], esi
jb 0x404879
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c618
add esp, 4
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret
Function at 0x4048b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x416f5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebp
push esi
mov dword [esp + 8], 0x1b7740
call fcn.00404040
mov esi, dword [esp + 0x198]
cmp esi, eax
jae 0x4048f9
push esi
call fcn.004046e0
mov ebp, dword [esp + 0x1a0]
add esp, 4
cmp ebp, eax
jb 0x404915
pop esi
mov eax, 0x1b7740
pop ebp
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
add esp, 0x18c
ret
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x84]
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], ecx
push 0x104
push edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ecx
call fcn.00403f90
add esp, 8
test al, al
jne 0x40498b
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
add esp, 0x18c
ret
push ebx
push edi
lea edi, [esp + 0x8c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404995
mov eax, dword [str.loading_ad_ad.ini]
mov ecx, dword [0x4188b4]
mov edx, dword [0x4188b8]
mov dword [edi], eax
mov eax, dword [0x4188bc]
mov dword [edi + 4], ecx
mov cx, word [0x4188c0]
mov dword [edi + 8], edx
mov dl, byte [0x4188c2]
push ebp
mov dword [edi + 0xc], eax
push str.timer_u
lea eax, [esp + 0x3c]
mov word [edi + 0x10], cx
push 0x1f
push eax
mov byte [edi + 0x12], dl
call fcn.0040cafb
lea ecx, [esp + 0x80]
push esi
push ecx
call fcn.0040aa00
push eax
lea edx, [esp + 0x70]
push str.FlashGroup
xor edi, edi
push edx
mov dword [esp + 0x1bc], edi
call fcn.004016f0
mov ecx, dword [eax + 0x18]
mov esi, 0x10
add esp, 0x24
cmp ecx, esi
jb 0x404a1f
mov eax, dword [eax + 4]
jmp 0x404a22
add eax, 4
lea ecx, [esp + 0x8c]
push ecx
push 0x20
lea edx, [esp + 0x1c]
push edx
push edi
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
mov eax, dword [esp + 0x6c]
setne bl
cmp eax, esi
jb 0x404a58
mov edx, dword [esp + 0x58]
push edx
call fcn.0040c618
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], edi
mov byte [esp + 0x58], 0
jb 0x404a7f
mov eax, dword [esp + 0x74]
push eax
call fcn.0040c618
add esp, 4
pop edi
test bl, bl
pop ebx
je 0x404a94
lea ecx, [esp + 0xc]
push ecx
call fcn.0040caf6
add esp, 4
jmp 0x404a98
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x188]
imul eax, eax, 0xea60
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18c
ret