Function at 0x43c570
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512076
mov eax, dword fs:[0]
push eax
sub esp, 0x590
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x588], eax
push ebx
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x5a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], edx
call fcn.0043d540
mov dword [esp + 0x30], eax
test eax, eax
jne 0x43c608
mov ecx, dword [esp + 0x20]
call fcn.00416430
push 0x54d2a4
push 0x549858
mov edx, eax
call fcn.00417ed0
add esp, 8
xor al, al
jmp 0x43ca84
mov eax, dword [ebx + 4]
mov edx, dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [ebx + 0x10], 0
call edx
lea ecx, [ebx + 0x18]
mov dword [ebx + 0x14], 0
call fcn.00405700
mov ecx, edi
call fcn.0041faa0
push eax
lea ecx, [esp + 0x60]
call fcn.004175e0
mov dword [esp + 0x5a8], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43c650
mov byte [eax], 0
call fcn.0043cb00
test al, al
je 0x43c6a6
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43c664
mov byte [eax], 1
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
push eax
mov ecx, ebx
mov eax, edi
call fcn.0043cab0
cmp byte [esp + 0x178], 0
mov bl, al
mov dword [esp + 0x5c], vtable.t_str.0
jne 0x43c69f
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x68]
cmp eax, ecx
je 0x43c69f
push eax
call fcn.004ed7b6
add esp, 4
mov al, bl
jmp 0x43ca84
mov ebx, dword [esp + 0x20]
push ebx
mov ecx, esi
call fcn.0043cc80
test al, al
jne 0x43c6f2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43c6c4
mov dword [eax], 4
push str.ZipLib.dll
push ebx
call fcn.004164e0
add esp, 8
cmp byte [esp + 0x178], 0
mov bl, al
mov dword [esp + 0x5c], vtable.t_str.0
jne 0x43c69f
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x68]
cmp eax, edx
jmp 0x43c694
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x18e]
push ecx
mov byte [esp + 0x23], 0
mov word [esp + 0x190], ax
call fcn.004f2770
add esp, 0xc
cmp byte [edi + 0x11c], 0
je 0x43c725
add edi, 0xc
jmp 0x43c728
mov edi, dword [edi + 8]
mov edx, dword [esp + 0x30]
push ebx
add edi, 4
push edx
lea ebx, [esp + 0x1f]
lea ecx, [esp + 0x18c]
call fcn.004826e0
test al, al
jne 0x43c771
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43c753
mov dword [eax], 5
mov ecx, dword [esp + 0x20]
push 0x54d2dc
call fcn.004014b0
lea ecx, [esp + 0x5c]
call fcn.00417650
xor al, al
jmp 0x43ca84
xor ebx, ebx
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
call fcn.004383a0
mov byte [esp + 0x5a8], 1
lea eax, [esi + 0x134]
cmp byte [esi + 0x244], bl
jne 0x43c7a0
mov eax, dword [esi + 0x130]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
add eax, 4
push eax
lea eax, [esp + 0x188]
push eax
push edi
push ecx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x44]
call fcn.004824d0
test al, al
jne 0x43c7e3
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x43c7d5
mov dword [eax], 6
push 0x54d2fc
mov ecx, edi
call fcn.004014b0
jmp 0x43c855
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x43c7f3
mov eax, dword [esp + 0x18]
test eax, eax
jmp 0x43c7cd
lea ecx, [esi + 0x128]
call fcn.00417d60
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
push 0
lea edx, [esp + 0x28]
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x4c]
call edx
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
push 0
lea eax, [esp + 0x44]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
call fcn.00438de0
cmp esi, 2
jge 0x43c89e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43c843
mov dword [eax], 7
mov ecx, dword [esp + 0x20]
push 0x54d324
call fcn.004014b0
mov edi, dword [esp + 0x20]
cmp byte [esp + 0x17], 0
je 0x43c86a
lea eax, [esp + 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x54d34c
mov ecx, edi
call fcn.00416430
mov esi, eax
mov eax, dword [esp + 0x30]
call fcn.004172c0
mov eax, vtable.VarBase.0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
call fcn.00417650
xor al, al
jmp 0x43ca84
cmp byte [ebx], 0xff
mov byte [esp + 0x1f], 1
jne 0x43c8bc
cmp byte [ebx + 1], 0xfe
jne 0x43c8bc
lea edi, [ebx + 2]
lea eax, [esi - 2]
mov dword [esp + 0x2c], edi
shr eax, 1
jmp 0x43c8f5
lea ecx, [esi + esi + 2]
push ecx
mov byte [esp + 0x23], 0
call fcn.004ed893
add esp, 4
push esi
mov edi, eax
push edi
push esi
push ebx
push 0
push 0x3a8
mov dword [esp + 0x44], edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jge 0x43c8eb
xor eax, eax
xor edx, edx
mov word [edi + eax*2], dx
mov edi, dword [esp + 0x2c]
add eax, 0xfffffffd
xor ebx, ebx
mov dword [esp + 0x58], eax
test eax, eax
jle 0x43ca34
lea eax, [edi + 2]
mov dword [esp + 0x18], eax
lea ecx, [ecx]
cmp word [edi + ebx*2], 0x2e
jne 0x43ca24
mov esi, dword [esp + 0x18]
call fcn.0043c420
test al, al
je 0x43ca20
mov eax, ebx
test ebx, ebx
jl 0x43c94d
movzx ecx, word [edi + eax*2]
cmp cx, 0x2c
je 0x43c94d
cmp cx, 0x20
je 0x43c94d
cmp cx, 0x3d
je 0x43c94d
sub eax, 1
jns 0x43c932
add dword [esp + 0x18], 6
mov esi, ebx
sub esi, eax
add esi, 3
add ebx, 3
cmp esi, 0x104
jae 0x43ca20
push esi
lea ecx, [edi + eax*2 + 2]
push ecx
lea edx, [esp + 0x394]
push 0x104
push edx
call fcn.004f0240
add esp, 0x10
xor eax, eax
lea ecx, [esp + 0x38c]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x188]
push edx
mov word [esp + esi*2 + 0x394], ax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x48]
lea ecx, [esp + 0x34]
call fcn.004824d0
test al, al
je 0x43ca20
mov esi, dword [esp + 0x24]
cmp esi, 0x80000000
ja 0x43ca20
test esi, esi
je 0x43ca20
lea edx, [esp + 0x38c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x44]
push 0
lea eax, [esp + 0x28]
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x4c]
call eax
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
push 0
lea eax, [esp + 0x44]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ecx
call fcn.00438de0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
push edx
push esi
call fcn.00482690
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
add dword [esp + 0x18], 2
inc ebx
cmp ebx, dword [esp + 0x58]
jl 0x43c910
cmp byte [esp + 0x1f], 0
jne 0x43ca44
push edi
call fcn.004ed7b6
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x34]
push esi
call fcn.00482690
cmp byte [esp + 0x17], 0
je 0x43ca6c
lea ecx, [esp + 0x184]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, vtable.VarBase.0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
call fcn.00417650
mov al, 1
mov ecx, dword [esp + 0x5a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x588]
xor ecx, esp
call fcn.004ecddb
mov esp, ebp
pop ebp
ret 0x14