Function at 0x40e270
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43b79b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x44aba4]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44aba4]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov eax, dword [esp + 0x274]
mov esi, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
xor ebx, ebx
cmp ecx, ebx
je 0x40e36b
add eax, 0xfffffff0
push eax
call fcn.004156a0
lea ecx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x268], ebx
mov edx, dword [ecx - 0xc]
lea eax, [edx - 1]
cmp eax, ebx
jl 0x40e5ab
cmp eax, edx
jg 0x40e5ab
mov al, byte [eax + ecx]
cmp al, 0x5c
je 0x40e30e
push 1
push 0x4429f0
lea ecx, [esp + 0x20]
call fcn.004149f0
cmp byte [esp + 0x270], 1
lea ecx, [esp + 0x18]
jne 0x40e325
push 0x17
push str.UpdatePackageConfig.zip
jmp 0x40e32c
push 0x11
push str.UpdatePackage.zip
call fcn.004149f0
mov edi, dword [esp + 0x18]
push edi
call fcn.0040cb50
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x40e395
mov dword [esp + 0x268], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e36b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004200b3
add esp, 0x258
ret
cmp dword [ebp], 1
mov eax, dword [esi]
je 0x40e3a9
mov dword [0x44f19c], 0x80000
jmp 0x40e3b6
mov esi, dword [ebp + 4]
call fcn.0040bf40
mov dword [0x44f19c], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], bl
mov dword [esp + 0x14c], ebx
cmp dword [ebp], 1
je 0x40e3d9
mov dword [0x44f19c], 0x80000
jmp 0x40e457
mov esi, dword [ebp + 4]
mov ecx, dword [esi]
or edx, 0xffffffff
cmp dword [ecx + 4], edx
jg 0x40e3ed
mov ecx, 0x10000
jmp 0x40e451
cmp dword [esi + 4], edx
je 0x40e400
mov edi, ecx
call fcn.0040bdb0
mov edi, dword [esp + 0x18]
or edx, 0xffffffff
mov ecx, dword [esi]
mov dword [esi + 4], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], bl
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], ebx
xor ecx, ecx
mov dword [0x44f19c], ecx
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x20], eax
jle 0x40e4d0
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0x14c], ebx
cmp dword [ebp], 1
je 0x40e482
mov dword [0x44f19c], 0x80000
jmp 0x40e495
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x24]
push edx
push esi
call fcn.0040bfa0
mov dword [0x44f19c], eax
cmp dword [ebp], 1
jne 0x40e4e9
mov eax, dword [ebp + 4]
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.0040c610
cmp eax, ebx
mov dword [0x44f19c], eax
mov edi, eax
je 0x40e4bb
cmp eax, 0x5000000
jne 0x40e4f4
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 1
cmp esi, dword [esp + 0x20]
jl 0x40e461
mov edi, dword [esp + 0x18]
cmp dword [ebp], 1
je 0x40e557
mov dword [0x44f19c], 0x80000
jmp 0x40e576
mov edi, 0x80000
mov dword [0x44f19c], edi
push 0x103
lea eax, [esp + 0x159]
push ebx
push eax
mov byte [esp + 0x160], bl
call fcn.00424670
add esp, 0xc
lea ebx, [esp + 0x154]
mov eax, edi
call fcn.0040c980
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push ecx
lea edx, [esp + 0x2c]
push edx
push 0x442e38
push eax
call fcn.00415760
add esp, 0x10
mov edi, ebp
call fcn.0040cce0
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x40e352
mov esi, dword [ebp + 4]
call fcn.0040c920
cmp esi, ebx
mov dword [0x44f19c], eax
je 0x40e56d
call fcn.0040cc10
push ebp
call fcn.00415b75
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [edi - 0x10]
mov dword [esp + 0x268], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e5a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x40e36d
push 0x80070057
call fcn.004080e0
int3