Function at 0x10044230
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006d2dc
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x1008f414]
xor eax, esp
mov dword [esp + 0x1dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008f414]
xor eax, esp
push eax
lea eax, [esp + 0x1f4]
mov dword fs:[0], eax
push 0
push 0x10099b18
lea ecx, [esp + 0x38]
call fcn.1004e510
push 0
push 0x10099b18
lea ecx, [esp + 0x8c]
mov dword [esp + 0x204], 0
call fcn.1004e510
mov eax, dword [0x100a41f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a41f4
mov byte [esp + 0x1fc], 1
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x28], ebx
mov eax, dword [0x100a41f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a41f4
mov byte [esp + 0x1fc], 2
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov edi, 1
cmp dword [0x1009717c], edi
mov byte [esp + 0x1fc], 3
jb 0x1004437b
cmp edi, 1
jne 0x100442fa
mov byte [esp + 0x14], 0
jmp 0x1004430f
push edi
push 0x100766bc
lea eax, [esp + 0x1c]
push 3
push eax
call fcn.100011f2
add esp, 0x10
push 0x100a1c60
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push 0x10098f00
push edx
call fcn.1000314f
mov ebx, dword [esp + 0x38]
push ebx
lea eax, [esp + 0x2c]
push str._s.hsh
push eax
call fcn.1000314f
mov ebp, dword [esp + 0x34]
add esp, 0x1c
push ebp
lea ecx, [esp + 0x88]
call fcn.1004e870
mov esi, eax
test esi, esi
jne 0x1004436a
push ebx
lea ecx, [esp + 0x34]
call fcn.1004e870
mov esi, eax
test esi, esi
je 0x100443fa
add edi, 1
cmp edi, dword [0x1009717c]
jbe 0x100442ee
jmp 0x1004437f
mov esi, dword [esp + 0x24]
test esi, esi
je 0x100443fa
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 0x100443a7
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 0x100443cb
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.1004e4a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004e4a0
mov eax, esi
jmp 0x100446ef
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
call fcn.1004e470
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x8c]
call fcn.1004e470
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xd8]
push edx
push eax
push ecx
call fcn.10043f70
mov eax, 0x10
add esp, 0xc
cmp dword [esp + 0x2c], eax
jne 0x10044665
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xd8]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1004446f
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10044457
test eax, eax
je 0x100444cc
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x100444be
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100444cc
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x100444be
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100444cc
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x100444be
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x100444cc
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x100444cc
test esi, esi
mov eax, 1
jg 0x100444ce
or eax, 0xffffffff
jmp 0x100444ce
xor eax, eax
test eax, eax
jne 0x10044665
lea ecx, [esp + 0x84]
call fcn.1004e490
push str.update_install.exe
push 0x10090ab8
push str._s_s
lea eax, [esp + 0xf4]
push 0x104
push eax
call fcn.100011f2
push 0x40
lea ecx, [esp + 0x100]
push 0x10076d44
push ecx
call fcn.100560e1
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x100445a7
lea ecx, [esp + 0x30]
call fcn.1004e490
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 0x10044551
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 0x10044575
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.1004e4a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004e4a0
mov eax, 0x6e
jmp 0x100446ef
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push esi
push 1
push ecx
push edx
xor edi, edi
call fcn.10057846
add esp, 0x10
cmp eax, 1
je 0x100445c8
mov edi, 0x1d
push esi
call fcn.1005653f
add esp, 4
test edi, edi
je 0x100445e5
lea eax, [esp + 0xe8]
push eax
call fcn.100576e2
add esp, 4
lea ecx, [esp + 0x30]
call fcn.1004e490
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 0x10044612
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 0x10044636
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.1004e4a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004e4a0
mov eax, edi
jmp 0x100446ef
lea ecx, [esp + 0x30]
call fcn.1004e490
lea ecx, [esp + 0x84]
call fcn.1004e490
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 0x1004469e
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 0x100446c2
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.1004e4a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.1004e4a0
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.10050837
add esp, 0x1ec
ret