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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x100]
cmp eax, dword [ecx + 8]
jbe 0x5f6e79
sub esp, 0x180
mov eax, dword [esp + 0x188]
test eax, eax
je 0x5f658f
mov eax, dword [eax + 8]
cmp eax, 0x9eaa9ae
jne 0x5f6559
mov eax, dword [esp + 0x188]
lea ecx, [0x6b8ba0]
cmp eax, ecx
jne 0x5f6587
mov eax, dword [esp + 0x18c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xor ebx, ebx
jmp 0x5f6595
cmp eax, 0x4b6059d3
jne 0x5f6587
mov eax, dword [esp + 0x188]
lea ecx, [0x6b8920]
cmp eax, ecx
jne 0x5f6587
mov edx, dword [esp + 0x18c]
mov ebx, dword [edx]
test ebx, ebx
sete bl
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
jmp 0x5f6595
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5f6595
xor ebx, ebx
xor ecx, ecx
xor eax, eax
mov byte [esp + 0x27], bl
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x184]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x190]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], bl
call fcn.005f4dc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x5f674d
mov dword [esp + 0x138], ebp
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x184]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x190]
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x27]
mov byte [esp + 0xc], cl
call fcn.005f4dc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x5f6717
test ebx, ebx
jne 0x5f667b
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5f6687
mov eax, dword [0x989aa0]
mov ecx, dword [0x989aa4]
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], ecx
add esp, 0x180
ret
mov eax, edx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x5f6692
mov ecx, edx
mov eax, ecx
mov edx, dword [esp + 0x138]
jmp 0x5f669c
test ebx, ebx
je 0x5f66e1
mov eax, edx
mov ecx, ebx
mov edx, ebp
mov dword [esp + 0x13c], edx
mov dword [esp + 0x148], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0x184]
xor edi, edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
mov dword [esp + 0x38], edi
lea edi, [0x9b1698]
mov dword [esp + 0x144], edi
xor edi, edi
jmp 0x5f67c0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], eax
add esp, 0x180
ret
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x180
ret
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x180
ret
lea edi, [edx + 1]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x13c]
mov edx, esi
mov esi, dword [esp + 0x184]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x144], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x148]
cmp ecx, edi
jbe 0x5f6c46
mov dword [esp + 0x40], edi
lea edi, [esp + 0x158]
xor eax, eax
call fcn.00463616
mov ecx, dword [esp + 0x40]
mov edi, ebp
lea ebp, [edx + ecx*8]
mov ebx, dword [ebp]
test ebx, ebx
jbe 0x5f6aa1
test ebx, 0x80000000
jbe 0x5f68c9
mov byte [esp + 0x162], 1
mov ebx, dword [ebp]
and ebx, 0xffff
mov dword [esp + 0x164], ebx
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
jae 0x5f683d
mov ebp, dword [esp + 0x138]
lea ebx, [ebp + ecx*8]
mov ebx, dword [ebx]
mov dword [esp + 0x168], ebx
lea ebx, [ebp + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x17c], ebx
jmp 0x5f6844
mov ebp, dword [esp + 0x138]
mov ebx, dword [esp + 0x44]
cmp ecx, ebx
jae 0x5f6870
lea ebx, [edi + ecx*8]
mov ebx, dword [ebx]
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], 0
lea ebx, [edi + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x178], ebx
mov eax, dword [esp + 0x164]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.004abe00
mov dword [esp], 0
lea eax, [0x716815]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.0044f210
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
jmp 0x5f6a86
movzx ebx, byte [esp + 0x27]
test bl, bl
je 0x5f6922
lea edi, [esp + 0x58]
call fcn.004635e8
mov ecx, dword [esi + 0x78]
mov ebx, dword [esi + 0x7c]
lea edx, [0x70dea0]
cmp ecx, edx
jne 0x5f6e62
lea edi, [esp + 0x58]
mov esi, ebx
call fcn.00463900
mov ecx, dword [ebp]
sub ecx, dword [esp + 0x74]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
movzx ebx, byte [esp + 0x27]
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
jae 0x5f6966
mov ebx, dword [esp + 0x138]
lea edx, [ebx + ecx*8]
mov edx, dword [edx]
and edx, 0x7fffffff
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], 0
lea edx, [ebx + ecx*8 + 4]
mov edx, dword [edx]
mov dword [esp + 0x17c], edx
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
cmp ecx, ebx
jae 0x5f6998
lea ebx, [edi + ecx*8]
mov ebx, dword [ebx]
and ebx, 0x7fffffff
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], 0
lea ebx, [edi + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x178], ebx
mov dword [esp + 0x150], ebp
mov eax, dword [ebp]
mov dword [esp], esi
and eax, 0x7fffffff
mov dword [esp + 4], eax
call fcn.005f3600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x184]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffe
cmp eax, edx
jbe 0x5f69d5
mov eax, dword [0x989b18]
xor edx, edx
jmp 0x5f6a0d
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5f6e5b
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 1
jbe 0x5f6e4f
movzx edx, word [ebx + eax]
xor eax, eax
mov word [esp + 0x160], dx
test eax, eax
je 0x5f6a23
mov word [esp + 0x160], 0xffff
mov eax, dword [esp + 0x150]
mov eax, dword [eax]
mov dword [esp], ecx
add eax, 2
mov dword [esp + 4], eax
mov dword [esp + 8], 0x200
call fcn.005f3a40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005f30d0
movzx eax, byte [esp + 8]
test al, al
jne 0x5f6a86
lea ecx, [0x718d30]
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], 9
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
mov ebx, dword [esp + 0x15c]
mov ebp, dword [esp + 0x164]
test ebp, ebp
jne 0x5f6af2
test ebx, ebx
jne 0x5f6af2
mov ebx, dword [0x981840]
mov dword [esp + 0x14c], ebx
mov ebp, dword [0x981844]
mov dword [esp + 0x48], ebp
mov edx, dword [esi + 0x274]
mov dword [esp + 0x30], edx
mov ecx, dword [esi + 0x270]
mov dword [esp + 0x140], ecx
xor eax, eax
mov dword [esp + 0x54], eax
xor eax, eax
jmp 0x5f6d06
mov ebx, dword [esp + 0x158]
cmp dword [esp + 0x15c], 9
jne 0x5f6b73
mov dword [esp], ebx
lea eax, [0x718d30]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f6b58
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x3e8
jbe 0x5f6b3f
mov edx, dword [esp + 0x40]
cmp ecx, edx
jne 0x5f6b43
jmp 0x5f6c87
mov edx, dword [esp + 0x40]
inc ecx
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x144]
jmp 0x5f6783
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
mov ebx, dword [esp + 0x34]
lea ebp, [ebx + 1]
mov edx, dword [esp + 0x38]
cmp edx, ebp
jae 0x5f6bd5
lea eax, [0x6ff740]
mov dword [esp], eax
mov ecx, dword [esp + 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0044baf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
mov dword [esp + 0x144], eax
xor eax, eax
mov dword [esp + 0x38], edx
mov ecx, dword [0x9b1930]
lea ebx, [ebx + ebx*4]
mov edx, dword [esp + 0x144]
lea ebx, [edx + ebx*8]
test ecx, ecx
jne 0x5f6c00
mov edi, ebx
lea esi, [esp + 0x158]
call fcn.00463acc
jmp 0x5f6c2e
mov dword [esp + 0x50], ebp
lea eax, [0x6ff740]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [esp + 0x158]
mov dword [esp + 8], eax
call fcn.00410b70
xor eax, eax
mov edx, dword [esp + 0x144]
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x144]
jmp 0x5f6783
mov eax, dword [esp + 0x144]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0
add esp, 0x180
ret
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x72ab94]
mov dword [eax], ecx
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
lea ecx, [0x79d538]
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], eax
add esp, 0x180
ret
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x140]
mov ebx, dword [esp + 0x30]
mov edx, ebx
mov ebx, dword [esp + 0x14c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x140]
mov ebx, dword [esp + 0x54]
cmp ebx, edx
jge 0x5f6d71
lea ecx, [ecx + ebx*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
cmp edx, ebp
jne 0x5f6ce4
mov dword [esp], ecx
mov eax, dword [esp + 0x14c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5f6d54
xor eax, eax
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
jmp 0x5f6ce4
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
cmp ecx, edx
mov eax, 0
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
jl 0x5f6e3f
mov ecx, dword [esi + 0x274]
lea edx, [ecx + 1]
mov ebx, dword [esi + 0x270]
mov ebp, dword [esi + 0x278]
cmp ebp, edx
jae 0x5f6df1
lea eax, [0x6cd520]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044baf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x184]
mov dword [ebx + 0x278], edx
mov edx, dword [0x9b1930]
test edx, edx
jne 0x5f6dd9
mov dword [ebx + 0x270], eax
jmp 0x5f6de4
lea edi, [ebx + 0x270]
call fcn.00463350
mov esi, ebx
mov edi, dword [esp + 0x148]
mov ebx, eax
xor eax, eax
lea edx, [ecx + 1]
mov dword [esi + 0x274], edx
mov edx, dword [0x981840]
mov dword [esp + 0x154], edx
mov ebp, dword [0x981844]
lea edx, [ebx + ecx*8 + 4]
mov dword [edx], ebp
mov edx, dword [0x9b1930]
lea ecx, [ebx + ecx*8]
test edx, edx
jne 0x5f6e2b
mov edx, dword [esp + 0x154]
mov dword [ecx], edx
jmp 0x5f6e3f
mov edx, edi
mov edi, ecx
mov eax, dword [esp + 0x154]
call fcn.00463350
xor eax, eax
mov edi, edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
jmp 0x5f6af2
mov eax, 1
mov ecx, edx
call fcn.004633d0
mov ecx, edx
call fcn.00463440
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x6ccda0]
mov dword [esp + 8], eax
call fcn.00408e20
nop
call fcn.00461f40
jmp fcn.005f6500