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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b7c80
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x60]
push esi
push edi
mov edi, dword [esp + 0x60]
cmp edi, ebx
jle 0x481c07
mov eax, edi
mov dword [esp + 0x60], ebx
mov edi, dword [esp + 0x60]
mov ebx, eax
mov dword [esp + 0x68], ebx
mov esi, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x70]
cmp esi, ebp
jle 0x481c22
mov eax, esi
mov esi, ebp
mov ebp, eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], 0x3f800000
cmp word [eax], 0xa
je 0x481c6e
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_COleVariant::COleVariant_1
push 0
push 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0
call sub.MFC42.DLL_COleVariant::ChangeType
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::CString_1
push 0x6549d8
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], 1
call sub.MFC42.DLL_CString::TrimLeft_1
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push 0x6549d4
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
lea edx, [esp + 0x20]
push edx
push ebp
push ebx
push esi
push edi
call fcn.004818d0
fld dword [esp + 0x30]
fsubr qword [0x5c8a78]
mov edi, eax
mov eax, dword [esp + 0x48]
mov edx, eax
xor ecx, ecx
mov cl, byte [esp + 0x4a]
and edx, 0xff
shl edx, 0x10
or ecx, edx
and eax, 0xff00
fmul qword [0x5ccf18]
or ecx, eax
add esp, 0x20
mov dword [esp + 0x3c], ecx
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x14]
mov dword [esp + 0x74], eax
test edi, edi
je 0x48256a
mov ax, word [esp + 0x78]
test ax, ax
jne 0x481dd3
fld dword [esp + 0x10]
fcomp qword [0x5ccf10]
fnstsw ax
test ah, 0x41
jne 0x481d51
xor ecx, ecx
test edx, edx
jle 0x48256e
mov eax, edi
mov edx, dword [eax]
mov esi, dword [esp + 0x3c]
and edx, 0xffffff
cmp edx, esi
je 0x48256e
mov edx, dword [esp + 0x14]
inc ecx
add eax, 4
cmp ecx, edx
jl 0x481d2c
jmp 0x48256e
xor ecx, ecx
test edx, edx
jle 0x48256e
mov ebx, dword [esp + 0x3e]
mov eax, dword [esp + 0x3d]
mov ebp, dword [esp + 0x3c]
and ebx, 0xff
and eax, 0xff
and ebp, 0xff
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], ebp
lea esi, [edi + 1]
jmp 0x481d89
mov ebp, dword [esp + 0x78]
xor eax, eax
mov al, byte [esi - 1]
sub eax, ebp
cdq
mov ebp, eax
xor eax, eax
mov al, byte [esi + 1]
xor ebp, edx
sub eax, ebx
sub ebp, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x70]
add ebp, eax
xor eax, eax
mov al, byte [esi]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
mov eax, dword [esp + 0x74]
cmp ebp, eax
jl 0x48256e
mov eax, dword [esp + 0x14]
inc ecx
add esi, 4
cmp ecx, eax
jl 0x481d85
jmp 0x48256e
cmp ax, 1
jne 0x4822af
mov edx, dword [esp + 0x64]
sub ebp, esi
sub ebx, edx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], ebx
lea eax, [ebx + 1]
cdq
sub eax, edx
mov ecx, eax
lea eax, [ebp + 1]
cdq
sub eax, edx
mov esi, eax
mov eax, ebx
sar ecx, 1
sar esi, 1
cmp ebx, ebp
jg 0x481e09
mov eax, ebp
mov edx, dword [esp + 0x70]
cmp ebx, edx
jle 0x481e13
mov edx, ebx
mov ebx, edx
and ebx, 0x80000001
jns 0x481e22
dec ebx
or ebx, 0xfffffffe
inc ebx
fld dword [esp + 0x10]
fcomp qword [0x5ccf10]
cdq
sub eax, edx
sar eax, 1
add ebx, eax
fnstsw ax
mov dword [esp + 0x30], ebx
test ah, 0x41
jne 0x482005
test ebx, ebx
mov dword [esp + 0x1c], 0
jl 0x481fc7
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
mov ebp, ecx
mov dword [esp + 0x74], ecx
lea eax, [ebx + 1]
imul eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
sub eax, edx
dec eax
sub esi, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x7c], esi
cmp ecx, ebp
mov eax, ecx
jg 0x481f0b
mov edx, dword [esp + 0x7c]
lea esi, [edx + ecx]
mov dword [esp + 0x20], esi
lea ecx, [ebx + 1]
imul ecx, esi
add ecx, eax
test eax, eax
jl 0x481ec7
cmp eax, ebx
jg 0x481ec7
test esi, esi
jl 0x481ec7
cmp esi, dword [esp + 0x70]
jg 0x481ec7
mov edx, dword [edi + ecx*4]
mov ebx, dword [esp + 0x3c]
and edx, 0xffffff
cmp edx, ebx
je 0x48256e
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
add ecx, eax
test eax, eax
jl 0x481f02
cmp eax, ebx
jg 0x481f02
mov edx, dword [esp + 0x7c]
add edx, ebp
test edx, edx
jl 0x481f02
cmp edx, dword [esp + 0x70]
jg 0x481efe
mov edx, dword [edi + ecx*4]
mov esi, dword [esp + 0x3c]
and edx, 0xffffff
cmp edx, esi
je 0x48256e
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x20]
inc eax
cmp eax, ebp
jle 0x481e94
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
lea eax, [edx + ecx]
lea ecx, [edx + ebp]
cmp eax, ecx
jg 0x481f8d
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x74]
test esi, esi
lea ecx, [esi + edx]
jl 0x481f4f
cmp esi, ebx
jg 0x481f4f
test eax, eax
jl 0x481f4f
cmp eax, dword [esp + 0x70]
jg 0x481f4f
mov esi, dword [edi + ecx*4]
mov ebx, dword [esp + 0x3c]
and esi, 0xffffff
cmp esi, ebx
je 0x48256e
mov ebx, dword [esp + 0x78]
test ebp, ebp
lea ecx, [edx + ebp]
jl 0x481f7d
cmp ebp, ebx
jg 0x481f7d
test eax, eax
jl 0x481f7d
cmp eax, dword [esp + 0x70]
jg 0x481f7d
mov esi, dword [edi + ecx*4]
mov ebx, dword [esp + 0x3c]
and esi, 0xffffff
cmp esi, ebx
je 0x48256e
mov ebx, dword [esp + 0x78]
lea ecx, [ebx + 1]
inc eax
add edx, ecx
mov ecx, dword [esp + 0x7c]
add ecx, ebp
cmp eax, ecx
jle 0x481f1d
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
add ecx, eax
lea eax, [ebx + 1]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x74]
inc edx
add esi, eax
mov eax, dword [esp + 0x30]
dec ecx
inc ebp
cmp edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x18], esi
jle 0x481e7f
or ebx, 0xffffffff
or esi, 0xffffffff
test edi, edi
pop ebp
je 0x481fdb
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
shl esi, 0xd
lea ecx, [esp + 0x20]
add esi, ebx
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret
test ebx, ebx
mov dword [esp + 0x2c], 0
jl 0x481fc7
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x6c]
mov ebp, ecx
mov dword [esp + 0x10], ecx
lea eax, [edx + 1]
mov dword [esp + 0x1c], ebp
imul eax, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
sub eax, ebx
dec eax
sub esi, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x7c], esi
mov ebx, dword [esp + 0x10]
cmp ebx, ebp
jg 0x482158
mov eax, dword [esp + 0x7c]
add eax, ebx
mov dword [esp + 0x34], eax
jmp 0x48205e
mov eax, dword [esp + 0x34]
lea ecx, [edx + 1]
imul ecx, eax
add ecx, ebx
test ebx, ebx
jl 0x4820d2
cmp ebx, edx
jg 0x4820d2
test eax, eax
jl 0x4820d2
cmp eax, dword [esp + 0x70]
jg 0x4820d2
mov edx, dword [esp + 0x3d]
xor eax, eax
mov al, byte [edi + ecx*4 + 1]
and edx, 0xff
sub eax, edx
cdq
mov esi, eax
xor eax, eax
mov al, byte [edi + ecx*4 + 2]
xor esi, edx
sub esi, edx
mov edx, dword [esp + 0x3e]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3c]
add esi, eax
xor eax, eax
mov al, byte [edi + ecx*4]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add esi, eax
mov eax, dword [esp + 0x74]
cmp esi, eax
jl 0x48256e
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
test ebx, ebx
lea ecx, [eax + ebx]
jl 0x48214b
cmp ebx, edx
jg 0x48214b
mov eax, dword [esp + 0x7c]
add eax, ebp
test eax, eax
jl 0x48214b
cmp eax, dword [esp + 0x70]
jg 0x48214b
mov edx, dword [esp + 0x3d]
xor eax, eax
mov al, byte [edi + ecx*4 + 1]
and edx, 0xff
sub eax, edx
cdq
mov esi, eax
xor eax, eax
mov al, byte [edi + ecx*4 + 2]
xor esi, edx
sub esi, edx
mov edx, dword [esp + 0x3e]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3c]
add esi, eax
xor eax, eax
mov al, byte [edi + ecx*4]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add esi, eax
mov eax, dword [esp + 0x74]
cmp esi, eax
jl 0x48256e
mov edx, dword [esp + 0x78]
inc ebx
cmp ebx, ebp
jle 0x48205a
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x7c]
add ebx, eax
add eax, ebp
cmp ebx, eax
mov dword [esp + 0x34], eax
jg 0x48226c
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test eax, eax
lea ecx, [eax + esi]
jl 0x4821e7
cmp eax, edx
jg 0x4821e7
test ebx, ebx
jl 0x4821e7
cmp ebx, dword [esp + 0x70]
jg 0x4821e7
mov edx, dword [esp + 0x3d]
xor eax, eax
mov al, byte [edi + ecx*4 + 1]
and edx, 0xff
sub eax, edx
cdq
mov ebp, eax
xor eax, eax
mov al, byte [edi + ecx*4 + 2]
xor ebp, edx
sub ebp, edx
mov edx, dword [esp + 0x3e]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3c]
add ebp, eax
xor eax, eax
mov al, byte [edi + ecx*4]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
mov eax, dword [esp + 0x74]
cmp ebp, eax
jl 0x48256e
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x1c]
test ebp, ebp
lea ecx, [esi + ebp]
jl 0x48225a
cmp ebp, edx
jg 0x48225a
test ebx, ebx
jl 0x48225a
cmp ebx, dword [esp + 0x70]
jg 0x48225a
mov edx, dword [esp + 0x3d]
xor eax, eax
mov al, byte [edi + ecx*4 + 1]
and edx, 0xff
sub eax, edx
cdq
mov ebp, eax
xor eax, eax
mov al, byte [edi + ecx*4 + 2]
xor ebp, edx
sub ebp, edx
mov edx, dword [esp + 0x3e]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3c]
add ebp, eax
xor eax, eax
mov al, byte [edi + ecx*4]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
mov eax, dword [esp + 0x74]
cmp ebp, eax
jl 0x48256e
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x1c]
lea eax, [edx + 1]
inc ebx
add esi, eax
mov eax, dword [esp + 0x34]
cmp ebx, eax
jle 0x482170
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add esi, eax
mov eax, dword [esp + 0x10]
inc ecx
dec eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
lea eax, [edx + 1]
inc ebp
add esi, eax
mov eax, dword [esp + 0x30]
cmp ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
jle 0x482042
jmp 0x481fc7
cmp ax, 2
jne 0x482376
fld dword [esp + 0x10]
fcomp qword [0x5ccf10]
lea ecx, [edx - 1]
fnstsw ax
test ah, 0x41
jne 0x4822f9
test ecx, ecx
jl 0x481fc7
lea eax, [edi + ecx*4]
mov edx, dword [eax]
mov esi, dword [esp + 0x3c]
and edx, 0xffffff
cmp edx, esi
je 0x48256e
dec ecx
sub eax, 4
test ecx, ecx
jge 0x4822d8
jmp 0x481fc7
test ecx, ecx
jl 0x481fc7
mov ebx, dword [esp + 0x3e]
mov eax, dword [esp + 0x3d]
mov ebp, dword [esp + 0x3c]
and ebx, 0xff
and eax, 0xff
and ebp, 0xff
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], ebp
lea esi, [edi + ecx*4 + 1]
jmp 0x482330
mov ebp, dword [esp + 0x78]
xor eax, eax
mov al, byte [esi - 1]
sub eax, ebp
cdq
mov ebp, eax
xor eax, eax
mov al, byte [esi + 1]
xor ebp, edx
sub eax, ebx
sub ebp, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x70]
add ebp, eax
xor eax, eax
mov al, byte [esi]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
mov eax, dword [esp + 0x74]
cmp ebp, eax
jl 0x48256e
dec ecx
sub esi, 4
test ecx, ecx
jge 0x48232c
jmp 0x481fc7
cmp ax, 3
jne 0x48246e
mov ecx, ebp
cmp ebp, esi
mov dword [esp + 0x78], ecx
jl 0x481fc7
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
cmp edx, eax
mov dword [esp + 0x7c], edx
jg 0x482458
mov ebx, eax
mov eax, edx
sub ebx, eax
inc ebx
imul ebx, ecx
add eax, ebx
lea esi, [edi + eax*4]
fld dword [esp + 0x10]
fcomp qword [0x5ccf10]
lea ecx, [ebx + edx]
fnstsw ax
test ah, 0x41
jne 0x4823d8
mov eax, dword [esi]
mov ebp, dword [esp + 0x3c]
and eax, 0xffffff
cmp eax, ebp
je 0x48256e
fld dword [esp + 0x10]
fcomp qword [0x5ccf10]
fnstsw ax
test ah, 0x41
je 0x482440
mov edx, dword [esp + 0x3e]
xor eax, eax
mov al, byte [esi + 2]
and edx, 0xff
sub eax, edx
cdq
mov ebp, eax
xor eax, eax
mov al, byte [esi + 1]
xor ebp, edx
sub ebp, edx
mov edx, dword [esp + 0x3d]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3c]
add ebp, eax
xor eax, eax
mov al, byte [esi]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
mov eax, dword [esp + 0x74]
cmp ebp, eax
jl 0x48256e
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x6c]
inc edx
add esi, 4
cmp edx, eax
mov dword [esp + 0x7c], edx
jle 0x4823b1
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x68]
dec ecx
cmp ecx, eax
mov dword [esp + 0x78], ecx
jge 0x48238e
jmp 0x481fc7
cmp ax, 4
jne 0x48256a
cmp esi, ebp
mov dword [esp + 0x78], esi
jg 0x481fc7
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x7c], edx
cmp edx, eax
jl 0x482554
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
mov ebx, eax
sub ebx, esi
inc ebx
imul ebx, dword [esp + 0x78]
add eax, ebx
lea esi, [edi + eax*4]
fld dword [esp + 0x10]
fcomp qword [0x5ccf10]
lea ecx, [ebx + edx]
fnstsw ax
test ah, 0x41
jne 0x4824d4
mov eax, dword [esi]
and eax, 0xffffff
cmp eax, dword [esp + 0x3c]
je 0x48256e
fld dword [esp + 0x10]
fcomp qword [0x5ccf10]
fnstsw ax
test ah, 0x41
je 0x48253c
mov edx, dword [esp + 0x3e]
xor eax, eax
mov al, byte [esi + 2]
and edx, 0xff
sub eax, edx
cdq
mov ebp, eax
xor eax, eax
mov al, byte [esi]
xor ebp, edx
sub ebp, edx
mov edx, dword [esp + 0x3c]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3d]
add ebp, eax
xor eax, eax
mov al, byte [esi + 1]
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
mov eax, dword [esp + 0x74]
cmp ebp, eax
jl 0x48256e
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x64]
dec edx
sub esi, 4
cmp edx, eax
mov dword [esp + 0x7c], edx
jge 0x4824af
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x78]
inc eax
cmp eax, ebp
mov dword [esp + 0x78], eax
jle 0x482488
jmp 0x481fc7
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x14]
je 0x481fc7
test edi, edi
je 0x481fc7
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x64]
mov eax, ecx
sub ebx, ebp
cdq
inc ebx
idiv ebx
mov eax, ecx
mov esi, edx
cdq
idiv ebx
add esi, ebp
mov ebx, eax
mov eax, dword [esp + 0x68]
add ebx, eax
jmp 0x481fcd