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

Disassembly:
mov ecx, dword [0x8602c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x599ae5
add esp, 0xffffff80
mov eax, 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.00598530
movzx eax, byte [esp + 4]
test al, al
jne 0x599a87
nop
lea eax, [0x8603b8]
mov dword [esp], eax
lea eax, [0x64cf70]
mov dword [esp + 4], eax
call fcn.0046f520
mov eax, dword [0x839c64]
mov dword [esp], eax
lea eax, [esp + 0x27]
mov dword [esp + 4], eax
call fcn.00405050
lea eax, [0x64cfcc]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x94]
cmp eax, 4
jne 0x5994da
mov ecx, dword [esp + 0x90]
cmp byte [ecx], 0x74
jg 0x5994c3
cmp dword [ecx], 0x34706374
je 0x5994bc
cmp dword [ecx], 0x36706374
jne 0x5994e1
mov edx, 1
jmp 0x5994e3
cmp dword [ecx], 0x34706475
je 0x5994d3
cmp dword [ecx], 0x36706475
jne 0x5994e1
mov edx, 2
jmp 0x5994e3
mov ecx, dword [esp + 0x90]
xor edx, edx
lea edi, [esp + 0x58]
xor eax, eax
call fcn.00467ee8
mov dword [esp + 0x60], edx
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
call fcn.004a32a0
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc], ecx
call fcn.004a7d20
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ecx, ecx
jne 0x599841
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x599af0]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 3
mov eax, dword [esp + 0x38]
test eax, eax
je 0x59973e
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x18]
cmp ecx, 2
je 0x5996f4
cmp ecx, 0x17
je 0x5996aa
mov dword [esp], 0x20000027
call fcn.004a3310
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea edx, [0x627ce0]
mov dword [esp], edx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x5995ec
mov ecx, dword [esp + 0x4c]
jmp 0x5995f7
call fcn.00467c40
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [esp + 0x48], eax
mov dword [eax], ecx
mov dword [esp], 0
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
lea ecx, [0x6390b7]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x18], ecx
call fcn.00451650
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], eax
mov eax, dword [0x860560]
test eax, eax
je 0x59966d
call fcn.00467c50
mov dword [edi], ecx
mov eax, dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edx + 8], ecx
mov dword [esp + 0xa0], 0
lea eax, [0x68a22c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call fcn.0059ab50
sub esp, 0xffffff80
ret
movzx eax, word [eax + 2]
mov word [esp], ax
call fcn.004a8b00
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call fcn.0059ab50
sub esp, 0xffffff80
ret
movzx eax, word [eax + 2]
mov word [esp], ax
call fcn.004a8b00
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call fcn.0059ab50
sub esp, 0xffffff80
ret
mov dword [esp], 0x20000027
call fcn.004a3310
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea edx, [0x627ce0]
mov dword [esp], edx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x599783
mov ecx, dword [esp + 0x4c]
jmp 0x59978e
call fcn.00467c40
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [esp + 0x48], eax
mov dword [eax], ecx
mov dword [esp], 0
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
lea ecx, [0x6390b7]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x18], ecx
call fcn.00451650
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], eax
mov eax, dword [0x860560]
test eax, eax
je 0x599804
call fcn.00467c50
mov dword [edi], ecx
mov eax, dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edx + 8], ecx
mov dword [esp + 0xa0], 0
lea eax, [0x68a22c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call fcn.0059ab50
sub esp, 0xffffff80
ret
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
call fcn.00596840
mov eax, dword [esp + 0x14]
test eax, eax
je 0x599a58
mov eax, dword [esp + 0x44]
lea ecx, [0x689fb0]
cmp eax, ecx
jne 0x5998d2
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [0x6893a4]
mov dword [esp + 8], eax
call fcn.004040e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5998d2
mov eax, dword [0x82f730]
mov ecx, dword [0x82f734]
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x59991f
nop
lea eax, [0x619420]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x63b15c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x59990b
mov ecx, dword [esp + 0x40]
jmp 0x599916
call fcn.00467c40
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x68a014]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea edx, [0x627ce0]
mov dword [esp], edx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x599968
mov ecx, dword [esp + 0x4c]
jmp 0x599973
call fcn.00467c40
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [esp + 0x34], eax
mov dword [eax], ecx
mov dword [esp], 0
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
lea ecx, [0x6390b7]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x18], ecx
call fcn.00451650
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov dword [edx + 0xc], eax
mov eax, dword [0x860560]
test eax, eax
je 0x5999e9
call fcn.00467c50
mov dword [edi], ecx
mov eax, dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x28]
cmp dword [0x82f730], eax
jne 0x599a2b
mov ecx, dword [0x82f734]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004040e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x599a27
mov eax, dword [esp + 0x34]
mov byte [eax + 0x1a], 1
mov edx, eax
jmp 0x599a2b
mov edx, dword [esp + 0x34]
mov dword [esp + 0xa0], 0
lea eax, [0x68a22c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 0
call fcn.0059ab50
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 0
call fcn.0059ab50
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
call fcn.00596840
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
sub esp, 0xffffff80
ret
call fcn.00466840
jmp fcn.005993f0