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

Disassembly:
sub esp, 0x98
push ebx
push ebp
push esi
push edi
xor eax, eax
mov dword [esp + 0x74], ecx
push 7
pop ecx
xor ebx, ebx
mov word [esp + 0x90], ax
mov word [esp + 0x24], ax
lea eax, [esp + 0x24]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xbc]
push eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebx
call fcn.642752bc
lea ecx, [esp + 0x24]
call fcn.64274031
mov edi, dword [esp + 0xac]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x64274b8d
mov ecx, dword [esp + 0xbc]
push str.No_localization_directory_specified
call fcn.64275297
jmp 0x64274f80
mov esi, dword [esp + 0xb0]
cmp dword [esi + 0x10], ebx
jne 0x64274baa
push 2
push 0x648ac5c4
mov ecx, esi
call fcn.64274149
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x64274bb4
mov ecx, dword [edi]
cmp word [ecx + eax*2 - 2], 0x2f
je 0x64274bd6
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x64274bc6
mov ecx, dword [edi]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x64274bd6
push ecx
mov ecx, edi
call fcn.64275235
mov edx, esi
lea ecx, [esp + 0x40]
call fcn.6427e748
cmp dword [edi + 0x14], 8
mov ecx, eax
mov eax, edi
jb 0x64274bed
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
push ecx
call fcn.64275d98
push eax
lea ecx, [esp + 0x28]
call fcn.642744d1
push 0x648ac614
lea edx, [esp + 0x28]
lea ecx, [esp + 0x5c]
call fcn.642759d1
pop ecx
lea edx, [esp + 0x18]
mov ecx, eax
call fcn.64273ef2
mov ebp, dword [esp + 0x18]
test al, al
je 0x64274c32
mov byte [esp + 0x13], 1
cmp ebp, dword [esp + 0x1c]
jne 0x64274c36
mov byte [esp + 0x13], bl
lea ecx, [esp + 0x58]
call fcn.64274031
lea ecx, [esp + 0x24]
call fcn.64274031
lea ecx, [esp + 0x40]
call fcn.64274031
cmp byte [esp + 0x13], bl
je 0x64274ef1
push esi
lea ecx, [esp + 0x5c]
call fcn.64273b89
mov eax, dword [esp + 0xb4]
push 0x10
pop esi
cmp dword [eax + 0x10], ebx
je 0x64274ca2
push eax
mov edx, 0x648ac610
lea ecx, [esp + 0x28]
call fcn.64275a04
pop ecx
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], esi
jb 0x64274c8e
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.64273923
lea ecx, [esp + 0x24]
call fcn.64273636
push 4
push str..cfg
lea ecx, [esp + 0x60]
call fcn.64273923
cmp dword [esp + 0x6c], esi
lea eax, [esp + 0x58]
lea ecx, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
lea edx, [esp + 0x58]
cmovae ecx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
add eax, ecx
cmp dword [esp + 0x6c], esi
mov ecx, eax
mov esi, ebx
cmovae edx, dword [esp + 0x58]
and dword [esp + 0x3c], ebx
sub ecx, edx
cmp edx, eax
mov dword [esp + 0x70], edx
cmova ecx, dword [esp + 0x3c]
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x64274d30
mov edi, ecx
mov ebp, edx
movsx ebx, byte [esi + ebp]
mov al, bl
or al, 0x20
movzx ecx, al
lea edx, [ebx - 0x41]
movzx eax, bl
cmp edx, 0x19
cmova ecx, eax
mov eax, dword [esp + 0x14]
mov byte [esi + eax], cl
inc esi
cmp esi, edi
jne 0x64274d00
mov edi, dword [esp + 0xac]
xor ebx, ebx
mov ebp, dword [esp + 0x18]
lea edx, [esp + 0x58]
lea ecx, [esp + 0x24]
call fcn.6427e748
push dword [esp + 0x1c]
mov edx, eax
lea ecx, [esp + 0x18]
push ebp
call fcn.64275a50
pop ecx
pop ecx
lea ecx, [esp + 0x24]
call fcn.64274031
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x1c]
jne 0x64274db5
mov edx, dword [esp + 0xb0]
push 0x648ac620
push ecx
lea ecx, [esp + 0x80]
call fcn.6427e748
pop ecx
mov edx, eax
lea ecx, [esp + 0x28]
call fcn.642759d1
pop ecx
push dword [esp + 0x1c]
mov edx, eax
lea ecx, [esp + 0x18]
push ebp
call fcn.64275a50
pop ecx
pop ecx
lea ecx, [esp + 0x24]
mov esi, dword [eax]
call fcn.64274031
lea ecx, [esp + 0x78]
call fcn.64274031
cmp esi, dword [esp + 0x1c]
cmove esi, ebp
push esi
lea ecx, [esp + 0x44]
call fcn.64275303
xor eax, eax
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], ax
lea ecx, [esp + 0x24]
mov eax, dword [edi + 0x10]
add eax, dword [esp + 0x50]
push eax
mov dword [esp + 0x3c], 7
call fcn.64275cd8
mov eax, dword [edi + 0x10]
push 8
pop esi
cmp dword [edi + 0x14], esi
jb 0x64274df0
mov edi, dword [edi]
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.6427554f
cmp dword [esp + 0x54], esi
lea eax, [esp + 0x40]
push dword [esp + 0x50]
cmovae eax, dword [esp + 0x44]
lea ecx, [esp + 0x28]
push eax
call fcn.6427554f
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x94]
call fcn.642752bc
lea ecx, [esp + 0x24]
call fcn.64274031
cmp dword [esp + 0x54], esi
lea ecx, [esp + 0x40]
mov edx, dword [esp + 0x50]
cmovae ecx, dword [esp + 0x40]
push 4
push 0x648ac620
push ecx
call fcn.64275a9d
mov ecx, eax
add esp, 0xc
cmp ecx, 0xffffffff
je 0x64274eba
xor eax, eax
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x50], ecx
mov word [esp + 0x24], ax
lea eax, [esp + 0x40]
cmovb ecx, dword [esp + 0x50]
cmp dword [esp + 0x54], esi
push ecx
cmovae eax, dword [esp + 0x44]
lea ecx, [esp + 0x28]
push eax
mov dword [esp + 0x40], 7
call fcn.64274057
lea edx, [esp + 0x24]
lea ecx, [esp + 0x78]
call fcn.6427e698
mov ecx, dword [esp + 0xb8]
push eax
call fcn.642753cd
lea ecx, [esp + 0x78]
call fcn.64273636
lea ecx, [esp + 0x24]
call fcn.64274031
jmp 0x64274edd
lea edx, [esp + 0x40]
lea ecx, [esp + 0x78]
call fcn.6427e698
mov ecx, dword [esp + 0xb8]
push eax
call fcn.642753cd
lea ecx, [esp + 0x78]
call fcn.64273636
lea ecx, [esp + 0x40]
call fcn.64274031
lea ecx, [esp + 0x58]
call fcn.64273636
jmp 0x64274f2b
push str.en_us.cfg
mov edx, edi
lea ecx, [esp + 0x7c]
call fcn.6427597d
pop ecx
push eax
lea ecx, [esp + 0x94]
call fcn.642752bc
lea ecx, [esp + 0x78]
call fcn.64274031
mov ecx, dword [esp + 0xb8]
push 5
push str.en_us
call fcn.64274149
push dword [esp + 0xbc]
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x94]
push eax
call fcn.642761ac
mov bl, al
test ebp, ebp
je 0x64274f80
push 0x18
mov esi, ebp
pop edi
jmp 0x64274f59
mov ecx, esi
call fcn.64274031
add esi, edi
cmp esi, dword [esp + 0x1c]
jne 0x64274f50
mov eax, dword [esp + 0x20]
sub eax, ebp
cdq
idiv edi
imul edx, eax, 0x18
cmp edx, 0x1000
jb 0x64274f79
mov ebp, dword [ebp - 4]
add edx, 0x23
mov ecx, ebp
call fcn.64288ba5
lea ecx, [esp + 0x90]
call fcn.64274031
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x98
ret 0x14