Function at 0x469fa4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
call fcn.00447480
mov eax, dword [ebp + 0x10]
add eax, 0x28
mov ecx, dword [eax]
xor esi, esi
cmp dword [ecx - 0xc], esi
je 0x469fcd
lea edi, [ebp - 8]
call fcn.00439ecc
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x18]
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x46a039
mov eax, esi
mov ecx, edi
call fcn.0047779b
cmp dword [eax], 0x14
je 0x469ff3
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x469fdd
jmp 0x46a039
test esi, esi
jl 0x46a039
cmp esi, dword [edi + 4]
jge 0x46a039
mov ecx, dword [edi]
mov eax, esi
shl eax, 3
add ecx, eax
push ecx
mov dword [ebp - 0x14], eax
call fcn.00424764
mov eax, dword [edi + 4]
lea ecx, [eax - 1]
cmp esi, ecx
je 0x46a036
mov ecx, dword [edi]
mov edx, dword [ebp - 0x14]
sub eax, esi
shl eax, 3
add ecx, edx
lea edx, [eax - 8]
push edx
lea edx, [ecx + 8]
push edx
push eax
push ecx
call fcn.00418464
add esp, 0x10
dec dword [edi + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.00447480
push eax
push 0x15
pop eax
mov ecx, edi
call fcn.004773d2
lea ecx, [ebp - 0x14]
call fcn.004029ae
mov eax, dword [ebp - 8]
cmp dword [eax - 0xc], 0
je 0x46a11a
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push eax
lea eax, [ebx + 0x7c]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.0046b270
test al, al
jne 0x46a08f
lea ecx, [ebp - 8]
call fcn.004029ae
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp - 8]
call fcn.0047ecd1
pop ecx
test al, al
jne 0x46a108
lea eax, [ebp + 0x10]
push eax
call fcn.00447480
push dword [ebp - 8]
lea eax, [ebp + 0x10]
push 0xf7
push eax
call fcn.0046cba6
add esp, 0xc
cmp byte [0x5283d4], 0
je 0x46a0e7
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.0047845f
push eax
call fcn.0047846f
push eax
mov eax, 0x5283a4
call fcn.00477894
lea ecx, [ebp + 0xc]
call fcn.004029ae
push 1
lea esi, [ebp + 0x10]
call fcn.0047860d
pop ecx
mov ecx, esi
call fcn.004029ae
or ebx, 0xffffffff
lea ecx, [ebp - 8]
call fcn.004029ae
mov eax, ebx
jmp 0x46a088
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, ebx
call fcn.0046bc61
jmp 0x46a412
push dword [ebp + 0x10]
call fcn.0046d1f9
test al, al
jne 0x46a144
mov eax, dword [ebx + 0x6c]
test al, 1
je 0x46a13e
mov ecx, eax
shr ecx, 3
test cl, 1
jne 0x46a13e
shr eax, 6
test al, 1
je 0x46a144
mov byte [ebp - 1], 1
jmp 0x46a148
mov byte [ebp - 1], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00447480
push 0x13
mov esi, edi
call fcn.00477427
xor esi, esi
cmp eax, esi
je 0x46a16b
add eax, 4
lea edi, [ebp - 0x10]
call fcn.00439ecc
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.00447480
cmp byte [ebp - 1], 0
je 0x46a229
mov eax, dword [ebx + 0x6c]
shr eax, 0xc
test al, 1
je 0x46a1f7
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
jne 0x46a1f7
lea eax, [ebp - 0x5c]
push eax
call fcn.0041877b
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x5c], 0x4ffc30
call fcn.00447480
lea eax, [ebp - 0x38]
push eax
call fcn.00447480
push esi
lea eax, [ebx + 0x168]
mov byte [ebp - 0x34], 0
call fcn.00477054
lea edi, [ebp - 0x38]
call fcn.00439ecc
lea ebx, [ebp - 0x5c]
call fcn.00481e45
cmp byte [ebp - 0x34], 0
jne 0x46a1ec
lea eax, [ebp - 0x3c]
lea edi, [ebp - 0x10]
call fcn.00439ecc
lea esi, [ebp - 0x5c]
call fcn.00481d14
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebx + 0x168]
call fcn.004771c8
mov esi, eax
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x8d
lea eax, [ebp - 0x14]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00405395
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x18]
xor esi, esi
lea eax, [ebx + 0x168]
call fcn.00477141
lea edi, [ebx + 0x120]
lea eax, [ebp - 0x10]
call fcn.00439ecc
lea eax, [ebp - 0xc]
push eax
call fcn.00447480
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0xc]
lea eax, [ebx + 0x28]
push ecx
push eax
xor eax, eax
call fcn.0046e355
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x104]
cmp dword [eax - 0xc], esi
jne 0x46a2b4
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
lea esi, [ebx + 0x1c8]
call fcn.004199db
lea eax, [ebp - 0x18]
push eax
xor eax, eax
push eax
push ebx
push 0x46a41a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea esi, [ebx + 0x1c0]
mov edi, eax
call fcn.004199db
push 0xffffffffffffffff
push dword [ebx + 0x1c8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea esi, [ebx + 0x168]
call fcn.0047722d
xor esi, esi
cmp dword [ebp + 8], esi
je 0x46a31f
push 0x5283dc
call fcn.00479434
lea eax, [ebp + 0x10]
push eax
lea eax, [ebx + 0x28]
call fcn.0046e2ba
mov ecx, eax
mov eax, dword [ebp + 8]
mov edi, ebx
call fcn.0046bd90
lea ecx, [ebp + 0x10]
call fcn.004029ae
cmp byte [ebx + 0x1b5], 0
jne 0x46a2ff
mov dword [ebx + 0xac], esi
lea ecx, [ebp - 0xc]
call fcn.004029ae
lea ecx, [ebp - 0x14]
call fcn.004029ae
lea ecx, [ebp - 0x10]
call fcn.004029ae
mov ebx, dword [ebp + 8]
jmp 0x46a0fc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 4
pop edi
mov ecx, edi
xor edx, edx
call fcn.0043b610
push 0x4edef8
push eax
call fcn.0043b5ea
neg eax
sbb al, al
inc al
lea ecx, [ebp - 0x18]
mov byte [ebp + 0xb], al
call fcn.004029ae
cmp byte [ebp + 0xb], 0
je 0x46a362
lea eax, [ebp - 0xc]
push eax
mov eax, edi
xor ecx, ecx
call fcn.00461690
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
lea eax, [ebx + 0x7c]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.0046b270
test al, al
jne 0x46a395
lea ecx, [ebp - 0xc]
call fcn.004029ae
lea ecx, [ebp - 0x14]
call fcn.004029ae
lea ecx, [ebp - 0x10]
jmp 0x46a0f4
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, ebx
call fcn.0046bc61
test eax, eax
jne 0x46a3de
mov eax, dword [ebx + 0x10]
cmp eax, esi
je 0x46a3bb
cmp eax, 0x669
je 0x46a3bb
cmp eax, 0xbc2
jne 0x46a3de
mov eax, dword [ebx + 0x1b8]
cmp dword [eax - 0xc], esi
je 0x46a3ed
push eax
call sub.msi.dll_MsiRecordGetStringA
cmp eax, 5
setne al
test al, al
je 0x46a3ed
mov dword [ebx + 0xac], esi
jmp 0x46a3ed
cmp byte [ebx + 0x1b5], 0
jne 0x46a3ed
mov dword [ebx + 0xac], edi
cmp dword [ebx + 0x10], 0x642
jne 0x46a3fa
or dword [ebx + 0x10], 0xffffffff
lea ecx, [ebp - 0xc]
call fcn.004029ae
lea ecx, [ebp - 0x14]
call fcn.004029ae
lea ecx, [ebp - 0x10]
call fcn.004029ae
mov ebx, dword [ebx + 0x10]
jmp 0x46a0fc