Function at 0x42df45
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x42dfcb
lea eax, [ebp + 0x14]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x42dfa5
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x42df9b
mov byte [ebp - 5], 0
push 0x5134
push 0
lea eax, [ebp - 5]
push eax
call fcn.00430d2b
add esp, 0xc
jmp 0x42dfa3
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x42dfc6
push 1
push 0x6df1
push 1
push 0
push 1
push 0
push 0x3e35
push 0x32b1
call fcn.0042ca0b
add esp, 0x20
jmp 0x42e2db
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x42e04c
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x64], eax
push dword [ebp - 0x64]
push 0x40bd
push 1
call fcn.0042c401
add esp, 0xc
jmp 0x42e2db
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x42e194
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xfffffffc
je 0x42e11a
mov dword [ebp - 0x1c], 1
jmp 0x42e11e
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x78]
cmp dword [eax], 0
jne 0x42e135
mov eax, 0x7d7a760e
test eax, eax
jne 0x42e135
and dword [ebp - 0x34], 0
jmp 0x42e13c
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
je 0x42e14d
mov dword [ebp - 0x24], 1
jmp 0x42e151
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jle 0x42e164
mov dword [ebp - 0x2c], 1
jmp 0x42e168
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jle 0x42e180
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x42e180
and dword [ebp - 0x3c], 0
jmp 0x42e187
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x42e2db
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc8], eax
mov eax, 0xe446
test eax, eax
je 0x42e29f
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x42e212
mov eax, 0xc13fe662
test eax, eax
jne 0x42e212
and dword [ebp - 0x18], 0
jmp 0x42e219
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jne 0x42e22c
mov dword [ebp - 0x20], 1
jmp 0x42e230
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, dword [ebp - 0x20]
je 0x42e253
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x42e253
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x42e253
mov dword [ebp - 0x28], 1
jmp 0x42e257
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jg 0x42e26a
mov dword [ebp - 0x10], 1
jmp 0x42e26e
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jl 0x42e28c
mov dword [ebp - 0x30], 1
jmp 0x42e290
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 4
jge 0x42e29f
mov dword [ebp - 0x38], 1
jmp 0x42e2a3
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 6
jne 0x42e2b2
mov dword [ebp - 0x40], 1
jmp 0x42e2b6
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
add eax, dword [ebp - 0x40]
jne 0x42e2cc
mov dword [ebp - 0x48], 1
jmp 0x42e2d0
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret