Function at 0x402fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x448498
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x45e5e0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e5e0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [esp + 0x1c], edi
xor ebp, ebp
mov dword [esp + 0x84], ebp
cmp dword [ebx + 4], ebp
jne 0x403026
push str._SoluHwInv__CHwInvGather__bEnumQueryFrom_IWbemServices_is_null.
call fcn.00443b10
add esp, 4
cmp dword [esp + 0xa4], 8
jb 0x40301f
mov eax, dword [esp + 0x90]
push eax
call fcn.00411d3b
add esp, 4
xor al, al
jmp 0x4032a5
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
jbe 0x403033
call fcn.0042e5cd
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x1c]
cmp edi, dword [eax + 8]
jbe 0x403048
call fcn.0042e5cd
mov eax, dword [esp + 0x1c]
push esi
push eax
push edi
push eax
lea ecx, [esp + 0x44]
push ecx
mov esi, eax
call fcn.00404190
mov eax, dword [esp + 0x90]
mov esi, 8
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x20], ebp
jae 0x403078
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [esp + 0x20]
push ecx
push ebp
mov edi, eax
mov eax, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
push ebp
push edi
push eax
call edx
push edi
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp ebx, ebp
jge 0x4030bb
push ebx
push str._SoluHwInv__CHwInvGather__bEnumQueryFrom_Failed_to_create_IEnumWbemClassObject_object._Error_code_t_0x_X
call fcn.00443b10
add esp, 8
cmp dword [esp + 0xa4], esi
jmp 0x40300d
push ebp
push 0x450da0
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], bp
call fcn.004044c0
mov ebx, 2
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x24]
push ecx
call esi
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x88], bl
call esi
xor eax, eax
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
push 1
mov dword [esp + 0x40], ebp
mov dword [esp + 0x24], ebp
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebp
jl 0x40323e
cmp dword [esp + 0x34], 1
jne 0x40323e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
push ebp
push str.__RELPATH
push eax
mov eax, dword [ecx + 0x10]
call eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00402b60
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x90], 3
call fcn.004043d0
mov edi, 8
mov byte [esp + 0x84], bl
cmp dword [esp + 0x54], edi
jb 0x40319f
mov edx, dword [esp + 0x40]
push edx
call fcn.00411d3b
add esp, 4
cmp dword [esp + 0x70], edi
mov edx, dword [esp + 0x5c]
jae 0x4031ad
lea edx, [esp + 0x5c]
mov eax, edx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebp
mov word [esp + 0x40], bp
lea edi, [eax + 2]
mov cx, word [eax]
add eax, ebx
cmp cx, bp
jne 0x4031c3
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.004044c0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x88], 4
call fcn.00403db0
mov byte [esp + 0x84], bl
cmp dword [esp + 0x54], 8
jb 0x40320d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00411d3b
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x403221
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x88], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp esi, ebp
je 0x4030e0
jmp 0x403251
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x88], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x403261
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, 8
cmp dword [esp + 0x70], esi
jb 0x403279
mov eax, dword [esp + 0x5c]
push eax
call fcn.00411d3b
add esp, 4
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebp
mov word [esp + 0x5c], bp
jb 0x4032a3
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00411d3b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0042e014
add esp, 0x74
ret 0x1c