Function at 0x1003eda7
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100651a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003f079
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xb4], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x1003ee4d
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
mov dword [eax + 0x10], 1
jmp 0x1003f074
mov dword [ebp - 0x2c], 0x5047
mov dword [ebp - 0x94], 0x10008718
cmp dword [ebp - 0x2c], 0x53c0
jle 0x1003eec1
and dword [ebp - 0x20], 0
jmp 0x1003ee74
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6a17
jge 0x1003eec1
and dword [ebp - 0x24], 0
jmp 0x1003ee8a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x68d
jge 0x1003eebf
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
mov ecx, 0x1060b7d8
call fcn.1000bf1a
jmp 0x1003ee83
jmp 0x1003ee6d
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x4f3c
jge 0x1003eee4
mov edx, dword [ebp - 0x94]
mov ecx, 0x1060b7d8
call fcn.1000dba3
jmp 0x1003ef00
or dword [ebp - 4], 0xffffffff
jmp 0x1003ef0a
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x60]
mov dword [eax], 0x12aa
mov eax, dword [ebp - 0x68]
mov dword [eax], 0x12aa
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x12aa
jg 0x1003efac
mov dword [ebp - 0x40], 1
jmp 0x1003efb0
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jle 0x1003efc3
mov dword [ebp - 0x38], 1
jmp 0x1003efc7
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x38]
xor edx, edx
sub edx, ecx
add edx, 0xe045
cmp edx, dword [eax]
je 0x1003efea
mov dword [ebp - 0x30], 1
jmp 0x1003efee
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jge 0x1003f001
mov dword [ebp - 0x28], 1
jmp 0x1003f005
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jle 0x1003f028
mov dword [ebp - 0x34], 1
jmp 0x1003f02c
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
imul ecx, dword [ebp - 0x34], 0xfffffff7
cmp ecx, dword [eax]
jle 0x1003f044
push 4
pop eax
test eax, eax
jne 0x1003f044
and dword [ebp - 0x3c], 0
jmp 0x1003f04b
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jl 0x1003f063
xor eax, eax
inc eax
je 0x1003f063
mov dword [ebp - 0x44], 1
jmp 0x1003f067
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
jmp 0x1003f10e
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x1003f0ab
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1003f10e
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1003f0ee
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
jge 0x1003f10e
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0xb0]
call fcn.1000c0cd
mov dword [eax], 0xa049
jmp 0x1003f0e3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret