Function at 0x402434
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x26c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [str.SFX_CRA]
mov edx, dword [0x49512f]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], 8
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call sub.COMCTL32.DLL_InitCommonControlsEx
push edi
test eax, eax
jne 0x40248a
mov dword [esp], 9
call fcn.004056f0
mov dword [esp + 4], eax
jmp 0x402594
mov dword [ebp - 0x230], 0x154
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x230]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x154
mov dword [esp], 0x29
call sub.USER32.dll_SystemParametersInfoA
sub esp, 0x10
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sub.GDI32.dll_CreateFontIndirectA
push ecx
mov dword [ebx + 0xe4], eax
call sub.KERNEL32.DLL_GetUserDefaultLangID
movzx eax, ax
mov dword [esp], eax
call fcn.004167b9
mov edi, eax
call fcn.0041ebf0
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0041e5e8
lea edx, [ebp - 0x5c]
mov ecx, 0xc
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5c], 0x30
mov dword [ebp - 0x58], 3
mov dword [ebp - 0x54], 0x40422a
mov dword [ebp - 0x48], esi
mov dword [esp + 4], 0x8000
mov dword [esp], esi
mov dword [ebp - 0x23c], edx
call sub.USER32.dll_LoadIconA
push edx
push edx
mov dword [ebp - 0x44], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sub.USER32.dll_LoadCursorA
push edi
push edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x38], 0
lea edi, [ebp - 0x24]
mov dword [ebp - 0x34], edi
mov dword [esp + 4], 0x8000
mov dword [esp], esi
call sub.USER32.dll_LoadIconA
push ecx
push ecx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x23c]
mov dword [esp], edx
call sub.USER32.dll_RegisterClassExA
push edx
test ax, ax
jne 0x4025a4
mov dword [esp + 4], str.RegisterClassEx___error
mov dword [esp], ebx
call fcn.00401de4
or eax, 0xffffffff
jmp 0x402f2e
mov dword [esp], 2
call fcn.004056f0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x172
mov dword [esp + 0x18], 0x1f4
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xa0000
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], 0x40000
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x18], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2261
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x172
mov dword [esp + 0x18], 0x1f4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0x4950f1
mov dword [esp + 4], str.STATIC
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2262
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x12c
mov dword [esp + 0x18], 0x8c
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000a0e
mov dword [esp + 8], 0x4950f1
mov dword [esp + 4], str.STATIC
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x1c], eax
mov dword [esp], 0
call sub.KERNEL32.DLL_GetModuleHandleA
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8001
mov dword [esp], eax
call sub.USER32.dll_LoadImageA
sub esp, 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x172
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2263
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x1f4
mov dword [esp + 0x14], 0x12c
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0x4950f1
mov dword [esp + 4], str.STATIC
mov dword [esp], 0x20000
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebp - 0x1c], 0x493c80
call fcn.0041ebf0
lea edx, [ebp - 0x1c]
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00416b68
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._c___s__2009
mov dword [esp + 4], pe_nt_image_headers32
lea esi, [ebp - 0xdc]
mov dword [esp], esi
call fcn.0042bb80
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2264
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x18], 0x118
mov dword [esp + 0x14], 0x138
mov dword [esp + 0x10], 0xa
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], esi
mov dword [esp + 4], str.STATIC
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x20], eax
mov esi, dword [ebx + 0x18]
mov dword [esp], 4
call fcn.004056f0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2265
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x18], 0x14f
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x10], 0x96
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], eax
mov dword [esp + 4], str.STATIC
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x24], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2269
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x19
mov dword [esp + 0x18], 0x14f
mov dword [esp + 0x14], 0x5a
mov dword [esp + 0x10], 0x96
mov dword [esp + 0xc], 0x50010020
mov dword [esp + 8], 0x4950f1
mov dword [esp + 4], str.EDIT
mov dword [esp], 0x200
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x28], eax
mov dword [esp + 4], 0xfffffffc
mov dword [esp], eax
call sub.USER32.dll_GetWindowLongA
push esi
push esi
mov dword [ebx + 0x2c], eax
mov dword [esp + 8], 0x403cbc
mov dword [esp + 4], 0xfffffffc
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call sub.USER32.dll_SetWindowLongA
sub esp, 0xc
mov esi, dword [ebx + 0x18]
mov dword [esp], 5
call fcn.004056f0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2270
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0x26
mov dword [esp + 0x18], 0x26
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 0x48010040
mov dword [esp + 8], eax
mov dword [esp + 4], str.BUTTON
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x30], eax
mov dword [esp], 0
call sub.KERNEL32.DLL_GetModuleHandleA
push ecx
mov dword [esp + 4], 0x8003
mov dword [esp], eax
call sub.USER32.dll_LoadIconA
push edx
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0xf7
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2267
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x26
mov dword [esp + 0x18], 0x26
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x2f
mov dword [esp + 0xc], 0x40010040
mov dword [esp + 8], 0x495112
mov dword [esp + 4], str.BUTTON
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x38], eax
mov dword [esp], 0
call sub.KERNEL32.DLL_GetModuleHandleA
push edi
mov dword [esp + 4], 0x8002
mov dword [esp], eax
call sub.USER32.dll_LoadIconA
push esi
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0xf7
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2268
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x18], 0x194
mov dword [esp + 0x14], 0xb
mov dword [esp + 0x10], 0x57
mov dword [esp + 0xc], 0x40008000
mov dword [esp + 8], 0x4950f1
mov dword [esp + 4], str.STATIC
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x40], eax
mov dword [esp + 0x18], 0xb4
mov dword [esp + 0x14], 0x1e5
mov dword [esp + 0x10], 0x2a
mov dword [esp + 0xc], 5
mov dword [esp + 8], 0x226a
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
lea eax, [ebx + 0x64]
mov dword [esp], eax
call fcn.00405508
mov esi, dword [ebx + 0x18]
mov dword [esp], 3
call fcn.004056f0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x226b
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x18], 0x46
mov dword [esp + 0x14], 0xeb
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 0x40000000
mov dword [esp + 8], eax
mov dword [esp + 4], str.STATIC
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x44], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x226c
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x19
mov dword [esp + 0x18], 0x177
mov dword [esp + 0x14], 0xe6
mov dword [esp + 0x10], 0x50
mov dword [esp + 0xc], 0x40010080
mov dword [esp + 8], 0x4950f1
mov dword [esp + 4], str.EDIT
mov dword [esp], 0x200
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x48], eax
mov dword [esp + 8], 0x403cbc
mov dword [esp + 4], 0xfffffffc
mov dword [esp], eax
call sub.USER32.dll_SetWindowLongA
sub esp, 0xc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x226d
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x19
mov dword [esp + 0x18], 0x1e
mov dword [esp + 0x14], 0xe6
mov dword [esp + 0x10], 0x1cc
mov dword [esp + 0xc], 0x40010000
mov dword [esp + 8], 0x495115
mov dword [esp + 4], str.BUTTON
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x4c], eax
mov esi, dword [ebx + 0x18]
mov dword [esp], 0x17
call fcn.004056f0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x226e
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x18], 0x1e5
mov dword [esp + 0x14], 0xff
mov dword [esp + 0x10], 0x50
mov dword [esp + 0xc], 0x40010003
mov dword [esp + 8], eax
mov dword [esp + 4], str.BUTTON
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x54], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x226e
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.USER32.dll_CheckDlgButton
sub esp, 0xc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x226f
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x18], 0x1e5
mov dword [esp + 0x14], 0x11d
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 0x40000000
mov dword [esp + 8], 0
mov dword [esp + 4], str.msctls_progress32
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x58], eax
mov esi, dword [ebx + 0x18]
mov dword [esp], 6
call fcn.004056f0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2271
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x18], 0x5a
mov dword [esp + 0x14], 0x131
mov dword [esp + 0x10], 0x131
mov dword [esp + 0xc], 0x48010000
mov dword [esp + 8], eax
mov dword [esp + 4], str.BUTTON
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x90], eax
mov esi, dword [ebx + 0x18]
mov dword [esp], 7
call fcn.004056f0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2272
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x18], 0x5a
mov dword [esp + 0x14], 0x131
mov dword [esp + 0x10], 0x131
mov dword [esp + 0xc], 0x50010000
mov dword [esp + 8], eax
mov dword [esp + 4], str.BUTTON
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x5c], eax
mov esi, dword [ebx + 0x18]
mov dword [esp], 8
call fcn.004056f0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x2266
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x18], 0x5a
mov dword [esp + 0x14], 0x131
mov dword [esp + 0x10], 0x190
mov dword [esp + 0xc], 0x50010000
mov dword [esp + 8], eax
mov dword [esp + 4], str.BUTTON
mov dword [esp], 0
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [ebx + 0x60], eax
mov dword [esp], ebx
call fcn.004023be
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn.0045e500
xor eax, eax
jmp 0x402f2e
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret