Function at 0x4720db
Capabilities:
Get common file path
Get comspec environment variable
Get hostname
Get keyboard layout
Get program files directory
Get session user name
Get startup folder
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x26e]
push ecx
mov word [ebp - 0x270], ax
call fcn.00412f40
add esp, 0xc
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x52e]
push eax
mov word [ebp - 0x530], dx
call fcn.00412f40
mov ecx, dword [ebp + 0x10]
add esp, 0xc
xor edi, edi
mov dword [ebp - 4], ecx
jmp 0x47213b
mov edx, dword [ebp - 4]
mov eax, dword [edi*4 + 0x491770]
push edx
push eax
call fcn.0041313c
add esp, 8
test eax, eax
je 0x472159
inc edi
cmp edi, 0x60
jl 0x47213b
cmp edi, 0x60
jne 0x4721d1
mov edi, 0x48c144
lea esi, [ebp - 0x20]
call fcn.00401b10
lea ecx, [ebp + 0x10]
push ecx
mov eax, esi
mov dword [ebp + 0xc], 0
call fcn.0040bd50
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 4]
push eax
xor ecx, ecx
call fcn.0040c2c0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4721b0
mov ecx, esi
call fcn.00402250
lea ecx, [ebp + 0x10]
call fcn.00402250
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push eax
call fcn.00408e80
lea ecx, [ebp - 0x20]
call fcn.00402250
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x5f
ja case.0x4721da.87
jmp dword [edi*4 + 0x472dc7]
mov eax, 0x48c19c
call fcn.0040e710
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x4856fc
call fcn.0040e710
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x487e28
call fcn.0040e710
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x48c1a0
call fcn.0040e710
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi + 4]
call fcn.00403cc0
mov edi, dword [eax + 0x14]
mov esi, ebx
call fcn.00408f40
mov dword [ebx], edi
jmp 0x472dad
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi + 4]
call fcn.00403cc0
add eax, 0x20
push eax
call fcn.00408e80
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 2]
push eax
push 0x48c1a4
lea ecx, [ebp - 0x270]
push ecx
call fcn.0041329b
add esp, 0xc
lea eax, [ebp - 0x270]
call fcn.0040e710
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x48c1b0
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0x2a8]
push eax
call fcn.00441e23
push eax
call fcn.00451aa8
mov edi, eax
mov esi, ebx
call fcn.0040e6a0
lea ecx, [ebp - 0x280]
call fcn.00402250
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x48c1b8
lea ecx, [ebp - 0x300]
push ecx
lea edx, [ebp - 0x2f0]
push edx
call fcn.00441e23
push eax
call fcn.00451aa8
mov edi, eax
mov esi, ebx
call fcn.0040e6a0
lea ecx, [ebp - 0x300]
call fcn.00402250
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x48c1c0
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.00441e23
push eax
call fcn.00451aa8
mov edi, eax
mov esi, ebx
call fcn.0040e6a0
lea ecx, [ebp - 0x2d8]
call fcn.00402250
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x48612c
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x2c8]
push eax
call fcn.00441e23
push eax
call fcn.00451aa8
mov edi, eax
mov esi, ebx
call fcn.0040e6a0
lea ecx, [ebp - 0x290]
call fcn.00402250
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x48c1c8
lea ecx, [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x308]
push edx
call fcn.00441e23
push eax
call fcn.00451aa8
mov edi, eax
mov esi, ebx
call fcn.0040e6a0
lea ecx, [ebp - 0x2a0]
call fcn.00402250
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x48c1d0
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x2e8]
push ecx
call fcn.00441e23
push eax
call fcn.00451aa8
mov edi, eax
mov esi, ebx
call fcn.0040e6a0
lea ecx, [ebp - 0x2b8]
call fcn.00402250
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea edx, [ebp - 0x2e0]
push edx
call fcn.00441e23
push eax
call fcn.00451b19
push eax
push 0x48612c
lea eax, [ebp - 0x270]
push eax
jmp 0x4722b9
push 0x48c1d8
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00441e23
push eax
call fcn.00451aa8
mov edi, eax
mov esi, ebx
call fcn.0040e6a0
lea ecx, [ebp - 0x40]
call fcn.00402250
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea eax, [ebp - 0x270]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea ecx, [ebp - 0x270]
push ecx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea edx, [ebp - 0x270]
push edx
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea eax, [ebp - 0x270]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea ecx, [ebp - 0x270]
push ecx
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea edx, [ebp - 0x270]
push edx
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea eax, [ebp - 0x270]
push eax
push 0
push 0
push 0x1f
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea ecx, [ebp - 0x270]
push ecx
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea edx, [ebp - 0x270]
push edx
push 0
push 0
push 0x16
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea eax, [ebp - 0x270]
push eax
push 0
push 0
push 0x18
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea ecx, [ebp - 0x270]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea edx, [ebp - 0x270]
push edx
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea eax, [ebp - 0x270]
push eax
push 0
push 0
push 6
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea ecx, [ebp - 0x270]
push ecx
push 0
push 0
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea edx, [ebp - 0x270]
push edx
push 0
push 0
push 0xb
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea eax, [ebp - 0x270]
push eax
push 0
push 0
push 7
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x4722c1
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x270]
push edx
mov dword [ebp + 8], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x4722c1
push 0x104
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je case.0x4721da.87
jmp 0x4722c1
mov ecx, dword [0x4a9604]
cmp byte [ecx + 0x2c], 0
push 0x104
lea edx, [ebp - 0x270]
push edx
je 0x4726f2
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00430e0d
call eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.00430ccb
jmp 0x4722c1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x4722c1
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 6
jmp 0x472dad
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 3
jmp 0x472dad
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 9
jmp 0x472dad
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 5
jmp 0x472dad
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 0xa
jmp 0x472dad
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 2
jmp 0x472dad
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 7
jmp 0x472dad
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 8
jmp 0x472dad
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 4
jmp 0x472dad
cmp byte [0x4974ea], 1
mov esi, ebx
jne 0x472da2
call fcn.00408f40
mov dword [ebx], 1
jmp 0x472dad
cmp byte [0x4a8719], 1
jmp 0x4727a6
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 0x40
jmp 0x472dad
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 0x41
jmp 0x472dad
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 0x42
jmp 0x472dad
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 0x43
jmp 0x472dad
mov eax, dword [esi + 0xc8]
jmp 0x4722c7
mov eax, dword [esi + 0xb8]
jmp 0x4722c7
mov eax, dword [esi + 0xd8]
jmp 0x4722c7
mov eax, dword [esi + 0xf4]
push eax
call fcn.004348aa
mov esi, ebx
mov edi, eax
call fcn.00408f40
mov dword [ebx], edi
jmp 0x472dad
lea ecx, [ebp - 0x270]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x4722c1
mov edx, dword [0x4a9604]
movzx eax, word [edx + 0x2e]
test eax, eax
je 0x472893
cmp eax, 6
je 0x472889
cmp eax, 9
jne 0x47296d
mov eax, 0x48c1f4
jmp 0x4722c7
mov eax, str.IA64
jmp 0x4722c7
mov eax, 0x48c1e0
jmp 0x4722c7
xor ecx, ecx
mov eax, reloc.WSOCK32.dll_accept
cpuid
lea esi, [ebp - 0x40]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
test dword [ebp - 0x34], 0x20000000
mov eax, 0x48c1f4
jne 0x4728c7
mov eax, 0x48c1e0
mov ebx, dword [ebp + 0xc]
jmp 0x4722c7
mov eax, str.WIN32_NT
jmp 0x4722c7
mov eax, dword [0x4a9604]
cmp byte [eax + 0x2a], 1
jne 0x4728ee
mov eax, str.WIN_8
jmp 0x4722c7
cmp byte [eax + 0x28], 1
jne 0x4728fe
mov eax, str.WIN_2008R2
jmp 0x4722c7
cmp byte [eax + 0x26], 1
jne 0x47290e
mov eax, str.WIN_7
jmp 0x4722c7
cmp byte [eax + 0x24], 1
jne 0x47291e
mov eax, str.WIN_2008
jmp 0x4722c7
cmp byte [eax + 0x22], 1
jne 0x47292e
mov eax, str.WIN_VISTA
jmp 0x4722c7
cmp byte [eax + 0x20], 1
jne 0x47293e
mov eax, str.WIN_2003
jmp 0x4722c7
cmp byte [eax + 0x1e], 1
jne 0x47295d
cmp byte [eax + 0x30], 0
mov eax, str.WIN_XPe
jne 0x4722c7
mov eax, str.WIN_XP
jmp 0x4722c7
cmp byte [eax + 0x1c], 1
jne 0x47296d
mov eax, str.WIN_2000
jmp 0x4722c7
mov eax, str.UNKNOWN
jmp 0x4722c7
mov eax, dword [0x4a9604]
mov edi, dword [eax + 8]
mov esi, ebx
call fcn.00408f40
mov dword [ebx], edi
jmp 0x472dad
mov edi, dword [0x4a9604]
add edi, 0xc
mov esi, ebx
call fcn.0040e6a0
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x104
push str.InstallLanguage
push reloc.WSOCK32.dll_bind
lea esi, [ebp - 0x270]
mov edx, str.SYSTEMCurrentControlSetControlNlsLanguage
call fcn.0040f250
jmp 0x4722be
push 0x104
push str.SchemeLangID
push reloc.WSOCK32.dll_accept
lea esi, [ebp - 0x270]
mov edx, str.Control_PanelAppearance
call fcn.0040f250
movzx eax, word [ebp - 0x270]
add esp, 0xc
push 4
push esi
push 0
push eax
mov dword [ebp + 8], eax
call fcn.00432e88
add esp, 0x10
jmp 0x4722c1
lea edx, [ebp - 0x31c]
push edx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
lea eax, [ebp - 0x31c]
jmp 0x4722c7
lea eax, [ebp - 0x530]
push str.3__3__8__1
push eax
call fcn.00411567
lea ecx, [ebp - 0x530]
push ecx
xor esi, esi
xor edi, edi
call fcn.004111c1
add esp, 0xc
test eax, eax
jle 0x472a99
jmp 0x472a5b
movzx eax, word [ebp + edi*2 - 0x530]
cmp eax, 0x20
je 0x472a85
cmp eax, 0x2c
jne 0x472a7c
mov edx, 0x2e
mov word [ebp + esi*2 - 0x530], dx
jmp 0x472a84
mov word [ebp + esi*2 - 0x530], ax
inc esi
lea eax, [ebp - 0x530]
push eax
inc edi
call fcn.004111c1
add esp, 4
cmp edi, eax
jl 0x472a5b
xor ecx, ecx
mov word [ebp + esi*2 - 0x530], cx
lea eax, [ebp - 0x530]
jmp 0x4722c7
push 0x104
lea edx, [ebp - 0x270]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x4722c1
lea eax, [ebp - 0x60]
push eax
push 1
call fcn.00433493
add esp, 8
lea eax, [ebp - 0x60]
jmp 0x4722c7
lea ecx, [ebp - 0x60]
push ecx
push 2
call fcn.00433493
add esp, 8
lea eax, [ebp - 0x60]
jmp 0x4722c7
lea edx, [ebp - 0x60]
push edx
push 3
call fcn.00433493
add esp, 8
lea eax, [ebp - 0x60]
jmp 0x4722c7
lea eax, [ebp - 0x60]
push eax
push 4
call fcn.00433493
add esp, 8
lea eax, [ebp - 0x60]
jmp 0x4722c7
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x28]
mov esi, ebx
call fcn.00408f40
mov dword [ebx], edi
jmp 0x472dad
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x24]
mov esi, ebx
call fcn.00408f40
mov dword [ebx], edi
jmp 0x472dad
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0xc
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, ebx
mov dword [ebp - 4], eax
call fcn.00408f40
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
push ecx
push edi
mov dword [ebx + 8], 1
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0x74
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, ebx
mov dword [ebp - 4], eax
call fcn.00408f40
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
push eax
push edi
mov dword [ebx + 8], 1
mov dword [ebx], edx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp + 0x10]
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x104
lea ecx, [ebp - 0x270]
push ecx
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x4722c1
lea edx, [ebp - 0x270]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea esi, [ebp - 0x270]
call fcn.00410290
jmp 0x4722c1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x270]
push ecx
mov dword [ebp + 8], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
jmp 0x4722c1
mov eax, dword [0x4a7f54]
cmp eax, 3
je case.0x4721da.43
cmp eax, 4
jne case.0x4721da.30
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 1
jmp 0x472dad
push 0x104
lea edx, [ebp - 0x270]
push edx
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x4722c1
push 0x104
lea eax, [ebp - 0x270]
push eax
push str.HOMEDRIVE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x4722c1
push 0x104
lea ecx, [ebp - 0x270]
push ecx
push str.HOMEPATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x4722c1
push 0x104
lea edx, [ebp - 0x270]
push edx
push str.HOMESHARE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x4722c1
push 0x104
lea eax, [ebp - 0x270]
push eax
push str.LOGONSERVER
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x4722c1
push 0x104
lea ecx, [ebp - 0x270]
push ecx
push str.USERDOMAIN
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x4722c1
push 0x104
lea edx, [ebp - 0x270]
push edx
push str.USERDNSDOMAIN
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x4722c1
mov edi, dword [esi + 0x148]
mov esi, ebx
call fcn.00408f40
mov dword [ebx], edi
jmp 0x472dad
mov eax, dword [esi + 0x14c]
jmp 0x4722c7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
test eax, eax
jns 0x472d77
fadd qword [0x48cd18]
mov esi, ebx
fstp qword [ebp - 8]
call fcn.00408f40
fld qword [ebp - 8]
lea ecx, [ebp + 0x10]
fstp qword [ebx]
mov dword [ebx + 8], 3
call fcn.00402250
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov esi, ebx
call fcn.00408f40
mov dword [ebx], 0
mov dword [ebx + 8], 1
lea ecx, [ebp + 0x10]
call fcn.00402250
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18