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

Disassembly:
push 0xffffffffffffffff
push 0x43f168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4cc
mov ecx, dword [esp + 0x4dc]
push ebx
push ebp
push esi
push edi
push 0x44a9b8
call fcn.00416d31
push eax
call fcn.00433c01
xor ebp, ebp
add esp, 8
cmp eax, ebp
mov dword [esp + 0x60], eax
je 0x40df39
sub esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push str.HKR___Driver_Name__0__TBUPDD_
call fcn.00416cb2
mov ecx, 0x4540e0
call fcn.004111e0
mov al, byte [0x454871]
test al, al
je 0x40d7e2
push str.___InfInstall__0x10001_01_00_00_00
lea ecx, [esp + 0x58]
call fcn.00416cb2
push 0x45435c
lea ecx, [esp + 0x40]
mov dword [esp + 0x4e8], ebp
call fcn.00416cb2
mov bl, 1
push str.HKR__Parameters_
lea ecx, [esp + 0x50]
mov byte [esp + 0x4e8], bl
call fcn.00416cb2
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x4ec], 2
call fcn.00416f5d
sub esp, 8
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x4f4], 3
call fcn.00416f5d
mov ecx, 0x4540e0
call fcn.004111e0
lea ecx, [esp + 0x44]
mov byte [esp + 0x4e4], 2
call fcn.00416d10
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4e4], bl
call fcn.00416d10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4e4], 0
call fcn.00416d10
lea ecx, [esp + 0x54]
mov dword [esp + 0x4e4], 0xffffffff
call fcn.00416d10
lea ecx, [esp + 0x24]
call fcn.00416c6c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4e4], 4
call fcn.00416c6c
mov byte [esp + 0x4e4], 5
xor esi, esi
mov bl, 0xf
mov edi, dword [esp + 0x60]
lea eax, [esp + 0xdc]
push edi
push 0x400
push eax
call fcn.00433daf
push edi
call fcn.00433e11
add esp, 0x10
test eax, eax
jne 0x40df0b
lea ecx, [esp + 0xdc]
inc esi
push 0x44ba10
push ecx
mov dword [esp + 0x18], esi
call fcn.00433c20
add esp, 8
test eax, eax
je 0x40d869
lea edx, [esp + 0xdc]
push 0x44ba10
push edx
call fcn.00433c20
add esp, 8
mov byte [eax], 0
lea eax, [esp + 0xdc]
push 0x44ba0c
push eax
call fcn.00433c20
add esp, 8
test eax, eax
je 0x40d89a
lea ecx, [esp + 0xdc]
push 0x44ba0c
push ecx
call fcn.00433c20
add esp, 8
mov byte [eax], 0
mov al, byte [esp + 0xdc]
cmp al, 0x5b
jne 0x40da16
lea edx, [esp + 0xdc]
push 0x44b0e0
push edx
call fcn.00433c20
add esp, 8
test eax, eax
je 0x40d8dc
lea eax, [esp + 0xdc]
push 0x44b0e0
push eax
call fcn.00433c20
add esp, 8
mov byte [eax], 0
jmp 0x40d8f5
mov edx, dword [esp + 0x4ec]
lea ecx, [esp + 0xdc]
push esi
push ecx
push edx
call fcn.0040df60
add esp, 0xc
call fcn.0040cad0
test al, al
je 0x40d95a
mov edi, str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTBUPDD
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xdd]
push ecx
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTBUPDD
push eax
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x40d95a
push 0x44b9cc
lea ecx, [esp + 0x28]
call fcn.00416d5d
mov edi, str._HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTBUPDD_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [esp + ecx + 0xdc]
push ecx
lea ecx, [esp + 0x20]
call fcn.00416d5d
jmp 0x40d80b
mov edi, str.HKEY_LOCAL_MACHINE
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xdd]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.HKEY_LOCAL_MACHINE
push edx
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x40d9b6
push str.HKLM
lea ecx, [esp + 0x28]
call fcn.00416d5d
mov edi, str._HKEY_LOCAL_MACHINE_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0xdc]
lea ecx, [esp + 0x1c]
push eax
call fcn.00416d5d
jmp 0x40d80b
mov edi, str.HKEY_CURRENT_USER
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe1]
push str.HKEY_CURRENT_USER
push ecx
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x40d80b
push str.HKCU
lea ecx, [esp + 0x28]
call fcn.00416d5d
mov edi, str._HKEY_CURRENT_USER_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + ecx + 0xdc]
lea ecx, [esp + 0x1c]
push edx
call fcn.00416d5d
jmp 0x40d80b
cmp al, 0x22
jne 0x40de9d
push 0x44b924
lea ecx, [esp + 0x78]
call fcn.00416cb2
push 0x44b920
lea ecx, [esp + 0x88]
mov byte [esp + 0x4e8], 6
call fcn.00416cb2
lea eax, [esp + 0x84]
lea ecx, [esp + 0xb4]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4ec], 7
call fcn.00416f5d
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xac]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x4ec], 8
call fcn.00416f5d
lea edx, [esp + 0x74]
lea ecx, [esp + 0x14]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x4ec], 9
call fcn.00416f5d
lea ecx, [esp + 0xac]
mov byte [esp + 0x4e4], 0xe
call fcn.00416d10
lea ecx, [esp + 0xb4]
mov byte [esp + 0x4e4], 0xd
call fcn.00416d10
lea ecx, [esp + 0x84]
mov byte [esp + 0x4e4], 0xc
call fcn.00416d10
lea ecx, [esp + 0x74]
mov byte [esp + 0x4e4], 0xb
call fcn.00416d10
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
sub esp, 8
mov byte [esp + 0x4ec], bl
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0x44a724
call fcn.00416cb2
sub esp, 8
lea edx, [esp + 0xec]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x4f8], 0x10
call fcn.00416cb2
lea eax, [esp + 0x3c]
mov byte [esp + 0x4f4], bl
push eax
call fcn.004185a6
mov eax, dword [esp + 0x44]
add esp, 0x14
cmp eax, 2
jl 0x40de36
jle 0x40db78
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xdc]
push 0x44a724
push edx
lea esi, [ecx + 8]
call fcn.00433c20
add esp, 8
inc eax
mov ecx, esi
push eax
call fcn.00416d5d
push 0x44b2a8
lea ecx, [esp + 0x80]
call fcn.00416cb2
lea eax, [esp + 0x7c]
lea ecx, [esp + 0xbc]
push eax
push ecx
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x4ec], 0x11
call fcn.00416f5d
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e8], 0x12
call fcn.00416e70
lea ecx, [esp + 0xbc]
mov byte [esp + 0x4e4], 0x11
call fcn.00416d10
lea ecx, [esp + 0x7c]
mov byte [esp + 0x4e4], bl
call fcn.00416d10
lea edx, [esp + 0xdc]
push str.dword:
push edx
call fcn.00433c20
add esp, 8
test eax, eax
je 0x40dd22
push str.0x10001
lea ecx, [esp + 0x70]
call fcn.00416cb2
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x4e8], 0x13
call fcn.00416e70
lea ecx, [esp + 0x6c]
mov byte [esp + 0x4e4], bl
call fcn.00416d10
lea ecx, [esp + 0x5c]
lea edx, [esp + 0xdc]
push ecx
push 0x44ab20
push str.dword:
push edx
call fcn.00433c20
add esp, 8
add eax, 7
push eax
call fcn.00433ee3
add esp, 0xc
lea esi, [esp + 0x5c]
mov edi, 4
xor eax, eax
lea ecx, [esp + 0xcc]
mov al, byte [esi]
push eax
push str._2.2x
push ecx
call fcn.004330da
add esp, 0xc
lea edx, [esp + 0xcc]
lea ecx, [esp + 0x8c]
push edx
call fcn.00416cb2
push 0x44b2a8
lea ecx, [esp + 0xc8]
mov byte [esp + 0x4e8], 0x14
call fcn.00416cb2
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x94]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x4ec], 0x15
call fcn.00416f5d
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e8], 0x16
call fcn.00416e70
lea ecx, [esp + 0x94]
mov byte [esp + 0x4e4], 0x15
call fcn.00416d10
lea ecx, [esp + 0xc4]
mov byte [esp + 0x4e4], 0x14
call fcn.00416d10
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4e4], bl
call fcn.00416d10
inc esi
dec edi
jne 0x40dc62
jmp 0x40de17
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x64]
add eax, 8
push eax
call fcn.00416cf8
push 0x44a3cc
lea ecx, [esp + 0x48]
mov byte [esp + 0x4e8], 0x17
call fcn.00416cb2
push 0x44b904
lea ecx, [esp + 0x50]
mov byte [esp + 0x4e8], 0x18
call fcn.00416cb2
lea ecx, [esp + 0x44]
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
mov byte [esp + 0x4f0], 0x19
call fcn.00415edb
add esp, 0xc
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4e4], 0x18
call fcn.00416d10
lea ecx, [esp + 0x44]
mov byte [esp + 0x4e4], 0x17
call fcn.00416d10
push 0x44b900
lea ecx, [esp + 0xa8]
call fcn.00416cb2
lea ecx, [esp + 0x64]
lea edx, [esp + 0x9c]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x4ec], 0x1a
call fcn.00416f5d
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e8], 0x1b
call fcn.00416e70
lea ecx, [esp + 0x9c]
mov byte [esp + 0x4e4], 0x1a
call fcn.00416d10
lea ecx, [esp + 0xa4]
mov byte [esp + 0x4e4], 0x17
call fcn.00416d10
lea ecx, [esp + 0x64]
mov byte [esp + 0x4e4], bl
call fcn.00416d10
sub esp, 8
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00416cf8
mov ecx, 0x4540e0
call fcn.004111e0
jmp 0x40de4f
mov edx, dword [esp + 0x4ec]
lea ecx, [esp + 0xdc]
push esi
push ecx
push edx
call fcn.0040df60
add esp, 0xc
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x4e4], 0xb
cmp esi, ebp
je 0x40de83
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x40de7a
lea edi, [eax]
mov ecx, esi
call fcn.00416d10
add esi, 8
dec edi
jne 0x40de69
mov esi, dword [esp + 0x2c]
push esi
call fcn.00433020
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x4e4], 5
call fcn.00416d10
mov esi, dword [esp + 0x10]
jmp 0x40d80b
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40d80b
push 7
lea eax, [esp + 0xe0]
push str.regedit
push eax
call fcn.0043d090
add esp, 0xc
test eax, eax
je 0x40d80b
movsx cx, byte [esp + 0xdc]
push ecx
call fcn.004340e0
add esp, 4
test eax, eax
jne 0x40d80b
mov eax, dword [esp + 0x4ec]
lea edx, [esp + 0xdc]
push esi
push edx
push eax
call fcn.0040df60
add esp, 0xc
jmp 0x40d80b
push edi
call fcn.00433b53
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4e4], 4
call fcn.00416d10
lea ecx, [esp + 0x24]
mov dword [esp + 0x4e4], 0xffffffff
call fcn.00416d10
mov ecx, dword [esp + 0x4dc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4d8
ret