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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x5f5d2d
sub esp, 0x110
mov eax, dword [esp + 0x114]
movzx ecx, byte [eax + 0x38]
mov edx, dword [eax]
mov dword [esp + 0x98], edx
test cl, cl
je 0x5f5589
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5f551f
mov dword [esp], edx
call fcn.005eb670
lea edi, [esp + 0xb4]
lea esi, [esp + 4]
call fcn.004686aa
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x7c], ecx
lea edi, [esp]
lea esi, [esp + 0xb4]
call fcn.004686aa
mov ecx, dword [esp + 0x7c]
call ecx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x5f553c
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x110
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov byte [esp + 4], 0x2a
call fcn.005e74d0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov dword [esp + 0xa0], edx
lea ebx, [0x668da0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00409bb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call fcn.005e8730
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f59d8
mov eax, dword [esp + 0xc]
lea ecx, [0x66cc20]
cmp eax, ecx
jne 0x5f55ea
mov eax, dword [esp + 0x10]
jmp 0x5f55ef
mov eax, 0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
jne 0x5f5697
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x5f5610
mov ecx, dword [esp + 0x114]
jmp 0x5f5624
call fcn.00468040
mov dword [edi], eax
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 0x34]
mov dword [edi + 4], edx
mov dword [ecx + 0x34], eax
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov dword [esp + 0xa0], edx
lea ebx, [0x668da0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409bb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call fcn.005e8730
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f567a
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
jmp 0x5f5697
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
lea eax, [0x66cc80]
cmp ecx, eax
jne 0x5f56a5
mov ebx, edx
jmp 0x5f56ac
mov ebx, edx
mov edx, 0
jne 0x5f5904
mov eax, dword [edx + 0x10]
test eax, eax
je 0x5f58b4
mov eax, dword [edx + 0x3c]
mov ecx, dword [edx + 0x40]
mov ebx, dword [edx + 0x38]
mov ebp, dword [esp + 0x98]
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], ecx
mov eax, dword [0x85d680]
test eax, eax
je 0x5f56ea
call fcn.00468040
mov dword [edi], ebx
mov eax, dword [ebp + 0x44]
mov dword [edi + 4], eax
mov dword [ebp + 0x44], ebx
mov eax, dword [edx + 0x30]
mov ecx, dword [edx + 0x34]
mov ebx, dword [edx + 0x2c]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], ecx
mov eax, dword [0x85d680]
test eax, eax
je 0x5f5713
call fcn.00468040
mov dword [edi], ebx
mov eax, dword [ebp + 0x38]
mov dword [edi + 4], eax
mov dword [ebp + 0x38], ebx
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.005f1810
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5f5897
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005e8730
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f587a
mov eax, dword [esp + 0xc]
lea ecx, [0x66cb60]
cmp eax, ecx
jne 0x5f577e
mov edx, dword [esp + 0x10]
jmp 0x5f5783
mov edx, 0
mov dword [esp + 0x90], edx
jne 0x5f57a3
movzx eax, word [edx + 0xe]
mov ecx, dword [0x832f00]
mov ebx, dword [0x832f04]
xor ebp, ebp
jmp 0x5f59f6
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov byte [esp + 4], 0xa
call fcn.005e74d0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xa8], eax
lea eax, [0x66cb60]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xb0], eax
lea eax, [0x6a4bae]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c0e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x32
call fcn.005e74d0
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x69e300]
mov dword [eax], ecx
lea ecx, [0x6f1b20]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005e74d0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], eax
lea eax, [0x66cc80]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xb0], eax
lea eax, [0x6a4bae]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c0e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
inc ebp
cmp ebp, ebx
jge 0x5f5cd3
lea esi, [ecx + ebp*2]
cmp word [esi], ax
jne 0x5f59f5
mov word [esp], ax
call fcn.005dd2a0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5f5ca2
movzx eax, byte [esp + 4]
cmp al, 0xe1
je 0x5f5a2e
mov ecx, dword [esp + 8]
cmp ecx, 3
jne 0x5f5a7e
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005e74d0
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6a2539]
mov dword [eax], ecx
lea ecx, [0x6f1b20]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov byte [esp + 0x67], al
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x114]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
mov dword [esp], ecx
lea ebp, [0x69ba7c]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.005dd060
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x54]
test ecx, ecx
jbe 0x5f5d23
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [eax + 0x50]
mov ebp, dword [ebp]
mov esi, dword [ebp + 0x50]
mov ebp, dword [ebp + 0x54]
mov edi, dword [esp + 0x90]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x9c], eax
mov eax, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x78], edi
movzx edi, byte [esp + 0x67]
xchg edi, eax
mov byte [esp], al
xchg edi, eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], eax
call fcn.005dcbb0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5f5c16
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov byte [esp + 4], 0x33
call fcn.005e74d0
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6a17b1]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x32
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00451270
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
lea edx, [0x66a620]
mov dword [esp], edx
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x5f5beb
mov ecx, dword [esp + 0x80]
jmp 0x5f5bf9
call fcn.00468030
mov ecx, dword [esp + 0x80]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x6f1b20]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [esp + 0xa0], eax
lea edx, [0x668da0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409bb0
lea eax, [0x6f2364]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
call fcn.0060b0f0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5f5c85
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x110
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e74d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005e74d0
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6a2539]
mov dword [eax], ecx
lea ecx, [0x6f1b20]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
xor eax, eax
mov ecx, eax
call fcn.00468090
nop
call fcn.00466c30
jmp fcn.005f5490