Function at 0x10038eea
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a926
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 + 0x1c]
test eax, eax
je 0x1003921f
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x5c], 0x54be
mov dword [ebp - 0x6c], 0x10008a78
cmp dword [ebp - 0x5c], 0x55f3
jle 0x10038fd0
and dword [ebp - 0x20], 0
jmp 0x10038f49
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7e35
jge 0x10038fd0
and dword [ebp - 0x24], 0
jmp 0x10038f5f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7a94
jge 0x10038fcb
and dword [ebp - 0x1c], 0
jmp 0x10038f75
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7fa1
jge 0x10038fc9
and dword [ebp - 0x2c], 0
jmp 0x10038f8b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x56b
jge 0x10038fc7
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
mov ecx, 0x10612298
call fcn.1001691a
jmp 0x10038f84
jmp 0x10038f6e
jmp 0x10038f58
jmp 0x10038f42
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xac], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x5458
jge 0x10038ff3
mov edx, dword [ebp - 0x6c]
mov ecx, 0x10612298
call fcn.1001b11e
jmp 0x1003900f
or dword [ebp - 4], 0xffffffff
jmp 0x10039019
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x10039082
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x1003907d
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1003921a
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
push 0
mov ecx, dword [ebp - 0x18]
call fcn.10016ca1
mov dword [ebp - 0x44], eax
push 0
mov ecx, dword [ebp - 0x18]
call fcn.10016ca1
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 0x18]
call fcn.10016ca1
mov esi, eax
push 0
mov ecx, dword [ebp - 0x18]
call fcn.10016ca1
mov eax, dword [eax]
cmp eax, dword [esi]
jle 0x10039135
mov dword [ebp - 0x54], 1
jmp 0x10039139
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
neg eax
neg eax
je 0x100391bb
push 0
mov ecx, dword [ebp - 0x18]
call fcn.10016ca1
mov ecx, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jle 0x10039168
mov dword [ebp - 0x3c], 1
jmp 0x1003916c
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0xa017779a
je 0x1003917e
mov dword [ebp - 0x40], 1
jmp 0x10039182
and dword [ebp - 0x40], 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.10016ca1
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
je 0x1003919c
mov dword [ebp - 0x34], 1
jmp 0x100391a0
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jl 0x100391bb
mov dword [ebp - 0x48], 1
jmp 0x100391bf
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jne 0x100391d2
mov dword [ebp - 0x50], 1
jmp 0x100391d6
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x50], eax
je 0x100391e9
mov dword [ebp - 0x58], 1
jmp 0x100391ed
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0x951a
jg 0x100391fc
mov eax, dword [ebp - 0x60]
cmp dword [eax], 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.10016ca1
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10039300
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa0], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x100392e3
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
jmp 0x1003926d
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0xfffffff3
jle 0x100392e1
push 1
lea ecx, [ebp - 0xc8]
call fcn.10016c23
mov dword [ebp - 4], 2
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0x17ad
push 1
push 0
push 0x260f
call fcn.1003d4c1
add esp, 0x18
push 0
lea ecx, [ebp - 0xc8]
call fcn.10016ca1
cmp dword [eax], 0
je 0x100392d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.10016c85
jmp 0x100392e1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.10016c85
jmp 0x10039262
jmp 0x10039300
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10039300
push 0
push 0x44fe
push 1
call fcn.1003bfb4
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret