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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5aa16f
sub esp, 0x68
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x198]
mov ecx, dword [ebx + 0x19c]
mov esi, dword [ebx + 0x1a0]
mov eax, dword [ebx + 0x1a4]
mov edi, ecx
sub ecx, eax
cmp ecx, 4
jge 0x5a9927
mov dword [esp], ebx
mov byte [esp + 4], 0
call fcn.005a5da0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5a98c9
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x68
ret
nop
cmp edi, eax
jb 0x5aa167
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and eax, esi
movzx esi, byte [ebp + eax + 1]
shl esi, 0x10
movzx edi, byte [ebp + eax + 2]
shl edi, 8
or edi, esi
movzx ebp, byte [ebp + eax + 3]
or ebp, edi
mov dword [esp + 0x24], ebp
cmp ebp, 0x10000
jle 0x5a9afb
mov dword [esp], ebx
mov byte [esp + 4], 0x50
call fcn.005a89d0
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.00408cb0
mov eax, dword [esp + 4]
lea ecx, [0x65ea00]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
lea eax, [0x70277c]
mov dword [esp + 0x64], eax
lea eax, [0x6a5ce0]
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.004c0c20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edx, [0x66e1e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00408fd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5a9a5b
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5a9a4a
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc8], eax
jmp 0x5a9acb
lea edi, [edx + 0xc8]
mov eax, dword [esp + 0x3c]
call fcn.0045f830
jmp 0x5a9acb
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], ecx
lea eax, [0x667ce0]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5a9a8e
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
jmp 0x5a9a9e
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.0045f830
mov eax, ecx
lea ecx, [0x7030ac]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5a9ac0
mov dword [edx + 0xc8], eax
jmp 0x5a9acb
lea edi, [edx + 0xc8]
call fcn.0045f830
mov eax, dword [edx + 0xc4]
mov ecx, dword [edx + 0xc8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x24]
lea esi, [ebp + 4]
mov edi, dword [ebx + 0x19c]
sub edi, dword [ebx + 0x1a4]
cmp edi, esi
jge 0x5a9b47
mov dword [esp], ebx
mov byte [esp + 4], 0
call fcn.005a5da0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5a9af3
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x68
ret
nop
mov byte [ebx + 0x1a8], 0
nop
mov edx, dword [ebx + 0x1a0]
mov ebp, dword [ebx + 0x198]
mov edi, dword [ebx + 0x19c]
mov eax, dword [ebx + 0x1a4]
sub edi, eax
cmp edi, esi
jl 0x5a9b70
mov edi, esi
lea ecx, [edi + eax]
cmp edx, ecx
jb 0x5aa162
cmp eax, ecx
ja 0x5aa15d
mov dword [ebx + 0x1a4], ecx
sub edx, eax
neg edx
sar edx, 0x1f
and eax, edx
lea edx, [ebp + eax]
test edi, edi
jle 0x5a9ba1
mov byte [ebx + 0x1a8], 0xff
jbe 0x5aa154
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], edx
movzx eax, byte [ebp + eax]
cmp al, 0xb
ja 0x5a9cf7
cmp al, 2
ja 0x5a9c1e
test al, al
jne 0x5a9bd7
lea ecx, [0x703b1c]
lea eax, [0x894bf0]
jmp 0x5a9f83
cmp al, 1
jne 0x5a9bfd
lea eax, [0x688d80]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x703aa4]
jmp 0x5a9f83
lea eax, [0x687400]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x703b94]
jmp 0x5a9f83
cmp al, 5
ja 0x5a9c85
cmp al, 4
jne 0x5a9c6b
cmp word [ebx + 0x24], 0x304
jne 0x5a9c4a
lea eax, [0x67d220]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
lea ecx, [0x703b64]
jmp 0x5a9c62
lea eax, [0x66d640]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
lea ecx, [0x703b4c]
mov edi, dword [esp + 0x20]
jmp 0x5a9f83
cmp al, 5
jne 0x5a9e36
lea ecx, [0x703aec]
lea eax, [0x894bf0]
jmp 0x5a9f83
cmp al, 8
je 0x5a9cd6
cmp al, 0xb
jne 0x5a9e36
cmp word [ebx + 0x24], 0x304
jne 0x5a9cb5
lea eax, [0x6770e0]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
lea ecx, [0x703a2c]
jmp 0x5a9ccd
lea eax, [0x66d340]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
lea ecx, [0x703a14]
mov edi, dword [esp + 0x20]
jmp 0x5a9f83
lea eax, [0x66d4c0]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x703ad4]
jmp 0x5a9f83
cmp al, 0xf
ja 0x5a9dd3
cmp al, 0xd
ja 0x5a9d8a
cmp al, 0xc
je 0x5a9d69
cmp word [ebx + 0x24], 0x304
jne 0x5a9d36
lea eax, [0x67d180]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
lea ecx, [0x703a5c]
mov edx, eax
mov eax, dword [esp + 0x6c]
jmp 0x5a9d5e
lea eax, [0x67a940]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 0x6c]
cmp word [eax + 0x24], 0x303
setae cl
mov edx, dword [esp + 4]
mov byte [edx + 0xc], cl
lea ecx, [0x703a44]
mov edi, dword [esp + 0x20]
mov eax, edx
jmp 0x5a9f83
lea eax, [0x66d760]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x703bac]
jmp 0x5a9f83
cmp al, 0xe
jne 0x5a9da0
lea ecx, [0x703b7c]
lea eax, [0x894bf0]
jmp 0x5a9f83
lea eax, [0x677160]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 0x6c]
cmp word [eax + 0x24], 0x303
setae cl
mov edx, dword [esp + 4]
mov byte [edx + 0xc], cl
mov edi, dword [esp + 0x20]
lea ecx, [0x703a8c]
mov eax, edx
jmp 0x5a9f83
cmp al, 0x14
ja 0x5a9e24
cmp al, 0x10
je 0x5a9e03
cmp al, 0x14
jne 0x5a9e36
lea eax, [0x66d520]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x703b04]
jmp 0x5a9f83
lea eax, [0x66d400]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x703abc]
jmp 0x5a9f83
cmp al, 0x16
je 0x5a9f67
cmp al, 0x18
je 0x5a9f49
mov dword [esp], ebx
mov byte [esp + 4], 0xa
call fcn.005a8ba0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edx, [0x66e1e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00408fd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5a9eb1
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5a9ea0
mov eax, dword [esp + 0x38]
mov dword [edx + 0xc8], eax
jmp 0x5a9f21
lea edi, [edx + 0xc8]
mov eax, dword [esp + 0x38]
call fcn.0045f830
jmp 0x5a9f21
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], ecx
lea eax, [0x667ce0]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5a9ee4
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
jmp 0x5a9ef4
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.0045f830
mov eax, ecx
lea ecx, [0x7030ac]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5a9f16
mov dword [edx + 0xc8], eax
jmp 0x5a9f21
lea edi, [edx + 0xc8]
call fcn.0045f830
mov eax, dword [edx + 0xc4]
mov ecx, dword [edx + 0xc8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
lea eax, [0x66d5e0]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x703b34]
jmp 0x5a9f83
lea eax, [0x66d3a0]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x703a74]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
lea edx, [0x65f440]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edi
call fcn.00448480
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
call fcn.004601c0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
call ecx
movzx eax, byte [esp + 0x10]
test al, al
je 0x5aa03d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5aa01b
mov ecx, dword [eax + 4]
jmp 0x5aa01d
mov ecx, eax
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005a8ba0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
lea edx, [0x66e1e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00408fd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5aa0bc
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5aa0ab
mov eax, dword [esp + 0x34]
mov dword [edx + 0xc8], eax
jmp 0x5aa12c
lea edi, [edx + 0xc8]
mov eax, dword [esp + 0x34]
call fcn.0045f830
jmp 0x5aa12c
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], edx
lea eax, [0x667ce0]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5aa0ef
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
jmp 0x5aa0ff
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0045f830
mov eax, ecx
lea ecx, [0x7030ac]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5aa121
mov dword [edx + 0xc8], eax
jmp 0x5aa12c
lea edi, [edx + 0xc8]
call fcn.0045f830
mov eax, dword [edx + 0xc4]
mov ecx, dword [edx + 0xc8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
xor eax, eax
mov ecx, edi
call fcn.0045f8b0
call fcn.0045f910
call fcn.0045f8f0
mov ecx, edi
call fcn.0045f910
nop
call fcn.0045e420
jmp fcn.005a98b0