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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x98]
cmp eax, dword [ecx + 8]
jbe 0x5f0d68
sub esp, 0x118
mov eax, dword [esp + 0x120]
jmp 0x5f0380
mov eax, dword [esp + 0x68]
mov dword [esp + 0x68], eax
lea ecx, [0x780940]
mov dword [esp], ecx
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00409550
mov eax, dword [esp + 8]
lea ecx, [0x780940]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ca510
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp], ecx
lea edx, [0x73dbe0]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.00603910
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5f07e8
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
test ecx, ecx
jne 0x5f0444
movzx ecx, word [eax + 4]
test cx, cx
jne 0x5f0444
movzx ecx, word [eax + 6]
test cx, cx
je 0x5f0b71
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
add ecx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 4], ecx
call fcn.00602c20
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 0xa0]
mov ebx, dword [ecx + 0xa4]
mov dword [esp + 0x64], ebx
xor ebp, ebp
jmp 0x5f081d
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x11c]
lea edx, [esp + 0xc0]
jmp 0x5f04a1
xor edx, edx
mov dword [esp + 0x7c], edx
test edx, edx
jne 0x5f04e5
mov ebx, dword [ecx + 0x2ac]
sub ebx, eax
mov dword [esp + 0x30], ebx
mov ebp, dword [ecx + 0xa0]
mov esi, ecx
mov ecx, dword [ecx + 0xa4]
mov dword [esp + 0x64], ecx
xor edi, edi
xor edi, edi
mov dword [esp + 0x28], edi
xor edi, edi
mov dword [esp + 0x80], edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
jmp 0x5f0c46
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
call fcn.00610b80
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 0x14]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
sub eax, ecx
test edx, edx
je 0x5f086e
mov dword [esp + 0x30], eax
lea eax, [0x7808c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x94], eax
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00409550
mov eax, dword [esp + 8]
lea ecx, [0x7808c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ca510
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
movzx edx, word [ecx + 6]
test eax, eax
je 0x5f0c11
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov ebx, eax
mov eax, dword [esp + 0x30]
xor edx, edx
div ebx
mov edx, dword [esp + 0x68]
cmp edx, eax
jb 0x5f05a2
mov edx, eax
mov dword [esp + 0x24], edx
lea eax, [0x772480]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044b030
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 0x34]
xor ebx, ebx
xor ebp, ebp
jmp 0x5f091c
mov esi, dword [esp + 0x98]
movzx edi, word [esi + 4]
mov ecx, ebx
mov ebx, dword [esp + 0x120]
lea ebp, [edi + ebx]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x11c]
mov ebp, dword [esi + 0x290]
mov esi, dword [esi + 0x288]
lea edi, [edi + ebx + 0x100]
cmp ebp, edi
jb 0x5f0bb8
mov ebx, dword [esp + 0x38]
cmp edi, ebx
jb 0x5f0baf
sub ebp, ebx
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebx, ebp
add ebx, esi
xor ebp, ebp
jmp 0x5f0b55
cmp ebp, edi
ja 0x5f0ba6
mov dword [esp + 0x68], edx
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0044eeb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x5f06a1
cmp ecx, 0x100
jle 0x5f0677
mov edx, 1
jmp 0x5f06a3
mov dword [esp + 0x8c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00602810
movzx eax, byte [esp + 8]
xor eax, 1
mov ecx, dword [esp + 0x54]
mov edx, eax
mov eax, dword [esp + 0x8c]
jmp 0x5f06a3
xor edx, edx
test dl, dl
jne 0x5f0b71
lea edi, [esp + 0xa4]
mov edx, eax
xor eax, eax
call fcn.00464659
mov ecx, dword [esp + 0x98]
mov ebx, dword [ecx]
movzx ebp, word [ecx + 4]
movzx ecx, word [ecx + 6]
mov dword [esp + 0xa4], ebx
mov word [esp + 0xa8], bp
mov word [esp + 0xaa], cx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 0x1bc]
inc edx
mov ebx, dword [ecx + 0x1b8]
mov ebp, dword [ecx + 0x1c0]
cmp ebp, edx
jae 0x5f079c
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x7801c0]
mov dword [esp + 0x10], eax
call fcn.0044b1b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 0x1c0], edx
mov edx, dword [0xaab020]
test edx, edx
jne 0x5f0784
mov dword [ebx + 0x1b8], eax
jmp 0x5f078f
lea edi, [ebx + 0x1b8]
call fcn.004643b0
mov edx, ecx
mov ebx, eax
xor eax, eax
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 0x1bc], edx
imul edx, edx, 0x1c
lea edi, [edx + ebx - 0x1c]
mov edx, dword [0xaab020]
test edx, edx
jne 0x5f07c4
lea esi, [esp + 0xa4]
call fcn.00464b2a
jmp 0x5f037c
lea eax, [0x7801c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.00411480
xor eax, eax
jmp 0x5f037c
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], edx
add esp, 0x118
ret
mov eax, dword [esp + 0x90]
lea edx, [eax + 0x2c]
mov eax, dword [esp + 0x60]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x11c]
mov ebx, dword [esp + 0x64]
cmp ebp, ebx
jge 0x5f049f
mov dword [esp + 0x60], ebp
mov dword [esp + 0x90], edx
lea edi, [esp + 0xc0]
mov esi, edx
call fcn.00464b02
lea eax, [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp + 8], ecx
call fcn.006105a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f07fd
jmp 0x5f048b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.004094f0
mov eax, dword [esp + 4]
lea ecx, [0x758e40]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x11c]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [0x7d7b15]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x47
lea eax, [esp + 0x9c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00537f20
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
add esp, 0x118
ret
mov esi, dword [esp + 0x40]
lea ecx, [esi + 1]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x48]
mov eax, ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x84], eax
mov esi, dword [esp + 0x24]
cmp ecx, esi
jae 0x5f05d7
mov dword [esp + 0x40], ecx
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
lea ecx, [0x73dba0]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x94]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ebp
call fcn.00603910
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5f0b3f
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
add ebx, ebp
mov esi, dword [esp + 0x94]
movzx edi, word [esi + 4]
mov eax, ebp
mov ebp, dword [esp + 0x120]
mov ecx, ebx
lea ebx, [edi + ebp]
mov dword [esp + 0x3c], ebx
mov edx, esi
mov esi, dword [esp + 0x11c]
mov ebx, dword [esi + 0x290]
mov esi, dword [esi + 0x288]
lea edi, [edi + ebp + 0x100]
cmp ebx, edi
jb 0x5f0c08
mov ebp, dword [esp + 0x3c]
cmp edi, ebp
jb 0x5f0bff
sub ebx, ebp
mov edi, ebx
neg ebx
sar ebx, 0x1f
and ebp, ebx
lea ebx, [esi + ebp]
xor ebp, ebp
jmp 0x5f0bc2
cmp ebp, edi
ja 0x5f0bf6
mov dword [esp + 0x68], ecx
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0044eeb0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
test ecx, ecx
je 0x5f0a58
cmp ecx, 0x100
jle 0x5f0a35
mov edx, 1
jmp 0x5f0a5a
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00602810
movzx eax, byte [esp + 8]
xor eax, 1
mov ecx, dword [esp + 0x50]
mov edx, eax
mov eax, dword [esp + 0x88]
jmp 0x5f0a5a
xor edx, edx
test dl, dl
jne 0x5f0bde
mov ebx, dword [esp + 0x44]
inc ebx
mov ebp, dword [esp + 0x94]
mov esi, dword [ebp]
mov edx, esi
movzx esi, word [ebp + 4]
mov edi, ebp
movzx ebp, word [ebp + 6]
mov word [esp + 0x22], bp
mov ebp, dword [esp + 0x48]
cmp ebp, ebx
jae 0x5f0aec
mov word [esp + 0x20], si
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x772480]
mov dword [esp + 0x10], eax
call fcn.0044b1b0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
movzx esi, word [esp + 0x20]
mov edi, dword [esp + 0x94]
mov dword [esp + 0x84], eax
mov ebp, ecx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebp
dec ebx
shl ebx, 4
mov ebp, dword [esp + 0x84]
mov dword [ebp + ebx], edx
mov word [ebp + ebx + 4], si
movzx esi, word [esp + 0x22]
mov word [ebp + ebx + 6], si
mov dword [ebp + ebx + 0xc], ecx
mov esi, dword [0xaab020]
mov ecx, ebx
lea ebx, [ebp + ebx + 8]
test esi, esi
jne 0x5f0b2f
mov dword [ebp + ecx + 8], eax
jmp 0x5f0907
mov ecx, edi
mov edi, ebx
call fcn.004643b0
mov edi, ecx
jmp 0x5f0907
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], edx
add esp, 0x118
ret
inc ebp
cmp ebp, 0x100
jae 0x5f0638
movzx esi, byte [ebp + ebx]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5f0b54
jmp 0x5f0638
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 0x1bc]
test ecx, ecx
je 0x5f0b89
mov byte [eax + 0x2a6], 1
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
add esp, 0x118
ret
mov ecx, ebp
mov edx, edi
call fcn.00464480
mov eax, ebx
mov ecx, edi
call fcn.004644a0
mov ecx, edi
mov edx, ebp
call fcn.00464480
inc ebp
cmp ebp, 0x100
jae 0x5f09ef
movzx esi, byte [ebp + ebx]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5f0bc1
jmp 0x5f09ef
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
jmp 0x5f05d7
mov ecx, ebp
mov edx, edi
call fcn.00464480
mov eax, ebp
mov ecx, edi
call fcn.004644a0
mov ecx, edi
mov edx, ebx
call fcn.00464480
call fcn.004351e0
add ebp, 0x2c
mov ecx, dword [esp + 0x60]
inc ecx
mov esi, dword [esp + 0x11c]
mov edi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x30]
cmp edi, ecx
jge 0x5f0d08
mov dword [esp + 0x60], edi
lea edi, [esp + 0xec]
mov esi, ebp
call fcn.00464b02
mov ecx, dword [esp + 0x100]
cmp ecx, eax
jbe 0x5f0cf0
mov esi, edx
mov edx, dword [esp + 0x28]
inc edx
mov edi, ebx
mov ebx, dword [esp + 0x2c]
cmp ebx, edx
jae 0x5f0ce0
mov dword [esp + 0x90], ebp
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x758e40]
mov dword [esp + 0x10], eax
call fcn.0044b1b0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x80], eax
mov ebx, ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x80]
mov dword [eax + edx*4 - 4], ecx
jmp 0x5f0c16
mov esi, edx
mov edi, ebx
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x80]
jmp 0x5f0c16
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5f0d1d
mov edx, dword [esp + 0x80]
mov ebp, dword [edx]
xor edi, edi
jmp 0x5f0d2b
mov eax, ebx
jmp 0x5f0512
inc edi
mov ebp, ebx
mov ebx, dword [esp + 0x30]
cmp edi, ecx
jge 0x5f0d3a
mov ebx, dword [edx + edi*4]
cmp ebp, ebx
ja 0x5f0d24
mov ebx, ebp
jmp 0x5f0d24
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00602930
mov eax, dword [esp + 8]
test eax, eax
je 0x5f0d59
mov ebx, dword [eax + 0x14]
mov ecx, dword [esp + 0x4c]
sub ebx, ecx
jmp 0x5f0d5d
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x11c]
mov edx, eax
jmp 0x5f0d1d
call fcn.00462fa0
jmp fcn.005f0350