Function at 0x432ae0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4ac
mov eax, dword [0x4ae480]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea edx, [esp + 0x28]
push esi
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], 2
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [edi + 0x14]
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0
call fcn.00415500
lea eax, [esp + 0x18]
mov edx, ebx
push eax
push ecx
lea eax, [esp + 0x3b0]
mov ecx, edi
push eax
call fcn.00432890
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x432de2
lea eax, [esp + 0x158]
xorps xmm0, xmm0
push eax
push ebx
movlpd qword [esp + 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x432bae
mov ebx, dword [esp + 0x178]
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x432bb2
mov ebx, dword [esp + 0x28]
mov ecx, dword [edi + 0x10]
push ebx
push dword [esp + 0x18]
call fcn.00421f90
test eax, eax
je 0x432bdf
cmp dword [esp + 0x10], 0
jne 0x432bd1
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
xor eax, eax
mov ecx, 0x80000000
cmp byte [edi + 0x38], al
cmovne eax, ecx
or dword [esp + 0x10], eax
mov ebx, dword [esp + 0x24]
push edi
push 0x432780
push ebx
call fcn.00445ee0
push dword [esp + 0x18]
call fcn.00436270
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x3ac]
push dword [esp + 0x24]
push ecx
push eax
push dword [esp + 0x24]
push ebx
call fcn.00445880
test al, al
jne 0x432c34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0
push 0
push ebx
call fcn.00445ee0
cmp esi, 0xb7
jne 0x432d6b
cmp byte [edi + 0x39], 0
jne case.0x432d1c.7
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x58]
mov dword [esp + 0x50], eax
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
mov word [esp + 0x64], ax
lea eax, [esp + 0x3b4]
push eax
push 0
push 0xfde9
mov dword [esp + 0x6c], 0
call ebx
mov dword [esp + 0x54], eax
test eax, eax
je 0x432cd9
lea ecx, [eax + 1]
cmp ecx, 0x80
jbe 0x432cbf
mov eax, ecx
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0047c4da
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], ecx
jmp 0x432cc3
mov ecx, dword [esp + 0x50]
inc eax
push eax
push ecx
push 0xffffffffffffffff
lea eax, [esp + 0x3b4]
push eax
push 0
push 0xfde9
call ebx
push dword [esp + 0x50]
push 0x13b
push 0x13a
push dword [edi + 0x2c]
call fcn.00416030
mov ecx, dword [esp + 0x60]
add esp, 0x10
mov ebx, eax
test ecx, ecx
je 0x432d0d
lea eax, [esp + 0x58]
cmp ecx, eax
je 0x432d0d
push ecx
call fcn.004568b0
add esp, 4
lea eax, [ebx - 2]
cmp eax, 0xc
ja case.0x432d1c.3
movzx eax, byte [eax + 0x432e10]
jmp dword [eax*4 + 0x432df8]
mov byte [edi + 0x38], 1
or dword [esp + 0x10], 0x80000000
xor esi, esi
jmp 0x432bf0
mov byte [edi + 0x39], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
mov eax, 0x4c7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x432d9c
cmp esi, 0x2713
je 0x432d83
push dword [esp + 0x14]
push esi
push 0xc2
jmp 0x432dd5
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x14]
lea eax, [esp + 0x3a8]
push eax
mov edx, ebx
call fcn.004313f0
add esp, 4
cmp byte [edi + 0x3a], 0
je 0x432de0
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x432de0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
push esi
push 0x1a7
push dword [edi + 0x2c]
call fcn.00416080
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x4b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret