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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4282d8
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x94]
push edi
lea edi, [esi + 0x90]
xor ebx, ebx
cmp eax, ebx
je 0x40ae5c
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 8]
push edx
push edi
push ecx
push eax
call fcn.00401d20
mov eax, dword [edi + 4]
push eax
call fcn.0041aebd
add esp, 0x14
push 1
mov ebp, 0xf
push 0x42b0f4
lea ecx, [esp + 0x58]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00401890
push ebx
push 0x42a2ef
lea ecx, [esp + 0x3c]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00401890
push 0x13
push str.SUPPORTED_LANGUAGES
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 1
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401890
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x9c], 2
call fcn.00416ba0
push eax
push edi
call fcn.00417e90
mov eax, dword [esp + 0x3c]
mov edi, 0x10
add esp, 0xc
cmp eax, edi
jb 0x40af0f
mov eax, dword [esp + 0x1c]
push eax
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x40af2e
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0x90], 0xffffffff
jb 0x40af58
mov edx, dword [esp + 0x54]
push edx
call fcn.0041aebd
add esp, 4
push ebx
push 0x42a2ef
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00401890
push 0xa
push str.SHORT_LANG
lea ecx, [esp + 0x3c]
mov dword [esp + 0x98], 3
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00401890
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x28]
mov byte [esp + 0x98], 4
call fcn.00416ba0
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0x74]
push eax
mov ecx, edi
call fcn.004017a0
cmp dword [esp + 0x4c], 0x10
jb 0x40afd6
mov edx, dword [esp + 0x38]
push edx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0x90], 0xffffffff
jb 0x40b001
mov eax, dword [esp + 0x54]
push eax
call fcn.0041aebd
add esp, 4
cmp dword [esi + 0x34], ebx
push 0x11
lea ecx, [esp + 0x54]
mov byte [esp + 0x58], bl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebp
push str.InstalledLanguage
je 0x40b062
call fcn.00401890
push edi
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esi + 0x180]
mov dword [esp + 0x98], 5
call fcn.00416ba0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.004017a0
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x90], 0xffffffff
jb 0x40b0a2
mov edx, dword [esp + 0x54]
push edx
jmp 0x40b09a
call fcn.00401890
push edi
lea eax, [esp + 0x54]
push eax
lea ecx, [esi + 0x180]
mov dword [esp + 0x98], 6
call fcn.00417180
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x90], 0xffffffff
jb 0x40b0a2
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0041aebd
add esp, 4
mov ecx, dword [esi + 0x98]
mov eax, dword [esi + 0x94]
push edi
push ecx
push eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x20], ecx
call fcn.00404db0
mov edx, dword [eax]
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp edx, ecx
setne dl
movzx eax, dl
push 0x34
push str.OrderReminder::initializeLanguage_____this__language
lea ecx, [esp + 0x58]
mov dword [esi + 0xa0], eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00401890
lea ecx, [esp + 0x50]
push edi
push ecx
mov dword [esp + 0x98], 7
call fcn.00412300
mov eax, dword [esp + 0x70]
mov edi, 0x10
add esp, 8
cmp eax, edi
mov dword [esp + 0x90], 0xffffffff
jb 0x40b130
mov edx, dword [esp + 0x54]
push edx
call fcn.0041aebd
add esp, 4
push 0x3f
push str.OrderReminder::initializeLanguage_____this__isLanguageSupported
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.00401890
mov eax, dword [esi + 0xa0]
push eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x98], 8
call fcn.004123c0
mov eax, dword [esp + 0x8c]
add esp, 8
cmp eax, edi
pop edi
pop esi
pop ebp
pop ebx
jb 0x40b18d
mov edx, dword [esp + 0x60]
push edx
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x78]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x84
ret