Function at 0x47c4a9
Capabilities:
Create thread

Disassembly:
push 0x68
mov eax, 0x507a83
call fcn.004d2c19
mov edi, ecx
mov dword [ebp - 0x20], edi
call fcn.00406d01
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0x28
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x47c4e3
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004434b9
lea esi, [edi + 0x18]
xor ebx, ebx
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x47c547
push ebx
mov ecx, esi
call fcn.00405e33
cmp dword [eax], 0x14
je 0x47c507
inc ebx
cmp ebx, dword [ebp - 0x28]
jl 0x47c4f2
jmp 0x47c547
test ebx, ebx
js 0x47c547
cmp ebx, dword [esi + 4]
jge 0x47c547
mov ecx, dword [esi]
mov eax, ebx
shl eax, 3
add ecx, eax
call fcn.0042c6c4
mov edx, dword [esi + 4]
lea eax, [edx - 1]
cmp ebx, eax
je 0x47c544
mov eax, dword [esi]
sub edx, ebx
shl edx, 3
lea ecx, [eax + ebx*8]
lea eax, [edx - 8]
push eax
lea eax, [ecx + 8]
push eax
push edx
push ecx
call fcn.0042139d
add esp, 0x10
dec dword [esi + 4]
call fcn.00406d01
push eax
lea ecx, [ebp - 0x28]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
push eax
push 0x15
mov ecx, esi
call fcn.00489447
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx - 0xc], 0
je 0x47c64d
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push esi
push eax
lea eax, [edi + 0x88]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.0047da29
mov ebx, dword [ebp - 0x1c]
test al, al
jne 0x47c5ad
or edi, 0xffffffff
jmp 0x47c98f
mov ecx, ebx
call fcn.0048eaa2
test al, al
jne 0x47c63d
call fcn.00406d01
push eax
lea ecx, [ebp + 8]
call fcn.00406b29
or edi, 0xffffffff
mov dword [ebp - 4], edi
lea eax, [ebp + 8]
push ebx
push 0xf7
push eax
call fcn.0047f77c
mov esi, dword [ebp + 8]
add esp, 0xc
cmp byte [0x56b83c], 0
je 0x47c628
call fcn.00406d01
push eax
lea ecx, [ebp + 0xc]
call fcn.00406b29
mov dword [ebp - 4], edi
test esi, esi
je 0x47c60c
push esi
lea ecx, [ebp + 0xc]
call fcn.004072c4
lea eax, [ebp + 0xc]
mov ecx, 0x56b80c
push eax
call fcn.00489943
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov dl, 1
lea ecx, [ebp + 8]
call fcn.0048a607
mov dword [ebp - 4], edi
lea ecx, [esi - 0x10]
jmp 0x47c8ec
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0047e3c2
jmp 0x47c98c
mov ecx, dword [ebp + 0xc]
call fcn.0047fdaa
test al, al
jne 0x47c66b
test byte [edi + 0x6c], 1
je 0x47c665
test byte [edi + 0x6c], 0x48
je 0x47c66b
mov byte [ebp - 0xd], 1
jmp 0x47c66f
mov byte [ebp - 0xd], 0
call fcn.00406d01
push eax
lea ecx, [ebp - 0x18]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 0x13
call fcn.004894b5
test eax, eax
je 0x47c69a
add eax, 4
lea ecx, [ebp - 0x18]
push eax
call fcn.004434b9
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.00406d01
push eax
lea ecx, [ebp - 0x24]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xd], 0
je 0x47c763
test dword [edi + 0x6c], 0x1000
je 0x47c72e
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x47c72e
lea ecx, [ebp - 0x70]
call fcn.00421707
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x70], 0x52efc8
call fcn.00406e18
lea ecx, [ebp - 0x4c]
call fcn.00406e18
push 0
lea ecx, [edi + 0x16c]
mov byte [ebp - 0x48], 0
call fcn.00484731
push eax
lea ecx, [ebp - 0x4c]
call fcn.004434b9
lea ecx, [ebp - 0x70]
call fcn.00493d0e
cmp byte [ebp - 0x48], 0
jne 0x47c726
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x18]
call fcn.004434b9
lea ecx, [ebp - 0x70]
call fcn.00493be4
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 0x16c]
call fcn.00484902
mov esi, eax
lea edi, [ebp - 0x38]
push 0x8d
lea ecx, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040928a
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x24]
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edi, dword [ebp - 0x20]
jmp 0x47c766
mov esi, dword [ebp - 0x24]
lea ecx, [edi + 0x178]
call fcn.004845ba
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x120]
call fcn.004434b9
call fcn.00406d01
push eax
lea ecx, [ebp - 0x14]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push 0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x28]
call fcn.00481231
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x104]
cmp dword [eax - 0xc], 0
jne 0x47c803
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea ecx, [edi + 0x1d4]
call fcn.00422c5e
lea eax, [ebp - 0x2c]
push eax
xor eax, eax
push eax
push dword [ebp - 0x20]
push 0x47c9a5
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x20]
push eax
lea ecx, [ecx + 0x1cc]
call fcn.00422c5e
push 0xffffffffffffffff
push dword [edi + 0x1d4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 0x20]
lea ecx, [edi + 0x16c]
call fcn.00484956
cmp dword [ebp - 0x28], 0
je 0x47c85f
mov ecx, 0x56b844
call fcn.0048cb90
lea eax, [edi + 0xfc]
push eax
lea ecx, [ebp + 0xc]
call fcn.004073cf
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp - 0x28]
call fcn.0047e54b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00406df6
cmp byte [edi + 0x1c1], 0
jne 0x47c85a
and dword [edi + 0xb8], 0
mov edi, dword [ebp - 0x28]
jmp 0x47c8c7
push 4
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call fcn.0044514d
push 0x51eab4
mov ecx, eax
call fcn.004451dc
neg eax
sbb al, al
inc al
mov dword [ebp - 0x20], eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00406df6
cmp byte [ebp - 0x20], 0
je 0x47c8a5
push 4
push 0
lea ecx, [ebp - 0x14]
call fcn.00471e40
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
mov ecx, edi
push dword [ebp + 0xc]
push eax
lea eax, [edi + 0x88]
push eax
push dword [ebp + 8]
call fcn.0047da29
test al, al
jne 0x47c8f6
or edi, 0xffffffff
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406df6
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00406df6
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00406df6
jmp 0x47c98f
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.0047e3c2
test eax, eax
jne 0x47c942
mov eax, dword [edi + 0x10]
test eax, eax
je 0x47c91c
cmp eax, 0x669
je 0x47c91c
cmp eax, 0xbc2
jne 0x47c942
mov eax, dword [edi + 0x1c4]
cmp dword [eax - 0xc], 0
je 0x47c955
push eax
call dword [sym.imp.msi.dll_MsiRecordGetStringA]
cmp eax, 5
setne al
test al, al
je 0x47c955
and dword [edi + 0xb8], 0
jmp 0x47c955
cmp byte [edi + 0x1c1], 0
jne 0x47c955
mov dword [edi + 0xb8], 4
cmp dword [edi + 0x10], 0x642
jne 0x47c962
or dword [edi + 0x10], 0xffffffff
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406df6
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00406df6
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov edi, dword [edi + 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx - 0x10]
call fcn.00406df6
mov eax, edi
call fcn.004d2be2
ret 0xc