Function at 0x495bb5
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x4ad761
call fcn.004a7f93
mov ebx, ecx
and dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
and dword [ebp - 4], eax
cmp dword [ebp + 8], eax
je 0x495c3a
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x2c]
push eax
call fcn.00498ff7
push 0xffffffffffffffff
push 0
lea esi, [ebx + 0xc]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004401ac
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004400ed
lea eax, [ebx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_ApplicationRecoveryInProgress]
lea eax, [ebp - 0x68]
push eax
xor eax, eax
push eax
push ebx
push 0x495ee0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ecx
mov ecx, dword [ebx]
push esi
call fcn.00496965
mov ecx, dword [ebx]
call fcn.004968d7
push 0x431050
lea ecx, [ebp - 0x2c]
call fcn.00446442
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x54
call fcn.004992e0
xor ecx, ecx
mov byte [ebp - 4], 0
inc ecx
push 0
mov dword [eax], ecx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004400ed
mov edi, dword [ebx + 8]
mov eax, dword [edi]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4bc1e4]
mov ecx, edi
call esi
lea ecx, [ebp - 0x2c]
push 0x43105c
test eax, eax
je 0x495cb2
call fcn.00446442
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x54
call fcn.004992e0
xor ecx, ecx
mov byte [ebp - 4], 0
inc ecx
push 0
push ecx
jmp 0x495cd2
call fcn.00446442
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x54
call fcn.004992e0
xor ecx, ecx
push ecx
mov byte [ebp - 4], cl
push 1
mov dword [eax], ecx
lea ecx, [ebp - 0x2c]
call fcn.004400ed
mov edi, dword [ebx + 8]
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x4bc1e4]
mov ecx, edi
call esi
lea ecx, [ebp - 0x2c]
push 0x43106c
test eax, eax
je 0x495d20
call fcn.00446442
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x54
call fcn.004992e0
xor ecx, ecx
mov byte [ebp - 4], 0
inc ecx
push 0
push ecx
jmp 0x495d40
call fcn.00446442
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x54
call fcn.004992e0
xor ecx, ecx
push ecx
mov byte [ebp - 4], cl
push 1
mov dword [eax], ecx
lea ecx, [ebp - 0x2c]
call fcn.004400ed
push 0x431080
lea ecx, [ebp - 0x2c]
call fcn.00446442
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
mov edi, dword [ebx + 8]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x4bc1e4]
mov ecx, edi
call esi
mov esi, eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x48
call fcn.00499386
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004401ac
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.004400ed
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004400ed
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x64]
push eax
call fcn.00498be8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.004401ac
push 0
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.004400ed
cmp dword [ebp - 0x34], 0
lea ecx, [ebp - 0x2c]
ja 0x495e17
push 0x431050
call fcn.00446442
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x54
call fcn.004992e0
xor ecx, ecx
push ecx
mov byte [ebp - 4], cl
mov dword [eax], ecx
lea ecx, [ebp - 0x2c]
push 1
call fcn.004400ed
jmp 0x495e83
push 0x4310a4
call fcn.00446442
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x48
call fcn.00499386
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.004401ac
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004400ed
mov edi, dword [ebx + 8]
mov eax, dword [edi]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4bc1e4]
mov ecx, edi
call esi
test eax, eax
je 0x495e83
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x48]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4bc1e4]
mov ecx, edi
call esi
mov ecx, dword [ebx + 4]
call fcn.00498961
cmp dword [ebp + 8], 0
je 0x495ea0
xor eax, eax
cmp dword [ebx + 0x30], eax
sete al
push eax
call dword [sym.imp.KERNEL32.dll_ApplicationRecoveryFinished]
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.004400ed
xor eax, eax
call fcn.004a7f42
ret 4