Function at 0x43ef80
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d557d
mov eax, dword fs:[0]
push eax
mov eax, 0x1744
call fcn.00469350
mov eax, dword [0x655494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1740], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1744], eax
mov dword [ebp - 0x174c], eax
call fcn.0041d730
mov ecx, eax
call fcn.00416ea0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00408060
add eax, 0x10
mov dword [ebp - 0x1748], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005245e0
add esp, 0x10
call fcn.00417ef0
mov ecx, eax
test ecx, ecx
je 0x43f579
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x1750], esi
push 0x208
lea eax, [ebp - 0x520]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.005245e0
add esp, 0xc
lea eax, [ebp - 0x520]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00417ef0
mov ecx, eax
test ecx, ecx
je 0x43f583
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1734], eax
lea eax, [ebp - 0x520]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1734]
call fcn.00407f20
test al, al
jne 0x43f0b3
lea ecx, [ebp - 0x520]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f091
sub ecx, edx
lea eax, [ebp - 0x520]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1734]
call fcn.00409310
mov edi, dword [ebp - 0x1734]
mov byte [ebp - 4], 3
cmp dword [edi - 0xc], 0x104
jg 0x43f289
push 0x800
lea eax, [ebp - 0x1720]
push 0
push eax
call fcn.005245e0
push 0x800
lea eax, [ebp - 0xf20]
push 0
push eax
call fcn.005245e0
push edi
lea eax, [ebp - 0x1720]
push 0x400
push eax
call fcn.0054000e
push 0xfe
lea eax, [ebp - 0x316]
push 0
push eax
call fcn.005245e0
add esp, 0x30
mov dword [ebp - 0x173c], 0
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x318], ax
lea eax, [ebp - 0x1730]
push eax
movups xmmword [ebp - 0x1730], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x720]
push 0
push eax
call fcn.005245e0
movzx eax, byte [ebp - 0x1721]
push eax
movzx eax, byte [ebp - 0x1722]
push eax
movzx eax, byte [ebp - 0x1723]
push eax
movzx eax, byte [ebp - 0x1724]
push eax
movzx eax, byte [ebp - 0x1725]
push eax
movzx eax, byte [ebp - 0x1726]
push eax
movzx eax, byte [ebp - 0x1727]
push eax
movzx eax, byte [ebp - 0x1728]
push eax
movzx eax, word [ebp - 0x172a]
push eax
movzx eax, word [ebp - 0x172c]
push eax
push dword [ebp - 0x1730]
lea eax, [ebp - 0x720]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.00407bc0
lea eax, [ebp - 0x720]
add esp, 0x40
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f1d0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x318]
push 0x80
push eax
call fcn.0054013f
add esp, 0x10
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x1720]
push eax
lea eax, [ebp - 0xf20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str..tmp
lea eax, [ebp - 0xf20]
push 0x400
push eax
call fcn.0053ff39
add esp, 0xc
lea eax, [ebp - 0xf20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f258
mov eax, dword [ebp - 0x173c]
inc eax
mov dword [ebp - 0x173c], eax
cmp eax, 0xa
jl 0x43f122
jmp 0x43f289
lea ecx, [ebp - 0xf20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f261
sub ecx, edx
lea eax, [ebp - 0xf20]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1750]
call fcn.00409310
mov esi, dword [ebp - 0x1750]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f2a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43f2bb
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.BiscuitZip.zip
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x174c], eax
call fcn.00417ef0
mov ecx, eax
test ecx, ecx
je 0x43f58d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x173c], eax
mov byte [ebp - 4], 4
call fcn.00417ef0
mov ecx, eax
test ecx, ecx
je 0x43f597
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1734], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1734]
call fcn.00407f20
test al, al
jne 0x43f369
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f347
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1734]
call fcn.00409310
push dword [ebp - 0x174c]
mov al, byte [ebp - 0x1735]
sub esp, 0x28
mov byte [ebp - 4], 6
mov ecx, esp
push 0x1b7740
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CInstaller__AEXHH_ZPAV3_ABU___Ph__00_2_ABU___Ph__01_2__std__XHH_std__.0
mov dword [ecx + 4], 0x43f5b0
mov byte [ecx + 8], al
mov al, byte [ebp - 0x1735]
mov byte [ecx + 9], al
mov eax, dword [ebp - 0x1740]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x173c]
push eax
lea eax, [ebp - 0x1734]
mov dword [ecx + 0x24], ecx
push eax
lea eax, [ebp - 0x1748]
push eax
call fcn.00441020
mov edx, dword [ebp - 0x1734]
add esp, 0x3c
mov dword [ebp - 0x1740], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 4
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x43f3f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1740]
mov edi, dword [ebp - 0x1748]
test eax, eax
lea eax, [ebp - 0x218]
push eax
push edi
je 0x43f4c7
push str.down_pkg_ok_url:__s__file:___s
call fcn.0043af70
mov edx, dword [ebp - 0x1744]
lea ecx, [ebp - 0x218]
add esp, 0xc
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x1740], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f440
sub ecx, dword [ebp - 0x1740]
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00414300
mov edx, dword [ebp - 0x173c]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f484
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f4a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x43f556
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x43f556
push str.down_pkg_failed._url:__s__file:___s
call fcn.0043af70
mov eax, dword [ebp - 0x1744]
add esp, 0xc
xor ecx, ecx
push ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, eax
push 0x5eb574
call fcn.00414300
mov edx, dword [ebp - 0x173c]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f51c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f53a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x43f556
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1744]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468f28
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00407f00
push 0x80004005
call fcn.00407f00
push 0x80004005
call fcn.00407f00
push 0x80004005
call fcn.00407f00
int3