Function at 0x100381a3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065677
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xdc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003827e
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x10038252
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10038233
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 0x10038250
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x68]
call fcn.1001b465
mov dword [eax], 4
jmp 0x10038228
jmp 0x10038279
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x10038279
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10038569
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x10038420
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jbe 0x1003841b
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jbe 0x1003841b
mov dword [ebp - 0x48], 0x63b4
mov dword [ebp - 0xb0], 0x1000af50
cmp dword [ebp - 0x48], 0x65fb
jle 0x100383b5
and dword [ebp - 0x20], 0
jmp 0x10038343
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10cc
jge 0x100383b5
and dword [ebp - 0x24], 0
jmp 0x10038359
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3527
jge 0x100383b3
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xec]
call fcn.1000defa
pop ecx
pop ecx
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
call fcn.1001b176
push eax
call fcn.1004f7a6
pop ecx
lea ecx, [ebp - 0xec]
call fcn.1001b16c
jmp 0x10038352
jmp 0x1003833c
push 0x618f
lea eax, [ebp - 0x28]
push eax
push 0
push 0x59c5
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x88]
call fcn.10030008
add esp, 0x18
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0x602b
jge 0x100383f0
push dword [ebp - 0xb0]
call fcn.1004f7a6
pop ecx
jmp 0x1003840c
or dword [ebp - 4], 0xffffffff
jmp 0x10038416
jmp 0x10038310
jmp 0x10038569
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
push 2
pop eax
test eax, eax
je 0x100384aa
mov eax, dword [ebp - 0xa4]
cmp dword [eax], 0
je 0x100384aa
mov dword [ebp - 0x2c], 1
jmp 0x100384ae
and dword [ebp - 0x2c], 0
push 3
mov ecx, dword [ebp - 0x14]
call fcn.1001b465
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jg 0x100384dc
mov dword [ebp - 0xb4], 1
jmp 0x100384e3
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001b465
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001b465
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0x819d3388
jne 0x10038518
mov dword [ebp - 0x3c], 1
jmp 0x1003851c
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001b465
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
jne 0x10038539
mov dword [ebp - 0x44], 1
jmp 0x1003853d
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001b465
mov eax, dword [eax]
cmp eax, dword [ebp - 0x44]
je 0x1003855a
mov dword [ebp - 0x4c], 1
jmp 0x1003855e
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret