Function at 0x424780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586d55
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5eb1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 1
mov dword [0x5efb88], 0
call fcn.00424410
mov esi, eax
mov byte [ebp - 4], 2
call fcn.0042613a
mov ecx, eax
mov byte [ebp - 4], 1
test ecx, ecx
je 0x424a4e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004038f0
test al, al
jne 0x42481a
test esi, esi
jne 0x4247fc
xor ecx, ecx
jmp 0x424810
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424801
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.00409540
mov eax, dword [ebp - 0x10]
mov edx, 0x598b6c
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x42484a
test si, si
je 0x424846
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x42484a
add ecx, 4
add edx, 4
test si, si
jne 0x424824
xor edx, edx
jmp 0x42484f
sbb edx, edx
or edx, 1
xor ecx, ecx
mov byte [ebp - 4], 1
test edx, edx
lea edx, [eax - 0x10]
sete cl
or edi, 0xffffffff
mov dword [0x5efb84], ecx
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42487a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp + 8]
push 0x598b70
push eax
call fcn.00410640
add esp, 8
test al, al
je 0x424899
mov dword [0x5efb8c], 1
call fcn.00424a70
test al, al
je 0x424a0b
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
jle 0x4248f1
xor esi, esi
test ecx, ecx
js 0x424a5d
cmp ecx, dword [eax - 0xc]
jg 0x424a5d
xor edx, edx
cmp word [eax + ecx*2], 0x30
sete dl
cmp ecx, dword [0x5efbf8]
jge 0x424a58
mov eax, dword [0x5efbf4]
inc ecx
mov dword [esi + eax + 0x14], edx
add esi, 0xb8
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax - 0xc]
jl 0x4248b2
cmp dword [0x5efc14], 0
je 0x42494b
push 0
call fcn.0056d450
mov ecx, eax
mov esi, edx
mov eax, dword [0x5efc14]
add esp, 4
cdq
sub ecx, eax
sbb esi, edx
test esi, esi
jg 0x4249eb
jl 0x4249eb
cmp ecx, 0x2a2c4
ja 0x4249eb
test esi, esi
jl 0x4249eb
jg 0x42493e
test ecx, ecx
jb 0x4249eb
push str.__mb_Silent_Install_Builder_Demo_Package.
call fcn.00423ee0
add esp, 4
push 0
push 0
push 0x423da0
call fcn.0056d5ee
add esp, 0xc
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x5efc14], 0
je 0x4249d5
cmp dword [0x5efb90], 0
je 0x4249de
push 0x96
lea eax, [ebp - 0x10]
mov ecx, 0x5efba8
push eax
call fcn.0040edb0
push dword [eax]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040b2a0
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4249bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4249d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x5efb90], 0
jne 0x424a04
cmp dword [0x5efb94], 0
jne 0x424a04
push 0
jmp 0x424a06
push str.__mb_Demo_Package_is_expired
call fcn.00423ee0
add esp, 4
mov dword [0x5efb90], 1
jmp 0x424a0b
push 0xffffffffffffffff
call fcn.00424440
mov edx, dword [ebp + 8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424a25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x424a3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403690
call fcn.004250b5
push 0x80070057
call fcn.00403690
int3