Function at 0x100077e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b51a
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10080440]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
xor eax, eax
push eax
push 0x1005f708
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10008730
mov eax, dword [0x10082710]
mov dword [ebp - 4], 0
test eax, eax
jne 0x10007878
push 0x138
call fcn.1002c883
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x1000786d
mov ecx, eax
call fcn.1001e840
jmp 0x1000786f
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x10082710], eax
mov ecx, eax
call fcn.1001e960
mov edx, eax
test edx, edx
je 0x100078ad
cmp word [edx], 0
jne 0x1000788f
xor ecx, ecx
jmp 0x100078a3
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007894
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10008730
push 0x1005f708
lea ecx, [ebp - 0x4c]
call fcn.10009780
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10009910
push str.GDeZip.exe
lea ecx, [ebp - 0x4c]
call fcn.10009be0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp byte [ebp + 0xc], bl
je 0x100079ca
test esi, esi
je 0x100079ca
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007900
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jbe 0x100079ca
push esi
lea ecx, [ebp - 0x38]
call fcn.10009780
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 3
movzx ecx, word [eax + ecx*2 - 2]
cmp ecx, 0x5c
je 0x10007942
cmp ecx, 0x2f
je 0x10007942
lea ecx, [ebp - 0x38]
call fcn.100077b0
push 0x1005f500
lea ecx, [ebp - 0x38]
call fcn.10009be0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x39]
call fcn.1000a270
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.10009b10
push dword [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.1002c8cd
add esp, 4
lea ecx, [ebp - 0x38]
push str..zip.tmp
call fcn.10009be0
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x100079b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100079bf
mov bl, 1
jmp 0x100079bf
push eax
call edi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x38]
call fcn.1002c8cd
add esp, 4
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
test bl, bl
je 0x100079ed
push 1
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x4c]
call fcn.1000c350
jmp 0x100079fa
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x4c]
call fcn.1000c210
mov esi, eax
test esi, esi
je 0x10007a16
cmp esi, 0x4c7
je 0x10007a4d
push dword [ebp - 0x4c]
push esi
call fcn.10008060
add esp, 8
jmp 0x10007a4d
cmp byte [ebp + 0x14], 0
je 0x10007a29
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x10007a4b
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x10007a4b
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push 0xffffffffffffffff
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10007a64
push eax
call edi
mov ecx, dword [ebp - 0x2c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x2c], ecx
push dword [ebp - 0x4c]
call fcn.1002c8cd
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 8
jb 0x10007a84
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10008830
mov eax, esi
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.1002c8d2
mov esp, ebp
pop ebp
ret