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

Disassembly:
push 0xffffffffffffffff
push 0x48f3a1
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xcc]
cmp byte [ebp + 0x3c], 0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov dword [esp + 0x1c], ebp
mov esi, 8
jne 0x4337a7
cmp dword [ebp + 0x38], esi
jb 0x433781
mov eax, dword [ebp + 0x24]
jmp 0x433784
lea eax, [ebp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4337a7
cmp dword [ebp + 0x38], esi
jb 0x433799
mov eax, dword [ebp + 0x24]
jmp 0x43379c
lea eax, [ebp + 0x24]
push eax
call ebx
test eax, eax
je 0x433fd1
lea eax, [ebp + 0x20]
lea edi, [esp + 0x80]
call fcn.0043a720
mov dword [esp + 0xc4], 0
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x98], esi
jae 0x4337d8
lea eax, [esp + 0x84]
push eax
call ebx
test eax, eax
jne 0x433810
lea ebx, [esp + 0x80]
call fcn.0041cf80
test eax, eax
jne 0x433810
cmp dword [esp + 0x98], 8
jb 0x433809
mov eax, dword [esp + 0x84]
push eax
call fcn.0045352f
add esp, 4
xor al, al
jmp 0x433fd3
push 0
push 0x49c940
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
call fcn.00402f80
mov byte [esp + 0xc4], 1
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp]
mov ebx, dword [eax]
mov dword [esp + 0x14], edi
nop
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp]
test edi, edi
je 0x43385e
cmp edi, eax
je 0x433863
call fcn.00471538
cmp ebx, esi
je 0x433a31
test edi, edi
jne 0x4338f9
call fcn.00471538
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x433884
call fcn.00471538
mov ecx, dword [ebx + 0x40]
mov edi, dword [ecx]
mov ebp, dword [ebx + 0x28]
lea esp, [esp]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x433900
call fcn.00471538
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4338a9
call fcn.00471538
mov esi, dword [ebx + 0x40]
mov eax, dword [ebx + 0x28]
test ebp, ebp
je 0x4338b7
cmp ebp, eax
je 0x4338bc
call fcn.00471538
cmp edi, esi
je 0x4339b7
test ebp, ebp
jne 0x433904
call fcn.00471538
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4338d9
call fcn.00471538
mov esi, dword [edi + 0x20]
mov eax, esi
cmp eax, esi
jae 0x4338e2
mov ecx, esi
cmp esi, 8
jb 0x4338ee
mov ecx, 8
cmp dword [edi + 0x24], 0x10
jb 0x433909
mov eax, dword [edi + 0x10]
jmp 0x43390c
mov eax, dword [edi]
jmp 0x43387a
mov eax, dword [eax]
jmp 0x43389f
mov eax, dword [ebp]
jmp 0x4338cf
lea eax, [edi + 0x10]
push ecx
push str.config15
push eax
call fcn.0042f070
add esp, 0xc
test eax, eax
jne 0x43392e
cmp esi, 8
jb 0x43392e
cmp esi, 8
setne al
test eax, eax
je 0x433955
test ebp, ebp
jne 0x43396e
call fcn.00471538
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x433943
call fcn.00471538
push 0
lea edx, [edi + 0x28]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x6c]
call fcn.00417740
test ebp, ebp
jne 0x43395e
call fcn.00471538
cmp byte [edi + 0x45], 0
je 0x433973
call fcn.00471538
jmp 0x433890
mov eax, dword [ebp]
jmp 0x433939
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x45], 0
jne 0x433995
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x43398e
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x433984
mov edi, ecx
jmp 0x433890
mov eax, dword [edi + 4]
cmp byte [eax + 0x45], 0
jne 0x4339b0
mov edi, edi
cmp edi, dword [eax + 8]
jne 0x4339b0
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x4339a0
mov edi, eax
jmp 0x433890
cmp dword [esp + 0x14], 0
jne 0x4339c3
call fcn.00471538
cmp byte [ebx + 0x49], 0
je 0x4339db
call fcn.00471538
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
jmp 0x433850
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x49], 0
jne 0x433a09
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
jne 0x4339fa
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
je 0x4339f0
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ebx, ecx
jmp 0x433850
mov eax, dword [ebx + 4]
cmp byte [eax + 0x49], 0
jne 0x433a22
cmp ebx, dword [eax + 8]
jne 0x433a22
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x49], 0
je 0x433a12
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ebx, eax
jmp 0x433850
cmp dword [esp + 0x78], 0
je 0x433b0d
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x68]
call fcn.00434000
mov byte [esp + 0xc4], 2
push 8
xor ebx, ebx
mov esi, 0xf
push str.config15
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00402f80
mov byte [esp + 0xc4], 3
push 7
push str.config4
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00402f80
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x28]
push edx
lea edi, [esp + 0x50]
mov ecx, ebp
mov byte [esp + 0xcc], 4
call fcn.004326a0
mov edi, 0x10
cmp dword [esp + 0x60], edi
jb 0x433ad4
mov eax, dword [esp + 0x4c]
push eax
call fcn.0045352f
add esp, 4
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], 0
cmp dword [esp + 0x3c], edi
jb 0x433af4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0045352f
add esp, 4
cmp dword [esp + 0xb4], edi
jb 0x433b0d
mov edx, dword [esp + 0xa0]
push edx
call fcn.0045352f
add esp, 4
xor esi, esi
mov dword [esp + 0x20], esi
mov ebp, dword [esp + 0x1c]
add ebp, 0x20
mov ecx, ebp
lea edi, [esp + 0x20]
mov byte [esp + 0xc4], 5
call fcn.0043a770
test eax, eax
jne 0x433b65
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x20]
test edi, edi
je 0x433b4c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [esp + 0x20], edi
push 0x64
call ebx
inc esi
cmp esi, 5
jge 0x433b74
mov ecx, ebp
lea edi, [esp + 0x20]
call fcn.0043a770
test eax, eax
je 0x433b37
mov ebx, 8
cmp dword [ebp + 0x18], ebx
jb 0x433bcd
mov eax, dword [ebp + 4]
jmp 0x433bd0
test edi, edi
je 0x433b7f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x7c], 0x10
jb 0x433b93
mov eax, dword [esp + 0x68]
push eax
call fcn.0045352f
add esp, 4
cmp dword [esp + 0x98], 8
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jb 0x433809
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0045352f
add esp, 4
xor al, al
jmp 0x433fd3
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433c7c
cmp dword [ebp + 0x18], ebx
jb 0x433be9
mov eax, dword [ebp + 4]
jmp 0x433bec
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x433c68
cmp dword [ebp + 0x18], ebx
jb 0x433c01
mov edx, dword [ebp + 4]
jmp 0x433c04
lea edx, [ebp + 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 0x433c20
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00417aa0
lea edi, [esp + 0x24]
mov byte [esp + 0xc4], 6
call fcn.0043a640
mov byte [esp + 0xc4], 5
cmp dword [esp + 0x3c], ebx
jb 0x433c7c
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0045352f
add esp, 4
jmp 0x433c7c
cmp dword [ebp + 0x18], ebx
jb 0x433c72
mov eax, dword [ebp + 4]
jmp 0x433c75
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax]
mov edi, dword [ecx]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
nop
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x18]
mov eax, dword [eax]
test edi, edi
je 0x433ca1
cmp edi, eax
je 0x433ca6
call fcn.00471538
mov ebx, dword [esp + 0x18]
cmp ebx, esi
je 0x433f7f
test edi, edi
jne 0x433dc8
call fcn.00471538
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x433ccb
call fcn.00471538
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x40]
mov edi, dword [ebx + 0x28]
mov ebp, dword [eax]
mov dword [esp + 0x40], edi
jmp 0x433ce0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x433dcf
call fcn.00471538
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x433cfd
call fcn.00471538
mov esi, dword [ebx + 0x40]
mov eax, dword [ebx + 0x28]
test edi, edi
je 0x433d0b
cmp edi, eax
je 0x433d10
call fcn.00471538
cmp ebp, esi
je 0x433f11
test edi, edi
jne 0x433dd6
call fcn.00471538
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x433d31
call fcn.00471538
lea eax, [esp + 0x9c]
lea esi, [ebp + 0xc]
lea ecx, [esi + 0x1c]
push eax
call fcn.0043a4d0
add esp, 4
mov ebx, eax
mov byte [esp + 0xc4], 7
test edi, edi
jne 0x433ddd
call fcn.00471538
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x433d6a
call fcn.00471538
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0043a4d0
add esp, 4
mov edi, eax
cmp dword [esp + 0x14], 0
mov byte [esp + 0xc4], 8
jne 0x433de4
call fcn.00471538
xor eax, eax
mov esi, dword [esp + 0x18]
cmp esi, dword [eax + 0x18]
jne 0x433d9f
call fcn.00471538
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0xc]
call fcn.0043a4d0
mov ecx, dword [esp + 0x20]
add ecx, 0x20
add esp, 4
cmp dword [ecx + 0x18], 8
jb 0x433dec
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x24]
add ecx, 0x20
jmp 0x433df3
mov eax, dword [edi]
jmp 0x433cc1
mov eax, dword [eax]
jmp 0x433cf3
mov eax, dword [edi]
jmp 0x433d27
mov eax, dword [edi]
jmp 0x433d60
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x433d91
mov esi, dword [esp + 0x1c]
add esi, 0x24
mov ecx, 8
cmp dword [ebx + 0x18], ecx
jb 0x433e02
mov edx, dword [ebx + 4]
jmp 0x433e05
lea edx, [ebx + 4]
cmp dword [edi + 0x18], ecx
jb 0x433e0f
mov ecx, dword [edi + 4]
jmp 0x433e12
lea ecx, [edi + 4]
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x433e21
mov eax, dword [eax + 4]
jmp 0x433e24
add eax, 4
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x3c], edi
jb 0x433e41
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0045352f
add esp, 4
xor esi, esi
xor edx, edx
mov ebx, 7
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
mov word [esp + 0x28], dx
cmp dword [esp + 0x60], edi
jb 0x433e6a
mov eax, dword [esp + 0x4c]
push eax
call fcn.0045352f
add esp, 4
xor ecx, ecx
mov byte [esp + 0xc4], 5
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], esi
mov word [esp + 0x4c], cx
cmp dword [esp + 0xb4], edi
jb 0x433e9a
mov edx, dword [esp + 0xa0]
push edx
call fcn.0045352f
add esp, 4
cmp dword [esp + 0x40], esi
jne 0x433ea5
call fcn.00471538
cmp byte [ebp + 0x45], 0
je 0x433ebd
call fcn.00471538
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
jmp 0x433ce0
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x45], 0
jne 0x433ee9
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x433eda
mov edi, edi
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x433ed0
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
mov ebp, ecx
jmp 0x433ce0
mov eax, dword [ebp + 4]
cmp byte [eax + 0x45], 0
jne 0x433f02
cmp ebp, dword [eax + 8]
jne 0x433f02
mov ebp, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x433ef2
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
mov ebp, eax
jmp 0x433ce0
cmp dword [esp + 0x14], 0
jne 0x433f1d
call fcn.00471538
cmp byte [ebx + 0x49], 0
je 0x433f31
call fcn.00471538
mov edi, dword [esp + 0x14]
jmp 0x433c90
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x49], 0
jne 0x433f59
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
jne 0x433f4c
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
je 0x433f42
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
jmp 0x433c90
mov eax, dword [ebx + 4]
cmp byte [eax + 0x49], 0
jne 0x433f72
cmp ebx, dword [eax + 8]
jne 0x433f72
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x49], 0
je 0x433f62
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jmp 0x433c90
mov eax, dword [esp + 0x20]
test eax, eax
je 0x433f8e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x7c], 0x10
jb 0x433fa2
mov eax, dword [esp + 0x68]
push eax
call fcn.0045352f
add esp, 4
cmp dword [esp + 0x98], 8
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jb 0x433fd1
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0045352f
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.0046fd33
add esp, 0xb4
ret 4