Function at 0x1002ea6d
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x1002ea97
push 1
push 0x6005
push 0x596
call fcn.1002ecfe
add esp, 0xc
jmp 0x1002ecfa
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x1002eb02
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1002ecfa
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 1
jne 0x1002ebb4
mov dword [ebp - 0x54], 1
jmp 0x1002ebb8
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
push 3
mov ecx, dword [ebp - 0x5c]
call fcn.100270e2
cmp dword [eax], 0
jne 0x1002ebdb
mov dword [ebp - 0x28], 1
jmp 0x1002ebdf
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0x870b
jne 0x1002ebf1
mov dword [ebp - 0x64], 1
jmp 0x1002ebf5
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xfffffffb
jae 0x1002ec11
mov dword [ebp - 0x6c], 1
jmp 0x1002ec15
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x1002ec4a
mov eax, 0xb601
test eax, eax
jne 0x1002ec4a
mov eax, 0xaac5da29
test eax, eax
jne 0x1002ec4a
and dword [ebp - 0x18], 0
jmp 0x1002ec51
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jle 0x1002ec64
mov dword [ebp - 0x74], 1
jmp 0x1002ec68
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x1002ec88
mov dword [ebp - 0x10], 1
jmp 0x1002ec8c
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jg 0x1002eca7
mov dword [ebp - 0x7c], 1
jmp 0x1002ecab
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x84]
imul eax, dword [eax], 0xdb29
test eax, eax
je 0x1002ecd8
mov eax, 0x4433f2f1
test eax, eax
je 0x1002ecd8
mov dword [ebp - 0x24], 1
jmp 0x1002ecdc
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 6
ja 0x1002eceb
mov dword [ebp - 0x2c], 1
jmp 0x1002ecef
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret