Function at 0x416190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4bcac2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
mov eax, dword [0x51eea4]
xor eax, dword [esp + 0xc0]
push ebx
push ebp
push esi
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xd0]
push edi
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x84]
xor ebp, ebp
push ecx
mov dword [esp + 0x18], ebp
call fcn.0041c210
push 0x16c
mov dword [esp + 0xd8], ebp
call fcn.004ad909
mov esi, eax
add esp, 0xc
mov dword [esp + 0x14], esi
cmp esi, ebp
mov byte [esp + 0xcc], 1
mov ebx, 0xf
je 0x416259
mov eax, str.data_language
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416221
sub eax, edx
push eax
push str.data_language
lea ecx, [esp + 0x30]
call fcn.00402cd0
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov byte [esp + 0xd0], 2
mov dword [esp + 0x14], 1
call fcn.0040c720
mov edi, eax
jmp 0x41625b
xor edi, edi
mov dword [esp + 0x44], edi
cmp edi, ebp
mov dword [esp + 0xb8], edi
je 0x41626d
inc dword [edi + 4]
test byte [esp + 0x10], 1
mov dword [esp + 0xcc], 5
mov esi, 0x10
je 0x4162b1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
and ecx, 0xfffffffe
cmp eax, esi
mov dword [esp + 0x10], ecx
jb 0x4162a4
mov eax, dword [esp + 0x2c]
push eax
call fcn.004ade5d
add esp, 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], 0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
test al, al
je 0x416392
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
test eax, eax
jne 0x416383
mov edx, dword [edi]
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call dword [edx + 0x18]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0xd4], 6
call fcn.0041c210
mov ecx, dword [esp + 0xa0]
add esp, 8
cmp ecx, esi
mov ecx, dword [esp + 0x84]
jae 0x41630e
lea ecx, [esp + 0x84]
mov edx, dword [esp + 0x94]
push edx
push ebp
push ecx
mov ecx, eax
call fcn.00401760
cmp eax, 0xffffffff
mov eax, dword [esp + 0x7c]
setne bl
cmp eax, 0x10
jb 0x41633b
mov eax, dword [esp + 0x68]
push eax
call fcn.004ade5d
add esp, 4
test bl, bl
mov esi, 0xf
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
jne 0x41645a
cmp dword [esp + 0x60], 0x10
mov byte [esp + 0xcc], 5
jb 0x416371
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004ade5d
add esp, 4
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
mov esi, 0x10
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x10]
test al, al
jne 0x4162c0
lea ecx, [esp + 0x14]
push ecx
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.Language_data_is_corrupt
push 0x51ff84
mov ecx, eax
mov byte [esp + 0xd8], 0x1c
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov byte [esp + 0xcc], 5
je 0x4163f8
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x20], edx
jne 0x4163f8
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi + 4]
dec eax
mov byte [esp + 0xcc], 0
mov dword [edi + 4], eax
jne 0x416411
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
cmp dword [esp + 0x98], esi
jb 0x41642a
mov eax, dword [esp + 0x84]
push eax
call fcn.004ade5d
add esp, 4
xor al, al
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc0]
xor ecx, dword [esp + 0xd0]
call fcn.004ae650
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 4
mov eax, str.0123456789
mov dword [esp + 0x24], ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416466
sub eax, edx
push eax
push ebp
push str.0123456789
lea ecx, [esp + 0x54]
call fcn.0040e110
cmp eax, 0xffffffff
je 0x41651e
cmp dword [esp + 0x60], 0x10
mov ecx, dword [esp + 0x4c]
jae 0x416497
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x24]
push edx
add ecx, eax
push 0x4f1d58
push ecx
call fcn.004aedc4
lea eax, [esp + 0x28]
add esp, 0xc
push eax
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push 0x51ff63
push ecx
push str.Code_page:
push 0x51ff70
mov ecx, eax
mov byte [esp + 0xdc], 7
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00405a80
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x1c]
cmp eax, ebp
mov byte [esp + 0xcc], 6
je 0x41651e
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x14], edx
jne 0x41651e
mov eax, dword [ecx]
push 1
call dword [eax]
mov ebx, 0x10
push ebx
call fcn.004ad909
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebp
je 0x41656f
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], ebp
mov edx, dword [edi]
lea eax, [esp + 0x68]
push eax
mov ecx, edi
mov byte [esp + 0xd4], 9
call dword [edx + 0x1c]
or dword [esp + 0x14], 2
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0xb
call fcn.0040cb30
mov esi, eax
jmp 0x416571
xor esi, esi
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov dword [esp + 0xbc], esi
je 0x416583
inc dword [esi + 4]
test byte [esp + 0x10], 2
mov dword [esp + 0xcc], 0xe
je 0x4165b9
cmp dword [esp + 0x7c], ebx
jb 0x4165a8
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004ade5d
add esp, 4
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
push eax
push ebp
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [edx + 4]
mov eax, dword [eax]
cmp eax, ebp
mov byte [esp + 0xcc], 0xf
je 0x4165dd
inc dword [eax + 4]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x18]
cmp ecx, ebp
mov dword [edx + 0x18], eax
je 0x4165fe
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebp
mov dword [ecx + 4], edx
jne 0x4165fe
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov byte [esp + 0xcc], 0xe
je 0x416627
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x14], eax
jne 0x416627
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [edi]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov esi, eax
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0xd0], 0x10
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.__is_loaded.
push esi
push str.Language_file__
push 0x51ff70
mov ecx, eax
mov byte [esp + 0xe0], 0x11
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403370
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov byte [esp + 0xcc], 0x10
je 0x4166bc
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x14], eax
jne 0x4166bc
mov edx, dword [ecx]
push 1
call dword [edx]
cmp dword [esp + 0xb4], ebx
mov byte [esp + 0xcc], 0xe
jb 0x4166dd
mov eax, dword [esp + 0xa0]
push eax
call fcn.004ade5d
add esp, 4
mov edi, dword [esp + 0x18]
mov esi, 0x50e088
mov bl, 0x14
jmp 0x4166f0
push esi
lea ecx, [esp + 0x2c]
push str.hierarchy.
push ecx
call fcn.00403a40
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0xd4], 0x12
call fcn.0040b7a0
cmp dword [esp + 0x40], 0x10
mov byte [esp + 0xcc], bl
jb 0x416738
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], 0
je 0x416823
lea edx, [esp + 0x14]
push edx
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push 0x51ff63
add ecx, 0x24
push ecx
push str.Loading_font:
push 0x51ff70
mov ecx, eax
mov byte [esp + 0xdc], 0x15
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403370
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov byte [esp + 0xcc], bl
je 0x4167c9
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x20], edx
jne 0x4167c9
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x24
call fcn.004ad909
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
mov byte [esp + 0xcc], 0x16
je 0x4167f4
mov ecx, dword [esp + 0x10]
add ecx, 0x24
push ecx
mov ecx, eax
call fcn.00414260
jmp 0x4167f6
xor eax, eax
cmp eax, ebp
mov byte [esp + 0xcc], bl
je 0x416804
inc dword [eax + 4]
mov ecx, dword [edi]
cmp ecx, ebp
mov dword [edi], eax
je 0x41681f
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebp
mov dword [ecx + 4], edx
jne 0x41681f
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov byte [esp + 0xcc], 0xe
je 0x416848
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x20], eax
jne 0x416848
mov edx, dword [ecx]
push 1
call dword [edx]
add esi, 0x1c
add edi, 4
cmp esi, 0x50e0c0
jl 0x4166f0
call fcn.00414770
mov ecx, eax
call fcn.004131c0
mov edi, dword [esp + 0x18]
xor eax, eax
mov bl, 0x18
mov edi, edi
lea esi, [eax + 1]
lea eax, [esp + 0x9c]
push esi
push eax
call fcn.00405900
push eax
lea ecx, [esp + 0x34]
push str.hierarchy.iconset
push ecx
mov byte [esp + 0xe0], 0x17
call fcn.00403a40
add esp, 0x14
mov ecx, dword [edi + 0x18]
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0xd4], bl
call fcn.0040b7a0
cmp dword [esp + 0x40], 0x10
jb 0x4168c5
mov eax, dword [esp + 0x2c]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0xb4], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], 0
mov byte [esp + 0xcc], 0x1a
jb 0x4168f8
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebp
mov byte [esp + 0xa0], 0
je 0x416932
call fcn.00414770
mov edx, dword [esp + 0x18]
add edx, 0x24
push edx
mov ecx, eax
call fcn.00415e80
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov byte [esp + 0xcc], 0xe
je 0x416957
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x20], eax
jne 0x416957
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, esi
cmp eax, 0xa
jl 0x416870
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebp
mov byte [esp + 0xcc], 6
mov dword [ecx + 4], edx
jne 0x416981
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x60], 0x10
jb 0x416995
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004ade5d
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
mov eax, dword [ecx + 4]
dec eax
mov byte [esp + 0xcc], 0
mov dword [ecx + 4], eax
jne 0x4169c1
mov edx, dword [ecx]
push 1
call dword [edx]
cmp dword [esp + 0x98], 0x10
jb 0x4169db
mov eax, dword [esp + 0x84]
push eax
call fcn.004ade5d
add esp, 4
mov al, 1
jmp 0x41642c