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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x59fe30
sub esp, 0xf4
mov ecx, dword [esp + 0xf8]
mov edx, dword [ecx]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x100]
mov dword [ecx + 0x5c], ebx
mov ebp, dword [esp + 0x104]
mov dword [ecx + 0x60], ebp
mov esi, dword [0xbc7270]
test esi, esi
jne 0x59fe15
mov eax, dword [esp + 0xfc]
mov dword [ecx + 0x58], eax
lea eax, [0x7c8840]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.00438c00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x100]
test ebx, ebx
jle 0x59fe0c
mov ebp, dword [esp + 0xfc]
xor esi, esi
jmp 0x59f7b5
mov eax, dword [esp + 0xa0]
add eax, 0xc
mov ebp, eax
mov esi, ecx
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x54], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0057a3a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x64]
cmp ebx, ebp
jae 0x59fe29
mov dword [esp + 0x58], ecx
mov esi, dword [0xbc7270]
mov edi, ebp
mov ebp, dword [esp + 0x8c]
lea ecx, [ebp + ebx*4]
test esi, esi
jne 0x59fdfc
mov dword [ebp + ebx*4], eax
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x59fd2b
lea ecx, [ebx + 1]
mov ebx, dword [esp + 0x100]
cmp ecx, ebx
jl 0x59f7a7
mov ecx, dword [esp + 0x90]
mov esi, dword [ecx + 0x24]
mov eax, ebx
mov ebx, dword [esi + 0x44]
cmp ebx, 3
jl 0x59f9f5
test edi, edi
jle 0x59f9f5
mov dword [esp], esi
call fcn.0058be10
lea esi, [esp + 4]
lea edi, [esp + 0xac]
call fcn.0044d1fe
call fcn.0040a840
mov eax, dword [esp]
mov dword [esp + 0x9c], eax
call fcn.0040a840
mov eax, dword [esp]
mov dword [esp + 0x98], eax
lea ecx, [0x79e020]
mov dword [esp], ecx
call fcn.00409dc0
mov eax, dword [esp + 0x68]
lea ecx, [eax - 1]
neg ecx
sar ecx, 0x1f
and ecx, 4
mov edx, dword [esp + 0x8c]
add ecx, edx
mov dword [esp + 0x94], ecx
mov edi, dword [esp + 4]
mov ebx, dword [0xbc7270]
test ebx, ebx
jne 0x59fd03
mov ebx, dword [esp + 0x9c]
mov dword [edi], ebx
mov ebx, dword [esp + 0x98]
mov dword [edi + 4], ebx
mov dword [esp + 0x74], edi
lea edi, [esp + 0xc0]
xor eax, eax
call fcn.0044cd13
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 0x24]
mov edx, dword [edx + 0x48]
mov dword [esp + 0xcc], edx
lea edi, [esp + 0xd0]
lea esi, [esp + 0xac]
call fcn.0044d1fe
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc8], ecx
lea ecx, [0x760fc0]
mov dword [esp], ecx
call fcn.00409dc0
mov ecx, dword [esp + 4]
mov edx, dword [0x8f6258]
mov dword [ecx], edx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], 1
mov dword [esp + 0xec], 1
mov ecx, dword [esp + 0x64]
lea edx, [ecx - 1]
mov dword [esp + 0x70], edx
xor eax, eax
jmp 0x59f996
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + eax*4]
mov ebx, dword [esp + 0xc8]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0056f670
mov eax, dword [esp + 0x6c]
inc eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
cmp eax, edx
jl 0x59f968
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0xc0]
call fcn.0044d1ae
call fcn.00574320
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
test ecx, ecx
jne 0x59fc2e
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x58], ebp
mov dword [ecx + 0x5c], eax
mov ebp, dword [0xbc7270]
test ebp, ebp
jne 0x59fc1f
mov dword [ecx + 0x54], ebx
mov ebx, dword [ecx + 0x24]
mov edx, dword [ebx + 0x28]
test edx, edx
jne 0x59fb79
mov edx, dword [esp + 0x64]
test edx, edx
je 0x59fb46
mov eax, dword [esp + 0x8c]
mov ebx, dword [eax]
mov ebp, dword [ebx + 0x54]
mov ebx, dword [ebx + 0x50]
test ebx, ebx
je 0x59fa9b
mov esi, dword [ebx + 8]
cmp esi, 0x2fd00e80
jne 0x59fb3f
mov edi, esi
lea esi, [0x7b2980]
cmp esi, ebx
jne 0x59fa89
mov dword [ecx + 0x4c], edx
mov edx, dword [esp + 0x68]
mov dword [ecx + 0x50], edx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x59fa7f
mov dword [ecx + 0x48], eax
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0xf4
ret
lea edi, [ecx + 0x48]
call fcn.0044cc20
jmp 0x59fa54
cmp edi, 0xcc456746
jne 0x59fa9b
lea esi, [0x77d4e0]
cmp esi, ebx
je 0x59fa3d
mov dword [esp], ecx
mov byte [esp + 4], 0x2b
call fcn.0058fa70
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x54]
mov eax, dword [eax + 0x50]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
lea eax, [0x7f4087]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bcb10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
add esp, 0xf4
ret
mov edi, esi
jmp 0x59fa89
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0xf4
ret
mov eax, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x58]
mov ebp, dword [ecx + 0x54]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 8], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x59fbca
mov ecx, dword [esp + 0x90]
jmp 0x59fa03
mov dword [esp + 0x80], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.0058fa70
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x114], eax
add esp, 0xf4
ret
lea edi, [ecx + 0x54]
mov eax, ebx
call fcn.0044cc20
jmp 0x59f9f5
mov dword [esp + 0x60], ecx
mov dword [esp + 0x84], edx
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.0058fa70
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x7eefb0]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0043bf20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
lea edx, [0x787c00]
mov dword [esp], edx
call fcn.00409dc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0xbc7270]
test eax, eax
jne 0x59fcf8
mov eax, dword [esp + 0x7c]
mov dword [edi], eax
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], edi
add esp, 0xf4
ret
mov eax, dword [esp + 0x7c]
call fcn.0044cc20
jmp 0x59fcc7
mov eax, dword [esp + 0x9c]
call fcn.0044cc20
lea ebp, [edi + 4]
mov eax, edi
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x98]
call fcn.0044cc20
mov edi, esi
jmp 0x59f8de
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.0058fa70
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x7edb87]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0043bf20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
lea edx, [0x787c00]
mov dword [esp], edx
call fcn.00409dc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], eax
mov eax, dword [0xbc7270]
test eax, eax
jne 0x59fdf1
mov eax, dword [esp + 0x78]
mov dword [edi], eax
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], edi
add esp, 0xf4
ret
mov eax, dword [esp + 0x78]
call fcn.0044cc20
jmp 0x59fdc0
mov esi, edi
mov edi, ecx
call fcn.0044cc20
mov edi, esi
jmp 0x59f818
mov ebp, ecx
mov edi, eax
jmp 0x59f836
lea edi, [ecx + 0x58]
mov eax, dword [esp + 0xfc]
call fcn.0044cc20
jmp 0x59f75c
call fcn.00426630
ud2
call fcn.0044b4c0
jmp fcn.0059f700