Function at 0x10038227
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a532
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push esi
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x1003827a
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
push 0x47d0
push dword [ebp - 0x60]
push dword [ebp - 0x8c]
push 0
call fcn.1003ae9e
add esp, 0x10
jmp 0x1003857b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10038573
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x1003831f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xfffffff7
jle 0x10038571
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0x216709e1
push 4
lea ecx, [ebp - 0xac]
call fcn.1000b514
and dword [ebp - 4], 0
mov dword [ebp - 0x80], 0x2a93
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x1c], 0
jmp 0x10038368
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x10038384
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xac]
call fcn.1000b57b
mov dword [eax], 0x2a6add33
jmp 0x10038361
mov eax, dword [ebp - 0x44]
mov dword [eax], 1
xor eax, eax
inc eax
je 0x100383a1
cmp dword [ebp - 0x14], 0
je 0x100383a1
mov dword [ebp - 0x38], 1
jmp 0x100383a5
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
neg eax
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jg 0x100383ba
mov dword [ebp - 0x20], 1
jmp 0x100383be
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0x14], 0xffff
ja 0x100383fb
mov dword [ebp - 0x48], 1
jmp 0x100383ff
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jle 0x10038417
mov dword [ebp - 0x2c], 1
jmp 0x1003841b
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x2c], eax
jl 0x1003842c
mov dword [ebp - 0x58], 1
jmp 0x10038430
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x58]
jge 0x10038443
mov dword [ebp - 0x40], 1
jmp 0x10038447
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jle 0x1003845a
mov dword [ebp - 0x50], 1
jmp 0x1003845e
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x50]
jne 0x10038475
mov eax, 0x7fc7
test eax, eax
jne 0x10038475
and dword [ebp - 0x30], 0
jmp 0x1003847c
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x30]
je 0x1003848c
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jne 0x1003849a
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jne 0x1003849a
and dword [ebp - 0x18], 0
jmp 0x100384a1
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0xac]
call fcn.1000b57b
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0x9381
jne 0x100384cd
mov dword [ebp - 0x34], 1
jmp 0x100384d1
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x34]
je 0x100384ea
cmp dword [ebp - 0x80], 0
je 0x100384ea
mov dword [ebp - 0x3c], 1
jmp 0x100384ee
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x3c], eax
jne 0x10038502
mov dword [ebp - 0x88], 1
jmp 0x10038509
and dword [ebp - 0x88], 0
push 2
lea ecx, [ebp - 0xac]
call fcn.1000b57b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
cmp eax, 0x95cc
je 0x1003852e
mov dword [ebp - 0x4c], 1
jmp 0x10038532
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xffffffff
jb 0x10038541
mov dword [ebp - 0x54], 1
jmp 0x10038545
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov esi, dword [ebp - 0x5c]
push 2
mov ecx, dword [ebp - 0x90]
call fcn.1000b57b
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.1000b576
jmp 0x10038314
jmp 0x1003857b
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret