Function at 0x4669ea
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.004441b6
mov eax, dword [ebp + 0x10]
add eax, 0x28
mov ecx, dword [eax]
xor esi, esi
cmp dword [ecx - 0xc], esi
je 0x466a13
lea edi, [ebp - 8]
call fcn.004432a9
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x18]
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x466a7f
mov eax, esi
mov ecx, edi
call fcn.0046d00a
cmp dword [eax], 0x14
je 0x466a39
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x466a23
jmp 0x466a7f
test esi, esi
jl 0x466a7f
cmp esi, dword [edi + 4]
jge 0x466a7f
mov ecx, dword [edi]
mov eax, esi
shl eax, 3
add ecx, eax
push ecx
mov dword [ebp - 0x14], eax
call fcn.004446ad
mov eax, dword [edi + 4]
lea ecx, [eax - 1]
cmp esi, ecx
je 0x466a7c
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.0041710e
add esp, 0x10
dec dword [edi + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.004441b6
push eax
push 0x15
pop eax
mov ecx, edi
call fcn.0047374e
lea ecx, [ebp - 0x14]
call fcn.00402907
mov eax, dword [ebp - 8]
cmp dword [eax - 0xc], 0
je 0x466b60
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.00467c79
test al, al
jne 0x466ad5
lea ecx, [ebp - 8]
call fcn.00402907
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp - 8]
call fcn.0047a5eb
pop ecx
test al, al
jne 0x466b4e
lea eax, [ebp + 0x10]
push eax
call fcn.004441b6
push dword [ebp - 8]
lea eax, [ebp + 0x10]
push 0xf7
push eax
call fcn.00469574
add esp, 0xc
cmp byte [0x523354], 0
je 0x466b2d
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.00474809
push eax
call fcn.00474819
push eax
mov eax, 0x523324
call fcn.00473bef
lea ecx, [ebp + 0xc]
call fcn.00402907
push 1
lea esi, [ebp + 0x10]
call fcn.004749b7
pop ecx
mov ecx, esi
call fcn.00402907
or ebx, 0xffffffff
lea ecx, [ebp - 8]
call fcn.00402907
mov eax, ebx
jmp 0x466ace
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, ebx
call fcn.0046866d
jmp 0x466e2f
push dword [ebp + 0x10]
call fcn.00469bae
test al, al
jne 0x466b8a
mov eax, dword [ebx + 0x6c]
test al, 1
je 0x466b84
mov ecx, eax
shr ecx, 3
test cl, 1
jne 0x466b84
shr eax, 6
test al, 1
je 0x466b8a
mov byte [ebp - 1], 1
jmp 0x466b8e
mov byte [ebp - 1], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004441b6
push 0x13
mov esi, edi
call fcn.004737a3
xor esi, esi
cmp eax, esi
je 0x466bb1
add eax, 4
lea edi, [ebp - 0x10]
call fcn.004432a9
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.004441b6
cmp byte [ebp - 1], 0
je 0x466c6f
mov eax, dword [ebx + 0x6c]
shr eax, 0xc
test al, 1
je 0x466c3d
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
jne 0x466c3d
lea eax, [ebp - 0x5c]
push eax
call fcn.0041746d
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x5c], 0x4fb498
call fcn.004441b6
lea eax, [ebp - 0x38]
push eax
call fcn.004441b6
push esi
lea eax, [ebx + 0x160]
mov byte [ebp - 0x34], 0
call fcn.004733d0
lea edi, [ebp - 0x38]
call fcn.004432a9
lea ebx, [ebp - 0x5c]
call fcn.0047d381
cmp byte [ebp - 0x34], 0
jne 0x466c32
lea eax, [ebp - 0x3c]
lea edi, [ebp - 0x10]
call fcn.004432a9
lea esi, [ebp - 0x5c]
call fcn.0047d250
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebx + 0x160]
call fcn.00473544
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.004045bd
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x18]
xor esi, esi
lea eax, [ebx + 0x160]
call fcn.004734bd
lea edi, [ebx + 0x118]
lea eax, [ebp - 0x10]
call fcn.004432a9
lea eax, [ebp - 0xc]
push eax
call fcn.004441b6
push esi
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0xc]
lea eax, [ebx + 0x28]
push ecx
push eax
call fcn.0046ac6c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0xfc]
cmp dword [eax - 0xc], esi
jne 0x466cd1
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push 0x466e37
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea esi, [ebx + 0x1b8]
mov edi, eax
call fcn.004185f7
lea esi, [ebx + 0x160]
call fcn.004735a9
xor esi, esi
cmp dword [ebp + 8], esi
je 0x466d3c
push 0x52335c
call fcn.004752cc
lea eax, [ebp + 0x10]
push eax
lea eax, [ebx + 0x28]
call fcn.0046abd1
mov ecx, eax
mov eax, dword [ebp + 8]
mov edi, ebx
call fcn.0046879c
lea ecx, [ebp + 0x10]
call fcn.00402907
cmp byte [ebx + 0x1ad], 0
jne 0x466d1c
mov dword [ebx + 0xac], esi
lea ecx, [ebp - 0xc]
call fcn.00402907
lea ecx, [ebp - 0x14]
call fcn.00402907
lea ecx, [ebp - 0x10]
call fcn.00402907
mov ebx, dword [ebp + 8]
jmp 0x466b42
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 4
pop edi
mov ecx, edi
xor edx, edx
call fcn.0044336b
push 0x4e9e40
push eax
call fcn.00438350
neg eax
sbb al, al
inc al
lea ecx, [ebp - 0x18]
mov byte [ebp + 0xb], al
call fcn.00402907
cmp byte [ebp + 0xb], 0
je 0x466d7f
lea eax, [ebp - 0xc]
push eax
mov eax, edi
xor ecx, ecx
call fcn.0045e4a0
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.00467c79
test al, al
jne 0x466db2
lea ecx, [ebp - 0xc]
call fcn.00402907
lea ecx, [ebp - 0x14]
call fcn.00402907
lea ecx, [ebp - 0x10]
jmp 0x466b3a
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, ebx
call fcn.0046866d
test eax, eax
jne 0x466dfb
mov eax, dword [ebx + 0x10]
cmp eax, esi
je 0x466dd8
cmp eax, 0x669
je 0x466dd8
cmp eax, 0xbc2
jne 0x466dfb
mov eax, dword [ebx + 0x1b0]
cmp dword [eax - 0xc], esi
je 0x466e0a
push eax
call sub.msi.dll_MsiRecordGetStringA
cmp eax, 5
setne al
test al, al
je 0x466e0a
mov dword [ebx + 0xac], esi
jmp 0x466e0a
cmp byte [ebx + 0x1ad], 0
jne 0x466e0a
mov dword [ebx + 0xac], edi
cmp dword [ebx + 0x10], 0x642
jne 0x466e17
or dword [ebx + 0x10], 0xffffffff
lea ecx, [ebp - 0xc]
call fcn.00402907
lea ecx, [ebp - 0x14]
call fcn.00402907
lea ecx, [ebp - 0x10]
call fcn.00402907
mov ebx, dword [ebx + 0x10]
jmp 0x466b42