Function at 0x40a560
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x424778
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x42e43c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
push 0x800
call fcn.0040c03e
add esp, 4
push 0x444
mov dword [esp + 0x44], eax
call fcn.0040d736
add esp, 4
mov dword [esp + 0x3c], eax
xor edi, edi
mov dword [esp + 0x68], edi
cmp eax, edi
je 0x40a5c6
push eax
call fcn.00404180
mov esi, eax
mov dword [esp + 0x28], esi
jmp 0x40a5cc
mov dword [esp + 0x28], edi
mov esi, edi
lea eax, [esi + 0x210]
push eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x6c], 0xffffffff
mov ebx, dword [eax]
call fcn.0040a430
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add esp, 4
push ecx
mov ecx, esi
call fcn.004043c0
mov ebx, eax
cmp ebx, edi
je 0x40a623
mov edx, dword [esp + 0x40]
push edx
call fcn.0040d1fe
mov eax, ebx
dec eax
add esp, 4
neg eax
sbb eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x24
call fcn.0040d736
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], 1
cmp eax, edi
je 0x40a651
mov ebx, dword [esi + 0x438]
push eax
call fcn.00402d40
mov ebx, eax
mov dword [esp + 0x3c], ebx
jmp 0x40a657
mov dword [esp + 0x3c], edi
mov ebx, edi
push 0x444
mov dword [esp + 0x6c], 0xffffffff
call fcn.0040d736
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], 2
cmp eax, edi
je 0x40a6b0
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x50], esp
mov word [esi + 4], ax
push 0xb
mov eax, str.MsiProvider
call fcn.0040acc0
mov ecx, dword [esp + 0x54]
call fcn.00404ba0
mov dword [esp + 0x18], eax
jmp 0x40a6b4
mov dword [esp + 0x18], edi
push 0x49a
mov dword [esp + 0x6c], 0xffffffff
call fcn.0040d736
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], 3
cmp eax, edi
je 0x40a70d
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x50], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xe
mov eax, str.SmBiosProvider
mov word [esi + 4], cx
call fcn.0040acc0
mov ecx, dword [esp + 0x54]
call fcn.00401280
mov dword [esp + 0x2c], eax
jmp 0x40a711
mov dword [esp + 0x2c], edi
push 0x448
mov dword [esp + 0x6c], 0xffffffff
call fcn.0040d736
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], 4
cmp eax, edi
je 0x40a76a
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x50], esp
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0x10
mov eax, str.RegistryProvider
mov word [esi + 4], dx
call fcn.0040acc0
mov ecx, dword [esp + 0x54]
call fcn.00406550
mov dword [esp + 0x1c], eax
jmp 0x40a76e
mov dword [esp + 0x1c], edi
push 0x444
mov dword [esp + 0x6c], 0xffffffff
call fcn.0040d736
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], 5
cmp eax, edi
je 0x40a7c7
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x50], esp
mov word [esi + 4], ax
push 0x11
mov eax, str.PlugNPlayProvider
call fcn.0040acc0
mov ecx, dword [esp + 0x54]
call fcn.00405cf0
mov dword [esp + 0x20], eax
jmp 0x40a7cb
mov dword [esp + 0x20], edi
push 0x444
mov dword [esp + 0x6c], 0xffffffff
call fcn.0040d736
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], 6
cmp eax, edi
je 0x40a824
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x50], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xb
mov eax, str.WMIProvider
mov word [esi + 4], cx
call fcn.0040acc0
mov ecx, dword [esp + 0x54]
call fcn.0040b170
mov dword [esp + 0x14], eax
jmp 0x40a828
mov dword [esp + 0x14], edi
push 0x64c
mov dword [esp + 0x6c], 0xffffffff
call fcn.0040d736
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, 7
mov dword [esp + 0x68], ecx
cmp eax, edi
je 0x40a87e
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x50], esp
xor edx, edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], edi
push 0xe
mov eax, str.OSInfoProvider
mov word [esi + 4], dx
call fcn.0040acc0
mov ecx, dword [esp + 0x54]
call fcn.00404dc0
mov dword [esp + 0x24], eax
jmp 0x40a882
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
mov dword [eax + 0x434], ebx
mov dword [ecx + 0x434], ebx
mov ecx, dword [esp + 0x20]
mov dword [edx + 0x434], ebx
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x434], ebx
mov ecx, dword [esp + 0x14]
mov dword [edx + 0x434], ebx
lea edx, [esp + 0x44]
push edx
push 4
push eax
push 0x40a410
push edi
push edi
mov dword [ecx + 0x434], ebx
call fcn.0040eec8
mov ebx, eax
add esp, 0x18
cmp ebx, edi
jne 0x40a8f0
push str.Failed_to_create_thread_1_n
call fcn.00403a70
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call esi
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
push 4
push ecx
push 0x40a410
push edi
push edi
call fcn.0040eec8
add esp, 0x18
mov dword [esp + 0x30], eax
cmp eax, edi
jne 0x40a92d
push str.Failed_to_create_thread_1_n
call fcn.00403a70
mov eax, dword [esp + 0x34]
add esp, 4
push eax
call esi
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x4c]
push edx
push 4
push eax
push 0x40a410
push edi
push edi
call fcn.0040eec8
add esp, 0x18
mov dword [esp + 0x34], eax
cmp eax, edi
jne 0x40a964
push str.Failed_to_create_thread_1_n
call fcn.00403a70
mov eax, dword [esp + 0x38]
add esp, 4
push eax
call esi
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x50]
push ecx
push 4
push edx
push 0x40a410
push edi
push edi
call fcn.0040eec8
add esp, 0x18
mov dword [esp + 0x38], eax
cmp eax, edi
jne 0x40a99b
push str.Failed_to_create_PNP_thread_n
call fcn.00403a70
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
call esi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
push 4
push ecx
push 0x40a410
push edi
push edi
call fcn.0040eec8
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x40a9cc
push str.Failed_to_create_OSI_thread_n
call fcn.00403a70
add esp, 4
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ebx
call esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
push edx
call esi
mov eax, dword [esp + 0x30]
push eax
call ebx
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ecx
call esi
mov edx, dword [esp + 0x34]
push edx
call ebx
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push eax
call esi
mov ecx, dword [esp + 0x38]
push ecx
call ebx
push 0xffffffffffffffff
push edi
call esi
push edi
call ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x58]
push edx
push 4
push eax
push 0x40a410
push 0
push 0
call fcn.0040eec8
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x40aa4b
push str.Failed_to_create_WMI_thread_n
call fcn.00403a70
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push edi
call esi
push edi
call ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
add eax, 0x210
push eax
add ecx, 8
push ecx
push str.__xml_version_1.0__encoding__s____n_staticinventory_icexecutableversion__s__icapplicationname_StaticIC__xsi:schemaLocation_http:__schemas.dell.com_openmanage_cm_2009_1_1_staticinventory.xsd_staticinventory.xsd__xmlns_http:__schemas.dell.com_openmanage_cm_2009_1_1_staticinventory.xsd__xmlns:xsi_http:__www.w3.org_2001_XMLSchema_instance__
push 0x400
push esi
call fcn.0040cf33
mov edx, dword [0x430700]
add esp, 0x14
push esi
push edx
call fcn.0040d8b4
mov eax, dword [0x430700]
add esp, 8
mov edi, eax
test eax, eax
je 0x40aac8
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + 0x43c]
test esi, esi
je 0x40aac8
lea esp, [esp]
mov edx, dword [esi]
push edx
push edi
call fcn.0040d8b4
mov esi, dword [esi + 4]
add esp, 8
test esi, esi
jne 0x40aab0
mov eax, dword [0x430700]
mov edi, eax
test eax, eax
je 0x40aaf8
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x43c]
test esi, esi
je 0x40aaf8
lea esp, [esp]
mov edx, dword [esi]
push edx
push edi
call fcn.0040d8b4
mov esi, dword [esi + 4]
add esp, 8
test esi, esi
jne 0x40aae0
mov eax, dword [0x430700]
mov edi, eax
test eax, eax
je 0x40ab28
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 0x43c]
test esi, esi
je 0x40ab28
lea esp, [esp]
mov edx, dword [esi]
push edx
push edi
call fcn.0040d8b4
mov esi, dword [esi + 4]
add esp, 8
test esi, esi
jne 0x40ab10
mov eax, dword [0x430700]
mov edi, eax
test eax, eax
je 0x40ab58
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x43c]
test esi, esi
je 0x40ab58
lea esp, [esp]
mov edx, dword [esi]
push edx
push edi
call fcn.0040d8b4
mov esi, dword [esi + 4]
add esp, 8
test esi, esi
jne 0x40ab40
mov eax, dword [0x430700]
mov edi, eax
test eax, eax
je 0x40ab88
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x43c]
test esi, esi
je 0x40ab88
lea esp, [esp]
mov edx, dword [esi]
push edx
push edi
call fcn.0040d8b4
mov esi, dword [esi + 4]
add esp, 8
test esi, esi
jne 0x40ab70
mov eax, dword [0x430700]
mov edi, dword [esp + 0x14]
mov ebx, eax
test eax, eax
je 0x40abb8
mov esi, dword [edi + 0x43c]
test esi, esi
je 0x40abb8
lea esp, [esp]
mov eax, dword [esi]
push eax
push ebx
call fcn.0040d8b4
mov esi, dword [esi + 4]
add esp, 8
test esi, esi
jne 0x40aba0
mov eax, dword [0x430700]
push str.__staticinventory_
push eax
call fcn.0040d8b4
mov esi, dword [esp + 0x44]
add esp, 8
mov eax, esi
call fcn.00402c90
test esi, esi
je 0x40abe5
mov eax, esi
call fcn.00402dd0
push esi
call fcn.0040cf19
add esp, 4
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x492]
mov dword [ebx], vtable.BIOSProvider.0
test eax, eax
je 0x40ac02
push eax
call fcn.0040d1fe
add esp, 4
call fcn.004042c0
push ebx
call fcn.0040cf19
mov ebx, dword [esp + 0x1c]
add esp, 4
mov dword [ebx], vtable.MSIProvider.0
call fcn.004042c0
push ebx
call fcn.0040cf19
mov ebx, dword [esp + 0x20]
add esp, 4
mov dword [ebx], vtable.RegistryProvider.0
call fcn.004042c0
push ebx
call fcn.0040cf19
mov ebx, dword [esp + 0x24]
add esp, 4
mov dword [ebx], vtable.PNPProvider.0
call fcn.004042c0
push ebx
call fcn.0040cf19
mov ebx, dword [esp + 0x28]
add esp, 4
mov dword [ebx], vtable.OSInfoProvider.0
call fcn.004042c0
push ebx
call fcn.0040cf19
add esp, 4
mov ebx, edi
mov dword [edi], vtable.WMIProvider.0
call fcn.004042c0
push edi
call fcn.0040cf19
mov ebx, dword [esp + 0x2c]
add esp, 4
test ebx, ebx
je 0x40ac9c
call fcn.004042c0
push ebx
call fcn.0040cf19
add esp, 4
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0040d1fe
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret