Function at 0x474560
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a7d5
mov eax, dword fs:[0]
push eax
mov eax, 0x17e8
call fcn.00456950
mov eax, dword [0x4a6a04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4745d4
sub ecx, edx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0040cef0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.0040bdf0
lea ecx, [ebp - 0x230]
call fcn.0040b7e0
push 0x10
push str.Uninstallinf.dat
lea ecx, [ebp - 0x230]
call fcn.0040cfe0
xorps xmm0, xmm0
mov dword [ebp - method.CFile.virtual_0], vtable.CFile.0
mov byte [ebp - 0x24c], 0
movlpd qword [ebp - 0x278], xmm0
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 1
call fcn.00475c80
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x290], eax
cmp eax, 0xffffffff
jne 0x474697
mov bh, byte [ebp - 0x24c]
xor esi, esi
xor bl, bl
jmp 0x474895
lea ecx, [ebp - 0x17f4]
mov byte [ebp - 0x24c], 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 0x17f4]
xor ecx, ecx
add ecx, eax
xorps xmm0, xmm0
push 0x1550
adc edx, 0
mov dword [ebp - 0x278], ecx
lea eax, [ebp - 0x17e8]
mov dword [ebp - 0x260], ecx
push eax
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x274], edx
movlpd qword [ebp - 0x270], xmm0
movlpd qword [ebp - 0x268], xmm0
mov dword [ebp - 0x25c], edx
call fcn.00475b80
movzx eax, byte [ebp - 0x24c]
sub eax, 1
je 0x474763
sub eax, 1
je 0x47473a
sub eax, 1
jne 0x474732
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x288]
test eax, eax
je 0x474732
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x288], 0
mov esi, dword [ebp - 0x290]
jmp 0x474778
cmp byte [ebp - 0x24b], 0
je 0x474732
push dword [ebp - 0x254]
call fcn.0044efd0
mov esi, dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x254], 0
jmp 0x474778
mov esi, dword [ebp - 0x290]
test esi, esi
je 0x474778
push esi
call edi
xor esi, esi
mov dword [ebp - 0x290], esi
xor bh, bh
mov dword [ebp - 0x17f0], 0
mov byte [ebp - 0x24c], bh
mov dword [ebp - 0x17ec], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1558]
mov dword [ebp - 0x248], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], bh
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4747c5
sub ecx, edx
lea eax, [ebp - 0x1558]
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.0040cef0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x17f0]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x474802
push eax
call edi
mov dword [ebp - 0x17f0], 0
cmp dword [ebp - 0x234], 0x10
lea ecx, [ebp - 0x17f0]
push ecx
push 0xf003f
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [ebp - 0x17ec], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x234]
sete bl
cmp eax, 0x10
jb 0x474874
mov ecx, dword [ebp - 0x248]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x47486b
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x47492d
push ecx
call fcn.0044efd0
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x17f0]
test eax, eax
je 0x47488f
push eax
call edi
mov dword [ebp - 0x17f0], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bh
mov byte [ebp - 4], 0
sub eax, 1
je 0x4748d7
sub eax, 1
je 0x4748be
sub eax, 1
jne 0x4748de
mov eax, dword [ebp - 0x288]
test eax, eax
je 0x4748de
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4748de
cmp byte [ebp - 0x24b], 0
je 0x4748de
push dword [ebp - 0x254]
call fcn.0044efd0
add esp, 4
jmp 0x4748de
test esi, esi
je 0x4748de
push esi
call edi
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x47490f
mov ecx, dword [ebp - 0x230]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x474906
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x474932
push ecx
call fcn.0044efd0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455d51
mov esp, ebp
pop ebp
ret
call fcn.0045d555
call fcn.0045d555
int3