Function at 0x40d2f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464400
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x47dac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push str.data.lzma
add esi, 0x100
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00403590
add esp, 0xc
push str.data.zip
lea ecx, [ebp - 0x18]
push esi
push ecx
mov dword [ebp - 4], 0
call fcn.00403590
mov byte [ebp - 4], 1
mov esi, dword [esi]
add esp, 8
sub esi, 0x10
mov dword [ebp - 0x20], esp
mov edi, esp
push esi
call fcn.00401a80
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00403d30
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00401a80
add esp, 4
add eax, 0x10
push 0x86
mov dword [esi], eax
call fcn.0040cc80
call dword [0x47ebfc]
mov ebx, eax
mov eax, dword [ebp - 0x18]
test eax, eax
mov edi, eax
jne 0x40d3a9
mov dword [ebp - 0x1c], eax
jmp 0x40d3ef
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40d3ea
add eax, eax
mov dword [ebp - 0x1c], eax
call fcn.0044e630
mov esi, esp
test esi, esi
je 0x40d3ea
mov edx, dword [ebp - 0x1c]
push 0
push 0
push edx
push esi
push 0xffffffffffffffff
push edi
push 0
push ebx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40d3ec
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x40d43a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40d43a
lea edi, [eax + eax]
mov eax, edi
call fcn.0044e630
mov esi, esp
test esi, esi
je 0x40d43a
mov eax, dword [ebp - 0x20]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push ebx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40d43c
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov ecx, eax
call fcn.004265b0
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00401a80
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004041a0
add esp, 4
test eax, eax
jne 0x40d4bb
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d48e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d4b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40d550
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00401a80
add esp, 4
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d4f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x18]
add ecx, 0xf4
push edx
call fcn.00402c00
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d525
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d54b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448969
mov esp, ebp
pop ebp
ret 4