Function at 0x1003ea50
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x100655fc
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x100862c4]
xor eax, esp
mov dword [esp + 0x1dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100862c4]
xor eax, esp
push eax
lea eax, [esp + 0x1f4]
mov dword fs:[0], eax
push 0
push 0x100909d0
lea ecx, [esp + 0x38]
call fcn.100486a0
push 0
push 0x100909d0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x204], 0
call fcn.100486a0
mov eax, dword [0x1009a864]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009a864
mov byte [esp + 0x1fc], 1
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x28], ebx
mov eax, dword [0x1009a864]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009a864
mov byte [esp + 0x1fc], 2
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov edi, 1
cmp dword [0x1008e034], edi
mov byte [esp + 0x1fc], 3
jb 0x1003eb9b
cmp edi, 1
jne 0x1003eb1a
mov byte [esp + 0x14], 0
jmp 0x1003eb2f
push edi
push 0x1006e1d8
lea eax, [esp + 0x1c]
push 3
push eax
call fcn.100011f2
add esp, 0x10
push 0x100982d0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push 0x1008fdb8
push edx
call fcn.10003753
mov ebx, dword [esp + 0x38]
push ebx
lea eax, [esp + 0x2c]
push str._s.hsh
push eax
call fcn.10003753
mov ebp, dword [esp + 0x34]
add esp, 0x1c
push ebp
lea ecx, [esp + 0x88]
call fcn.10048a00
mov esi, eax
test esi, esi
jne 0x1003eb8a
push ebx
lea ecx, [esp + 0x34]
call fcn.10048a00
mov esi, eax
test esi, esi
je 0x1003ec1a
add edi, 1
cmp edi, dword [0x1008e034]
jbe 0x1003eb0e
jmp 0x1003eb9f
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1003ec1a
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 0x1003ebc7
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 0x1003ebeb
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.10048630
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.10048630
mov eax, esi
jmp 0x1003ef0f
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
call fcn.10048600
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x8c]
call fcn.10048600
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xd8]
push edx
push eax
push ecx
call fcn.1003e790
mov eax, 0x10
add esp, 0xc
cmp dword [esp + 0x2c], eax
jne 0x1003ee85
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xd8]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1003ec8f
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1003ec77
test eax, eax
je 0x1003ecec
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1003ecde
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1003ecec
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1003ecde
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1003ecec
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1003ecde
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1003ecec
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x1003ecec
test esi, esi
mov eax, 1
jg 0x1003ecee
or eax, 0xffffffff
jmp 0x1003ecee
xor eax, eax
test eax, eax
jne 0x1003ee85
lea ecx, [esp + 0x84]
call fcn.10048620
push str.update_install.exe
push 0x10087978
push str._s_s
lea eax, [esp + 0xf4]
push 0x104
push eax
call fcn.100011f2
push 0x40
lea ecx, [esp + 0x100]
push 0x1006e748
push ecx
call fcn.10050141
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x1003edc7
lea ecx, [esp + 0x30]
call fcn.10048620
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 0x1003ed71
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 0x1003ed95
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.10048630
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.10048630
mov eax, 0x6e
jmp 0x1003ef0f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push esi
push 1
push ecx
push edx
xor edi, edi
call fcn.1005191a
add esp, 0x10
cmp eax, 1
je 0x1003ede8
mov edi, 0x1d
push esi
call fcn.1005057a
add esp, 4
test edi, edi
je 0x1003ee05
lea eax, [esp + 0xe8]
push eax
call fcn.100517fb
add esp, 4
lea ecx, [esp + 0x30]
call fcn.10048620
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 0x1003ee32
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 0x1003ee56
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.10048630
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.10048630
mov eax, edi
jmp 0x1003ef0f
lea ecx, [esp + 0x30]
call fcn.10048620
lea ecx, [esp + 0x84]
call fcn.10048620
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 0x1003eebe
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 0x1003eee2
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.10048630
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.10048630
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.1004ada8
add esp, 0x1ec
ret