Function at 0x433a70
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4a8a71
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4cdbb4]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
push str.WBPList.xml
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x140], 1
call fcn.00413780
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
or esi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x433b00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x434024
lea ecx, [esp + 0x60]
call fcn.00445de0
push str.WBPList.xml
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x140], 2
call fcn.00413780
add esp, 0xc
mov eax, dword [eax]
push 0
push 0x377
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x144], 3
call fcn.00447250
mov ecx, eax
call fcn.00443250
test al, al
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x134], 2
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433b86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x434013
push str.WBPList
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x68]
call fcn.00442f50
lea ecx, [esp + 0x24]
call fcn.00443250
test al, al
je 0x433be1
lea ecx, [esp + 0x60]
mov byte [esp + 0x134], 1
call fcn.00445e00
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x434042
mov edx, dword [0x4cf698]
mov eax, dword [edx + 0xc]
mov ecx, 0x4cf698
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [0x4cf698]
mov eax, dword [edx + 0xc]
mov ecx, 0x4cf698
mov byte [esp + 0x134], 4
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push str.Package
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], 5
call fcn.00442f50
lea ecx, [esp + 0x58]
call fcn.00402bf0
lea ecx, [esp + 0x20]
call fcn.00402bf0
lea ecx, [esp + 0x1c]
call fcn.00442f10
test eax, eax
je 0x433f58
mov bl, 9
mov edx, dword [esp + 0x1c]
push str.Package
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], edx
call fcn.00443050
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
push 0x4aed10
lea ecx, [esp + 0x24]
call fcn.00443140
push eax
lea ecx, [esp + 0x18]
call fcn.00403b50
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00418cc0
add esp, 8
test al, al
je 0x433f47
push str.Version
lea ecx, [esp + 0x24]
call fcn.00443140
push eax
lea ecx, [esp + 0x1c]
call fcn.00403b50
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jne 0x433cdd
push str.0.8.4
lea ecx, [esp + 0x1c]
call fcn.00403b10
push 0xcc
call fcn.00486f14
mov esi, eax
add esp, 4
mov dword [esp + 0x54], esi
mov byte [esp + 0x134], 6
test esi, esi
je 0x433d24
push ecx
mov edx, esp
mov dword [esp + 0x30], esp
push str.WBPFileMapping.xml
lea eax, [esp + 0x144]
push eax
push edx
call fcn.00413780
add esp, 0xc
mov ecx, esi
call fcn.004111f0
mov esi, eax
jmp 0x433d26
xor esi, esi
mov eax, dword [esp + 0x140]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push eax
mov byte [esp + 0x13c], 5
call fcn.00403ce0
add esp, 4
lea ecx, [esp + 0x40]
add eax, 0x10
push ecx
mov ecx, esi
mov dword [edi], eax
call fcn.00412470
mov eax, dword [esp + 0x140]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push eax
mov byte [esp + 0x13c], 7
call fcn.00403ce0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00411ad0
test esi, esi
je 0x433d9b
mov ecx, esi
call fcn.004108b0
push esi
call fcn.0048668b
add esp, 4
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
cmp esi, eax
jbe 0x433db0
call fcn.004870d6
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x3c]
mov edi, esi
mov esi, eax
cmp dword [esp + 0x48], eax
jbe 0x433dc3
call fcn.004870d6
test ebp, ebp
je 0x433dcd
cmp ebp, dword [esp + 0x3c]
je 0x433dd2
call fcn.004870d6
cmp edi, esi
je 0x433f25
push str.res_wbp_
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00413780
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x14c], 8
call fcn.00413530
push 0x4acc8c
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x158], bl
call fcn.00413780
add esp, 0x24
mov esi, eax
mov byte [esp + 0x134], 0xa
test ebp, ebp
jne 0x433f18
call fcn.004870d6
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x433e46
call fcn.004870d6
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.00413780
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x433e80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433ea7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x134], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433ecf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x134], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433ef7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x433f20
call fcn.004870d6
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x433f0c
call fcn.004870d6
mov eax, dword [esp + 0x4c]
add edi, 4
jmp 0x433db6
mov eax, dword [ebp]
jmp 0x433e3c
mov eax, dword [ebp]
jmp 0x433f02
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
call fcn.004431e0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x134], 5
call fcn.00411fe0
or esi, 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00442f10
test eax, eax
jne 0x433c57
lea edx, [esp + 0x60]
push 0x4aeca0
push edx
call fcn.00410700
push str.WBPList.xml
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00413780
add esp, 0x14
mov eax, dword [eax]
push 0
push 1
push 0x4ac81c
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x144], 0xb
call fcn.004474b0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x134], 5
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x433fc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x134], 4
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433fec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x134], 2
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434013
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x134], 1
call fcn.00445e00
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff0
mov byte [esp + 0x134], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43404e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x140]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [esp + 0x134], esi
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x434075
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004874cc
add esp, 0x124
ret