Function at 0x40143b
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
push ebx
mov esi, 0x2217
mov eax, esi
shl eax, 8
mov edi, eax
mov eax, esi
shl eax, 0x10
mov edi, eax
mov ebx, 0x16e2
movzx eax, word [ebp - 4]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [0x426095]
mov dword [ebp - 0xc], eax
mov eax, edi
imul eax, eax, 0x90d
sub edi, eax
cmp esi, 0x2217
je 0x401487
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0x10], edi
mov word [ebp - 4], 0x392e
mov dword [ebp - 8], 0x4540
mov eax, dword [ebp + 8]
imul eax, eax, 0x2bc8
sub eax, ebx
mov dword [ebp - 8], eax
mov eax, dword [0x426095]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, edi
imul eax, eax, 0x49bc
mov edx, esi
sub edx, eax
mov dword [ebp - 0x10], edx
mov eax, edi
xor eax, 0x21a0
mov dword [ebp - 0x10], eax
movzx eax, word [ebp - 4]
or eax, 0x70fd
xor eax, ebx
mov word [ebp - 4], ax
mov eax, dword [ebp + 0xc]
xor eax, 0x18df
movzx edx, word [ebp - 4]
sub edx, eax
mov word [ebp - 4], dx
mov eax, dword [ebp + 0x10]
movzx edx, word [ebp - 4]
and eax, edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x20488
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
or eax, 0x3fd8
mov ebx, eax
mov eax, dword [ebp + 0xc]
sub eax, 0x2623
mov dword [ebp - 8], eax
movzx eax, word [ebp - 4]
xor eax, 0x7d5c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x401805
mov dword [ebp - 8], 0x3b23
mov eax, dword [ebp - 8]
or eax, dword [ebp + 0x10]
sub eax, 0x64cd
mov word [ebp - 4], ax
cmp dword [ebp - 0x18], 8
jge 0x4015ec
mov eax, dword [ebp + 0x10]
sub eax, 0x1a87
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
mov eax, ebx
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor eax, eax
mov ebx, eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
sub eax, 0x16c6
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, ebx
mov word [ebp - 4], ax
mov eax, dword [ebp + 8]
xor eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
add edx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x7b9c
mov word [ebp - 4], ax
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 8]
add eax, 0x661b
mov ebx, eax
mov dword [ebp - 8], 0x2c0
mov eax, dword [ebp + 8]
xor eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
imul edx, eax
mov dword [ebp - 8], edx
jmp 0x401800
movzx eax, word [ebp - 4]
mov dword [ebp - 8], eax
mov eax, ebx
mov word [ebp - 4], ax
mov ebx, 0x43d2
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
shl eax, 0x18
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
and eax, 0x22d8
sub eax, 0x46a4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
shl eax, 0x10
mov dword [ebp - 0x20], eax
movzx eax, word [ebp - 4]
xor eax, 0x5c96
and eax, dword [ebp + 0xc]
mov word [ebp - 4], ax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor eax, dword [ebp + 0x10]
sub eax, 0x2655
mov ebx, eax
mov eax, dword [ebp + 0xc]
xor eax, ebx
mov word [ebp - 4], ax
mov eax, ebx
add eax, 0x3bb2
mov word [ebp - 4], ax
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
shl eax, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0x78e3
movzx eax, word [ebp - 4]
add eax, dword [ebp - 8]
mov word [ebp - 4], ax
mov eax, dword [ebp - 8]
and eax, eax
mov word [ebp - 4], ax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
add eax, edx
mov dword [ebp - 0x1c], eax
mov word [ebp - 4], 0x4668
mov ebx, 0x54fe
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x1c68
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
xor eax, 0x4e90
mov word [ebp - 4], ax
mov eax, dword [ebp + 0x10]
mov word [ebp - 4], ax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0xc]
xor eax, 0x3165
add eax, 0x3fec
mov word [ebp - 4], ax
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x1c]
jne 0x401710
mov eax, dword [ebp + 0x10]
xor eax, dword [ebp + 8]
mov word [ebp - 4], ax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
cmp eax, dword [ebp - 0x1c]
jne 0x401710
mov dword [ebp - 8], 0x3d29
mov dword [ebp - 0x20], 1
movzx eax, word [ebp - 4]
and eax, dword [ebp + 0x10]
xor eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40176f
movzx eax, word [ebp - 4]
xor eax, 0x79f0
mov word [ebp - 4], ax
movzx eax, word [ebp - 4]
xor eax, 0x7d20
and eax, ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
sub eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebp + 0xc]
xor eax, ebx
mov word [ebp - 4], ax
mov eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
jmp 0x401800
mov eax, dword [ebp + 0xc]
or eax, 0x67b7
mov word [ebp - 4], ax
movzx eax, word [ebp - 4]
or eax, dword [ebp + 8]
sub ebx, eax
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
mov eax, dword [ebp + 0x10]
imul eax, eax, 0x4fd7
mov ebx, eax
movzx eax, word [ebp - 4]
xor eax, 0x706d
add eax, 0x5a79
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
movzx eax, word [ebp - 4]
mov ebx, eax
mov eax, dword [ebp + 8]
xor eax, 0x9fe
add eax, 0x659e
mov word [ebp - 4], ax
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
imul eax, ebx
mov dword [ebp - 8], eax
movzx eax, word [ebp - 4]
mov word [ebp - 4], ax
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
mov eax, ebx
movzx edx, word [ebp - 4]
and eax, edx
mov ebx, eax
jmp 0x40152a
mov esi, edi
mov eax, esi
add eax, edi
mov dword [ebp - 0x10], eax
mov eax, edi
shl eax, 0x10
mov esi, eax
mov dword [ebp - 8], 0x49b1
mov ebx, ebx
mov eax, dword [ebp - 0x14]
sub eax, dword [0x426095]
shr eax, 3
mov dword [0x42609d], eax
mov eax, esi
xor eax, edi
sub eax, 0x1dbe
mov esi, eax
mov eax, dword [ebp - 0x10]
or eax, 0x1fd5
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x58ad
cmp edi, 0x97ec0000
je 0x401866
push esi
push 0x1d97
push dword [ebp - 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp esi, 0x97ebe242
je 0x40187e
push 0x35853
push 0xdcadf
call dword [sym.imp.MSVCRT.dll__ctime64]
mov eax, dword [ebp + 8]
xor eax, 0x5176
imul ebx, eax
mov eax, dword [ebp - 8]
add eax, 0xffffd329
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, edi
shl eax, 0x10
mov edi, eax
mov dword [ebp - 0x10], esi
movzx eax, word [ebp - 4]
mov dword [ebp - 8], eax
mov eax, ebx
movzx edx, word [ebp - 4]
or eax, edx
mov edx, dword [ebp - 8]
imul edx, eax
mov ebx, edx
call fcn.00402bd8
mov word [ebp - 4], ax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc