Function at 0x1031b370
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x10360fe4
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x54]
push 8
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], 0
test eax, eax
je 0x1031b3cc
mov ecx, eax
call fcn.102e8800
mov esi, eax
jmp 0x1031b3ce
xor esi, esi
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x1c], esi
mov dword [esp + 0x4c], 1
xor eax, eax
push 0x34
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.100cdd90
mov byte [esp + 0x4c], 2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x18], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1031b4a2
push 0x1055dd00
push eax
call edi
test eax, eax
je 0x1031b4a2
mov edx, dword [esi]
lea ebp, [esp + 0x18]
push ebp
or edx, 0x20019
lea ecx, [esp + 0x28]
cmp dword [esp + 0x3c], 8
push edx
cmovae ecx, dword [esp + 0x2c]
push 0
push ecx
push 0x80000002
call eax
test eax, eax
jne 0x1031b4a2
push ebx
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.1031b6d0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
test eax, eax
je 0x1031b4a2
push 0x1055dd24
push eax
call edi
test eax, eax
je 0x1031b4a2
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1031b4a2
push ecx
call eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x4c], 3
lea ecx, [esp + 0x20]
push 0x20019
mov dword [esp + 0x1c], 0
call fcn.10175160
mov ebp, eax
mov dword [esp + 0x18], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1031b545
push 0x1055dd00
push eax
call edi
mov edx, eax
test edx, edx
je 0x1031b545
test ebp, ebp
je 0x1031b545
mov ecx, dword [esi]
lea edi, [esp + 0x18]
push edi
or ecx, 0x20019
lea eax, [esp + 0x28]
cmp dword [esp + 0x3c], 8
push ecx
cmovae eax, dword [esp + 0x2c]
push 0
push eax
push ebp
call edx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1031b545
push ebx
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.1031b6d0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
test eax, eax
je 0x1031b545
push 0x1055dd24
push eax
call edi
test eax, eax
je 0x1031b545
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1031b545
push ecx
call eax
mov dword [esi], 0x100
mov dword [esp + 0x18], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1031b5c7
push 0x1055dd00
push eax
call edi
test eax, eax
je 0x1031b5c7
mov edx, dword [esi]
lea edi, [esp + 0x18]
push edi
or edx, 0x20019
lea ecx, [esp + 0x28]
cmp dword [esp + 0x3c], 8
push edx
cmovae ecx, dword [esp + 0x2c]
push 0
push ecx
push 0x80000002
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1031b5c7
push ebx
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.1031b6d0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
test eax, eax
je 0x1031b5c7
push 0x1055dd24
push eax
call edi
test eax, eax
je 0x1031b5c7
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1031b5c7
push ecx
call eax
mov dword [esp + 0x18], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1031b64d
push 0x1055dd00
push eax
call edi
mov edx, eax
test edx, edx
je 0x1031b64d
test ebp, ebp
je 0x1031b64d
mov ecx, dword [esi]
lea edi, [esp + 0x18]
push edi
or ecx, 0x20019
lea eax, [esp + 0x28]
cmp dword [esp + 0x3c], 8
push ecx
cmovae eax, dword [esp + 0x2c]
push 0
push eax
push ebp
call edx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1031b64d
push ebx
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.1031b6d0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
test eax, eax
je 0x1031b64d
push 0x1055dd24
push eax
call edi
test eax, eax
je 0x1031b64d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1031b64d
push ecx
call eax
mov dword [esp + 0x18], 0
mov byte [esp + 0x4c], 2
lea ecx, [esp + 0x20]
call fcn.101753a0
mov byte [esp + 0x4c], 1
cmp dword [esp + 0x38], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x1031b676
push dword [esp + 0x24]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov dword [esp + 0x4c], 0xffffffff
push esi
call edi
add esp, 4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1033d458
add esp, 0x3c
ret 4