Function at 0x499ec1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d2a20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.00401d20
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
call fcn.00420cd9
movzx eax, al
test eax, eax
je 0x499f0d
jmp 0x49a0d3
lea ecx, [ebp - 0x18]
call fcn.00401d20
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax]
push str._s_d.zip
lea eax, [ebp - 0x18]
push eax
call fcn.004012b1
add esp, 0x10
push 0
push str.RT_RCDATA
lea ecx, [ebp - 0x18]
call fcn.00413706
push eax
movzx eax, word [ebp + 8]
push eax
push 0
call fcn.00499ba9
add esp, 0x14
mov dword [ebp - 0x20], eax
movzx eax, byte [0x4d376e]
test eax, eax
je 0x499f84
push dword [ebp - 0x20]
push dword [ebp - 0x18]
push 0x4bb4e4
push 0x4bb514
push str.__s____s_release__s___d
push 0
push 0
call fcn.00489ffc
add esp, 0x1c
cmp dword [ebp - 0x20], 0
jne 0x499f9b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00406df8
jmp 0x49a0d3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401000
mov ecx, dword [ebp - 0x2c]
call fcn.00413706
push eax
lea ecx, [ebp - 0x18]
call fcn.00413706
push eax
call fcn.0049b7a5
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
movzx eax, byte [0x4d376e]
test eax, eax
je 0x499ff4
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
push dword [eax]
push dword [ebp - 0x18]
push 0x4bb558
push 0x4bb588
push str.__s____s_ZipExtract__s_to__s___d
push 0
push 0
call fcn.00489ffc
add esp, 0x20
cmp dword [ebp - 0x20], 0
jne 0x49a00b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00406df8
jmp 0x49a0d3
lea ecx, [ebp - 0x1c]
call fcn.00401d20
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
call fcn.004010eb
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x34]
lea ecx, [ebp - 0x1c]
call fcn.00401000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00406df8
mov ecx, dword [ebp - 0x2c]
call fcn.00413706
push eax
lea ecx, [ebp - 0x1c]
call fcn.00413706
push eax
call fcn.0048bee1
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
movzx eax, byte [0x4d376e]
test eax, eax
je 0x49a09a
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
push dword [eax]
push dword [ebp - 0x1c]
push str.CModRelease::DoRelease
push 0x4bb60c
push str.__s____s_CopyDir__s_to__s___d
push 0
push 0
call fcn.00489ffc
add esp, 0x20
push 0
lea ecx, [ebp - 0x1c]
call fcn.00413706
push eax
call fcn.0048a5b1
pop ecx
pop ecx
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00406df8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00406df8
xor eax, eax
jne 0x499ef9
lea ecx, [ebp - 0x10]
call fcn.00420cd9
movzx eax, al
test eax, eax
jne 0x49a0f1
lea ecx, [ebp - 0x10]
call fcn.00413706
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406df8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8