Function at 0x467584
Capabilities:
Identify system language via api
Link many functions at runtime

Disassembly:
push edi
push esi
push ebx
sub esp, 0x154
call fcn.00466be0
call fcn.00466698
test eax, eax
je 0x4675aa
mov eax, 0xffffffff
add esp, 0x154
pop ebx
pop esi
pop edi
ret
call fcn.004669f4
call fcn.00403588
call fcn.00468a60
movzx eax, byte [0x8722dc]
test eax, eax
jle 0x4675e7
cmp eax, 0x14
jge 0x4675e7
push 0x87d60c
push 0x87c810
call fcn.00409114
mov eax, 0xffffffff
add esp, 0x15c
pop ebx
pop esi
pop edi
ret
call fcn.004688d0
movsx eax, al
test eax, eax
je 0x467602
mov eax, 0xffffffff
add esp, 0x154
pop ebx
pop esi
pop edi
ret
push 0x87d64c
push dword [0x8722ec]
call fcn.0046f0a0
add esp, 8
test eax, eax
jne 0x467639
mov eax, 0x87d638
mov edx, 0x87d64c
xor ecx, ecx
call fcn.004652c5
mov eax, 0xffffffff
add esp, 0x154
pop ebx
pop esi
pop edi
ret
push 0x87d654
push dword [0x8722ec]
call fcn.0046f0a0
add esp, 8
test eax, eax
je 0x468202
push 0x87d65c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x8724c0], eax
test eax, eax
je 0x4681bd
push 1
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8724b8], eax
push 2
push dword [0x8724c0]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8724bc], eax
cmp dword [0x8724b8], 0
je 0x4681a6
cmp dword [0x8724bc], 0
je 0x46818f
push 0x87d6bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x8724d4], eax
test eax, eax
je 0x46814a
push 1
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8724c4], eax
push 2
push dword [0x8724d4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8724c8], eax
push 3
push dword [0x8724d4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8724cc], eax
push 4
push dword [0x8724d4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8724d0], eax
cmp dword [0x8724c4], 0
je 0x468133
cmp dword [0x8724c8], 0
je 0x46811c
cmp dword [0x8724cc], 0
je 0x468105
cmp dword [0x8724d0], 0
je 0x4680ee
cmp byte [0x59b6f8], 1
je 0x467fc8
cmp byte [0x871fc4], 1
je 0x467fc8
cmp byte [0x871fc8], 1
je 0x467fc8
cmp byte [0x871fcc], 1
je 0x467fc8
call fcn.00463f08
test eax, eax
jne 0x467d90
cmp byte [0x59b6f8], 1
je 0x467fac
cmp byte [0x871fc4], 1
je 0x467fac
cmp byte [0x871fc8], 1
je 0x467fac
cmp byte [0x871fcc], 1
je 0x467fac
movsx eax, byte [0x872278]
test eax, eax
jne 0x46780a
mov eax, 2
mov edx, 0x660b20
call fcn.00464f4d
movsx eax, al
test eax, eax
je 0x4677ee
mov eax, 0x660a00
call fcn.004110c4
call fcn.00411474
mov eax, 0xffffffff
add esp, 0x154
pop ebx
pop esi
pop edi
ret
mov eax, dword [0x872980]
test eax, eax
je 0x46780a
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x872980]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movsx eax, byte [0x872270]
test eax, eax
jne 0x467f93
call fcn.004653f8
test eax, eax
je 0x467831
mov eax, 0xffffffff
add esp, 0x154
pop ebx
pop esi
pop edi
ret
call fcn.0046825c
call fcn.00464ed0
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [0x872260]
call fcn.00466e40
cmp eax, 0xffffffff
je 0x467855
cmp eax, 4
jle 0x467870
push 0x87d884
push 0
call fcn.00409114
mov eax, 0xffffffff
add esp, 0x15c
pop ebx
pop esi
pop edi
ret
call fcn.00466c84
test eax, eax
jle 0x467888
mov eax, 0xffffffff
add esp, 0x154
pop ebx
pop esi
pop edi
ret
call fcn.0046b9e8
call fcn.0046b978
call fcn.0046ba48
call fcn.00468878
movsx eax, al
test eax, eax
je 0x4678b2
mov eax, 0xffffffff
add esp, 0x154
pop ebx
pop esi
pop edi
ret
call fcn.00463af4
test eax, eax
jne 0x467d90
movsx eax, byte [0x872290]
test eax, eax
je 0x4678db
movzx eax, byte [0x8722dc]
cmp eax, 0x41
jl 0x4678db
call fcn.00573469
mov edi, dword [0x87274c]
mov ebx, dword [edi + 0xc]
mov dword [0x872364], ebx
mov ecx, dword [edi + 0x10]
mov dword [0x872368], ecx
mov esi, ecx
movsx eax, byte [0x872230]
test eax, eax
je 0x46792b
mov edx, dword [0x87234c]
mov dword [edi + 0xc], edx
mov ecx, dword [0x87274c]
mov eax, dword [0x872350]
mov dword [ecx + 0x10], eax
mov ebx, dword [ecx + 0xc]
mov dword [0x87236c], ebx
mov dword [0x872370], eax
mov esi, eax
mov ecx, eax
jmp 0x467942
mov dword [0x872370], ecx
mov dword [0x87236c], ebx
mov edx, dword [0x87234c]
mov eax, dword [0x872350]
cmp ebx, edx
jg 0x46794a
cmp esi, eax
jle 0x46796e
mov ebx, edx
shr ebx, 0x1f
add edx, ebx
mov ebx, edx
sar ebx, 1
mov dword [0x872374], ebx
mov edx, eax
shr edx, 0x1f
add eax, edx
mov esi, eax
sar esi, 1
mov dword [0x872378], esi
jmp 0x46797a
mov dword [0x872378], ecx
mov dword [0x872374], ebx
mov ecx, dword [0x8721ec]
lea edx, [ebx + ebx]
add edx, edx
cmp ebx, 0x2000
jg 0x467f6c
test ecx, ecx
je 0x467f55
mov eax, edx
imul eax, esi
lea edx, [edx + eax + 4]
push edx
push ecx
call fcn.0046f1bf
add esp, 8
mov edi, eax
test edi, edi
je 0x467f2c
mov dword [0x8721ec], edi
push 0x6607c0
mov ecx, dword [0x87274c]
call fcn.00467374
mov dword [0x8723b4], 1
push 0x6607c0
push 0x660a00
push dword [0x872264]
push dword [0x872260]
mov ecx, dword [0x87274c]
call fcn.004574c0
test eax, eax
jne 0x467a19
push 0x87d890
push 0x87c810
call fcn.00409114
mov eax, 0xffffffff
add esp, 0x15c
pop ebx
pop esi
pop edi
ret
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
movsx eax, byte [0x872230]
test eax, eax
je 0x467a46
mov eax, dword [0x87274c]
push 0
push dword [eax + 0x2a4]
call sub.IMM32.dll_ImmAssociateContext
call fcn.0046bd44
movsx eax, byte [0x872230]
test eax, eax
je 0x467a5d
mov byte [0x87227c], 0
movsx eax, byte [0x87227c]
test eax, eax
jne 0x467a72
mov eax, dword [0x872354]
mov dword [0x872344], eax
movsx eax, byte [0x872280]
test eax, eax
jne 0x467f20
call fcn.00467494
call fcn.004684cc
push dword [0x872260]
call fcn.0046bd7c
pop ecx
movsx eax, al
test eax, eax
je 0x467aa7
mov byte [0x872298], 1
jmp 0x467aae
mov byte [0x872298], 0
mov dword [0x872558], 0
push 0x872314
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea esi, [esp + 0xc]
mov edi, 0x660c40
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x467ad8
lea edi, [esp + 0xc]
mov edx, 0x87d8b4
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x467af5
movzx eax, byte [0x8722dc]
cmp eax, 0x41
jl 0x467b12
mov esi, 1
jmp 0x467b14
xor esi, esi
xor eax, eax
mov byte [esp + 0x11c], al
mov byte [esp + 0x11d], al
movsx edx, byte [0x872270]
test edx, edx
jne 0x467b41
movsx eax, byte [0x8722b8]
test eax, eax
jne 0x467b41
mov eax, 1
jmp 0x467b43
xor eax, eax
neg eax
inc eax
cmp edx, 1
je 0x467f07
xor edx, edx
neg edx
inc edx
imul eax, edx
movsx eax, al
cmp byte [0x872278], 1
je 0x467b67
test eax, eax
jne 0x467b89
mov byte [esp + 0x144], 0
mov byte [esp + 0x145], 1
mov byte [esp + 0x146], 2
mov byte [esp + 0x147], 3
jmp 0x467ba9
mov byte [esp + 0x144], 0
mov byte [esp + 0x145], 1
mov byte [esp + 0x146], 3
mov byte [esp + 0x147], 2
xor ebx, ebx
jmp 0x467bae
inc ebx
movsx eax, bl
cmp eax, 4
jge 0x467f00
movsx eax, byte [esp + eax + 0x144]
test eax, eax
je 0x467ee3
cmp eax, 1
je 0x467c05
cmp eax, 2
jne 0x467bea
lea eax, [esp + 0x114]
lea edx, [esp + 0xc]
call fcn.00440594
test eax, eax
jne 0x467c19
jmp 0x467bad
cmp eax, 3
jne 0x467bad
lea eax, [esp + 0xc]
call fcn.00440570
movsx eax, al
test eax, eax
jne 0x467ed6
jmp 0x467bad
lea eax, [esp + 0x114]
lea edx, [esp + 0xc]
call fcn.00440884
test eax, eax
je 0x467bad
test eax, eax
jle 0x467ecf
mov eax, 1
test eax, eax
je 0x467c2f
mov esi, 1
test esi, esi
jne 0x467e8a
movzx eax, byte [0x8722dc]
cmp eax, 0x50
jl 0x467d2f
call fcn.0046cc18
test eax, eax
jne 0x467c5c
push 0x5e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
jmp 0x467c66
push 0x5e
call dword [0x872024]
mov ebx, eax
call fcn.0046cc18
test eax, eax
jne 0x467c79
push 0x5f
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x467c81
push 0x5f
call dword [0x872024]
test ebx, ebx
je 0x467c99
test ebx, 0x80
je 0x467c99
mov byte [0x87249c], 1
mov dword [0x8724a0], eax
push 0x87d8c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x872498], eax
test eax, eax
je 0x467d16
push 0x87d8d0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x872484], eax
push 0x87d8e4
push dword [0x872498]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x872488], eax
push 0x87d8f8
push dword [0x872498]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x87248c], eax
push 0x87d914
push dword [0x872498]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x872490], eax
push 0x87d930
push dword [0x872498]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x872494], eax
mov edx, dword [0x87248c]
test edx, edx
je 0x467d2f
mov eax, dword [0x87274c]
push 0
push dword [eax + 0x2a4]
call edx
call fcn.0046c30c
movsx eax, byte [0x871fb4]
test eax, eax
jne 0x467d4a
movsx eax, byte [0x871fb8]
test eax, eax
je 0x467d4f
call fcn.00465c08
call fcn.0046b7a8
movsx eax, al
test eax, eax
je 0x467d6f
call fcn.00410ebc
mov eax, 1
add esp, 0x154
pop ebx
pop esi
pop edi
ret
call fcn.0046a50c
test eax, eax
je 0x467d87
mov eax, 0xffffffff
add esp, 0x154
pop ebx
pop esi
pop edi
ret
call fcn.0046b3f4
test eax, eax
je 0x467d9f
mov eax, 0xffffffff
add esp, 0x154
pop ebx
pop esi
pop edi
ret
call fcn.0046a4ec
movsx eax, byte [0x8722a0]
call fcn.00457d7d
cmp eax, 1
je 0x467e48
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x872324], eax
mov dword [0x872328], eax
mov dword [0x87232c], eax
mov dword [0x872330], eax
call fcn.00469aac
movsx eax, byte [0x871fb4]
test eax, eax
jne 0x467dee
movsx eax, byte [0x871fb8]
test eax, eax
je 0x467e01
call fcn.00409154
cmp eax, 1
je 0x467e0d
cmp eax, 0xffffffff
je 0x468227
xor eax, eax
add esp, 0x154
pop ebx
pop esi
pop edi
ret
xor eax, eax
mov byte [0x872000], al
mov byte [0x59b748], 1
mov byte [0x871fb4], al
mov byte [0x871fb8], al
push 0x87cbc4
push 0x8782b0
call fcn.00423904
push 0x87cbc4
push 0x8782b0
call fcn.00409114
add esp, 0x10
jmp 0x467e01
mov eax, dword [0x87274c]
push 5
push dword [eax + 0x2a4]
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ebx, eax
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, ebx
cmp eax, 0x5dc
jae 0x467db9
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, ebx
cmp eax, 0x5dc
jb 0x467e76
jmp 0x467db9
call fcn.0046c548
movsx eax, byte [0x872418]
test eax, eax
je 0x467c37
mov eax, 1
mov byte [0x871fb4], al
xor ecx, ecx
mov byte [0x871fb8], cl
movsx edx, byte [0x59b748]
cmp edx, 1
jle 0x467ebe
mov edx, eax
mov byte [0x59b748], dl
mov byte [0x871ffc], cl
jmp 0x467c37
xor eax, eax
jmp 0x467c26
mov byte [esp + 0x11c], 1
jmp 0x467c19
lea eax, [esp + 0x114]
lea edx, [esp + 0xc]
call fcn.004408dc
test eax, eax
jne 0x467c19
jmp 0x467bad
xor eax, eax
jmp 0x467c19
movsx edx, byte [0x8722bc]
test edx, edx
jne 0x467b4f
mov edx, 1
jmp 0x467b51
mov byte [0x872360], 0
jmp 0x467a81
push esi
push ebx
push 0
push 0x879400
push 0x8782b0
call fcn.00423904
push 0
push 1
push 0x1965e
call fcn.0046bfe0
add esp, 0x20
jmp 0x4679b6
mov eax, edx
imul eax, esi
lea edx, [edx + eax + 4]
push edx
call fcn.0046ef5c
pop ecx
mov edi, eax
jmp 0x4679ae
push esi
push ebx
push 0x8793d8
push 0x8782b0
call fcn.00409114
push 1
push 0x186aa
call fcn.0046c03c
add esp, 0x18
xor edi, edi
jmp 0x4679b6
mov esi, 0x660d60
mov edi, 0x660c40
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x467f9d
jmp 0x467831
cmp dword [0x8724e8], 0
jne 0x4677af
mov eax, 0xffffffff
add esp, 0x154
pop ebx
pop esi
pop edi
ret
push 0x87d77c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x8724e8], eax
test eax, eax
je 0x4680a9
push 0x87d788
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8724d8], eax
push 0x87d7a0
push dword [0x8724e8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8724dc], eax
push 0x87d7b0
push dword [0x8724e8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8724e0], eax
push 0x87d7cc
push dword [0x8724e8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8724e4], eax
test eax, eax
je 0x468095
cmp dword [0x8724dc], 0
je 0x468081
cmp dword [0x8724e0], 0
je 0x46806d
cmp dword [0x8724e4], 0
jne 0x46776e
xor eax, eax
push eax
push eax
push 0x87d7e0
push eax
call fcn.00409114
add esp, 0x10
jmp 0x46776e
xor eax, eax
push eax
push eax
push 0x87d828
push eax
call fcn.00409114
add esp, 0x10
jmp 0x468049
xor eax, eax
push eax
push eax
push 0x87d804
push eax
call fcn.00409114
add esp, 0x10
jmp 0x468040
xor eax, eax
push eax
push eax
push 0x87d7e0
push eax
call fcn.00409114
add esp, 0x10
jmp 0x468037
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor ecx, ecx
lea edx, [esp + 0x148]
push ecx
push ecx
push edx
push 0x400
push ebx
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [esp + 0x148]
push ebx
push 0x87d854
push 0x8782b0
call fcn.00409114
add esp, 0x10
jmp 0x46776e
xor eax, eax
push eax
push eax
push 0x87d72c
push eax
call fcn.00409114
add esp, 0x10
jmp 0x46773a
xor eax, eax
push eax
push eax
push 0x87d70c
push eax
call fcn.00409114
add esp, 0x10
jmp 0x46772d
xor eax, eax
push eax
push eax
push 0x87d6ec
push eax
call fcn.00409114
add esp, 0x10
jmp 0x467720
xor eax, eax
push eax
push eax
push 0x87d6c8
push eax
call fcn.00409114
add esp, 0x10
jmp 0x467713
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor ecx, ecx
lea edx, [esp + 0x150]
push ecx
push ecx
push edx
push 0x400
push ebx
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [esp + 0x150]
push ebx
push 0x87d74c
push 0x8782b0
call fcn.00409114
add esp, 0x10
jmp 0x46773a
xor eax, eax
push eax
push eax
push 0x87d668
push eax
call fcn.00409114
add esp, 0x10
jmp 0x4676a7
xor eax, eax
push eax
push eax
push 0x87d668
push eax
call fcn.00409114
add esp, 0x10
jmp 0x46769a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor ecx, ecx
lea edx, [esp + 0x14c]
push ecx
push ecx
push edx
push 0x400
push ebx
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [esp + 0x14c]
push ebx
push 0x87d68c
push 0x8782b0
call fcn.00409114
add esp, 0x10
jmp 0x4676a7
mov dword [0x59b758], 0x8791ac
push 1
push 0x186a0
call fcn.0046c03c
mov eax, 0xffffffff
add esp, 0x15c
pop ebx
pop esi
pop edi
ret
xor edx, edx
mov byte [0x872000], dl
mov ecx, 1
mov byte [0x59b748], cl
mov byte [0x871fb4], dl
mov byte [0x871fb8], dl
mov byte [0x8725bc], cl
mov eax, 0xffffffff
add esp, 0x154
pop ebx
pop esi
pop edi
ret