joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422e60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb40
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0042e710
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xb30], ax
lea eax, [ebp - 0xb2e]
push eax
call fcn.0042e710
add esp, 0x18
lea eax, [ebp - 0xb40]
push eax
push 0x20019
push 0
push str.SOFTWARE4177SBox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422efa
push dword [ebp - 0xb40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x720]
push eax
sub esp, 0xc
call fcn.00422660
test al, al
je 0x423041
lea eax, [ebp - 0x720]
jmp 0x422f3a
push 0
push 0x475b40
call fcn.0042c8ae
add esp, 8
cmp eax, 0xffffffff
je 0x422f34
push 0x475b40
push 0x104
lea eax, [ebp - 0xb30]
push eax
push 0x443ebc
push str.InstallName
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xb30]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.00429ebe
add esp, 0xc
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push eax
lea eax, [ebp - 0x412]
push eax
call fcn.0042e710
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x928], ax
lea eax, [ebp - 0x926]
push eax
call fcn.0042e710
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0042e710
lea eax, [ebp - 0xb3c]
mov dword [ebp - 0xb38], 0x5f
push eax
lea eax, [ebp - 0xb38]
mov dword [ebp - 0xb34], 0x2e
push eax
lea eax, [ebp - 0x61c]
mov dword [ebp - 0xb3c], 0
push eax
call fcn.0042d236
add esp, 0x30
xor esi, esi
test eax, eax
je 0x423026
cmp esi, 1
jne 0x422fef
push eax
lea eax, [ebp - 0x414]
jmp 0x422ffb
cmp esi, 2
jne 0x423009
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00429ebe
add esp, 0xc
lea eax, [ebp - 0xb3c]
push eax
lea eax, [ebp - 0xb38]
push eax
push 0
call fcn.0042d236
add esp, 0xc
inc esi
test eax, eax
jne 0x422fe1
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423030
sub ecx, edx
sar ecx, 1
jne 0x423052
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xb34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c25a
add esp, 8
test eax, eax
je 0x42309d
lea eax, [ebp - 0xb3c]
push eax
lea eax, [ebp - 0xb34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042d236
push eax
lea eax, [ebp - 0x928]
push 0x104
push eax
call fcn.00429ebe
add esp, 0x18
jmp 0x4230b8
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x928]
push 0x104
push eax
call fcn.00429ebe
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call fcn.0042c0fd
add esp, 4
mov esi, eax
push esi
call fcn.00422d80
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
Function at 0x4230e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0042e710
push 0
push 0x475b40
call fcn.0042c8ae
add esp, 0x14
cmp eax, 0xffffffff
je 0x423170
push 0x475b40
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x443ebc
push str.InstallName
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push str.iklit
push eax
call fcn.0042c25a
add esp, 8
test eax, eax
je 0x423170
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret

Function at 0x423180
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWARE4177SBox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42321a
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 4
push eax
push 0x20219
push 0
push str.SOFTWARE4177SBox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423203
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x449d58
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
cmp eax, 0xb
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
push 0
push 0x475b40
call fcn.0042c8ae
add esp, 8
cmp eax, 0xffffffff
je 0x423203
push 0x475b40
push 0
push 0x449d58
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
cmp eax, 0xb
setne al
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
Function at 0x423260
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x44
push ecx
push 0
push 0
push 0x200
push 0
push 0
push 0
push eax
push 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x443ebc
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x423300
cmp dword [ebp + 0x14], 0
je 0x4232d9
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret 0x10

Function at 0x423320
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push esi
mov esi, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x44
push ecx
push 0
push 0
push 0x200
push 0
push 0
push 0
push eax
push 0
mov dword [esi], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x443ebc
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4233ed
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0x30
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0042e710
add esp, 0xc
mov dword [ebp - 0x90], 0x30
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x4233d9
mov eax, dword [ebp - 0x88]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00429eaf
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4234d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0042e710
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x423553
cmp dword [ebp - 0x11c], 6
jb 0x423553
call fcn.00423400
ucomiss xmm0, dword [0x44aeac]
lahf
test ah, 0x44
jp 0x423537
movss xmm0, dword [0x44aed0]
call fcn.0043cb20
push eax
push 0
call dword [sym.imp.WINMM.dll_waveOutSetVolume]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
cmp dword [0x475d8c], 0
je 0x423566
mov ecx, 0x475d8c
call fcn.00419170
mov ecx, 0x479fe8
call fcn.00419170
mov ecx, 0x479fe0
call fcn.00419170
mov ecx, 0x479dfc
call fcn.00419170
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret

Function at 0x4235a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x11c
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0042e710
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42360b
cmp dword [ebp - 0x124], 6
jb 0x42360b
push 0
push 0
call dword [sym.imp.WINMM.dll_waveOutSetVolume]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
cmp dword [0x475d8c], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x423654
push str.Winmm.dll
call edi
test eax, eax
jne 0x423643
push str.Winmm.dll
call esi
test eax, eax
jne 0x423643
mov eax, dword [0x475d8c]
jmp 0x423650
push str.waveOutWrite
push eax
call ebx
mov dword [0x475d8c], eax
test eax, eax
je 0x423663
mov edx, 0x414330
mov ecx, 0x475d8c
call fcn.00418e10
cmp dword [0x479fe8], 0
jne 0x42369a
push str.Winmm.dll
call edi
test eax, eax
jne 0x423689
push str.Winmm.dll
call esi
test eax, eax
jne 0x423689
mov eax, dword [0x479fe8]
jmp 0x423696
push str.midiStreamOut
push eax
call ebx
mov dword [0x479fe8], eax
test eax, eax
je 0x4236a9
mov edx, 0x414330
mov ecx, 0x479fe8
call fcn.00418e10
cmp dword [0x479fe0], 0
jne 0x4236e0
push str.DSound.dll
call edi
test eax, eax
jne 0x4236cf
push str.DSound.dll
call esi
test eax, eax
jne 0x4236cf
mov eax, dword [0x479fe0]
jmp 0x4236dc
push str.DirectSoundCreate
push eax
call ebx
mov dword [0x479fe0], eax
test eax, eax
je 0x4236ef
mov edx, 0x414330
mov ecx, 0x479fe0
call fcn.00418e10
cmp dword [0x479dfc], 0
jne 0x423726
push str.DSound.dll
call edi
test eax, eax
jne 0x423715
push str.DSound.dll
call esi
test eax, eax
jne 0x423715
mov eax, dword [0x479dfc]
jmp 0x423722
push str.DirectSoundCreate8
push eax
call ebx
mov dword [0x479dfc], eax
test eax, eax
je 0x423735
mov edx, 0x414330
mov ecx, 0x479dfc
call fcn.00418e10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
Function at 0x423e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp - 0x1c], edi
call dword [eax + 0x60]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
push 3
push ebx
call dword [eax + 0xec]
mov eax, dword [edi]
push 3
push edi
call dword [eax + 0xec]
push dword [ebp - 0x18]
mov eax, dword [ebx]
push ebx
call dword [eax + 0xf4]
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0xf8]
push dword [ebp - 0x18]
mov eax, dword [edi]
push edi
call dword [eax + 0xf4]
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0xf8]
push 0x30c
call fcn.0042a219
mov edi, eax
add esp, 4
test edi, edi
je 0x423fa1
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x475d7c]
mov esi, dword [ebp + 0x10]
push str.tabpage_mygame
mov dword [edi + 0x308], eax
lea eax, [edi + 0x204]
push 0x80
push eax
mov dword [edi], ecx
mov dword [edi + 0x304], esi
call fcn.00429ebe
add esp, 0xc
test esi, esi
je 0x423f55
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
push eax
lea eax, [edi + 4]
push 0x80
push eax
call fcn.00429ebe
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [ecx]
push ecx
jmp 0x423f73
mov ecx, dword [ebp - 0x1c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
push eax
lea eax, [edi + 4]
push 0x80
push eax
call fcn.00429ebe
mov eax, dword [ebx]
add esp, 0xc
push ebx
call dword [eax + 0x28]
push eax
lea eax, [edi + 0x104]
push 0x80
push eax
call fcn.00429ebe
add esp, 0xc
push 0
push 0
push edi
push 0x423c90
push 0
push 0
call fcn.0042a2ab
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429eaf
mov esp, ebp
pop ebp
ret 0xc
Function at 0x424670
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SOFTWARE4177SBox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424711
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 4
push eax
push 0x20219
push 0
push str.SOFTWARE4177SBox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4246fa
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Normal_Online
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
cmp eax, 1
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
push 0
push 0x475b40
call fcn.0042c8ae
add esp, 8
cmp eax, 0xffffffff
je 0x4246fa
push 0x475b40
push 0
push str.Normal_Online
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
cmp eax, 1
sete al
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret

Function at 0x424750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x424783
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
lea eax, [ebx + 1]
push eax
call fcn.00429b46
push ebx
mov esi, eax
push edi
push esi
call fcn.0042d820
add esp, 0x10
mov byte [esi + ebx], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp + 8]
mov eax, ebx
pop edi
mov dword [ecx], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x424940
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
test eax, eax
je 0x42495b
push 0
push dword [eax + 0x194]
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x42496c
push 0
push dword [eax + 0x194]
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x42497d
push 0
push dword [eax + 0x194]
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42498e
push 0
push dword [eax + 0x194]
call edi
push 0
push dword [esi + 0x1a4]
call edi
pop edi
pop esi
ret

Function at 0x425073
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x425082
pop ebp
jmp fcn.00428720
pop ebp
ret 4
Function at 0x42529a
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.0042e710
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x23
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x448960
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042a175
push str.pvc_pi.bin
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042a175
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push str.index
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00429eaf
mov esp, ebp
pop ebp
ret

Function at 0x425333
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push edi
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
push 0x206
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x220], ax
xor edi, edi
lea eax, [ebp - 0x21e]
push edi
push eax
call fcn.0042e710
add esp, 0xc
lea eax, [ebp - 0x220]
push edi
push 0x23
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x448960
mov esi, 0x104
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0042a175
add esp, 0xc
lea eax, [ebp - 0x220]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.pvc_pi.bin
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0042a175
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x443cc0
push eax
call fcn.004187a0
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x18]
push eax
push str.index
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00429eaf
mov esp, ebp
pop ebp
ret 4

Function at 0x425403
Capabilities:
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x23
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x448960
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042a175
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.profile.ini
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042a175
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 1
push str.index
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
Function at 0x425490
Capabilities:
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x234]
push edi
push 0x23
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x448960
mov esi, 0x104
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.0042a175
add esp, 0xc
lea eax, [ebp - 0x234]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.profile.ini
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.0042a175
add esp, 0xc
lea eax, [ebp - 0x234]
mov ebx, str.index
mov esi, str.config
push eax
push 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
lea edi, [ebp - 0x2a]
xor eax, eax
push 9
mov word [ebp - 0x2c], ax
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [edx + 1]
push eax
lea eax, [ebp - 0x2c]
push 0x443cc0
push eax
call fcn.0041f0d0
add esp, 0xc
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429eaf
mov esp, ebp
pop ebp
ret

Function at 0x425697
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x475fe8]
test ecx, ecx
je 0x4256b6
mov eax, dword [ecx]
push dword [esi + 4]
call dword [eax + 0x68]
mov dword [0x47a444], 1
xor eax, eax
pop esi
ret 0xc

Function at 0x425ed7
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
mov edi, dword [ebp + 0x10]
push 0
call esi
push 1
mov dword [ebp - 0x18], eax
call esi
mov esi, dword [ebp - 0x18]
sub eax, dword [ebp + 0xc]
sub esi, dword [ebp + 8]
push 0x443ebc
mov dword [edi], esi
push str.Shell_TrayWnd
mov dword [ebp - 0x18], eax
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x425f64
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
mov ecx, 0xc8
sub eax, dword [ebp - 0x10]
cmp eax, ecx
jge 0x425f43
sub dword [ebx], eax
jmp 0x425f64
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cmp eax, ecx
jge 0x425f51
sub dword [edi], eax
jmp 0x425f64
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [edi], eax
mov eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429eaf
mov esp, ebp
pop ebp
ret 0x10
Function at 0x425f77
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11fc
call fcn.00438220
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xffffffffffffffeb
push ecx
mov edi, edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
test esi, esi
je 0x4260bb
push ebx
xor eax, eax
xor ebx, ebx
push 0x18e
mov word [ebp - 0x1f8], ax
lea eax, [ebp - 0x1f6]
push ebx
push eax
call fcn.0042e710
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x1f8]
push 0x443cc0
push eax
call fcn.0041dc40
xor eax, eax
push 0xffe
mov word [ebp - 0x11f8], ax
lea eax, [ebp - 0x11f6]
push ebx
push eax
call fcn.0042e710
push edi
mov edi, 0x800
lea eax, [ebp - 0x11f8]
push edi
push eax
call fcn.00429ebe
push 0x44a830
lea eax, [ebp - 0x11f8]
push edi
push eax
call fcn.0042a175
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x11f8]
push edi
push eax
call fcn.0042a175
push str.adid
lea eax, [ebp - 0x11f8]
push edi
push eax
call fcn.0042a175
add esp, 0x48
lea eax, [ebp - 0x11f8]
push dword [esi + 0x30]
push edi
push eax
call fcn.0042a175
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push str.GameBox
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x4260ba
push ebx
push SysReAllocString
push ebx
push ebx
lea eax, [ebp - 0x11f8]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x426094
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4260ba
lea eax, [ebp - 0x11fc]
mov dword [ebp - 0x11fc], ebx
push eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00429eaf
mov esp, ebp
pop ebp
ret