Function at 0x423530
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532422
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x579258]
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 ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x35c], ebx
mov dword [ebp - 0x358], edi
call fcn.00455170
add esp, 4
test eax, eax
je 0x423584
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x70
call fcn.004603d4
add esp, 4
mov dword [ebp - 0x350], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4235b0
mov ecx, eax
call fcn.0044b460
mov esi, eax
mov dword [ebp - 0x350], eax
jmp 0x4235b8
xor esi, esi
mov dword [ebp - 0x350], esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4238b0
push 0x8c
call fcn.004603d4
add esp, 4
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4235f5
push str.Paths
mov ecx, eax
call fcn.00449890
mov ebx, eax
jmp 0x4235f7
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4238b0
push ebx
mov ecx, esi
call fcn.00448ad0
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x4236c4
nop dword [eax]
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004ecad0
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x423640
mov eax, dword [esi]
push 0
push 0
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x8c
call fcn.004603d4
add esp, 4
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x42368b
push str.File
mov ecx, eax
call fcn.00449890
mov edi, eax
jmp 0x42368d
xor edi, edi
push edi
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00448ad0
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
push 0x53edd4
call fcn.00449d60
mov eax, dword [ebp + 0xc]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x423620
mov edi, dword [ebp - 0x358]
test edi, edi
je 0x42375c
cmp dword [edi], 0
je 0x42375c
push 0x8c
call fcn.004603d4
add esp, 4
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x423703
push str.Register
mov ecx, eax
call fcn.00449890
mov esi, eax
jmp 0x423705
xor esi, esi
push esi
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00448ad0
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x42371f
mov eax, dword [eax]
push eax
push str.path
mov ecx, esi
call fcn.00449d60
cmp dword [edi + 0x30], 0x10
lea eax, [edi + 0x1c]
jb 0x423737
mov eax, dword [eax]
push eax
push 0x53edf0
mov ecx, esi
call fcn.00449d60
cmp dword [edi + 0x48], 0x10
lea eax, [edi + 0x34]
jb 0x42374f
mov eax, dword [eax]
push eax
push 0x53edf4
mov ecx, esi
call fcn.00449d60
mov esi, dword [ebp - 0x35c]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423784
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x334]
call fcn.00416d70
push 0x3a8
lea eax, [ebp - 0x334]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x34c]
push eax
call fcn.00428fa0
add esp, 0xc
mov edx, dword [ebp - 0x320]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x423806
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4237fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4238ce
push edx
push ecx
call fcn.00460404
add esp, 8
xor eax, eax
mov dword [ebp - 0x324], 0
push 0x208
push eax
mov word [ebp - 0x334], ax
lea eax, [ebp - 0x31c]
push eax
mov dword [ebp - 0x320], 7
call fcn.004ecad0
add esp, 0xc
lea ecx, [ebp - 0x34c]
cmp dword [ebp - 0x338], 0x10
lea edx, [ebp - 0x31c]
cmovae ecx, dword [ebp - 0x34c]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x423854
mov ecx, dword [ebp - 0x350]
lea eax, [ebp - 0x31c]
push eax
call fcn.0044bbc0
mov edx, dword [ebp - 0x338]
cmp edx, 0x10
jb 0x4238a9
mov ecx, dword [ebp - 0x34c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42389f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4238d3
push edx
push ecx
call fcn.00460404
add esp, 8
mov eax, 1
jmp 0x4238b2
xor eax, eax
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.00460412
mov esp, ebp
pop ebp
ret
call fcn.004f5b2a
call fcn.004f5b2a
int3