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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x59f6f2
sub esp, 0xbc
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
movzx edx, byte [0x8f61ff]
mov byte [esp + 0x4f], dl
mov dword [esp], ecx
mov byte [esp + 4], 0x14
lea edx, [esp + 0x4f]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00590510
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x59f6c1
lea edi, [esp + 0x70]
xor eax, eax
call fcn.0044cd1a
mov ecx, dword [esp + 0xc0]
lea esi, [ecx + 0x18]
mov dword [esp + 0x6c], esi
lea edi, [esp + 0x88]
call fcn.0044d1ae
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x4c]
mov ebp, dword [ecx + 0x54]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebp
mov edi, esp
lea esi, [esp + 0x88]
call fcn.0044d1ae
call fcn.005a4530
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x78]
test edx, edx
je 0x59f61e
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.005a3ce0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
test ecx, ecx
je 0x59f574
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00590510
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x59f55f
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + 0xc]
movzx eax, word [eax]
mov ecx, dword [esp + 0x68]
mov word [ecx + 0x2e], ax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0xc8]
cmp edx, eax
jle 0x59f55b
mov edx, dword [esp + 0xc4]
cmp ecx, edx
je 0x59f53e
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044d420
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0xbc
ret
mov eax, edx
jmp 0x59f523
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xbc
ret
mov eax, dword [esp + 0x80]
lea ecx, [0x7720a0]
mov dword [esp], ecx
add eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00438c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test ecx, ecx
jbe 0x59f6dd
mov byte [edx], 0x14
mov ebx, dword [esp + 0x80]
cmp ecx, 3
jbe 0x59f6d6
mov byte [edx + 3], bl
lea ebx, [eax - 4]
neg ebx
sar ebx, 0x1f
and ebx, 4
add ebx, edx
lea ebp, [ecx - 4]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
cmp ebp, esi
jle 0x59f61a
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], edx
cmp edi, ebx
je 0x59f5fd
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.0044d420
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x70], ecx
jmp 0x59f4cf
mov esi, ebp
jmp 0x59f5dd
lea eax, [0x7720a0]
mov dword [esp], eax
lea ecx, [ebx + 4]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00438c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test ecx, ecx
jbe 0x59f6eb
mov byte [edx], 0x14
mov ebx, dword [esp + 0x80]
cmp ecx, 3
jbe 0x59f6e4
mov byte [edx + 3], bl
lea ebx, [eax - 4]
neg ebx
sar ebx, 0x1f
and ebx, 4
add ebx, edx
lea ebp, [ecx - 4]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
cmp ebp, edi
jle 0x59f6bd
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], edx
cmp esi, ebx
je 0x59f6a0
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.0044d420
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x74], ecx
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x78], ebp
mov edx, dword [esp + 0x64]
mov dword [esp + 0x70], edx
jmp 0x59f4a3
mov edi, ebp
jmp 0x59f680
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
add esp, 0xbc
ret
call fcn.00426630
ud2
call fcn.00426630
ud2
call fcn.00426630
ud2
call fcn.00426630
ud2
call fcn.0044b4c0
jmp fcn.0059f3b0