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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x59baa4
sub esp, 0x98
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x9c]
mov ebx, dword [edx + 0x84]
mov dword [esp + 0x34], ebx
mov ebp, dword [edx + 0x88]
mov dword [esp + 0x30], ebp
mov esi, dword [edx + 0x8c]
mov dword [esp + 0x2c], esi
cmp dword [edx + 0x64], 2
jge 0x59b5c9
mov dword [esp], edx
mov dword [esp + 4], 2
call fcn.00592e90
movzx eax, byte [esp + 8]
test al, al
je 0x59ba81
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ecx, dword [edx + 0x58]
mov edi, dword [edx + 0x60]
lea eax, [edi + 1]
cmp ecx, eax
jbe 0x59ba9e
mov eax, dword [edx + 0x54]
lea eax, [edi + eax + 1]
cmp byte [eax], 0x3c
jne 0x59b727
mov dword [esp], edx
call fcn.00595c30
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.00595c30
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
lea ebp, [esp + 0x38]
mov dword [esp + 0x20], ebp
call fcn.0059be00
movzx eax, byte [esp + 0x24]
test al, al
je 0x59b718
mov edx, dword [esp + 0x9c]
mov ecx, dword [edx + 0x58]
mov eax, dword [edx + 0x60]
cmp ecx, eax
jbe 0x59ba99
mov ecx, dword [edx + 0x54]
add eax, ecx
cmp byte [eax], 0x3e
je 0x59b70b
nop
mov dword [edx], 3
mov dword [edx + 0x24], 0x14
mov eax, dword [0x7c3fa0]
test eax, eax
je 0x59b69f
mov eax, dword [edx + 0x20]
call fcn.00468400
mov dword [edi], eax
lea eax, [0x60feff]
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x30], eax
mov dword [edx + 8], 0x1d
mov eax, dword [0x7c3fa0]
test eax, eax
je 0x59b6d8
mov eax, dword [edx + 4]
call fcn.00468400
mov dword [edi], eax
lea eax, [0x614845]
mov dword [edx + 4], eax
mov eax, dword [edx + 0x88]
mov ecx, dword [edx + 0x8c]
mov ebx, dword [edx + 0x84]
mov dword [edx + 0x14], ebx
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov dword [esp], edx
call fcn.00595c30
jmp 0x59b88a
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov dword [esp], edx
mov byte [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
lea eax, [esp + 0x44]
mov dword [esp + 0x14], eax
call fcn.0059bab0
movzx eax, byte [esp + 0x18]
test al, al
je 0x59ba72
mov edx, dword [esp + 0x48]
test edx, edx
jbe 0x59ba90
mov eax, dword [esp + 0x44]
cmp byte [eax], 0x21
jne 0x59b7e0
cmp edx, 1
jle 0x59b7e0
lea ecx, [edx + eax - 1]
cmp byte [ecx], 0x21
jne 0x59b7e0
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
lea ebp, [esp + 0x38]
mov dword [esp + 0x20], ebp
call fcn.0059be00
movzx eax, byte [esp + 0x24]
test al, al
jne 0x59b88a
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov byte [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
lea ebp, [esp + 0x38]
mov dword [esp + 0x20], ebp
call fcn.0059be00
movzx eax, byte [esp + 0x24]
test al, al
je 0x59ba63
lea eax, [0x5db060]
mov dword [esp], eax
call fcn.0040c420
mov eax, dword [esp + 4]
mov byte [eax], 0x21
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 1
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x59b88a
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 1
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x64]
test ecx, ecx
jg 0x59b8bc
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00592e90
movzx eax, byte [esp + 8]
test al, al
je 0x59ba54
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x58]
mov ebx, dword [eax + 0x5c]
mov ebp, dword [eax + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.005a5d40
movzx eax, byte [esp + 0x10]
test al, al
je 0x59b9bf
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x8c]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x84]
mov eax, dword [eax + 0x88]
lea edi, [esp + 0x50]
lea esi, [0x65a7b0]
call fcn.00468a6c
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov edi, dword [esp + 0xa0]
test byte [edi], al
mov eax, dword [0x7c3fa0]
test eax, eax
je 0x59b9a7
lea eax, [0x5fbee0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.00411660
mov edi, dword [esp + 0xa0]
lea esi, [esp + 0x50]
call fcn.00468a6c
mov byte [esp + 0xa4], 1
add esp, 0x98
ret
nop
mov eax, dword [esp + 0x9c]
mov dword [eax], 3
mov dword [eax + 0x24], 0x14
mov ecx, dword [0x7c3fa0]
test ecx, ecx
je 0x59b9e8
mov ecx, dword [eax + 0x20]
call fcn.00468400
mov dword [edi], ecx
lea ecx, [0x60feff]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x30], ecx
mov dword [eax + 8], 0x2e
mov ecx, dword [0x7c3fa0]
test ecx, ecx
je 0x59ba21
mov ecx, dword [eax + 4]
call fcn.00468400
mov dword [edi], ecx
lea ecx, [0x619eb0]
mov dword [eax + 4], ecx
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ebx
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
xor eax, eax
mov ecx, eax
call fcn.00468460
call fcn.00468460
call fcn.00468460
nop
call fcn.00467000
jmp fcn.0059b520