Function at 0x414530
Capabilities:
Check if file exists
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43d2c1
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x449f6c]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449f6c]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xcc]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
xor edi, edi
cmp byte [ebp + 0x3c], 0
mov dword [esp + 0x1c], ebp
mov esi, 8
jne 0x4145b9
cmp dword [ebp + 0x38], esi
jb 0x414593
mov eax, dword [ebp + 0x24]
jmp 0x414596
lea eax, [ebp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4145b9
cmp dword [ebp + 0x38], esi
jb 0x4145ab
mov eax, dword [ebp + 0x24]
jmp 0x4145ae
lea eax, [ebp + 0x24]
push eax
call ebx
test eax, eax
je 0x414de3
lea eax, [ebp + 0x20]
lea ecx, [esp + 0x80]
call fcn.0041ac80
mov dword [esp + 0xc4], edi
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x98], esi
jae 0x4145e6
lea eax, [esp + 0x84]
push eax
call ebx
test eax, eax
jne 0x41461d
lea ecx, [esp + 0x80]
call fcn.0041a820
test eax, eax
jne 0x41461d
cmp dword [esp + 0x98], esi
jb 0x414616
mov eax, dword [esp + 0x84]
push eax
call fcn.00423e76
add esp, 4
xor al, al
jmp 0x414de5
push edi
push 0x4427d2
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], edi
mov byte [esp + 0x70], 0
call fcn.0040ec00
mov byte [esp + 0xc4], 1
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp]
mov ebx, dword [eax]
mov dword [esp + 0x14], edi
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp]
test edi, edi
je 0x414665
cmp edi, eax
je 0x41466a
call fcn.004243a2
cmp ebx, esi
je 0x414831
test edi, edi
jne 0x4146fc
call fcn.004243a2
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x41468b
call fcn.004243a2
mov ecx, dword [ebx + 0x40]
mov edi, dword [ecx]
mov ebp, dword [ebx + 0x28]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x414700
call fcn.004243a2
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4146ac
call fcn.004243a2
mov esi, dword [ebx + 0x40]
mov eax, dword [ebx + 0x28]
test ebp, ebp
je 0x4146ba
cmp ebp, eax
je 0x4146bf
call fcn.004243a2
cmp edi, esi
je 0x4147b7
test ebp, ebp
jne 0x414704
call fcn.004243a2
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4146dc
call fcn.004243a2
mov esi, dword [edi + 0x20]
mov eax, esi
cmp eax, esi
jae 0x4146e5
mov eax, esi
cmp esi, 8
jb 0x4146f1
mov eax, 8
cmp dword [edi + 0x24], 0x10
jb 0x414709
mov edx, dword [edi + 0x10]
jmp 0x41470c
mov eax, dword [edi]
jmp 0x414681
mov eax, dword [eax]
jmp 0x4146a2
mov eax, dword [ebp]
jmp 0x4146d2
lea edx, [edi + 0x10]
mov ecx, str.config15
call fcn.0040fab0
test eax, eax
jne 0x414729
cmp esi, 8
jb 0x414729
cmp esi, 8
setne al
test eax, eax
je 0x414750
test ebp, ebp
jne 0x414769
call fcn.004243a2
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x41473e
call fcn.004243a2
push 0
lea edx, [edi + 0x28]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x6c]
call fcn.004084a0
test ebp, ebp
jne 0x414759
call fcn.004243a2
cmp byte [edi + 0x45], 0
je 0x41476e
call fcn.004243a2
jmp 0x414693
mov eax, dword [ebp]
jmp 0x414734
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x45], 0
jne 0x414791
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x41478a
nop
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x414780
mov edi, ecx
jmp 0x414693
mov eax, dword [edi + 4]
cmp byte [eax + 0x45], 0
jne 0x4147b0
lea ebx, [ebx]
cmp edi, dword [eax + 8]
jne 0x4147b0
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x4147a0
mov edi, eax
jmp 0x414693
cmp dword [esp + 0x14], 0
jne 0x4147c3
call fcn.004243a2
cmp byte [ebx + 0x49], 0
je 0x4147db
call fcn.004243a2
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
jmp 0x414657
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x49], 0
jne 0x414809
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
jne 0x4147fa
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
je 0x4147f0
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ebx, ecx
jmp 0x414657
mov eax, dword [ebx + 4]
cmp byte [eax + 0x49], 0
jne 0x414822
cmp ebx, dword [eax + 8]
jne 0x414822
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x49], 0
je 0x414812
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ebx, eax
jmp 0x414657
cmp dword [esp + 0x78], 0
je 0x41490f
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x68]
call fcn.00414e10
mov byte [esp + 0xc4], 2
push 8
mov edi, 0xf
xor esi, esi
push str.config15
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.0040ec00
mov byte [esp + 0xc4], 3
push 7
push str.config4
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], esi
mov byte [esp + 0x54], 0
call fcn.0040ec00
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x50]
mov edx, ebp
mov byte [esp + 0xcc], 4
call fcn.00413490
mov ebx, 0x10
cmp dword [esp + 0x60], ebx
jb 0x4148d6
mov eax, dword [esp + 0x4c]
push eax
call fcn.00423e76
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
mov byte [esp + 0x4c], 0
cmp dword [esp + 0x3c], ebx
jb 0x4148f6
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00423e76
add esp, 4
cmp dword [esp + 0xb4], ebx
jb 0x41490f
mov edx, dword [esp + 0xa0]
push edx
call fcn.00423e76
add esp, 4
xor esi, esi
mov dword [esp + 0x20], esi
lea ebx, [ebp + 0x20]
mov ecx, ebx
lea edi, [esp + 0x20]
mov byte [esp + 0xc4], 5
call fcn.0041acd0
test eax, eax
jne 0x414967
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x20]
test edi, edi
je 0x41494a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [esp + 0x20], edi
push 0x64
call ebp
inc esi
cmp esi, 5
jge 0x414972
mov ecx, ebx
lea edi, [esp + 0x20]
call fcn.0041acd0
test eax, eax
je 0x414935
mov ebp, dword [esp + 0x1c]
cmp dword [ebx + 0x18], 8
jb 0x4149cb
mov eax, dword [ebx + 4]
jmp 0x4149ce
test edi, edi
je 0x41497d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x7c], 0x10
jb 0x414991
mov eax, dword [esp + 0x68]
push eax
call fcn.00423e76
add esp, 4
cmp dword [esp + 0x98], 8
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jb 0x414616
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00423e76
add esp, 4
xor al, al
jmp 0x414de5
lea eax, [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414a80
mov esi, 8
cmp dword [ebx + 0x18], esi
jb 0x4149ec
mov eax, dword [ebx + 4]
jmp 0x4149ef
lea eax, [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x414a6c
cmp dword [ebx + 0x18], esi
jb 0x414a04
mov edx, dword [ebx + 4]
jmp 0x414a07
lea edx, [ebx + 4]
xor eax, eax
mov word [esp + 0x28], ax
mov eax, edx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414a23
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.0040e9b0
lea edi, [esp + 0x24]
mov byte [esp + 0xc4], 6
call fcn.0041aa80
mov byte [esp + 0xc4], 5
cmp dword [esp + 0x3c], 8
jb 0x414a80
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00423e76
add esp, 4
jmp 0x414a80
cmp dword [ebx + 0x18], esi
jb 0x414a76
mov eax, dword [ebx + 4]
jmp 0x414a79
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov edi, dword [ebp]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp]
test edi, edi
je 0x414a9e
cmp edi, eax
je 0x414aa3
call fcn.004243a2
mov ebx, dword [esp + 0x18]
cmp ebx, esi
je 0x414d91
test edi, edi
jne 0x414bc8
call fcn.004243a2
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x414ac8
call fcn.004243a2
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x40]
mov edi, dword [ebp + 0x28]
mov ebx, dword [eax]
mov dword [esp + 0x40], edi
jmp 0x414ae0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x414bcf
call fcn.004243a2
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x414afd
call fcn.004243a2
mov esi, dword [ebp + 0x40]
mov eax, dword [ebp + 0x28]
test edi, edi
je 0x414b0b
cmp edi, eax
je 0x414b10
call fcn.004243a2
cmp ebx, esi
je 0x414d11
test edi, edi
jne 0x414bd6
call fcn.004243a2
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x414b31
call fcn.004243a2
lea eax, [esp + 0x9c]
lea esi, [ebx + 0xc]
lea ecx, [esi + 0x1c]
push eax
call fcn.0041a6b0
add esp, 4
mov ebp, eax
mov byte [esp + 0xc4], 7
test edi, edi
jne 0x414bdd
call fcn.004243a2
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x414b6a
call fcn.004243a2
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0041a6b0
add esp, 4
mov edi, eax
cmp dword [esp + 0x14], 0
mov byte [esp + 0xc4], 8
jne 0x414be4
call fcn.004243a2
xor eax, eax
mov esi, dword [esp + 0x18]
cmp esi, dword [eax + 0x18]
jne 0x414b9f
call fcn.004243a2
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0xc]
call fcn.0041a6b0
mov ecx, dword [esp + 0x20]
add ecx, 0x20
add esp, 4
cmp dword [ecx + 0x18], 8
jb 0x414bec
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x24]
add ecx, 0x20
jmp 0x414bf3
mov eax, dword [edi]
jmp 0x414abe
mov eax, dword [eax]
jmp 0x414af3
mov eax, dword [edi]
jmp 0x414b27
mov eax, dword [edi]
jmp 0x414b60
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x414b91
mov esi, dword [esp + 0x1c]
add esi, 0x24
mov ecx, 8
cmp dword [ebp + 0x18], ecx
jb 0x414c02
mov edx, dword [ebp + 4]
jmp 0x414c05
lea edx, [ebp + 4]
cmp dword [edi + 0x18], ecx
jb 0x414c0f
mov ecx, dword [edi + 4]
jmp 0x414c12
lea ecx, [edi + 4]
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x414c21
mov eax, dword [eax + 4]
jmp 0x414c24
add eax, 4
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x3c], edi
jb 0x414c41
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00423e76
add esp, 4
xor ebp, ebp
xor edx, edx
mov esi, 7
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], dx
cmp dword [esp + 0x60], edi
jb 0x414c6a
mov eax, dword [esp + 0x4c]
push eax
call fcn.00423e76
add esp, 4
xor ecx, ecx
mov byte [esp + 0xc4], 5
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], cx
cmp dword [esp + 0xb4], edi
jb 0x414c9a
mov edx, dword [esp + 0xa0]
push edx
call fcn.00423e76
add esp, 4
cmp dword [esp + 0x40], ebp
jne 0x414ca5
call fcn.004243a2
cmp byte [ebx + 0x45], 0
je 0x414cbd
call fcn.004243a2
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x18]
jmp 0x414ae0
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x45], 0
jne 0x414ce9
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x414cda
mov edi, edi
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x414cd0
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x18]
mov ebx, ecx
jmp 0x414ae0
mov eax, dword [ebx + 4]
cmp byte [eax + 0x45], 0
jne 0x414d02
cmp ebx, dword [eax + 8]
jne 0x414d02
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x414cf2
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x18]
mov ebx, eax
jmp 0x414ae0
cmp dword [esp + 0x14], 0
jne 0x414d1d
call fcn.004243a2
cmp byte [ebp + 0x49], 0
je 0x414d35
call fcn.004243a2
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
jmp 0x414a90
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x49], 0
jne 0x414d61
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
jne 0x414d50
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
je 0x414d46
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jmp 0x414a90
mov eax, dword [ebp + 4]
cmp byte [eax + 0x49], 0
jne 0x414d80
lea ebx, [ebx]
cmp ebp, dword [eax + 8]
jne 0x414d80
mov ebp, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x49], 0
je 0x414d70
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jmp 0x414a90
mov eax, dword [esp + 0x20]
test eax, eax
je 0x414da0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x7c], 0x10
jb 0x414db4
mov eax, dword [esp + 0x68]
push eax
call fcn.00423e76
add esp, 4
cmp dword [esp + 0x98], 8
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jb 0x414de3
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00423e76
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004239c1
add esp, 0xb4
ret 4