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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4aa0a2
sub esp, 0x94
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x4aa050
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x44], ecx
lea edx, [eax + 0x18]
test byte [edx], al
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 0x44
fld qword [esp + 0x9c]
fld st(0)
fstp qword [esp + 0xc]
mov edx, dword [esp + 0xa8]
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x1c], ebx
fstp st(0)
call fcn.004535d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ecx, 1
jbe 0x4aa09b
movzx ebx, byte [edx + 1]
lea ebp, [edx + 1]
cmp bl, 0x2d
jne 0x4aa03d
dec ecx
dec eax
mov edx, dword [esp + 0x98]
movzx ebx, byte [edx + 9]
test bl, bl
je 0x4a9a33
test ecx, ecx
jbe 0x4aa094
movzx ebx, byte [ebp]
cmp bl, 0x2b
jne 0x4a9a33
movzx ebx, byte [edx + 7]
test bl, bl
je 0x4aa034
cmp ecx, 1
jbe 0x4aa08d
movzx ebx, byte [ebp + 1]
lea esi, [ebp + 1]
cmp bl, 0x49
je 0x4a9fd9
cmp bl, 0x4e
je 0x4a9fd9
movzx ebx, byte [edx + 8]
test bl, bl
je 0x4a9fce
mov ebx, dword [esp + 0xa8]
cmp ebx, 0x62
je 0x4a9fc3
cmp ebx, 0x47
jne 0x4a9faa
mov ebx, dword [esp + 0x44]
cmp ebx, 0xffffffff
jne 0x4a9a88
mov ebx, 6
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x57], 0
mov byte [esp + 0x5b], 0
mov esi, 1
xor edi, edi
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x57]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x5c], edx
mov edx, 5
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
jmp 0x4a9ae3
inc esi
mov dword [esp + 0x74], edi
mov edi, edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x44], ebx
cmp esi, ecx
jge 0x4a9bfe
jae 0x4aa086
movzx edx, byte [ebp + esi]
cmp dl, 0x2e
jne 0x4a9b0a
mov edx, 1
mov edi, dword [esp + 0x74]
jmp 0x4a9ad5
cmp dl, 0x45
je 0x4a9b1d
cmp dl, 0x65
je 0x4a9b1d
dec ebx
mov edx, edi
mov edi, dword [esp + 0x74]
jmp 0x4a9ad5
mov dword [esp + 0x40], esi
xchg edi, eax
mov byte [esp + 0x2e], al
xchg edi, eax
sub ecx, esi
mov edx, dword [esp + 0x30]
lea ebx, [ecx + edx]
mov dword [esp + 0x50], ebx
sub eax, esi
neg eax
sar eax, 0x1f
and eax, esi
add eax, ebp
mov ebp, dword [esp + 0x34]
cmp ebx, ebp
ja 0x4a9ba4
cmp ebx, ebp
ja 0x4aa07f
mov dword [esp + 0x34], ebp
mov ebx, dword [esp + 0x74]
add edx, ebx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044c840
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x4aa078
mov eax, ecx
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x40]
mov ecx, esi
movzx edx, byte [esp + 0x2e]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x30], edx
movzx edx, byte [esp + 0x2e]
jmp 0x4a9ad5
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x90], eax
lea eax, [0x5a5b80]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00438c30
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x40]
movzx edi, byte [esp + 0x2e]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x90]
jmp 0x4a9b47
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4a9c11
jmp 0x4a9f53
mov byte [ebp + ecx], 0x30
dec ebx
mov ecx, esi
mov dword [esp + 0x38], ecx
test ebx, ebx
jle 0x4a9c64
lea esi, [ecx + 1]
cmp esi, eax
jle 0x4a9c09
mov dword [esp + 0x44], ebx
lea edx, [0x5a5b80]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.00438c30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x44]
mov eax, ecx
mov ecx, dword [esp + 0x38]
jmp 0x4a9c09
mov ebx, dword [esp + 0x30]
lea esi, [ebx + ecx]
mov dword [esp + 0x50], esi
cmp esi, eax
ja 0x4a9f15
cmp esi, eax
ja 0x4aa071
mov dword [esp + 0x3c], eax
mov dword [esp + 0x7c], ebp
lea eax, [ebp + ecx]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0044c840
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x98]
movzx ebp, byte [ebx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a9ed4
movzx ebp, byte [ebx + 0xa]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a9eb9
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a9eb9
mov ebp, dword [ebx + 0x10]
cmp ebp, edx
jle 0x4a9eb9
mov ebp, dword [ebx]
test edx, edx
jbe 0x4aa063
mov dword [esp + 0x7c], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
movzx esi, byte [eax]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
lea edx, [eax + 1]
cmp edx, edi
jg 0x4a9e28
lea edx, [eax + 1]
mov dword [ebp + 4], edx
xchg esi, ebx
mov byte [ecx + eax], bl
xchg esi, ebx
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004a7ef0
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x3c]
dec ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov edx, dword [esp + 0x7c]
add ecx, edx
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + edx - 1]
mov dword [esp + 0x50], ebp
mov esi, dword [eax + 8]
mov edi, dword [eax]
cmp ebp, esi
ja 0x4a9dde
cmp ebp, esi
ja 0x4aa05c
mov dword [esp + 0x8c], edi
mov dword [esp + 0x4c], esi
lea eax, [edi + edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ebx - 1]
mov dword [esp + 8], eax
call fcn.0044c840
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [0x700660]
test eax, eax
jne 0x4a9dc9
mov eax, dword [esp + 0x8c]
mov dword [ecx], eax
add esp, 0x94
ret
mov dword [esp], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.0040ef10
jmp 0x4a9dc2
mov dword [esp + 0x4c], edx
mov dword [esp + 0x78], ecx
lea eax, [0x5a5b80]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00438c30
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
jmp 0x4a9d71
mov dword [esp + 0x84], ebp
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
lea ebx, [0x5a5b80]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00438c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 8], edx
mov edx, dword [0x700660]
test edx, edx
jne 0x4a9e8e
mov dword [ebx], eax
mov ebp, ebx
movzx esi, byte [esp + 0x2f]
mov ebx, dword [esp + 0x98]
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x4a9d14
mov dword [esp + 0x88], eax
mov dword [esp + 0x48], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x84]
jmp 0x4a9e75
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004a8040
add esp, 0x94
ret
test edx, edx
jbe 0x4aa06a
movzx ebp, byte [eax]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x4a9cc0
mov dword [esp], ebx
dec ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
mov dword [esp + 4], eax
lea eax, [edx - 1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004a8040
add esp, 0x94
ret
lea edx, [0x5a5b80]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.00438c30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
jmp 0x4a9c77
lea esi, [ecx + 1]
cmp esi, eax
jg 0x4a9f66
mov byte [ebp + ecx], 0x2e
mov ecx, esi
jmp 0x4a9c11
mov dword [esp + 0x38], ecx
lea edx, [0x5a5b80]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.00438c30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x44]
mov eax, ecx
mov ecx, dword [esp + 0x38]
jmp 0x4a9f5a
cmp ebx, 0x67
je 0x4a9a7a
cmp ebx, 0x76
je 0x4a9a7a
xor ebx, ebx
jmp 0x4a9a88
mov edx, ecx
mov ecx, eax
mov eax, ebp
jmp 0x4a9cab
mov edx, ecx
mov ecx, eax
mov eax, ebp
jmp 0x4a9cab
movzx ebx, byte [edx + 0xa]
mov byte [esp + 0x2d], bl
mov byte [edx + 0xa], 0
movzx edi, byte [ebp + 1]
xchg edi, eax
cmp al, 0x4e
xchg edi, eax
jne 0x4a9ffa
movzx edi, byte [edx + 9]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4aa024
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004a8040
movzx eax, byte [esp + 0x2d]
mov ecx, dword [esp + 0x98]
mov byte [ecx + 0xa], al
add esp, 0x94
ret
movzx edi, byte [edx + 7]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4a9ffa
dec ecx
dec eax
mov ebp, esi
jmp 0x4a9ffa
mov byte [ebp], 0x20
jmp 0x4a9a33
cmp bl, 0x2b
je 0x4a9a05
mov byte [edx], 0x2b
mov ebp, edx
jmp 0x4a9a07
mov ecx, dword [esp + 0xac]
jmp 0x4a9996
call fcn.00425cf0
ud2
call fcn.00425c90
ud2
call fcn.00425c90
ud2
call fcn.00425cf0
ud2
call fcn.00425cf0
ud2
call fcn.00425cf0
ud2
call fcn.00425c90
ud2
call fcn.00425c90
ud2
call fcn.00425c90
ud2
call fcn.00425c90
ud2
call fcn.0044a520
jmp fcn.004a9960