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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xf8]
cmp eax, dword [ecx + 8]
jbe 0x5f2097
sub esp, 0x178
lea eax, [0x656a40]
mov dword [esp], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044d740
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb4], eax
lea ecx, [0x687220]
mov dword [esp], ecx
mov ecx, dword [esp + 0x184]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044d740
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], ecx
xor edx, edx
jmp 0x5f18a0
mov dword [esi + ebp*4], ebx
mov ebx, dword [esp + 0xac]
add ebx, 0xc
lea edx, [ebp + 1]
mov ecx, esi
mov eax, ebx
mov ebx, dword [esp + 0x184]
cmp ebx, edx
jle 0x5f1b1f
mov dword [esp + 0x6c], edx
mov dword [esp + 0xac], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [0x837710]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005de310
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f1a51
mov ebx, dword [esp + 0x10]
mov ebp, dword [ebx]
cmp dword [ebp + 0x4c], 1
jne 0x5f1946
mov eax, dword [ebp + 0x50]
lea ecx, [0x66de80]
cmp eax, ecx
jne 0x5f2080
mov dword [esp + 0x94], ebx
mov eax, dword [ebp + 0x54]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00581ac0
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.005f1760
movzx eax, byte [esp + 8]
test al, al
je 0x5f19ad
mov ebx, dword [esp + 0x94]
mov ebp, dword [0x85d680]
test ebp, ebp
jne 0x5f195d
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0xb4]
jmp 0x5f1975
call fcn.00468040
mov dword [edi], ebx
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0xb4]
mov eax, dword [esi + ebp*4]
mov dword [edi + 4], eax
mov dword [esi + ebp*4], ebx
mov edi, dword [0x85d680]
mov ebx, dword [ebx]
test edi, edi
jne 0x5f1992
mov eax, esi
mov esi, dword [esp + 0xb0]
jmp 0x5f188c
call fcn.00468040
mov dword [edi], ebx
mov eax, esi
mov esi, dword [esp + 0xb0]
mov ecx, dword [esi + ebp*4]
mov dword [edi + 4], ecx
jmp 0x5f188c
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x17c]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e74d0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004099a0
mov eax, dword [esp + 4]
lea ecx, [0x661e60]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
lea eax, [0x6a4458]
mov dword [esp], eax
mov dword [esp + 4], 0x43
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c0e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], ecx
add esp, 0x178
ret
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x17c]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e74d0
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6a0220]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2e
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00451270
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], ecx
lea edx, [0x66a620]
mov dword [esp], edx
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x5f1af4
mov ecx, dword [esp + 0x84]
jmp 0x5f1b02
call fcn.00468030
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x6f1b20]
mov dword [esp + 0x18c], ecx
mov dword [esp + 0x190], eax
add esp, 0x178
ret
mov ebp, dword [esp + 0x17c]
mov esi, dword [ebp + 0x2c]
movzx edi, byte [esi + 0x50]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5f1c73
mov eax, dword [esi + 8]
test eax, eax
jne 0x5f1b44
lea eax, [0x6a67a8]
mov ecx, dword [eax]
mov edx, eax
call ecx
lea edi, [esp + 0xd4]
lea esi, [esp]
call fcn.0046875e
lea edi, [esp + 0xc0]
lea esi, [esp + 0xd4]
call fcn.0046875e
call fcn.0040ccc0
mov eax, dword [esp]
mov dword [esp + 0xa8], eax
call fcn.0040ccc0
mov eax, dword [esp]
mov dword [esp + 0xa4], eax
lea ecx, [0x6790e0]
mov dword [esp], ecx
call fcn.0040c260
mov eax, dword [0x85d680]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5f1bb6
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
jmp 0x5f1bce
call fcn.00468040
mov edx, dword [esp + 0xa8]
mov dword [edi], edx
mov ebx, dword [esp + 0xa4]
mov dword [edi + 4], ebx
mov dword [esp + 0x80], ecx
mov dword [ecx], edx
mov dword [ecx + 0x10], ebx
lea edi, [esp + 0xe8]
xor eax, eax
call fcn.00468273
mov ecx, dword [esp + 0x17c]
mov edx, dword [ecx + 0x2c]
mov edx, dword [edx + 0x30]
mov dword [esp + 0xf4], edx
lea edi, [esp + 0xf8]
lea esi, [esp + 0xc0]
call fcn.0046875e
mov ecx, dword [esp + 0x17c]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [edx + 0x40]
mov edx, dword [edx + 0x44]
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0x184]
cmp edx, 1
jb 0x5f2074
lea eax, [edx - 1]
mov dword [esp + 0x7c], eax
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 4
mov ebp, dword [esp + 0xb0]
add eax, ebp
mov dword [esp + 0xa0], eax
xor esi, esi
jmp 0x5f1f53
test ebx, ebx
jbe 0x5f1f09
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x5f1e7b
mov esi, dword [eax + 8]
cmp esi, 0x4bcec15d
jne 0x5f1ca2
lea esi, [0x66de80]
cmp eax, esi
je 0x5f1cd3
jmp 0x5f1e7b
cmp esi, 0x8c7bd38d
jne 0x5f1cb9
lea esi, [0x6824e0]
cmp eax, esi
je 0x5f1cd3
jmp 0x5f1e7b
cmp esi, 0xc0d9e4a4
jne 0x5f1e7b
lea esi, [0x667e00]
cmp eax, esi
jne 0x5f1e7b
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov eax, dword [0x85d680]
test eax, eax
jne 0x5f1cec
mov eax, dword [esp + 0xb4]
jmp 0x5f1d00
call fcn.00468040
mov eax, dword [esp + 0xb4]
mov dword [edi], eax
mov esi, dword [ebp + 0x5c]
mov dword [edi + 4], esi
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
mov eax, dword [0x85d680]
test eax, eax
je 0x5f1d20
call fcn.00468040
mov dword [edi], ecx
mov eax, dword [ebp + 0x50]
mov dword [edi + 4], eax
mov dword [ebp + 0x50], ecx
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x5f1d72
mov eax, dword [edx]
mov ecx, dword [ebp + 0x68]
mov esi, dword [ebp + 0x6c]
mov edi, dword [ebp + 0x70]
mov ebp, dword [esp + 0x180]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x188]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5f1e2e
mov ebp, dword [esp + 0x17c]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5f1dc4
mov dword [esp], ebp
call fcn.005eb670
lea edi, [esp + 0x11c]
lea esi, [esp + 4]
call fcn.004686aa
mov eax, dword [esp + 0x17c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x78], ecx
lea edi, [esp]
lea esi, [esp + 0x11c]
call fcn.004686aa
mov ecx, dword [esp + 0x78]
call ecx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x5f1de1
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], 0
add esp, 0x178
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x17c]
mov dword [esp], edx
mov byte [esp + 4], 0x2a
call fcn.005e74d0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x190], eax
add esp, 0x178
ret
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x17c]
mov dword [esp], edx
mov byte [esp + 4], 0x2a
call fcn.005e74d0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x190], eax
add esp, 0x178
ret
mov dword [esp], ebp
mov byte [esp + 4], 0x2b
call fcn.005e74d0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0xb0]
mov eax, dword [eax]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
lea eax, [0x6a4ad6]
mov dword [esp], eax
mov dword [esp + 4], 0x48
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c0e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], ecx
add esp, 0x178
ret
xor eax, eax
mov ecx, eax
call fcn.00468090
mov dword [esp + 0x74], esi
mov ecx, dword [eax + esi*4]
mov edx, dword [esp + 0xf0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005c5850
mov eax, dword [esp + 0x74]
lea esi, [eax + 1]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x17c]
mov edx, dword [esp + 0x184]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0xb0]
cmp esi, ebx
jl 0x5f1f12
mov eax, dword [ebp]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0xe8]
call fcn.0046870e
call fcn.005d4680
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edi, ebp
mov ebp, dword [esp + 0x17c]
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], ecx
mov eax, dword [0x85d680]
test eax, eax
je 0x5f1fb4
mov eax, edi
call fcn.00468040
mov dword [edi], edx
mov ecx, dword [ebp + 0x68]
mov dword [edi + 4], ecx
mov edi, eax
mov dword [ebp + 0x68], edx
test ebx, ebx
jne 0x5f1fce
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x184]
jmp 0x5f1c73
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], edi
mov dword [esp], ebp
mov byte [esp + 4], 0x2a
call fcn.005e74d0
lea eax, [0x6700a0]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x184]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x5f201b
mov ecx, dword [esp + 0xb0]
jmp 0x5f2029
call fcn.00468030
mov ecx, dword [esp + 0xb0]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x5f2048
mov ecx, dword [esp + 0x98]
jmp 0x5f2056
call fcn.00468030
mov ecx, dword [esp + 0x98]
mov dword [edi], ecx
mov dword [eax + 0x10], ecx
lea ecx, [0x6f1e2c]
mov dword [esp + 0x18c], ecx
mov dword [esp + 0x190], eax
add esp, 0x178
ret
mov eax, 1
xor ecx, ecx
call fcn.004680f0
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x662ca0]
mov dword [esp + 8], eax
call fcn.00409740
nop
call fcn.00466c30
jmp fcn.005f1810