Function at 0x42f02e
Capabilities:
Get file size

Disassembly:
push 0x2ac
mov eax, 0x46d3bf
call fcn.0043b363
mov edi, ecx
mov dword [ebp - 0x2b0], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x260]
mov ebx, dword [ebp + 0xc]
push eax
call fcn.004021e0
xor esi, esi
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], esi
mov word [ebp - 0x248], ax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.0043bad0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
setne al
test al, al
jne 0x42f0dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x18
mov ecx, esp
push str.GetModuleFileName
call fcn.00402a51
lea ecx, [ebp - 0x280]
call fcn.0045b3cc
push 0x4943c0
lea eax, [ebp - 0x280]
push eax
call fcn.0043f14b
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], esi
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x42f102
mov eax, esi
jmp 0x42f10f
lea eax, [ebp - 0x218]
push eax
call fcn.004402a6
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040299b
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0045a4b1
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.0040218f
push esi
push 1
lea ecx, [ebp - 0x278]
call fcn.00402f3e
push esi
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00402f3e
push 0x4897e8
call fcn.004402a6
pop ecx
push eax
push 0x4897e8
lea ecx, [ebp - 0x248]
call fcn.004023d6
push 0xffffffffffffffff
push esi
push ebx
lea ecx, [ebp - 0x248]
call fcn.00402490
or dword [ebp - 0x2a0], 0xffffffff
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.00469265
push 4
pop ebx
mov byte [ebp - 4], bl
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x248]
sub esp, 0xc
push eax
call fcn.00430091
test al, al
jne 0x42f201
sub esp, 0x18
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.004021e0
lea ecx, [ebp - 0x27c]
call fcn.0045b655
push 0x4943b0
lea eax, [ebp - 0x27c]
jmp 0x42f0d6
push 2
push dword [ebp - 0x2a0]
lea ecx, [ebp - 0x224]
call fcn.004692d0
test al, al
jne 0x42f23b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x2a0]
mov esi, eax
call fcn.004300d2
push esi
sub esp, 0x18
mov ecx, esp
push str.CreateFileMapping
jmp 0x42f0bb
push esi
push esi
push esi
push ebx
lea ecx, [ebp - 0x224]
call fcn.0046933e
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x29c], ebx
setne cl
test cl, cl
jne 0x42f289
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x224]
mov esi, eax
call fcn.00469381
lea ecx, [ebp - 0x2a0]
call fcn.004300d2
push esi
sub esp, 0x18
mov ecx, esp
push 0x48a540
jmp 0x42f0bb
cmp dword [ebp - 0x2a0], 0xffffffff
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2b4], esi
je 0x42f2b1
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov esi, dword [ebp - 0x2b8]
lea eax, [edi + 0x74]
add esi, 0xfffff400
mov ecx, 0x300
add esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
cmp dword [eax], 0x19860404
je 0x42f314
test ebx, ebx
je 0x42f2e3
push ebx
lea ecx, [ebp - 0x224]
call fcn.004693b9
lea ecx, [ebp - 0x224]
call fcn.00469381
lea ecx, [ebp - 0x2a0]
call fcn.004300d2
lea ecx, [ebp - 0x29c]
call fcn.0045be53
push 0x4943a0
lea eax, [ebp - 0x29c]
jmp 0x42f0d6
mov edi, dword [ebp - 0x2b0]
xor esi, esi
mov eax, dword [ebp - 0x2b8]
mov ecx, esi
add eax, 0xfffffffc
add eax, ebx
mov edx, dword [edi + 0x288]
add edx, ebx
mov dword [ebp - 0x2a8], eax
cmp eax, edx
jbe 0x42f34c
sub eax, edx
push eax
call fcn.00432a1b
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x2a8]
cmp ecx, dword [eax]
je 0x42f356
test ebx, ebx
je 0x42f2e3
jmp 0x42f2d7
mov eax, dword [edi + 0x278]
xor ecx, ecx
add eax, ebx
mov dword [ebp - 0x2a4], eax
push 4
pop edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x2a8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043b0ea
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], eax
pop ecx
mov ecx, esi
test edx, edx
je 0x42f3bc
mov ebx, dword [ebp - 0x2a4]
mov edi, eax
push 4
add ebx, 0xc
pop esi
mov eax, dword [ebx]
add ebx, esi
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, edx
jb 0x42f3a2
mov ebx, dword [ebp - 0x29c]
xor esi, esi
mov edi, dword [ebp - 0x2b0]
mov eax, dword [ebp - 0x2a4]
lea ecx, [eax + ecx*4]
mov dword [ebp - 0x2a4], ecx
test edx, edx
je 0x42f407
mov ebx, esi
mov eax, dword [ebp - 0x2ac]
add ecx, 0xc
mov eax, dword [eax + ebx*4]
add ecx, eax
je 0x42f3f6
lea eax, [edi + 0xc74]
push eax
push ecx
call fcn.00465b9f
mov edx, dword [ebp - 0x2a8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2a4]
inc ebx
cmp ebx, edx
jb 0x42f3d1
mov ebx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x42f418
push eax
call fcn.0043aeb5
pop ecx
mov ecx, dword [edi + 0x280]
add ecx, ebx
je 0x42f431
lea eax, [edi + 0xc8c]
push eax
push ecx
call fcn.00465b9f
pop ecx
pop ecx
mov eax, dword [edi + 0x288]
add eax, ebx
cmp dword [eax], 1
jne 0x42f350
push dword [eax + 4]
add eax, 8
lea ecx, [edi + 0x54]
push eax
call fcn.00430234
mov eax, dword [edi + 0x290]
add eax, ebx
cmp dword [eax], 2
jne 0x42f350
push dword [eax + 4]
add eax, 8
lea ecx, [edi + 0x64]
push eax
call fcn.00430234
mov byte [ebp - 0x295], al
test ebx, ebx
je 0x42f487
push ebx
lea ecx, [ebp - 0x224]
call fcn.004693b9
lea ecx, [ebp - 0x224]
call fcn.00469381
lea ecx, [ebp - 0x2a0]
call fcn.004300d2
lea ecx, [ebp - 0x224]
call fcn.0046928b
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 1
call fcn.004300d2
mov bl, byte [ebp - 0x295]
test bl, bl
je 0x42f591
mov eax, dword [edi]
lea ecx, [ebp - 0x260]
push ecx
mov ecx, edi
call dword [eax + 0x14]
mov byte [ebp - 0x295], al
test al, al
lea eax, [ebp - 0x260]
jne 0x42f575
cmp dword [ebp - 0x24c], 8
cmovae eax, dword [ebp - 0x260]
push eax
push str.Uninstall_Path_Error__s___No_SE_App_Found
push 3
push dword [0x49b94c]
call fcn.00463fe5
xor eax, eax
mov dword [ebp - 0x21c], 7
add esp, 0x10
mov dword [ebp - 0x220], esi
mov edi, 0x47b758
mov word [ebp - 0x230], ax
cmp word [0x47b758], ax
je 0x42f53b
push edi
call fcn.004402a6
pop ecx
mov esi, eax
push esi
push edi
lea ecx, [ebp - 0x230]
call fcn.0040299b
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x294]
call fcn.0045bd7f
push 0x494390
lea eax, [ebp - 0x294]
jmp 0x42f0d6
lea ecx, [edi + 0x38]
cmp ecx, eax
je 0x42f58b
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x260]
push eax
call fcn.00402789
mov bl, byte [ebp - 0x295]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
push esi
push 1
lea ecx, [ebp - 0x248]
call fcn.00402f3e
push esi
push 1
lea ecx, [ebp - 0x260]
call fcn.00402f3e
mov al, bl
call fcn.0043b30d
ret 8