Function at 0x59d0d0
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 0x59da85
sub esp, 0x64
mov eax, dword [esp + 0x84]
test eax, eax
je 0x59d32b
nop
lea eax, [0x6159a0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [0x860560]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x59d119
mov ebx, dword [esp + 0x68]
jmp 0x59d124
call fcn.00467c40
mov ebx, dword [esp + 0x68]
mov dword [edi], ebx
mov dword [esp + 0x54], ecx
mov dword [ecx], ebx
mov ebp, dword [esp + 0x7c]
test ebp, ebp
jne 0x59d16a
mov esi, dword [esp + 0x74]
test esi, esi
jne 0x59d140
xor eax, eax
xor edx, edx
jmp 0x59d191
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x54]
jmp 0x59d191
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], edx
mov edi, dword [ebx + 0x144]
mov ebp, dword [ebx + 0x140]
cmp edi, 4
jne 0x59d1b5
cmp dword [ebp], 0x78696e75
je 0x59d20a
jmp 0x59d22f
cmp edi, 8
jne 0x59d1ce
cmp dword [ebp], 0x78696e75
jne 0x59d22f
cmp dword [ebp + 4], 0x6d617267
je 0x59d20a
jmp 0x59d22f
cmp edi, 0xa
jne 0x59d22f
mov dword [esp], ebp
lea eax, [0x63a618]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.00403360
movzx eax, byte [esp + 0xc]
test al, al
je 0x59d21b
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x74]
mov ebp, dword [ebx + 0x140]
mov edi, dword [ebx + 0x144]
jmp 0x59d2e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x74]
mov ebp, dword [ebx + 0x144]
lea edi, [ebp - 1]
cmp ebp, edi
jbe 0x59da7b
mov edi, dword [ebx + 0x140]
movzx esi, byte [ebp + edi - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
je 0x59d259
xchg esi, eax
cmp al, 0x36
xchg esi, eax
jne 0x59d261
mov esi, edi
mov edi, ebp
mov ebp, esi
jmp 0x59d2e0
cmp dword [ebx + 0x134], 2
jne 0x59d2a6
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea eax, [0x6880bc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004515b0
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
jmp 0x59d2e0
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea eax, [0x688104]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004515b0
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x84]
mov esi, dword [ebx]
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
lea eax, [0x68a69c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x84]
call esi
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x59da61
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x59d339
xor eax, eax
xor ecx, ecx
jmp 0x59d3a2
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x59da47
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x59d3a2
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004a4370
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x59d9d8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x59d468
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x59d44e
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.00590060
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x59d434
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x68]
mov byte [edx + 0x13c], 1
jmp 0x59d488
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0058ff50
mov eax, dword [esp + 4]
test eax, eax
jne 0x59d9be
mov edx, dword [esp + 0x68]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x34], eax
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
call fcn.004a4450
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x59d666
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x59d4eb
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x59d4d1
lea ebp, [0x64cfe0]
jmp 0x59d528
cmp ebp, 2
jne 0x59d4de
lea ebp, [0x64cfd8]
jmp 0x59d528
cmp ebp, 5
jne 0x59d522
lea ebp, [0x64cfb0]
jmp 0x59d528
cmp ebp, 2
je 0x59d4f5
cmp ebp, 0x17
jne 0x59d522
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x59d508
lea ebp, [0x64cfd0]
jmp 0x59d528
cmp ebp, 2
jne 0x59d515
lea ebp, [0x64cfb4]
jmp 0x59d528
cmp ebp, 3
jne 0x59d522
lea ebp, [0x64cfd4]
jmp 0x59d528
lea ebp, [0x64cf90]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x59d572
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x59d558
lea ecx, [0x64cfe0]
jmp 0x59d5af
cmp ecx, 2
jne 0x59d565
lea ecx, [0x64cfd8]
jmp 0x59d5af
cmp ecx, 5
jne 0x59d5a9
lea ecx, [0x64cfb0]
jmp 0x59d5af
cmp ecx, 2
je 0x59d57c
cmp ecx, 0x17
jne 0x59d5a9
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x59d58f
lea ecx, [0x64cfd0]
jmp 0x59d5af
cmp ecx, 2
jne 0x59d59c
lea ecx, [0x64cfb4]
jmp 0x59d5af
cmp ecx, 3
jne 0x59d5a9
lea ecx, [0x64cfd4]
jmp 0x59d5af
lea ecx, [0x64cf94]
mov eax, dword [ecx]
mov ebx, dword [esp + 8]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0x34]
mov dword [esp], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 4], esi
mov edx, ecx
call eax
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x860560]
test ebx, ebx
jne 0x59d5fb
mov edx, dword [esp + 0x40]
jmp 0x59d60f
call fcn.00467c50
mov edx, dword [esp + 0x40]
mov dword [edi], edx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 4], ebx
mov dword [ebp + 0x14c], edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x860560]
test ecx, ecx
je 0x59d635
call fcn.00467c50
mov dword [edi], eax
mov ecx, dword [ebp + 0x154]
mov dword [edi + 4], ecx
mov dword [ebp + 0x154], eax
lea eax, [0x6337a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x60b920]
mov dword [esp + 8], eax
lea eax, [0x64cf84]
mov dword [esp + 0xc], eax
call fcn.00417120
jmp 0x59d9a4
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.004a4530
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x59d857
mov dword [esp + 0x50], edx
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + 0x134]
cmp ebx, 1
jne 0x59d6d5
mov ebx, dword [eax + 0x138]
cmp ebx, 1
jne 0x59d6bb
lea ebx, [0x64cfe0]
jmp 0x59d712
cmp ebx, 2
jne 0x59d6c8
lea ebx, [0x64cfd8]
jmp 0x59d712
cmp ebx, 5
jne 0x59d70c
lea ebx, [0x64cfb0]
jmp 0x59d712
cmp ebx, 2
je 0x59d6df
cmp ebx, 0x17
jne 0x59d70c
mov ebx, dword [eax + 0x138]
cmp ebx, 1
jne 0x59d6f2
lea ebx, [0x64cfd0]
jmp 0x59d712
cmp ebx, 2
jne 0x59d6ff
lea ebx, [0x64cfb4]
jmp 0x59d712
cmp ebx, 3
jne 0x59d70c
lea ebx, [0x64cfd4]
jmp 0x59d712
lea ebx, [0x64cf98]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov edx, ebx
call eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x59d763
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x59d749
lea ecx, [0x64cfe0]
jmp 0x59d7a0
cmp ecx, 2
jne 0x59d756
lea ecx, [0x64cfd8]
jmp 0x59d7a0
cmp ecx, 5
jne 0x59d79a
lea ecx, [0x64cfb0]
jmp 0x59d7a0
cmp ecx, 2
je 0x59d76d
cmp ecx, 0x17
jne 0x59d79a
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x59d780
lea ecx, [0x64cfd0]
jmp 0x59d7a0
cmp ecx, 2
jne 0x59d78d
lea ecx, [0x64cfb4]
jmp 0x59d7a0
cmp ecx, 3
jne 0x59d79a
lea ecx, [0x64cfd4]
jmp 0x59d7a0
lea ecx, [0x64cf9c]
mov eax, dword [ecx]
mov ebx, dword [esp + 8]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x3c], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 4], esi
mov edx, ecx
call eax
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x860560]
test ebx, ebx
jne 0x59d7ec
mov edx, dword [esp + 0x3c]
jmp 0x59d800
call fcn.00467c50
mov edx, dword [esp + 0x3c]
mov dword [edi], edx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 4], ebx
mov dword [ebp + 0x14c], edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x860560]
test ecx, ecx
je 0x59d826
call fcn.00467c50
mov dword [edi], eax
mov ecx, dword [ebp + 0x154]
mov dword [edi + 4], ecx
mov dword [ebp + 0x154], eax
lea eax, [0x6337a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x60b920]
mov dword [esp + 8], eax
lea eax, [0x64cf84]
mov dword [esp + 0xc], eax
call fcn.00417120
jmp 0x59d9a4
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x59d893
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x59d879
lea ecx, [0x64cfe0]
jmp 0x59d8d0
cmp ecx, 2
jne 0x59d886
lea ecx, [0x64cfd8]
jmp 0x59d8d0
cmp ecx, 5
jne 0x59d8ca
lea ecx, [0x64cfb0]
jmp 0x59d8d0
cmp ecx, 2
je 0x59d89d
cmp ecx, 0x17
jne 0x59d8ca
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x59d8b0
lea ecx, [0x64cfd0]
jmp 0x59d8d0
cmp ecx, 2
jne 0x59d8bd
lea ecx, [0x64cfb4]
jmp 0x59d8d0
cmp ecx, 3
jne 0x59d8ca
lea ecx, [0x64cfd4]
jmp 0x59d8d0
lea ecx, [0x64cfa0]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea ebx, [0x616b60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
call fcn.00409c10
mov eax, dword [esp + 8]
nop
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0x148], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x59d92e
mov ecx, dword [esp + 0x38]
jmp 0x59d942
call fcn.00467c50
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov edx, dword [ebx + 0x14c]
mov dword [edi + 4], edx
mov dword [ebx + 0x14c], ecx
mov dword [ebx + 0x150], eax
mov eax, dword [0x860560]
test eax, eax
jne 0x59d961
mov eax, dword [esp + 0x80]
jmp 0x59d978
call fcn.00467c50
mov eax, dword [esp + 0x80]
mov dword [edi], eax
mov ecx, dword [ebx + 0x154]
mov dword [edi + 4], ecx
mov dword [ebx + 0x154], eax
lea eax, [0x6337a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x60b920]
mov dword [esp + 8], eax
lea eax, [0x64cf84]
mov dword [esp + 0xc], eax
call fcn.00417120
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x64
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
nop
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
lea edx, [0x619420]
mov dword [esp], edx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x639308]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x59da21
mov ecx, dword [esp + 0x48]
jmp 0x59da2c
call fcn.00467c40
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x68a014]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x64
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, edi
mov ecx, ebp
call fcn.00467cb0
nop
call fcn.00466840
jmp fcn.0059d0d0