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

Disassembly:
push 0xffffffffffffffff
push 0x7c1fcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push esi
mov esi, ecx
mov dword [esp + 0x34], esi
lea ecx, [esi + 0x194]
call fcn.00536c10
lea ecx, [esi + 0x1a4]
call fcn.00536c10
mov eax, dword [0x9ea168]
test eax, eax
je 0x533af1
push ebx
lea eax, [esp + 0x17]
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00428190
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x194], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x870c08
lea ecx, [esp + 0x28]
call fcn.00404eb0
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [0x9ea168]
mov ebx, 1
add ecx, 0x18
mov dword [esp + 0x194], ebx
mov dword [esp + 0x34], ecx
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
cmp eax, edx
je 0x533a9a
push ebp
lea ecx, [eax + 0x10]
test ecx, ecx
je 0x533a7e
mov eax, dword [ecx]
xor edx, edx
mov edi, 0x64
div edi
test edx, edx
mov dword [esp + 0x14], edx
je 0x533a7e
mov eax, 0x51eb851f
lea ebp, [esi + 0x194]
mul dword [ecx]
shr edx, 5
mov dword [esp + 0x10], edx
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
mov ecx, ebp
call fcn.00536cb0
mov eax, dword [esi + 0x198]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jne 0x53397b
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x90]
push ecx
push 0x82c1d8
push edx
call dword [sym.imp.user32.dll_wsprintfA]
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x9c]
mov dword [esp + 0x40], eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404eb0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
lea eax, [esp + 0x68]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x68], edx
mov dword [esp + 0x1c], eax
call fcn.004267d0
mov edx, dword [esp + 0x34]
mov byte [esp + 0x198], 2
mov dword [esp + 0x78], edx
lea eax, [esp + 0x64]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x1a0], 4
call fcn.005369d0
lea edx, [esp + 0x68]
mov byte [esp + 0x198], bl
mov dword [esp + 0x18], edx
push ebx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x19c], bl
call fcn.00404e60
lea eax, [esp + 0x10]
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esi + 0x1a4]
call fcn.00536cb0
mov eax, dword [esi + 0x1a8]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jne 0x533a7e
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x90]
push edx
push 0x82c1c0
push eax
call dword [sym.imp.user32.dll_wsprintfA]
mov ecx, dword [esp + 0x1c]
lea edi, [esp + 0x9c]
mov dword [esp + 0x40], ecx
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.00401b40
test al, al
je 0x533a10
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x90]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00405070
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x24]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], eax
call fcn.004267d0
mov eax, dword [esp + 0x34]
mov byte [esp + 0x198], 7
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x48]
lea edx, [esp + 0x80]
push ecx
push edx
lea ecx, [esi + 0x1a4]
mov byte [esp + 0x1a0], 9
call fcn.005369d0
lea eax, [esp + 0x4c]
mov byte [esp + 0x198], bl
mov dword [esp + 0x18], eax
push ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x19c], bl
call fcn.00404e60
lea ecx, [esp + 0x20]
call fcn.00537500
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx]
cmp eax, ecx
jne 0x533872
pop ebp
push 0
mov ecx, esi
call fcn.00533ed0
push 0
mov ecx, esi
call fcn.00534050
mov ecx, dword [esp + 0x24]
pop edi
test ecx, ecx
mov dword [esp + 0x190], 0xffffffff
pop ebx
je 0x533af1
mov al, byte [ecx - 1]
test al, al
je 0x533ae7
cmp al, 0xff
je 0x533ae7
dec al
pop esi
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
add esp, 0x18c
ret
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x184]
pop esi
mov dword fs:[0], ecx
add esp, 0x18c
ret