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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54b80b
push eax
mov dword fs:[0], esp
mov ecx, dword [esp + 0x10]
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xe4]
cmp ecx, edi
jle 0x4a2aa0
mov eax, ecx
mov dword [esp + 0xdc], edi
mov ecx, dword [esp + 0xdc]
mov edi, eax
mov ebp, dword [esp + 0xe0]
mov esi, dword [esp + 0xe8]
cmp ebp, esi
jle 0x4a2abf
mov eax, ebp
mov ebp, esi
mov dword [esp + 0xe0], ebp
mov esi, eax
lea eax, [esp + 0x80]
push eax
push esi
push edi
push ebp
push ecx
call fcn.004a1d80
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x108]
add esp, 0x14
or ebx, 0xffffffff
cmp word [eax], 0xa
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x3c], ebx
je 0x4a2bb2
push eax
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_COleVariant::COleVariant
push 0
push 8
lea ecx, [esp + 0x8c]
mov dword [esp + 0xdc], 0
call sub.MFC42.DLL_COleVariant::ChangeType
mov ecx, dword [esp + 0x8c]
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
push 0x5f3604
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 1
call sub.MFC42.DLL_CString::TrimLeft_1
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x50]
push edx
push 0x5f3600
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x4a2b87
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov cl, byte [esp + 0x52]
mov edx, eax
and edx, 0xff
and eax, 0xff00
shl edx, 0x10
or ecx, edx
or ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0x4a2b8c
mov byte [esp + 0x3e], 0
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], 0
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x84]
mov dword [esp + 0xd4], ebx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x94]
call fcn.004b4700
mov ecx, dword [esp + 0xec]
mov dword [esp + 0xd4], 2
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x94]
push edx
mov byte [esp + 0xd8], 3
call fcn.004b55f0
test eax, eax
mov dword [esp + 0x50], eax
jne 0x4a2c52
push 0x3a
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jge 0x4a2c52
lea eax, [esp + 0x58]
lea ecx, [esp + 0x74]
push eax
push str..QMScript_
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x94]
push eax
mov byte [esp + 0xd8], 4
call fcn.004b55f0
lea ecx, [esp + 0x74]
mov dword [esp + 0x50], eax
mov byte [esp + 0xd4], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4a33b4
push 0
push 0x20
lea ecx, [esp + 0x9c]
call fcn.004b5f60
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4a33b4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a33c5
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a33b4
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xdc]
sub esi, ebp
sub edi, ecx
mov ebx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
imul eax, ebx
mov dword [esp + 0x54], eax
inc esi
fild dword [esp + 0x54]
fld dword [esp + 0xf0]
fsubr qword [0x5539b0]
inc edi
mov dword [esp + 0x28], ebx
mov ebp, edi
fmulp st(1)
mov dword [esp + 0x24], ebp
call sub.MSVCRT.dll__ftol
mov ecx, eax
cdq
and edx, 0xf
add eax, edx
mov edi, eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x60], eax
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x5c], eax
lea eax, [ecx + ecx*4]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x70], eax
lea eax, [ecx*8]
sub eax, ecx
cdq
and edx, 7
add eax, edx
sar edi, 4
sar eax, 3
mov dword [esp + 0x78], eax
mov dword [esp + 0x68], edi
test edi, edi
mov eax, 1
jne 0x4a2d43
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x60]
test ecx, ecx
jne 0x4a2d4f
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x4a2d5b
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x3c], 0xffffffff
jne 0x4a2dfa
mov edx, dword [esp + 0x1c]
lea edi, [ebx - 1]
push edi
lea ecx, [esp + 0x98]
lea ebp, [edx - 1]
push ebp
call fcn.004b5870
push 0
push 0
lea ecx, [esp + 0x9c]
mov ebx, eax
call fcn.004b5870
cmp eax, ebx
jne 0x4a2df2
push edi
push 0
lea ecx, [esp + 0x9c]
call fcn.004b5870
push 0
push 0
lea ecx, [esp + 0x9c]
mov edi, eax
call fcn.004b5870
cmp eax, edi
jne 0x4a2df2
push 0
push ebp
lea ecx, [esp + 0x9c]
call fcn.004b5870
push 0
push 0
lea ecx, [esp + 0x9c]
mov edi, eax
call fcn.004b5870
cmp eax, edi
jne 0x4a2df2
push 0
push 0
lea ecx, [esp + 0x9c]
call fcn.004b5870
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
sub esi, ebx
mov dword [esp + 0x44], 0
test esi, esi
mov dword [esp + 0x7c], esi
jle 0x4a33b4
mov ecx, dword [esp + 0x1c]
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x54], eax
test eax, eax
mov dword [esp + 0x40], 0
jle 0x4a337f
jmp 0x4a2e36
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jle 0x4a2f40
mov eax, ebp
mov ecx, dword [esp + 0x40]
shl eax, 4
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
imul eax, ebp
add eax, ecx
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + eax*4]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x1c]
xor ebp, ebp
test eax, eax
jle 0x4a2f1b
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ecx, dword [eax + 0x34]
mov esi, dword [ecx + edx*4]
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi]
cmp eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
je 0x4a2ef2
and ecx, 0xff
and eax, 0xff
sub eax, ecx
cdq
mov ecx, eax
mov eax, dword [esp + 0x35]
xor ecx, edx
and eax, 0xff
sub ecx, edx
mov edx, dword [esp + 0x2d]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x2e]
add ecx, eax
mov eax, dword [esp + 0x36]
and edx, 0xff
and eax, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
cmp ecx, 0x18
jb 0x4a2ef2
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jg 0x4a335c
mov eax, dword [esp + 0x1c]
add ebp, 4
add esi, 0x10
add edi, 0x10
cmp ebp, eax
jl 0x4a2e89
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
add eax, 4
add edx, ecx
cmp eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x4a2e69
mov ebp, dword [esp + 0x24]
cmp ebx, 2
mov dword [esp + 0x18], 2
jle 0x4a3053
mov edx, dword [esp + 0x44]
mov eax, ebp
add edx, 2
imul edx, ebp
shl eax, 4
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
add edx, eax
mov eax, dword [esp + 0x4c]
lea ecx, [eax + edx*4 + 8]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x1c]
mov ebp, 2
cmp eax, ebp
jle 0x4a302e
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [edx + 0x34]
mov esi, dword [eax + ecx*4]
add esi, 8
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi]
cmp eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
je 0x4a3005
and ecx, 0xff
and eax, 0xff
sub eax, ecx
cdq
mov ecx, eax
mov eax, dword [esp + 0x35]
xor ecx, edx
and eax, 0xff
sub ecx, edx
mov edx, dword [esp + 0x2d]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x2e]
add ecx, eax
mov eax, dword [esp + 0x36]
and edx, 0xff
and eax, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
cmp ecx, 0x18
jb 0x4a3005
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jg 0x4a335c
mov eax, dword [esp + 0x1c]
add ebp, 4
add esi, 0x10
add edi, 0x10
cmp ebp, eax
jl 0x4a2f9c
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
add eax, 4
add edx, ecx
cmp eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x4a2f76
mov ebp, dword [esp + 0x24]
cmp ebx, 1
mov dword [esp + 0x18], 1
jle 0x4a315f
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
inc eax
lea edx, [ebp*8]
imul eax, ebp
add eax, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x48], edx
lea edx, [ecx + eax*4]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x1c]
xor ebp, ebp
test eax, eax
jle 0x4a313a
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ecx, dword [eax + 0x34]
mov esi, dword [ecx + edx*4]
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi]
cmp eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
je 0x4a3111
and ecx, 0xff
and eax, 0xff
sub eax, ecx
cdq
mov ecx, eax
mov eax, dword [esp + 0x35]
xor ecx, edx
and eax, 0xff
sub ecx, edx
mov edx, dword [esp + 0x2d]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x2e]
add ecx, eax
mov eax, dword [esp + 0x36]
and edx, 0xff
and eax, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
cmp ecx, 0x18
jb 0x4a3111
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jg 0x4a335c
mov eax, dword [esp + 0x1c]
add ebp, 2
add esi, 8
add edi, 8
cmp ebp, eax
jl 0x4a30a8
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
add eax, 2
add edx, ecx
cmp eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x4a3088
mov ebp, dword [esp + 0x24]
test ebx, ebx
mov dword [esp + 0x18], 0
jle 0x4a326c
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
imul eax, ebp
add eax, ecx
mov ecx, dword [esp + 0x4c]
lea edx, [ebp*8]
mov dword [esp + 0x48], edx
lea edx, [ecx + eax*4 + 4]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x1c]
mov ebp, 1
cmp eax, ebp
jle 0x4a324b
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ecx, dword [eax + 0x34]
mov esi, dword [ecx + edx*4]
add esi, 4
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi]
cmp eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
je 0x4a3222
and ecx, 0xff
and eax, 0xff
sub eax, ecx
cdq
mov ecx, eax
mov eax, dword [esp + 0x35]
xor ecx, edx
and eax, 0xff
sub ecx, edx
mov edx, dword [esp + 0x2d]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x2e]
add ecx, eax
mov eax, dword [esp + 0x36]
and edx, 0xff
and eax, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
cmp ecx, 0x18
jb 0x4a3222
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
cmp eax, ecx
jg 0x4a335c
mov eax, dword [esp + 0x1c]
add ebp, 2
add esi, 8
add edi, 8
cmp ebp, eax
jl 0x4a31b9
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
add eax, 2
add edx, ecx
cmp eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x4a3193
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
inc edx
mov ecx, dword [esp + 0x1c]
imul edx, dword [esp + 0x24]
add edx, eax
mov eax, dword [esp + 0x4c]
mov ebx, 1
lea edi, [eax + edx*4 + 4]
mov dword [esp + 0x10], edi
cmp ebx, dword [esp + 0x28]
jge 0x4a3392
mov ebp, 1
cmp ecx, ebp
jle 0x4a333f
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x34]
mov esi, dword [edx + ebx*4]
add esi, 4
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi]
cmp eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
je 0x4a331e
and ecx, 0xff
and eax, 0xff
sub eax, ecx
cdq
mov ecx, eax
mov eax, dword [esp + 0x35]
xor ecx, edx
and eax, 0xff
sub ecx, edx
mov edx, dword [esp + 0x2d]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x2e]
add ecx, eax
mov eax, dword [esp + 0x36]
and edx, 0xff
and eax, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
cmp ecx, 0x18
jb 0x4a331e
inc dword [esp + 0x14]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jg 0x4a335c
mov ecx, dword [esp + 0x1c]
add ebp, 2
add esi, 8
add edi, 8
cmp ebp, ecx
jl 0x4a32b5
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
add ebx, 2
lea eax, [edx*8]
add edi, eax
mov dword [esp + 0x10], edi
jmp 0x4a3291
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
inc eax
cmp eax, ecx
mov dword [esp + 0x40], eax
jl 0x4a2e2e
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, ecx
mov ecx, dword [esp + 0x44]
inc ecx
cmp ecx, esi
mov dword [esp + 0x44], ecx
jl 0x4a2e1c
jmp 0x4a33b4
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xe0]
add ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], ecx
add eax, edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a33c5
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4a33dd
mov ecx, esi
call fcn.004b47c0
mov edx, dword [esi]
push 3
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
shl esi, 0xd
lea ecx, [esp + 0x58]
add esi, eax
mov byte [esp + 0xd4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov dword [esp + 0xd4], 0xffffffff
call fcn.004b4770
mov ecx, dword [esp + 0xcc]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret