Function at 0x10042db0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006bbbc
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x1008d414]
xor eax, esp
mov dword [esp + 0x1dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008d414]
xor eax, esp
push eax
lea eax, [esp + 0x1f4]
mov dword fs:[0], eax
push 0
push 0x10097b18
lea ecx, [esp + 0x38]
call fcn.1004cc20
push 0
push 0x10097b18
lea ecx, [esp + 0x8c]
mov dword [esp + 0x204], 0
call fcn.1004cc20
mov eax, dword [0x100a21f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a21f4
mov byte [esp + 0x1fc], 1
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x28], ebx
mov eax, dword [0x100a21f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a21f4
mov byte [esp + 0x1fc], 2
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov edi, 1
cmp dword [0x1009517c], edi
mov byte [esp + 0x1fc], 3
jb 0x10042efb
cmp edi, 1
jne 0x10042e7a
mov byte [esp + 0x14], 0
jmp 0x10042e8f
push edi
push 0x100745e4
lea eax, [esp + 0x1c]
push 3
push eax
call fcn.100011f2
add esp, 0x10
push 0x1009fc60
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push 0x10096f00
push edx
call fcn.1000323b
mov ebx, dword [esp + 0x38]
push ebx
lea eax, [esp + 0x2c]
push str._s.hsh
push eax
call fcn.1000323b
mov ebp, dword [esp + 0x34]
add esp, 0x1c
push ebp
lea ecx, [esp + 0x88]
call fcn.1004cf80
mov esi, eax
test esi, esi
jne 0x10042eea
push ebx
lea ecx, [esp + 0x34]
call fcn.1004cf80
mov esi, eax
test esi, esi
je 0x10042f7a
add edi, 1
cmp edi, dword [0x1009517c]
jbe 0x10042e6e
jmp 0x10042eff
mov esi, dword [esp + 0x24]
test esi, esi
je 0x10042f7a
lea eax, [ebp - 0x10]
mov byte [esp + 0x1fc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10042f27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x1fc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10042f4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x1fc], 0
call fcn.1004cbb0
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004cbb0
mov eax, esi
jmp 0x1004326f
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
call fcn.1004cb80
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x8c]
call fcn.1004cb80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xd8]
push edx
push eax
push ecx
call fcn.10042af0
mov eax, 0x10
add esp, 0xc
cmp dword [esp + 0x2c], eax
jne 0x100431e5
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xd8]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x10042fef
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10042fd7
test eax, eax
je 0x1004304c
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1004303e
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1004304c
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1004303e
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1004304c
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1004303e
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1004304c
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x1004304c
test esi, esi
mov eax, 1
jg 0x1004304e
or eax, 0xffffffff
jmp 0x1004304e
xor eax, eax
test eax, eax
jne 0x100431e5
lea ecx, [esp + 0x84]
call fcn.1004cba0
push str.update_install.exe
push 0x1008eab8
push str._s_s
lea eax, [esp + 0xf4]
push 0x104
push eax
call fcn.100011f2
push 0x40
lea ecx, [esp + 0x100]
push 0x10074c6c
push ecx
call fcn.10054b21
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x10043127
lea ecx, [esp + 0x30]
call fcn.1004cba0
lea eax, [ebp - 0x10]
mov byte [esp + 0x1fc], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100430d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x1fc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100430f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x1fc], 0
call fcn.1004cbb0
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004cbb0
mov eax, 0x6e
jmp 0x1004326f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push esi
push 1
push ecx
push edx
xor edi, edi
call fcn.10056286
add esp, 0x10
cmp eax, 1
je 0x10043148
mov edi, 0x1d
push esi
call fcn.10054f7f
add esp, 4
test edi, edi
je 0x10043165
lea eax, [esp + 0xe8]
push eax
call fcn.10056122
add esp, 4
lea ecx, [esp + 0x30]
call fcn.1004cba0
lea eax, [ebp - 0x10]
mov byte [esp + 0x1fc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10043192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x1fc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100431b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x1fc], 0
call fcn.1004cbb0
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004cbb0
mov eax, edi
jmp 0x1004326f
lea ecx, [esp + 0x30]
call fcn.1004cba0
lea ecx, [esp + 0x84]
call fcn.1004cba0
lea eax, [ebp - 0x10]
mov byte [esp + 0x1fc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004321e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x1fc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10043242
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x1fc], 0
call fcn.1004cbb0
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004cbb0
mov eax, 0xd
mov ecx, dword [esp + 0x1f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1dc]
xor ecx, esp
call fcn.1004f347
add esp, 0x1ec
ret