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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a8486
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x1a4]
mov edx, dword [eax + 0x1a8]
mov ebx, dword [eax + 0x1ac]
mov ebp, dword [eax + 0x1b0]
sub edx, ebp
cmp edx, 4
jge 0x5a7b5b
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.005a3fb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5a7af9
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x68
ret
nop
sub ebx, ebp
neg ebx
sar ebx, 0x1f
and ebp, ebx
movzx edx, byte [ecx + ebp + 1]
shl edx, 0x10
movzx ebx, byte [ecx + ebp + 2]
shl ebx, 8
or ebx, edx
movzx ecx, byte [ecx + ebp + 3]
or ecx, ebx
mov dword [esp + 0x24], ecx
cmp ecx, 0x10000
jle 0x5a7d29
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005a6ae0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00408890
mov eax, dword [esp + 4]
lea ecx, [0x67dee0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
lea eax, [0x893568]
mov dword [esp + 0x64], eax
lea eax, [0x6cc5d9]
mov dword [esp], eax
mov dword [esp + 4], 0x45
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00511cc0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
lea edx, [0x68eb80]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00408b80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5a7c83
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5a7c72
mov eax, dword [esp + 0x40]
mov dword [edx + 0xd4], eax
jmp 0x5a7cf3
lea edi, [edx + 0xd4]
mov eax, dword [esp + 0x40]
call fcn.0045f670
jmp 0x5a7cf3
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], ecx
lea eax, [0x687be0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5a7cb6
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
jmp 0x5a7cc6
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045f670
mov eax, ecx
lea ecx, [0x895354]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5a7ce8
mov dword [edx + 0xd4], eax
jmp 0x5a7cf3
lea edi, [edx + 0xd4]
call fcn.0045f670
mov eax, dword [edx + 0xd0]
mov ecx, dword [edx + 0xd4]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 4]
mov ebx, dword [eax + 0x1a8]
sub ebx, dword [eax + 0x1b0]
cmp ebx, edx
jge 0x5a7d7b
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.005a3fb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5a7d21
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x68
ret
nop
mov byte [eax + 0x1b4], 0
nop
mov ecx, dword [eax + 0x1a4]
mov ebx, dword [eax + 0x1a8]
mov ebp, dword [eax + 0x1ac]
mov esi, dword [eax + 0x1b0]
sub ebx, esi
cmp ebx, edx
jl 0x5a7da4
mov ebx, edx
lea edx, [ebx + esi]
mov dword [eax + 0x1b0], edx
sub ebp, esi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and esi, ebp
lea edx, [ecx + esi]
test ebx, ebx
jle 0x5a7dc8
mov byte [eax + 0x1b4], 0xff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x50], edx
movzx ecx, byte [ecx + esi]
cmp cl, 0xb
ja 0x5a7f71
cmp cl, 2
ja 0x5a7e5c
test cl, cl
jne 0x5a7df9
test ebx, ebx
lea ecx, [0x895e80]
lea ebp, [0xa43ac4]
jmp 0x5a8265
cmp cl, 1
jne 0x5a7e2d
lea eax, [0x6adb80]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edx, dword [esp + 0x50]
mov ebx, ecx
lea ecx, [0x895e08]
mov ebp, eax
mov eax, dword [esp + 0x6c]
jmp 0x5a8265
lea eax, [0x6ac0c0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edx, dword [esp + 0x50]
mov ebx, ecx
lea ecx, [0x895ef8]
mov ebp, eax
mov eax, dword [esp + 0x6c]
jmp 0x5a8265
cmp cl, 5
ja 0x5a7edb
cmp cl, 4
jne 0x5a7ebf
cmp word [eax + 0x24], 0x304
jne 0x5a7e8e
lea eax, [0x6a01a0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
lea edx, [0x895ec8]
jmp 0x5a7eac
lea eax, [0x68e160]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
lea edx, [0x895eb0]
mov ebx, ecx
mov ecx, edx
mov ebp, eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x50]
jmp 0x5a8265
cmp cl, 5
jne 0x5a80f6
test ebx, ebx
lea ecx, [0x895e50]
lea ebp, [0xa43ac4]
jmp 0x5a8265
cmp cl, 8
je 0x5a7f42
cmp cl, 0xb
jne 0x5a80f6
cmp word [eax + 0x24], 0x304
jne 0x5a7f11
lea eax, [0x699140]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
lea edx, [0x895d90]
jmp 0x5a7f2f
lea eax, [0x68dec0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
lea edx, [0x895d78]
mov ebx, ecx
mov ecx, edx
mov ebp, eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x50]
jmp 0x5a8265
lea eax, [0x68dfe0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edx, dword [esp + 0x50]
mov ebx, ecx
lea ecx, [0x895e38]
mov ebp, eax
mov eax, dword [esp + 0x6c]
jmp 0x5a8265
cmp cl, 0xf
ja 0x5a8077
cmp cl, 0xd
ja 0x5a8024
cmp cl, 0xc
je 0x5a7ff5
cmp word [eax + 0x24], 0x304
jne 0x5a7fb6
lea eax, [0x6a0100]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
lea ebx, [0x895dc0]
mov edx, eax
mov eax, dword [esp + 0x6c]
jmp 0x5a7fe4
lea eax, [0x69d380]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 0x6c]
cmp word [eax + 0x24], 0x303
setae cl
mov edx, dword [esp + 4]
mov byte [edx + 0xc], cl
mov ecx, dword [esp + 0x20]
test ecx, ecx
lea ebx, [0x895da8]
mov ecx, ebx
mov ebp, edx
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x20]
jmp 0x5a8265
lea eax, [0x68e280]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edx, dword [esp + 0x50]
mov ebx, ecx
lea ecx, [0x895f10]
mov ebp, eax
mov eax, dword [esp + 0x6c]
jmp 0x5a8265
cmp cl, 0xe
jne 0x5a803c
test ebx, ebx
lea ecx, [0x895ee0]
lea ebp, [0xa43ac4]
jmp 0x5a8265
lea eax, [0x6991c0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 0x6c]
cmp word [eax + 0x24], 0x303
setae cl
mov edx, dword [esp + 4]
mov byte [edx + 0xc], cl
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov ebx, ecx
lea ecx, [0x895df0]
mov ebp, edx
mov edx, dword [esp + 0x50]
jmp 0x5a8265
cmp cl, 0x14
ja 0x5a80e4
cmp cl, 0x10
je 0x5a80b5
cmp cl, 0x14
jne 0x5a80f6
lea eax, [0x68e040]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edx, dword [esp + 0x50]
mov ebx, ecx
lea ecx, [0x895e68]
mov ebp, eax
mov eax, dword [esp + 0x6c]
jmp 0x5a8265
lea eax, [0x68df80]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edx, dword [esp + 0x50]
mov ebx, ecx
lea ecx, [0x895e20]
mov ebp, eax
mov eax, dword [esp + 0x6c]
jmp 0x5a8265
cmp cl, 0x16
je 0x5a823b
cmp cl, 0x18
je 0x5a820f
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005a6cb0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
lea edx, [0x68eb80]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00408b80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5a8171
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5a8160
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xd4], eax
jmp 0x5a81e1
lea edi, [edx + 0xd4]
mov eax, dword [esp + 0x3c]
call fcn.0045f670
jmp 0x5a81e1
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], ecx
lea eax, [0x687be0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5a81a4
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
jmp 0x5a81b4
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.0045f670
mov eax, ecx
lea ecx, [0x895354]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5a81d6
mov dword [edx + 0xd4], eax
jmp 0x5a81e1
lea edi, [edx + 0xd4]
call fcn.0045f670
mov eax, dword [edx + 0xd0]
mov ecx, dword [edx + 0xd4]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
lea eax, [0x68e100]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edx, dword [esp + 0x50]
mov ebx, ecx
lea ecx, [0x895e98]
mov ebp, eax
mov eax, dword [esp + 0x6c]
jmp 0x5a8265
lea eax, [0x68df20]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edx, dword [esp + 0x50]
mov ebx, ecx
lea ecx, [0x895dd8]
mov ebp, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], ecx
ja 0x5a827d
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x2c], esi
xor esi, esi
jmp 0x5a82bf
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
lea eax, [0x67e920]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov esi, eax
mov edi, edx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], esi
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0045fe60
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], esi
call ecx
movzx eax, byte [esp + 0x10]
test al, al
je 0x5a8369
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5a8334
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5a8341
mov ecx, dword [eax + 4]
jmp 0x5a8343
mov ecx, eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005a6cb0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edx, [0x68eb80]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00408b80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5a83e8
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5a83d7
mov eax, dword [esp + 0x38]
mov dword [edx + 0xd4], eax
jmp 0x5a8458
lea edi, [edx + 0xd4]
mov eax, dword [esp + 0x38]
call fcn.0045f670
jmp 0x5a8458
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], ecx
lea eax, [0x687be0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5a841b
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
jmp 0x5a842b
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.0045f670
mov eax, ecx
lea ecx, [0x895354]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5a844d
mov dword [edx + 0xd4], eax
jmp 0x5a8458
lea edi, [edx + 0xd4]
call fcn.0045f670
mov eax, dword [edx + 0xd0]
mov ecx, dword [edx + 0xd4]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
call fcn.0045e260
jmp fcn.005a7ae0