Function at 0x423640
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee75d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x54d104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x6c], edi
mov eax, 0x554e00
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4236a0
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
push 0x554e00
call fcn.0040a960
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x423960
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
push edx
push eax
call fcn.0048b020
sub esp, 0x10
mov byte [ebp - 4], 1
mov ecx, esp
xorps xmm0, xmm0
push 7
movups xmmword [ecx], xmm0
push str.SfxName
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040a960
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00423590
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x64]
call fcn.0048c6d0
cmp word [ebp - 0x64], 0
mov cx, word [ebp - 0x5e]
mov dx, word [ebp - 0x60]
jne 0x42374c
cmp word [ebp - 0x62], 0
jne 0x42374c
test dx, dx
jne 0x42374c
test cx, cx
jne 0x42374c
xor al, al
jmp 0x42374e
mov al, 1
test al, al
je 0x4237e5
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x44], ax
movzx esi, cx
lea eax, [ebp - 0x44]
push esi
mov byte [ebp - 4], 2
movzx ecx, word [ebp - 0x62]
movzx edx, dx
push edx
mov dword [ebp - 0x68], eax
movzx eax, word [ebp - 0x64]
push ecx
push eax
lea eax, [ebp - 0x68]
push 0x52a3b8
push eax
call fcn.0040d3f0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x5c], esp
mov ecx, esp
push eax
call fcn.0040d770
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
xorps xmm0, xmm0
push 0xa
movups xmmword [ecx], xmm0
push str.SfxVersion
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040a960
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00423590
lea ecx, [ebp - 0x44]
call fcn.0040aa40
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 - 0x48], esi
mov byte [ebp - 4], 4
cmp esi, 0xffffffff
je 0x423960
push 0
push 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push esi
mov dword [ebp - 0x4c], 0
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4238fb
mov eax, dword [ebp - 0x50]
mov edx, 0xe57a42bd
mul edx
mov eax, dword [ebp - 0x50]
mov ecx, 0xd6bf94d5
mov edi, edx
sub esp, 0x18
mul ecx
mov ecx, 0xe57a42bd
mov dword [ebp - 0x5c], esp
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], edx
mul ecx
mov dword [ebp - 0x60], esp
mov ecx, eax
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x4c]
mov edx, 0xd6bf94d5
mul edx
add ecx, edi
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x80]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x68]
adc edx, 0
add eax, ecx
mov ecx, dword [ebp - 0x7c]
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [ebp - 0x74]
adc eax, eax
add edi, edx
adc ecx, eax
shrd edi, ecx, 0x17
shr ecx, 0x17
sub edi, 0xb6109100
sbb ecx, 2
push ecx
mov ecx, dword [ebp - 0x5c]
push edi
call fcn.00422ef0
sub esp, 0x10
mov byte [ebp - 4], 5
mov ecx, esp
xorps xmm0, xmm0
push 0xa
movups xmmword [ecx], xmm0
push str.SfxCreated
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040a960
mov edi, dword [ebp - 0x6c]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00423590
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
push eax
push esi
movlpd qword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x423959
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.00422ef0
sub esp, 0x10
mov byte [ebp - 4], 6
mov ecx, esp
xorps xmm0, xmm0
push 7
movups xmmword [ecx], xmm0
push str.SfxSize
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040a960
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00423590
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.0040aa40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret