Function at 0x419b90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acd25
mov eax, dword fs:[0]
push eax
sub esp, 0x868
mov eax, dword [0x677e70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84c], ecx
mov esi, dword [ebp + 8]
push ecx
push 0x651bdc
push 0
mov dword [ebp - 0x82c], esi
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x419c4e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x419c48
push ecx
push 0x651bec
push esi
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x82c]
mov dword [ebp - 0x828], 0
lea eax, [ebp - 0x828]
mov dword [ebp - 4], 0
push eax
push 0x5b9f98
push 1
push 0
push 0x5b9fa8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x419c85
mov ecx, eax
call fcn.0042d800
xor eax, eax
lea ecx, [ebp - 0x874]
push esi
mov word [ebp - 0x874], ax
call fcn.00413f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x830]
mov eax, dword [ebp - 0x828]
movups xmm0, xmmword [ebp - 0x874]
push ecx
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0xe8]
test eax, eax
jns 0x419cce
mov ecx, eax
call fcn.0042d800
lea eax, [ebp - 0x874]
mov byte [ebp - 4], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp word [ebp - 0x830], 0
jne 0x419d07
push ecx
push 0x651c0c
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov esi, 0x80004005
jmp 0x41a27b
mov dword [ebp - 0x844], 0
mov dword [ebp - 0x854], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x844]
mov eax, dword [ebp - 0x828]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
test eax, eax
jns 0x419d40
mov ecx, eax
call fcn.0042d800
mov edi, dword [ebp - 0x844]
mov dword [ebp - 0x848], edi
test edi, edi
je 0x41a299
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [ebp - 0x854], edi
test edi, edi
je 0x41a299
mov dword [ebp - 0x820], 0
mov byte [ebp - 4], 4
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x419d8b
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x840], eax
mov byte [ebp - 4], 5
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x419db4
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x834], esi
mov byte [ebp - 4], 6
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x419ddd
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x83c], 0
mov dword [ebp - 0x838], 0
lea eax, [ebp - 0x864]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x864], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x820]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1c]
test eax, eax
jns 0x419e48
mov ecx, eax
call fcn.0042d800
mov eax, dword [ebp - 0x820]
test eax, eax
jne 0x419e56
xor edx, edx
jmp 0x419e74
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x850], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x419e61
sub edx, dword [ebp - 0x850]
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x840]
call fcn.00404b60
push dword [ebp - 0x820]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x840]
mov ecx, str.AutoUpdate
mov dword [ebp - 0x820], 0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419ec8
test dx, dx
je 0x419ec4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419ec8
add eax, 4
add ecx, 4
test dx, dx
jne 0x419ea2
xor eax, eax
jmp 0x419ecd
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x419ef4
push ecx
push str.ERROR__data_error
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov ecx, 0x80004005
call fcn.0042d800
mov eax, dword [edi]
lea ecx, [ebp - 0x83c]
push ecx
push edi
call dword [eax + 0x44]
test eax, eax
jns 0x419f0c
mov ecx, eax
call fcn.0042d800
mov edi, dword [ebp - 0x83c]
test edi, edi
je 0x419fa2
push str.version
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x850], esi
test esi, esi
jne 0x419f3b
push 0x8007000e
call fcn.00404b10
lea ecx, [ebp - 0x838]
mov byte [ebp - 4], 0xd
mov eax, dword [edi]
push ecx
push esi
push edi
call dword [eax + 0x1c]
push esi
mov byte [ebp - 4], 0xc
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x838]
lea edx, [ebp - 0x864]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edx, dword [ebp - 0x85c]
test edx, edx
jne 0x419f79
xor ecx, ecx
jmp 0x419f8f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419f80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x82c]
call fcn.00404b60
mov esi, dword [ebp - 0x834]
mov edi, dword [ebp - 0x848]
lea ecx, [ebp - 0x81c]
push ecx
push edi
mov eax, dword [edi]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x81c]
test eax, eax
je 0x41a18e
mov ecx, dword [eax]
lea edx, [ebp - 0x820]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x820]
test eax, eax
jne 0x419fde
xor edx, edx
jmp 0x419ff2
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x419fe3
sub edx, esi
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x834]
call fcn.00404b60
push dword [ebp - 0x820]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp - 0x834]
mov ecx, 0x651c20
mov dword [ebp - 0x820], 0
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a048
test dx, dx
je 0x41a044
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a048
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a022
xor eax, eax
jmp 0x41a04d
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x41a074
push dword [ebp - 0x81c]
mov ecx, dword [ebp - 0x84c]
call fcn.0041a9b0
test eax, eax
js 0x419c7e
jmp 0x41a115
mov ecx, str.Module
mov eax, esi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a0a6
test dx, dx
je 0x41a0a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a0a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a080
xor eax, eax
jmp 0x41a0ab
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x41a0cf
push dword [ebp - 0x81c]
mov ecx, dword [ebp - 0x84c]
call fcn.0041b140
test eax, eax
js 0x419c7e
jmp 0x41a115
push esi
lea eax, [ebp - 0x818]
push 0x651c30
push eax
call fcn.0040cfa0
add esp, 8
mov byte [ebp - 4], 0xe
push dword [eax]
push 2
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x810]
mov eax, dword [ebp - 0x818]
cmp eax, ecx
je 0x41a115
push eax
call fcn.0053eac5
add esp, 4
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x41a12f
mov dword [ebp - 0x824], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x81c]
lea edx, [ebp - 0x824]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov ecx, dword [ebp - 0x824]
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x848], ecx
cmp eax, ecx
je 0x41a186
test ecx, ecx
je 0x41a168
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp - 0x81c]
mov ecx, eax
mov eax, dword [ebp - 0x848]
mov dword [ebp - 0x81c], eax
test ecx, ecx
je 0x41a186
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x81c]
test eax, eax
jne 0x419fc3
lea eax, [ebp - 0x864]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x838]
test eax, eax
je 0x41a1af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x83c]
test eax, eax
je 0x41a1c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x41a1d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x81c]
test eax, eax
je 0x41a1eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
or ecx, 0xffffffff
mov edx, dword [ebp - 0x82c]
mov eax, ecx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a212
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41a230
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x840]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41a24f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x820]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 2
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x844]
test eax, eax
je 0x41a279
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x828]
test ecx, ecx
je 0x41a292
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x419c2b
call fcn.0042d760
int3