Function at 0x1003b610
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b07c9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1022be34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
call fcn.10043249
mov ecx, eax
test ecx, ecx
je 0x1003b84b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.10007db0
test al, al
jne 0x1003b687
push esi
lea ecx, [ebp - 0x18]
call fcn.1003bf40
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi - 0x10]
lea edi, [esi - 0x10]
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x1003b6ad
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1003b6c3
call fcn.10043249
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1003b855
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0x12
push str.Driver_Engine.dll
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.1003c050
add esp, 0x14
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1003b705
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1003b80c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DriverInitialization
push eax
call edi
push str.ReadIoPortByte
push dword [ebp - 0x18]
mov dword [ebx], eax
call edi
push str.WriteIoPortByte
push dword [ebp - 0x18]
mov dword [ebx + 4], eax
call edi
push str.ReadIoPortWord
push dword [ebp - 0x18]
mov dword [ebx + 8], eax
call edi
push str.WriteIoPortWord
push dword [ebp - 0x18]
mov dword [ebx + 0xc], eax
call edi
push str.ReadCMOSByte
push dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
call edi
push str.WriteCMOSByte
push dword [ebp - 0x18]
mov dword [ebx + 0x14], eax
call edi
push str.Rdmsr
push dword [ebp - 0x18]
mov dword [ebx + 0x18], eax
call edi
push str.Wrmsr
push dword [ebp - 0x18]
mov dword [ebx + 0x1c], eax
call edi
push str.ReadPhysicalMemory
push dword [ebp - 0x18]
mov dword [ebx + 0x20], eax
call edi
push str.ReadPhysicalMemory_Byte
push dword [ebp - 0x18]
mov dword [ebx + 0x24], eax
call edi
push str.WritePhysicalMemory_Byte
push dword [ebp - 0x18]
mov dword [ebx + 0x28], eax
call edi
push str.ReadPhysicalMemory_DWORD
push dword [ebp - 0x18]
mov dword [ebx + 0x2c], eax
call edi
push str.WritePhysicalMemory_DWORD
push dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
call edi
push str.PCIConfigRead
push dword [ebp - 0x18]
mov dword [ebx + 0x34], eax
call edi
push str.PCIConfigWrite
push dword [ebp - 0x18]
mov dword [ebx + 0x38], eax
call edi
push str.DriverRelease
push dword [ebp - 0x18]
mov dword [ebx + 0x3c], eax
call edi
push 0x2f405a34
push dword [ebp - 0x20]
mov dword [ebx + 0x40], eax
push dword [ebp - 0x24]
mov eax, dword [ebx]
call eax
mov byte [ebx + 0x44], al
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003b82b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177bf5
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10008330
push 0x80004005
call fcn.10008330
int3