Function at 0x10044450
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006de8c
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 0x1004459b
cmp edi, 1
jne 0x1004451a
mov byte [esp + 0x14], 0
jmp 0x1004452f
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.10003228
mov ebx, dword [esp + 0x38]
push ebx
lea eax, [esp + 0x2c]
push str._s.hsh
push eax
call fcn.10003228
mov ebp, dword [esp + 0x34]
add esp, 0x1c
push ebp
lea ecx, [esp + 0x88]
call fcn.1004f150
mov esi, eax
test esi, esi
jne 0x1004458a
push ebx
lea ecx, [esp + 0x34]
call fcn.1004f150
mov esi, eax
test esi, esi
je 0x1004461a
add edi, 1
cmp edi, dword [0x1009917c]
jbe 0x1004450e
jmp 0x1004459f
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1004461a
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 0x100445c7
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 0x100445eb
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 0x1004490f
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.10044190
mov eax, 0x10
add esp, 0xc
cmp dword [esp + 0x2c], eax
jne 0x10044885
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xd8]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1004468f
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10044677
test eax, eax
je 0x100446ec
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x100446de
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100446ec
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x100446de
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100446ec
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x100446de
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100446ec
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x100446ec
test esi, esi
mov eax, 1
jg 0x100446ee
or eax, 0xffffffff
jmp 0x100446ee
xor eax, eax
test eax, eax
jne 0x10044885
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 0x100447c7
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 0x10044771
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 0x10044795
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 0x1004490f
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 0x100447e8
mov edi, 0x1d
push esi
call fcn.10056eff
add esp, 4
test edi, edi
je 0x10044805
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 0x10044832
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 0x10044856
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 0x1004490f
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 0x100448be
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 0x100448e2
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