Function at 0x40dc90
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x44a3ec
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x466910]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push esi
push edi
mov eax, dword [0x466910]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov eax, dword [esp + 0x244]
mov edi, ecx
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x32]
mov dword [esp + 0x1c], 0
push edx
mov dword [esp + 0x28], eax
mov word [esp + 0x34], cx
call fcn.00437170
add esp, 0xc
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.004014b0
mov dword [esp + 0x23c], 0
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x40dd4d
push esi
lea ecx, [esp + 0x14]
call fcn.00401720
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
push eax
push edx
call fcn.00434b93
add esp, 8
test esi, esi
jl 0x40df81
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x40df81
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [edx + esi*2], cx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
or ebp, 0xffffffff
test eax, eax
jl 0x40dda6
push str.msiexec.exe
push ecx
call fcn.0043343c
add esp, 8
test eax, eax
je 0x40dda6
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, ebp
jne 0x40de05
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.004014b0
mov dword [esp + 0x23c], ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40ddda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004331c4
add esp, 0x230
ret 4
call fcn.004163a8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40de1f
push 0x80004005
call fcn.004017a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov byte [esp + 0x244], 1
call fcn.0040df90
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 2
call fcn.00404340
mov byte [esp + 0x23c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x458098
call esi
push 0x458098
call esi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push 0x458140
push edx
call fcn.004066e0
lea ecx, [esp + 0x34]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x254], 3
call fcn.00404b30
mov eax, dword [eax]
add esp, 0x18
push eax
call esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dee8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x23c], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x458098
call esi
push 0x458098
call esi
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
push esi
call fcn.00404770
mov edi, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x23c], 0
lea ecx, [esi + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df56
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x23c], ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40df7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x40dddc
push 0x80070057
call fcn.004017a0
int3