Function at 0x48943e
Capabilities:
Create thread

Disassembly:
push 0x160
mov eax, 0x50f575
call fcn.004d67b7
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x258]
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], ebx
call fcn.00407141
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
cmp dword [eax - 0xc], 0
je 0x4894cf
call fcn.0046ec40
push 0x46
pop ecx
mov esi, eax
lea edi, [ebp - 0x16c]
rep movsd dword es:[edi], dword [esi]
push ecx
push dword [ebp - 0x164]
lea ecx, [ebp - 0x38]
push dword [ebp - 0x168]
push dword [ebp - 0x16c]
call fcn.0046e040
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0046e100
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
call fcn.0046e140
test eax, eax
js 0x4894cc
mov ecx, dword [ebp - 0x3c]
call fcn.0048985f
mov esi, eax
jmp 0x489849
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x44]
call fcn.0040ce6d
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x1f4]
call fcn.00482b7d
mov eax, dword [ebp - 0x44]
cmp dword [eax - 0xc], 0
je 0x4895ff
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
lea eax, [edi + 0x90]
push eax
push ebx
call fcn.0048ae78
test al, al
je 0x4895a3
mov ecx, dword [ebp - 0x44]
call fcn.004986c9
test al, al
jne 0x4895ab
lea ecx, [ebp - 0x40]
call fcn.0040ce6d
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push dword [ebp - 0x44]
push 0xf7
push eax
call fcn.004843c9
add esp, 0xc
cmp byte [0x576534], 0
je 0x48958d
lea ecx, [ebp - 0x3c]
call fcn.0040ce6d
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x48956f
push esi
call fcn.004dbc76
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.00410f2f
lea eax, [ebp - 0x3c]
mov ecx, 0x576500
push eax
call fcn.0049d180
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.0040d133
mov byte [ebp - 4], 2
mov dl, 1
lea ecx, [ebp - 0x40]
call fcn.004841fd
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040d133
or esi, 0xffffffff
jmp 0x48983d
mov eax, dword [ebp - 0x44]
lea esi, [edi + 0x1f0]
mov ebx, dword [esi]
sub ebx, 0x10
lea ecx, [eax - 0x10]
cmp ecx, ebx
je 0x4895f0
cmp dword [ebx + 0xc], 0
jl 0x4895e5
mov edx, dword [ecx]
cmp edx, dword [ebx]
jne 0x4895e5
call fcn.004070e8
mov ecx, ebx
mov esi, eax
call fcn.0040d635
lea eax, [esi + 0x10]
mov dword [edi + 0x1f0], eax
jmp 0x4895f0
push dword [eax - 0xc]
mov ecx, esi
push eax
call fcn.0040d89e
push dword [ebp - 0x48]
mov ecx, edi
call fcn.0048b355
jmp 0x48983a
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, edi
call fcn.004899c0
lea ecx, [ebp - 0x40]
call fcn.0040ce6d
push 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x30]
call fcn.0048d51f
lea ecx, [edi + 0x30]
mov dword [ebp - 0x3c], eax
call fcn.0048fc30
test al, al
jne 0x48968b
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea ecx, [edi + 0x1dc]
call fcn.0040e076
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push edi
push 0x489c3d
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [edi + 0x1d4]
call fcn.0040e076
push 0xffffffffffffffff
push dword [edi + 0x1e0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [edi + 0x178]
call fcn.0049161f
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x489728
push ecx
call fcn.0046ec40
mov ecx, eax
call fcn.0046eef0
test al, al
je 0x4896e1
call fcn.004d1450
mov edx, 0x576544
lea ecx, [ebp - 0x48]
call fcn.0049e4fb
mov byte [ebp - 4], 6
mov ecx, dword [eax]
call fcn.004d13c0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
mov bl, al
call fcn.0040d133
test bl, bl
jne 0x4896eb
mov ecx, 0x576544
call fcn.0049e87a
lea eax, [edi + 0x104]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00407141
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
push esi
mov ecx, edi
call fcn.0048b578
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040d133
cmp byte [edi + 0x1cc], 0
jne 0x489781
and dword [edi + 0xc0], 0
jmp 0x489781
push 4
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406f93
mov byte [ebp - 4], 8
push 0x52a0e0
push dword [eax]
call fcn.004de7f0
pop ecx
pop ecx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
mov esi, eax
call fcn.0040d133
test esi, esi
jne 0x489767
push 4
push esi
lea ecx, [ebp - 0x40]
call fcn.0046eaa0
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [edi + 0x90]
push eax
push ebx
call fcn.0048ae78
test al, al
jne 0x489792
or esi, 0xffffffff
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040d133
jmp 0x48983d
mov eax, dword [ebp - 0x40]
lea esi, [edi + 0x1f0]
mov ebx, dword [esi]
sub ebx, 0x10
lea ecx, [eax - 0x10]
cmp ecx, ebx
je 0x4897d7
cmp dword [ebx + 0xc], 0
jl 0x4897cc
mov edx, dword [ecx]
cmp edx, dword [ebx]
jne 0x4897cc
call fcn.004070e8
mov ecx, ebx
mov esi, eax
call fcn.0040d635
lea eax, [esi + 0x10]
mov dword [edi + 0x1f0], eax
jmp 0x4897d7
push dword [eax - 0xc]
mov ecx, esi
push eax
call fcn.0040d89e
push dword [ebp - 0x48]
mov ecx, edi
call fcn.0048b355
test eax, eax
jne 0x48981b
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4897fa
cmp eax, 0x669
je 0x4897fa
cmp eax, 0xbc2
jne 0x48981b
mov eax, dword [edi + 0x1d0]
cmp dword [eax - 0xc], 0
je 0x48982e
push eax
call dword [sym.imp.msi.dll_MsiRecordGetStringA]
cmp eax, 5
je 0x48982e
and dword [edi + 0xc0], 0
jmp 0x48982e
cmp byte [edi + 0x1cc], 0
jne 0x48982e
mov dword [edi + 0xc0], 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040d133
mov esi, dword [edi + 0x14]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.0040d133
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0040d133
mov eax, esi
call fcn.004d6761
ret 4