Function at 0x4981b0
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 0x4988ea
sub esp, 0x94
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x498898
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.0045f4c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
cmp eax, 1
jbe 0x4988e3
movzx ebx, byte [ecx + 1]
lea ebp, [ecx + 1]
cmp bl, 0x2d
jne 0x498883
dec eax
lea ecx, [edx - 1]
mov edx, dword [esp + 0x98]
movzx ebx, byte [edx + 9]
test bl, bl
je 0x498285
test eax, eax
jbe 0x4988dc
movzx ebx, byte [ebp]
cmp bl, 0x2b
jne 0x498285
movzx ebx, byte [edx + 7]
test bl, bl
je 0x49887a
cmp eax, 1
jbe 0x4988d5
movzx ebx, byte [ebp + 1]
lea esi, [ebp + 1]
cmp bl, 0x49
je 0x49881f
cmp bl, 0x4e
je 0x49881f
movzx ebx, byte [edx + 8]
test bl, bl
je 0x498812
mov ebx, dword [esp + 0xa8]
cmp ebx, 0x62
je 0x498805
cmp ebx, 0x47
jne 0x4987ec
mov ebx, dword [esp + 0x44]
cmp ebx, 0xffffffff
jne 0x4982da
mov ebx, 6
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x57], 0
mov byte [esp + 0x5b], 0
mov esi, 1
xor edi, edi
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x57]
mov dword [esp + 0x74], eax
mov dword [esp + 0x64], ecx
xor ecx, ecx
mov dword [esp + 0x30], 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 0x498335
inc esi
mov dword [esp + 0x34], edi
mov edi, edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x44], ebx
cmp esi, eax
jge 0x49844a
jae 0x4988ce
movzx edx, byte [ebp + esi]
cmp dl, 0x2e
jne 0x49835c
mov edx, 1
mov edi, dword [esp + 0x34]
jmp 0x498327
cmp dl, 0x45
je 0x49836f
cmp dl, 0x65
je 0x49836f
dec ebx
mov edx, edi
mov edi, dword [esp + 0x34]
jmp 0x498327
mov dword [esp + 0x40], esi
xchg edi, eax
mov byte [esp + 0x2e], al
xchg edi, eax
sub eax, esi
mov edx, dword [esp + 0x30]
lea ebx, [eax + edx]
mov dword [esp + 0x50], ebx
sub ecx, esi
neg ecx
sar ecx, 0x1f
and ecx, esi
add ecx, ebp
mov ebp, dword [esp + 0x34]
cmp ebx, ebp
ja 0x4983f0
cmp ebx, ebp
ja 0x4988c7
mov dword [esp + 0x34], ebp
mov ebx, dword [esp + 0x74]
add edx, ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044c240
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x4988c0
mov ebp, dword [esp + 0x7c]
mov esi, eax
movzx edx, byte [esp + 0x2e]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x30], edx
movzx edx, byte [esp + 0x2e]
jmp 0x498327
mov dword [esp + 0x4c], eax
mov dword [esp + 0x90], ecx
lea eax, [0x5035e0]
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.00438000
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x90]
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 + 0x4c]
jmp 0x498399
xchg edi, eax
test al, al
xchg edi, eax
jne 0x49845d
jmp 0x498797
mov byte [ebp + eax], 0x30
dec ebx
mov eax, esi
mov dword [esp + 0x38], eax
test ebx, ebx
jle 0x4984ae
lea esi, [eax + 1]
cmp esi, ecx
jle 0x498455
mov dword [esp + 0x44], ebx
lea edx, [0x5035e0]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00438000
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x44]
jmp 0x498455
mov ebx, dword [esp + 0x30]
lea esi, [ebx + eax]
mov dword [esp + 0x50], esi
cmp esi, ecx
ja 0x498759
cmp esi, ecx
ja 0x4988b9
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x3c], ecx
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0044c240
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x98]
movzx ebp, byte [ebx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x498718
movzx ebp, byte [ebx + 0xa]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4986fd
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4986fd
mov ebp, dword [ebx + 0x10]
cmp ebp, ecx
jle 0x4986fd
mov ebp, dword [ebx]
test ecx, ecx
jbe 0x4988ab
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x7c], edx
movzx esi, byte [edx]
mov edi, dword [ebp + 4]
mov edx, dword [ebp]
mov eax, dword [ebp + 8]
lea ecx, [edi + 1]
cmp ecx, eax
jg 0x49866e
lea eax, [edi + 1]
mov dword [ebp + 4], eax
xchg esi, eax
mov byte [edx + edi], al
xchg esi, eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00496740
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 0x498624
cmp ebp, esi
ja 0x4988a4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x8c], edi
lea eax, [edi + edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ebx - 1]
mov dword [esp + 8], eax
call fcn.0044c240
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 [0x5e0f70]
test eax, eax
jne 0x49860f
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.0040df80
jmp 0x498608
mov dword [esp + 0x4c], edx
mov dword [esp + 0x78], ecx
lea eax, [0x5035e0]
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.00438000
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 0x4985b7
mov dword [esp + 0x84], ebp
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
lea ebx, [0x5035e0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00438000
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 [0x5e0f70]
test edx, edx
jne 0x4986d2
mov dword [ebx], eax
mov ebp, ebx
movzx esi, byte [esp + 0x2f]
mov edi, ecx
mov edx, eax
mov ebx, dword [esp + 0x98]
jmp 0x49855c
mov dword [esp + 0x88], eax
mov dword [esp + 0x48], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040df80
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x84]
jmp 0x4986bb
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00496890
add esp, 0x94
ret
test ecx, ecx
jbe 0x4988b2
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x498508
mov dword [esp], ebx
dec eax
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
mov dword [esp + 4], eax
lea eax, [ecx - 1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00496890
add esp, 0x94
ret
lea edx, [0x5035e0]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00438000
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
jmp 0x4984c1
lea esi, [eax + 1]
cmp esi, ecx
jg 0x4987aa
mov byte [ebp + eax], 0x2e
mov eax, esi
jmp 0x49845d
mov dword [esp + 0x38], eax
lea edx, [0x5035e0]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00438000
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x44]
jmp 0x49879e
cmp ebx, 0x67
je 0x4982cc
cmp ebx, 0x76
je 0x4982cc
xor ebx, ebx
jmp 0x4982da
mov edx, ebp
mov ebx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x4984f3
mov edx, ebp
mov ebx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x4984f3
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 0x498840
movzx edi, byte [edx + 9]
xchg edi, eax
test al, al
xchg edi, eax
je 0x49886a
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00496890
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 0x498840
dec eax
dec ecx
mov ebp, esi
jmp 0x498840
mov byte [ebp], 0x20
jmp 0x498285
cmp bl, 0x2b
je 0x498255
mov byte [ecx], 0x2b
mov ebp, ecx
mov ecx, edx
jmp 0x498259
mov ecx, dword [esp + 0xac]
jmp 0x4981e6
call fcn.004252e0
ud2
call fcn.00425280
ud2
call fcn.00425280
ud2
call fcn.004252e0
ud2
call fcn.004252e0
ud2
call fcn.004252e0
ud2
call fcn.00425280
ud2
call fcn.00425280
ud2
call fcn.00425280
ud2
call fcn.00425280
ud2
call fcn.00449fd0
jmp fcn.004981b0