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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x599d6a
sub esp, 0x94
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0xc], ebx
call fcn.0059b450
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x599d55
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebp, dword [esp + 0xa8]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x1e
mov dword [esp + 0xc], 0
call fcn.00445120
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
cmp edx, ecx
sete bl
mov ebp, dword [esp + 0x28]
cmp ebp, eax
seta al
and ebx, eax
cmp edx, ecx
seta al
or eax, ebx
test al, al
jne 0x599c85
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
mov dword [ecx], eax
mov edx, dword [0x77c810]
lea ebx, [ecx + 4]
test edx, edx
jne 0x599c58
mov edx, dword [esp + 0xa0]
mov dword [ecx + 4], edx
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
lea ebp, [0x63b560]
mov dword [esp], ebp
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00437250
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x98]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], edx
mov eax, dword [0x77c810]
lea edx, [ebx + 8]
mov dword [esp + 0x54], edx
test eax, eax
jne 0x599c3c
mov dword [ebx + 8], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x30]
mov ebp, dword [eax + 0x2c]
mov dword [ebx + 0x18], ecx
mov ecx, dword [0x77c810]
lea esi, [ebx + 0x14]
test ecx, ecx
jne 0x599c1c
mov dword [ebx + 0x14], ebp
lea ecx, [0x628f40]
mov dword [esp], ecx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x9c]
mov dword [eax], ecx
mov edx, dword [0x77c810]
lea ebx, [eax + 4]
test edx, edx
jne 0x599bf2
mov edx, dword [esp + 0xa0]
mov dword [eax + 4], edx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ebx, dword [esp + 0xa4]
mov dword [eax + 0x18], ebx
mov ebp, dword [esp + 0xa8]
mov dword [eax + 0x1c], ebp
mov esi, dword [esp + 0x40]
mov edi, dword [esi + 0x20]
mov ebp, dword [eax + 8]
add edi, ebp
mov esi, dword [esi + 0x24]
mov ebx, dword [eax + 0xc]
adc esi, ebx
cmp esi, ebx
sete dl
cmp edi, ebp
xchg ebp, ebx
setb bl
xchg ebp, ebx
and edx, ebp
cmp esi, ebx
setl bl
or edx, ebx
test dl, dl
je 0x599be3
mov edx, dword [0x76ad54]
mov ebx, dword [0x76ad50]
test ebx, ebx
jne 0x599bce
lea edx, [0x741c60]
test edx, edx
je 0x599bc7
mov ebx, dword [0x741c64]
lea ebp, [0x640800]
cmp ebp, ebx
jne 0x599bbb
mov ebx, eax
jne 0x599aed
mov ebp, dword [eax + 4]
cmp ebp, 0x1000
jl 0x599aed
mov dword [esp + 0x4c], eax
lea edx, [0x62c5c0]
mov dword [esp], edx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [0x77c810]
lea edx, [eax + 0x48]
test ecx, ecx
jne 0x599aca
mov ecx, dword [esp + 0x98]
mov dword [eax + 0x48], ecx
mov edx, dword [esp + 0x9c]
mov dword [eax + 0x4c], edx
mov ebx, dword [0x77c810]
lea ebp, [eax + 0x50]
test ebx, ebx
jne 0x599a99
mov ebx, dword [esp + 0xa0]
mov dword [eax + 0x50], ebx
mov ebp, dword [esp + 0xa4]
mov dword [eax + 0x54], ebp
mov esi, dword [esp + 0xa8]
mov dword [eax + 0x58], esi
mov dword [esp], eax
lea edi, [0x7419e0]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 8], edi
call fcn.0059a730
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [0x76ab48]
cmp ecx, edx
je 0x599a63
mov edx, dword [0x76ad48]
cmp ecx, edx
je 0x5999dd
test ecx, ecx
jne 0x5999c8
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
lea ebp, [edx + 1]
cmp ebp, ecx
jg 0x599958
lea ecx, [edx + 1]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x77c810]
lea ebp, [ebx + edx*4]
test ecx, ecx
jne 0x59993f
mov ecx, dword [esp + 0x34]
mov dword [ebx + edx*4], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x9c]
jmp 0x599846
mov dword [esp], ebp
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x98]
jmp 0x59992f
lea esi, [0x63b560]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x98]
mov dword [ebx + 0x10], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x5999ab
mov dword [ebx + 8], eax
mov ebp, dword [ebx + 8]
mov eax, ebx
mov edx, ecx
mov ebx, ebp
jmp 0x599915
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x98]
jmp 0x59999d
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x94
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0x76ad4c]
mov ebx, dword [0x76ad48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00402240
movzx eax, byte [esp + 0x10]
test al, al
jne 0x599a13
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
jmp 0x5998f6
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 0x10]
cmp ax, cx
je 0x599a46
mov eax, dword [esp + 0x38]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb0], eax
add esp, 0x94
ret
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x94
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0x76ab4c]
mov ebx, dword [0x76ab48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00402240
movzx eax, byte [esp + 0x10]
test al, al
jne 0x599a13
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
jmp 0x5998e8
mov dword [esp], ebp
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
call fcn.0040d580
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
jmp 0x59989c
mov dword [esp], edx
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x98]
jmp 0x599877
lea eax, [0x632ba0]
mov dword [esp], eax
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
lea ecx, [0x60ce40]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.00437130
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x68]
mov ebx, eax
xor eax, eax
call fcn.0044a0c5
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edx
lea eax, [0x741c60]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x90], 0xffffffff
mov edi, dword [esp + 0x44]
test byte [edi], al
mov eax, dword [0x77c810]
test eax, eax
jne 0x599b9f
lea esi, [esp + 0x68]
call fcn.0044a572
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x44]
jmp 0x599842
lea eax, [0x632ba0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
call fcn.0040d690
jmp 0x599b8f
mov ebx, eax
mov eax, 0
jmp 0x59982d
mov ebx, edx
jmp 0x59981d
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edx
add esp, 0x94
ret
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], esi
xor ebx, ebx
xor edx, edx
jmp 0x599801
mov dword [esp], ebx
mov edx, dword [esp + 0xa0]
mov dword [esp + 4], edx
call fcn.0040d580
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
jmp 0x599792
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040d580
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x98]
jmp 0x599758
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040d580
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x98]
jmp 0x599737
mov dword [esp], ebx
mov edx, dword [esp + 0xa0]
mov dword [esp + 4], edx
call fcn.0040d580
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xa0]
jmp 0x5996d6
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x40]
add eax, 0x10
mov dword [esp + 4], eax
lea eax, [0x60ce00]
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
lea eax, [0x60c600]
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x65a7d3]
mov dword [esp], eax
mov dword [esp + 4], 0x3c
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00499880
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x94
ret
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ecx
add esp, 0x94
ret
call fcn.00448420
jmp fcn.005995e0