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

Disassembly:
push 0xffffffffffffffff
push 0x531136
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, dword [0x562940]
xor eax, dword [esp + 0xb8]
push ebx
push ebp
mov dword [esp + 0xb0], eax
mov eax, dword [0x13f8ed8]
xor ebp, ebp
cmp eax, ebp
push esi
push edi
je 0x4a0ed1
mov ecx, dword [esp + 0x20]
mov edi, dword [0x13f8edc]
push ecx
push 0x13f8ed4
call fcn.004a4510
mov edx, dword [0x13f8ed8]
push edx
call fcn.0051d030
add esp, 0xc
mov edi, 0xf
mov dword [0x13f8ed8], ebp
mov dword [0x13f8edc], ebp
mov dword [0x13f8ee0], ebp
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebp
mov byte [esp + 0xa0], 0
mov eax, 0x54dce0
mov dword [esp + 0xc4], ebp
mov dword [0xc94094], ebp
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a0f13
sub eax, ecx
push eax
push 0x54dce0
lea ecx, [esp + 0xa4]
call fcn.0048ced0
lea eax, [esp + 0x9c]
push eax
push str.localizedstrings
push str..str
call fcn.004a47a0
mov cl, byte [esp + 0x2b]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x14], cl
call fcn.004a3d90
mov dword [esp + 0x14], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], eax
mov dword [esp + 0x18], ebp
lea esi, [esp + 0x9c]
mov byte [esp + 0xc4], 1
call fcn.004a0a20
cmp eax, ebp
je 0x4a12a0
mov edx, 0x13fff18
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4a0fa0
push 0x5c
push 0x13fff18
call fcn.0051c2f0
push 0x2f
push 0x13fff18
mov esi, eax
call fcn.0051c2f0
add esp, 0x10
cmp esi, eax
jbe 0x4a0fcd
mov eax, esi
cmp eax, ebp
je 0x4a0fd4
mov byte [eax], 0
mov cl, byte [0x13fff18]
test cl, cl
mov edx, 0x13fff18
mov eax, edx
je 0x4a0ffa
cmp cl, 0x2f
je 0x4a0fef
cmp cl, 0x5c
jne 0x4a0ff2
lea eax, [edx + 1]
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x4a0fe5
mov edx, 0x13ffe98
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4a1001
mov eax, 0x13ffe98
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], cl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a1020
sub eax, edx
push eax
push 0x13ffe98
lea ecx, [esp + 0x2c]
call fcn.0048ced0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0xc8], 2
call fcn.004a3ce0
mov esi, eax
lea ecx, [esp + 0x24]
lea eax, [esp + 0x10]
call fcn.004a3c20
xor edx, edx
cmp eax, esi
mov ecx, eax
je 0x4a10b7
mov al, byte [ecx + 0x29]
inc edx
test al, al
jne 0x4a10b3
mov eax, dword [ecx + 8]
mov bl, byte [eax + 0x29]
test bl, bl
jne 0x4a108f
mov ecx, eax
mov eax, dword [ecx]
mov bl, byte [eax + 0x29]
test bl, bl
jne 0x4a10b3
mov ecx, eax
mov eax, dword [ecx]
mov bl, byte [eax + 0x29]
test bl, bl
je 0x4a1082
jmp 0x4a10b3
mov eax, dword [ecx + 4]
mov bl, byte [eax + 0x29]
test bl, bl
jne 0x4a10b1
lea esp, [esp]
cmp ecx, dword [eax + 8]
jne 0x4a10b1
mov ecx, eax
mov eax, dword [eax + 4]
mov bl, byte [eax + 0x29]
test bl, bl
je 0x4a10a0
mov ecx, eax
cmp ecx, esi
jne 0x4a1065
mov eax, dword [esp + 0x3c]
cmp edx, ebp
mov esi, 0x10
sete bl
cmp eax, esi
mov byte [esp + 0xc4], 1
jb 0x4a10de
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0051d030
add esp, 4
test bl, bl
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
je 0x4a128c
mov eax, 0x13ffe98
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebp
mov byte [esp + 0x84], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a1111
sub eax, edx
push eax
push 0x13ffe98
lea ecx, [esp + 0x88]
call fcn.0048ced0
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xd0], 3
call fcn.004a1ad0
cmp dword [esp + 0x98], esi
mov byte [esp + 0xc4], 1
jb 0x4a116c
mov edx, dword [esp + 0x84]
push edx
call fcn.0051d030
add esp, 4
push str.english
push 0x13ffe98
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebp
mov byte [esp + 0x8c], 0
call fcn.0052a1af
add esp, 8
test eax, eax
mov eax, 0x13ffe98
lea edx, [eax + 1]
jne 0x4a1228
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a11b1
sub eax, edx
push eax
push 0x13ffe98
lea ecx, [esp + 0x50]
call fcn.0048ced0
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, dword [0x13f8ed8]
mov eax, esp
lea edx, [esp + 0x48]
mov dword [esp + 0x28], esp
push edx
mov edi, 0x13f8ed4
mov byte [esp + 0xd0], 4
mov dword [eax], ecx
call fcn.004a19c0
cmp dword [esp + 0x60], 0x10
mov byte [esp + 0xc4], 1
jb 0x4a1210
mov eax, dword [esp + 0x4c]
push eax
call fcn.0051d030
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
mov edi, 0xf
jmp 0x4a128c
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a1235
sub eax, edx
push eax
push 0x13ffe98
lea ecx, [esp + 0x6c]
call fcn.0048ced0
lea ecx, [esp + 0x64]
push ecx
mov eax, 0x13f8ed4
mov byte [esp + 0xc8], 5
call fcn.004a1930
cmp dword [esp + 0x7c], esi
mov byte [esp + 0xc4], 1
jb 0x4a127f
mov edx, dword [esp + 0x68]
push edx
call fcn.0051d030
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
lea esi, [esp + 0x9c]
call fcn.004a0a20
cmp eax, ebp
jne 0x4a0f96
mov eax, dword [0x13f8ed8]
cmp eax, ebp
jne 0x4a12ad
xor edi, edi
jmp 0x4a12ca
mov ecx, dword [0x13f8edc]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x48]
push ecx
lea esi, [esp + 0x1c]
mov byte [esp + 0xd0], 0
call fcn.004a2f90
mov edx, dword [esp + 0x14]
push edx
call fcn.0051d030
mov eax, dword [esp + 0xb8]
add esp, 4
cmp eax, 0x10
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0xc4], 0xffffffff
jb 0x4a1324
mov eax, dword [esp + 0xa0]
push eax
call fcn.0051d030
add esp, 4
mov ecx, dword [esp + 0xbc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xb0]
xor ecx, dword [esp + 0xc0]
pop ebp
pop ebx
add esp, 0xb8
jmp fcn.00523319