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

Disassembly:
push 0xffffffffffffffff
push 0x420380
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x427074]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp esi, ebx
jne 0x40999f
mov eax, 0x80070057
jmp 0x409c82
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x70
push ebx
push esi
call edx
cmp eax, ebx
jl 0x409c82
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push 1
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push 1
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x28], eax
jle 0x409a0a
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x409c7d
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
jmp 0x409c82
mov esi, dword [esp + 0x7c]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
lea eax, [esp + 0x38]
push eax
push ecx
call edi
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x409a46
mov dword [esp + 0x1c], ebx
jmp 0x409a59
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x409c73
mov ecx, dword [esp + 0x7c]
push ebx
push ebx
mov byte [esp + 0x78], 1
mov edx, dword [esi]
mov esi, dword [esp + 0x24]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x44]
push eax
push ebx
push esi
push ecx
call edx
test eax, eax
jne 0x409c45
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov byte [esp + 0x70], 2
mov ax, word [esp + 0x3c]
cmp ax, 8
jne 0x409bbd
push esi
call fcn.0041bab0
mov edi, eax
mov eax, dword [esp + 0x44]
push eax
call fcn.0041bab0
push edi
push str.ProcessorId
mov esi, eax
call fcn.00419764
add esp, 8
test eax, eax
jne 0x409b31
push 0xb
push str.ProcessorId
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.004068a0
mov edx, dword [esp + 0x78]
add edx, 0xc
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 3
call fcn.00409ca0
mov edx, esi
lea edi, [edx + 1]
lea esp, [esp]
mov cl, byte [edx]
inc edx
cmp cl, bl
jne 0x409b00
sub edx, edi
push edx
push esi
mov ecx, eax
call fcn.004068a0
mov byte [esp + 0x70], 2
cmp dword [esp + 0x64], 0x10
jb 0x409ba7
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0040b0cd
add esp, 4
jmp 0x409ba7
push edi
push str.Model
call fcn.00419764
add esp, 8
test eax, eax
jne 0x409b58
push str.DiskSerial
lea ecx, [esp + 0x50]
call fcn.00406980
mov byte [esp + 0x70], 4
jmp 0x409b7d
push edi
push str.MACAddress
call fcn.00419764
add esp, 8
test eax, eax
jne 0x409ba7
push str.MACAddress
lea ecx, [esp + 0x50]
call fcn.00406980
mov byte [esp + 0x70], 5
mov edx, dword [esp + 0x78]
push esi
push ecx
lea ecx, [esp + 0x54]
add edx, 0xc
call fcn.00409ca0
add esp, 4
mov ecx, eax
call fcn.00406270
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 2
call fcn.004069c0
mov esi, dword [esp + 0x44]
cmp esi, ebx
je 0x409c36
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
jmp 0x409c26
mov edx, 0x2000
cmp ax, dx
jne 0x409c1a
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x24]
push eax
push 1
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x18]
push edx
push 1
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x18]
jg 0x409c36
lea ecx, [ecx]
mov edx, dword [esp + 0x44]
push ebx
lea ecx, [esp + 0x3c]
push ecx
push edx
mov dword [esp + 0x44], esi
call edi
inc esi
cmp esi, dword [esp + 0x18]
jle 0x409c00
jmp 0x409c36
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push str.unknown
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, eax
mov dword [esp + 0x24], ebp
cmp ebp, ebx
je 0x409c73
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x74], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc ebp
cmp ebp, dword [esp + 0x2c]
mov dword [esp + 0x28], ebp
jle 0x409a06
jmp 0x4099ec
push 0x8007000e
call fcn.004046f0
mov eax, 0x80004005
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8