Function at 0x10044440
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006df9c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x1009140c]
xor eax, esp
mov dword [esp + 0x1dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009140c]
xor eax, esp
push eax
lea eax, [esp + 0x1f4]
mov dword fs:[0], eax
push 0
push 0x1009bb18
lea ecx, [esp + 0x38]
call fcn.1004edf0
push 0
push 0x1009bb18
lea ecx, [esp + 0x8c]
mov dword [esp + 0x204], 0
call fcn.1004edf0
mov eax, dword [0x100a61f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a61f4
mov byte [esp + 0x1fc], 1
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x28], ebx
mov eax, dword [0x100a61f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a61f4
mov byte [esp + 0x1fc], 2
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov edi, 1
cmp dword [0x1009917c], edi
mov byte [esp + 0x1fc], 3
jb 0x1004458b
cmp edi, 1
jne 0x1004450a
mov byte [esp + 0x14], 0
jmp 0x1004451f
push edi
push 0x100776e4
lea eax, [esp + 0x1c]
push 3
push eax
call fcn.100011f2
add esp, 0x10
push 0x100a3c60
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push 0x1009af00
push edx
call fcn.10003171
mov ebx, dword [esp + 0x38]
push ebx
lea eax, [esp + 0x2c]
push str._s.hsh
push eax
call fcn.10003171
mov ebp, dword [esp + 0x34]
add esp, 0x1c
push ebp
lea ecx, [esp + 0x88]
call fcn.1004f150
mov esi, eax
test esi, esi
jne 0x1004457a
push ebx
lea ecx, [esp + 0x34]
call fcn.1004f150
mov esi, eax
test esi, esi
je 0x1004460a
add edi, 1
cmp edi, dword [0x1009917c]
jbe 0x100444fe
jmp 0x1004458f
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1004460a
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 0x100445b7
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 0x100445db
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.1004ed80
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004ed80
mov eax, esi
jmp 0x100448ff
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
call fcn.1004ed50
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x8c]
call fcn.1004ed50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xd8]
push edx
push eax
push ecx
call fcn.10044180
mov eax, 0x10
add esp, 0xc
cmp dword [esp + 0x2c], eax
jne 0x10044875
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xd8]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1004467f
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10044667
test eax, eax
je 0x100446dc
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x100446ce
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100446dc
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x100446ce
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100446dc
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x100446ce
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100446dc
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x100446dc
test esi, esi
mov eax, 1
jg 0x100446de
or eax, 0xffffffff
jmp 0x100446de
xor eax, eax
test eax, eax
jne 0x10044875
lea ecx, [esp + 0x84]
call fcn.1004ed70
push str.update_install.exe
push 0x10092ab8
push str._s_s
lea eax, [esp + 0xf4]
push 0x104
push eax
call fcn.100011f2
push 0x40
lea ecx, [esp + 0x100]
push 0x10077d6c
push ecx
call fcn.10056aa1
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x100447b7
lea ecx, [esp + 0x30]
call fcn.1004ed70
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 0x10044761
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 0x10044785
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.1004ed80
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004ed80
mov eax, 0x6e
jmp 0x100448ff
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push esi
push 1
push ecx
push edx
xor edi, edi
call fcn.10058206
add esp, 0x10
cmp eax, 1
je 0x100447d8
mov edi, 0x1d
push esi
call fcn.10056eff
add esp, 4
test edi, edi
je 0x100447f5
lea eax, [esp + 0xe8]
push eax
call fcn.100580a2
add esp, 4
lea ecx, [esp + 0x30]
call fcn.1004ed70
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 0x10044822
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 0x10044846
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.1004ed80
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004ed80
mov eax, edi
jmp 0x100448ff
lea ecx, [esp + 0x30]
call fcn.1004ed70
lea ecx, [esp + 0x84]
call fcn.1004ed70
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 0x100448ae
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 0x100448d2
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.1004ed80
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004ed80
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.100511f7
add esp, 0x1ec
ret