Function at 0x401150
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4645f5
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
push ebx
push esi
push edi
mov eax, dword [0x47a770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x30], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.0042e7dd
xor ebx, ebx
push ebx
call fcn.004300ec
add esp, 4
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x46cf2c
lea edi, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.00401730
cmp eax, ebx
jge 0x4011d8
cmp eax, 0x80004002
je 0x4011d8
push eax
call fcn.00461e50
mov byte [ebp - 4], 1
push 0x46cf3c
lea edi, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
call fcn.004016c0
cmp eax, ebx
jge 0x4011fd
cmp eax, 0x80004002
je 0x4011fd
push eax
call fcn.00461e50
mov byte [ebp - 4], 2
mov eax, dword [esi + 0xa4]
push eax
lea ebx, [ebp - 0x1c]
call fcn.00401d10
push 0
push ecx
mov byte [ebp - 4], 3
mov ebx, esp
mov dword [ebp - 0x24], esp
push str.qin163
call fcn.00401d10
push ecx
mov byte [ebp - 4], 4
mov ebx, esp
mov dword [ebp - 0x20], esp
push str.tt406
call fcn.00401d10
push ecx
mov ecx, dword [ebp - 0x1c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], esp
test eax, eax
je 0x401256
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x40126b
push 0x80004003
call fcn.00461e50
mov byte [ebp - 4], 3
call fcn.00401b50
call fcn.0042eec8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40128e
push 0x80004005
call fcn.004020f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
push str.select__from_Config_where_ID4
push ecx
mov byte [ebp - 4], 7
call fcn.00401b30
mov edx, dword [ebp - 0x20]
add esp, 8
push 1
push 0
push ecx
mov ebx, esp
mov dword [ebp - 0x2c], esp
push edx
call fcn.00401d10
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x4012da
push 0x80004003
call fcn.00461e50
lea ebx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004019d0
mov eax, dword [eax]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x40130a
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4012fe
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
test esi, esi
je 0x40130a
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401319
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push str.VerSion
lea ebx, [ebp - 0x24]
call fcn.00401d10
mov byte [ebp - 4], 9
mov ecx, 8
mov word [ebp - 0x44], cx
mov eax, dword [eax]
test eax, eax
je 0x40133f
mov esi, dword [eax]
test esi, esi
jne 0x40135b
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
test edi, edi
jne 0x40137b
push 0x80004003
call fcn.00461e50
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x401346
push 0x8007000e
call fcn.00461e50
lea esi, [ebp - 0x44]
lea ebx, [ebp - 0x54]
call fcn.004018a0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00401920
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, ebx
push edx
mov edi, eax
call esi
lea eax, [ebp - 0x44]
push eax
call esi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
xor ebx, ebx
cmp eax, ebx
je 0x4013eb
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x4013eb
cmp esi, ebx
je 0x4013eb
mov eax, dword [esi]
cmp eax, ebx
je 0x4013d2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4013e2
push eax
call fcn.0042e116
add esp, 4
push esi
call fcn.0042e116
add esp, 4
mov eax, dword [ebp - 0x14]
cmp edi, dword [0x480ce8]
je 0x40147d
cmp eax, ebx
jne 0x401408
push 0x80004003
call fcn.00461e50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push eax
mov esi, eax
call edx
cmp eax, ebx
jge 0x401422
push 0x46cf84
push esi
push eax
call fcn.00461e70
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x401433
push 0x80004003
call fcn.00461e50
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
cmp eax, ebx
jne 0x40144f
push 0x80004003
call fcn.00461e50
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, ebx
jne 0x40148b
push 0x80004003
call fcn.00461e50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push eax
mov esi, eax
call edx
cmp eax, ebx
jge 0x4014a5
push 0x46cf84
push esi
push eax
call fcn.00461e70
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x4014b6
push 0x80004003
call fcn.00461e50
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
cmp eax, ebx
jne 0x4014d2
push 0x80004003
call fcn.00461e50
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401506
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40154e
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x40154b
cmp esi, ebx
je 0x40154b
mov eax, dword [esi]
cmp eax, ebx
je 0x401532
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x401542
push eax
call fcn.0042e116
add esp, 4
push esi
call fcn.0042e116
add esp, 4
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x401561
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x401573
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x28]
push 0x46ce4c
mov ecx, esi
call fcn.004305bf
lea eax, [ebp - 0x1dc]
push eax
call fcn.0041ee60
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 4], 0xd
mov dword [esi + 0x20], ecx
call fcn.00430f10
lea edx, [ebp - 0x1dc]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.004015f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret