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

Disassembly:
push 0xffffffffffffffff
push 0x593008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov ecx, dword [edi + 0x80]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x78], ebx
jne 0x5367ee
mov eax, dword [esp + 0x84]
mov dword [esp + 0x78], 0xffffffff
cmp eax, ebx
je 0x536ae1
jmp 0x536ad4
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x44]
push eax
push edx
call fcn.00530960
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x7c], 1
call fcn.00520410
mov dword [esp + 0x58], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 3
xor ebp, ebp
call fcn.0051fe70
test eax, eax
jbe 0x536a97
jmp 0x536847
xor ebx, ebx
lea ecx, [esp + 0x2c]
push ebp
push ecx
lea ecx, [esp + 0x44]
call fcn.0051fe90
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 4
mov dword [esp + 0x80], ebx
call fcn.0051ecc0
test eax, eax
jbe 0x536a75
lea edx, [esp + 0x24]
push ebx
push edx
lea ecx, [esp + 0x34]
call fcn.0051ecd0
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 5
call fcn.0051c860
cmp byte [eax + 0x30], 1
jne 0x536a47
lea ecx, [esp + 0x24]
call fcn.0051c860
cmp byte [eax], 1
je 0x536a47
lea ecx, [esp + 0x2c]
xor esi, esi
call fcn.0051ecc0
test eax, eax
jbe 0x53692d
cmp esi, ebx
je 0x53690f
lea eax, [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.0051ecd0
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 6
call fcn.0051c860
cmp byte [eax + 0x30], 1
jbe 0x5368fa
lea ecx, [esp + 0x34]
call fcn.0051c860
mov bl, byte [eax]
lea ecx, [esp + 0x24]
call fcn.0051c860
cmp bl, byte [eax]
je 0x53691f
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 5
call fcn.0051c6c0
mov ebx, dword [esp + 0x80]
lea ecx, [esp + 0x2c]
inc esi
call fcn.0051ecc0
cmp esi, eax
jb 0x5368bb
jmp 0x53692d
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 5
call fcn.0051c6c0
lea ecx, [esp + 0x2c]
call fcn.0051ecc0
cmp esi, eax
jb 0x536a47
mov eax, dword [esp + 0x64]
xor esi, esi
test eax, eax
jbe 0x53697a
push esi
lea ecx, [esp + 0x5c]
call fcn.00536650
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.0051c860
push eax
mov ecx, edi
call fcn.00520c50
test al, al
jne 0x536a43
mov eax, dword [esp + 0x64]
inc esi
cmp esi, eax
jb 0x536948
mov edi, dword [esp + 0x10]
push 0x1e
mov ecx, edi
call fcn.0052de50
lea ecx, [esp + 0x24]
call fcn.0051c860
mov cl, byte [eax + 0x30]
mov byte [esp + 0x14], cl
mov ecx, edi
mov edx, dword [esp + 0x14]
push edx
call fcn.0052de50
lea ecx, [esp + 0x24]
xor ebp, ebp
call fcn.0051c860
mov cl, byte [eax + 0x30]
test cl, cl
jbe 0x5369f4
lea ecx, [esp + 0x24]
call fcn.0051c860
mov ecx, ebp
and ecx, 0xff
mov dl, byte [eax + ecx]
mov ecx, edi
mov byte [esp + 0x18], dl
mov eax, dword [esp + 0x18]
push eax
call fcn.0052de50
lea ecx, [esp + 0x24]
inc ebp
call fcn.0051c860
mov cl, byte [eax + 0x30]
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
and edx, 0xff
cmp ebp, edx
jb 0x5369b1
push ecx
mov ecx, dword [esp + 0x88]
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], ecx
mov eax, dword [esp + 0x88]
test eax, eax
je 0x536a11
inc dword [eax]
push 0xbf
mov ecx, edi
call fcn.0052dea0
lea ecx, [esp + 0x24]
call fcn.0051c860
sub esp, 0x34
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.00520be0
lea ecx, [esp + 0x8c]
call fcn.005365e0
jmp 0x536a47
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 4
call fcn.0051c6c0
mov ebx, dword [esp + 0x80]
lea ecx, [esp + 0x2c]
inc ebx
mov dword [esp + 0x80], ebx
call fcn.0051ecc0
cmp ebx, eax
jb 0x536873
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 3
call fcn.0051e9b0
lea ecx, [esp + 0x3c]
inc ebp
call fcn.0051fe70
cmp ebp, eax
jb 0x536845
xor ebx, ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 2
call fcn.00536590
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 1
call fcn.0051fcc0
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 0
call fcn.00520370
mov eax, dword [esp + 0x84]
mov dword [esp + 0x78], 0xffffffff
cmp eax, ebx
je 0x536ae1
push eax
lea ecx, [esp + 0x88]
call fcn.00411610
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 8