Function at 0x42e2e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d86b8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x520078]
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
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp word [0x5277f0], ax
jne 0x42e32e
xor edx, edx
jmp 0x42e345
mov edx, 0x5277f0
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42e336
sub edx, ecx
sar edx, 1
push edx
push 0x5277f0
lea ecx, [ebp - 0x2c]
call fcn.00415460
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x42e546
sub esp, 0x18
lea edx, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x5c], esp
call fcn.00477560
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push str.SfxName
call fcn.00415560
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0042e000
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x64]
cmovae edx, dword [ebp - 0x2c]
call fcn.00477b20
mov si, word [ebp - 0x64]
mov ax, word [ebp - 0x5e]
mov cx, word [ebp - 0x60]
mov dx, word [ebp - 0x62]
test si, si
jne 0x42e3cd
test dx, dx
jne 0x42e3cd
test cx, cx
jne 0x42e3cd
test ax, ax
je 0x42e462
xor ebx, ebx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], bx
movzx eax, ax
push eax
movzx eax, cx
push eax
movzx eax, dx
push eax
movzx eax, si
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push str._hu._hu._hu._hu
push eax
call fcn.004228f0
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
cmp dword [ecx + 0x14], 8
jb 0x42e41c
mov eax, dword [ecx]
jmp 0x42e41e
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x44]
push edx
push eax
call fcn.00415110
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push str.SfxVersion
call fcn.00415560
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0042e000
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x42e462
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004155f0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0
push 3
push 0
push 7
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
cmp esi, 0xffffffff
je 0x42e546
push 0
push 0
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
push eax
push esi
movq qword [ebp - 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x42e4f7
push 0
push 0x989680
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.00494390
sub eax, 0xb6109100
sbb edx, 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
push edx
push eax
call fcn.00431320
sub esp, 0x10
mov byte [ebp - 4], 5
mov ecx, esp
push str.SfxCreated
call fcn.00415560
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0042e000
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
push eax
push esi
movq qword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42e53f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.00431320
sub esp, 0x10
mov byte [ebp - 4], 6
mov ecx, esp
push str.SfxSize
call fcn.00415560
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0042e000
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x42e55b
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004155f0
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.0049384c
mov esp, ebp
pop ebp
ret