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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007b960
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10094610]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x10094610]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor edi, edi
mov esi, vtable.CRegistryEdit.0
mov dword [esp + 0x14], 0x270f
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x80], edi
xor eax, eax
mov dword [esp + 0x1c], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], edi
mov word [esp + 0x38], ax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push str.SYSTEMCurrentControlSetControlClass4D36E968_E325_11CE_BFC1_08002BE10318
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], 1
call fcn.10059270
test al, al
je 0x100549fe
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
xor edx, edx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
mov word [esp + 0x54], dx
mov byte [esp + 0x80], 3
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x1005483c
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push 1
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x100549b4
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x54]
push eax
mov eax, dword [edx + 0xc]
push str.DriverDesc
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x34]
call eax
mov ecx, dword [esp + 0x24]
push ecx
mov bl, al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x100549b4
mov ebx, dword [esp + 0x54]
sub esp, 0x1c
cmp dword [esp + 0x84], 8
mov dword [esp + 0x30], esp
mov esi, esp
jae 0x100548a4
lea ebx, [esp + 0x70]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov eax, ebx
mov word [esi], dx
lea edx, [eax + 2]
jmp 0x100548c0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100548c0
sub eax, edx
sar eax, 1
mov edi, eax
test ebx, ebx
je 0x10054928
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x100548e1
mov eax, dword [esi]
jmp 0x100548e3
mov eax, esi
cmp ebx, eax
jb 0x10054928
cmp ecx, 8
jb 0x100548f0
mov eax, dword [esi]
jmp 0x100548f2
mov eax, esi
mov edx, dword [esi + 0x10]
lea eax, [eax + edx*2]
cmp eax, ebx
jbe 0x10054928
cmp ecx, 8
jb 0x10054916
mov eax, dword [esi]
sub ebx, eax
push edi
sar ebx, 1
push ebx
push esi
mov ecx, esi
call fcn.1004dc02
jmp 0x1005499c
mov eax, esi
sub ebx, eax
push edi
sar ebx, 1
push ebx
push esi
mov ecx, esi
call fcn.1004dc02
jmp 0x1005499c
cmp edi, 0x7ffffffe
ja 0x10054a36
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x10054949
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.1004de4c
jmp 0x10054960
test edi, edi
jne 0x10054962
mov dword [esi + 0x10], edi
cmp eax, 8
jb 0x10054959
mov eax, dword [esi]
jmp 0x1005495b
mov eax, esi
xor edx, edx
mov word [eax], dx
test edi, edi
setne al
test al, al
je 0x1005499c
cmp dword [esi + 0x14], 8
jb 0x10054973
mov ecx, dword [esi]
jmp 0x10054975
mov ecx, esi
lea eax, [edi + edi]
push eax
push ebx
push ecx
mov dword [esp + 0x3c], eax
call fcn.10065820
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edi
jb 0x10054992
mov esi, dword [esi]
mov ecx, dword [esp + 0x30]
xor eax, eax
mov word [esi + ecx], ax
mov edi, dword [ebp + 8]
mov ecx, 6
call fcn.10054a50
mov dword [esp + 0x14], eax
mov esi, vtable.CRegistryEdit.0
xor edi, edi
cmp dword [esp + 0x68], 8
jb 0x100549c8
mov edx, dword [esp + 0x54]
push edx
call fcn.100660ce
add esp, 4
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push str.SYSTEMCurrentControlSetControlClass4D36E968_E325_11CE_BFC1_08002BE10318
lea eax, [esp + 0x2c]
mov byte [esp + 0x90], 1
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], esi
call fcn.10059270
test al, al
jne 0x1005480a
cmp dword [esp + 0x4c], 8
jb 0x10054a12
mov ecx, dword [esp + 0x38]
push ecx
call fcn.100660ce
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.100660ff
mov esp, ebp
pop ebp
ret 4
push str.string_too_long
call fcn.100654a0
int3