Function at 0x4196f0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x470395
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x498700]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x498700]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xec]
call fcn.0043ec5a
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41974e
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0xe4], ebx
call fcn.00445e0a
mov byte [esp + 0xe4], 1
mov ecx, dword [esp + 0x2c]
push str.P2EXTRACT
push ecx
lea ecx, [esp + 0x2c]
call fcn.0044602d
mov edx, dword [ebp]
mov edx, dword [edx + 0x18c]
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
push ebp
mov byte [esp + 0xf4], 2
call fcn.0041cce0
mov byte [esp + 0xe4], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4197dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x2c]
call fcn.00445ea8
mov ecx, dword [esp + 0x2c]
push 0x483564
push ecx
lea ecx, [esp + 0x2c]
call fcn.0044602d
mov edx, dword [ebp]
mov edx, dword [edx + 0x190]
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
push ebp
mov byte [esp + 0xf4], 3
call fcn.0041cce0
mov byte [esp + 0xe4], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41984e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.BINPATH
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.004018b0
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x18]
mov byte [esp + 0xe8], 4
call fcn.0040ac40
mov byte [esp + 0x23], al
mov byte [esp + 0xe8], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4198a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1f], bl
je 0x419d63
mov edx, dword [esp + 0x14]
mov edi, 7
mov eax, edx
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4198d3
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0xc4]
call fcn.00406b60
push 3
push 0x483ab0
lea ecx, [esp + 0xc4]
mov byte [esp + 0xec], 5
call fcn.00412070
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0xf0], 7
call fcn.00406a70
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x41996e
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x18]
call fcn.004018b0
lea esi, [esp + 0x14]
mov byte [esp + 0xe4], 8
call fcn.00419f70
mov byte [esp + 0xe4], 7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4199b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xd
push str._binaries.zip
lea ecx, [esp + 0x8c]
call fcn.00412070
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0xac]
call fcn.00406a70
mov esi, 8
push esi
push str.7za.exe
lea ecx, [esp + 0xa8]
call fcn.00412070
cmp dword [esp + 0xb8], esi
mov eax, dword [esp + 0xa4]
jae 0x419a09
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x419b85
call fcn.0043ec5a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x419a33
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xe4], 9
cmp dword [esp + 0xd4], esi
mov edx, dword [esp + 0xc0]
jae 0x419a62
lea edx, [esp + 0xc0]
cmp dword [esp + 0x9c], esi
mov ecx, dword [esp + 0x88]
jae 0x419a79
lea ecx, [esp + 0x88]
cmp dword [esp + 0xb8], esi
mov eax, dword [esp + 0xa4]
jae 0x419a90
lea eax, [esp + 0xa4]
push edx
push ecx
push eax
lea ecx, [esp + 0x24]
push str.__s__x__y___s___o__s_
push ecx
call fcn.004090f0
add esp, 0x14
push 0x44
lea edx, [esp + 0x3c]
push ebx
push edx
call fcn.00450a50
mov esi, dword [esp + 0x24]
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
add esp, 0xc
or eax, ecx
jge 0x419adb
push edx
lea ecx, [esp + 0x1c]
call fcn.00401750
mov esi, dword [esp + 0x18]
lea eax, [ebp + 0x2ac]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
push ebx
push 0x8000080
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp esi, ebx
mov edi, eax
jne 0x419b03
xor ecx, ecx
jmp 0x419b25
mov ecx, esi
lea eax, [ecx + 2]
jmp 0x419b10
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x419b10
sub ecx, eax
sar ecx, 1
js 0x419d59
cmp ecx, dword [esi - 8]
jg 0x419d59
cmp edi, ebx
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], bx
jne 0x419c17
push esi
push str.Failed_to_execute_Extract_7Zip__for_Bin_command:__s
push 1
push 0x3ec
push str.CWebInstallerDlg::doBinExtraction
call fcn.00430235
add esi, 0xfffffff0
add esp, 0x14
mov byte [esp + 0xe4], 7
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x419b7b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, 8
mov edi, 7
cmp dword [esp + 0xb8], esi
jb 0x419b9e
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.00430f55
add esp, 4
cmp dword [esp + 0x9c], esi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
jb 0x419bcd
mov edx, dword [esp + 0x88]
push edx
call fcn.00430f55
add esp, 4
cmp dword [esp + 0xd4], esi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
jb 0x419bfc
mov eax, dword [esp + 0xc0]
push eax
call fcn.00430f55
add esp, 4
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
jmp 0x419d80
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x419c2f
lea eax, [esp + 0x88]
push eax
push str.Extraction_to_BIN_folder_has_started._Path_to_zip:__s
push ebx
push 0x3f0
push str.CWebInstallerDlg::doBinExtraction
call fcn.00430235
mov ecx, dword [ebp + 0x20]
add esp, 0x14
push ebx
push 0x3e8
mov edi, 7
push edi
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
add esi, 0xfffffff0
mov dword [ebp + 0x278], eax
mov byte [esp + 0xe4], 7
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x419c88
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, 8
cmp dword [esp + 0xb8], esi
jb 0x419ca6
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.00430f55
add esp, 4
cmp dword [esp + 0x9c], esi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
jb 0x419cd5
mov edx, dword [esp + 0x88]
push edx
call fcn.00430f55
add esp, 4
cmp dword [esp + 0xd4], esi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
jb 0x419d04
mov eax, dword [esp + 0xc0]
push eax
call fcn.00430f55
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
mov byte [esp + 0xe4], bl
call fcn.00445e87
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419d55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x419dbd
push 0x80070057
call fcn.004016d0
push str.BINPATH
push str.Failed_to_get_REGISTRY_BINPATH_KEY_:__s
push ebx
push 0x3f8
push str.CWebInstallerDlg::doBinExtraction
call fcn.00430235
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0xe4], bl
call fcn.00445e87
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419dbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0044de0c
add esp, 0xd4
ret 4