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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100788e8
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x1009e034]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x1009e034]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionDrivers32
mov dword [esp + 0x34], ebx
push 0x80000002
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x8c], ebx
call fcn.1005c350
mov dword [esp + 0xc8], ebx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.1005cdf0
mov byte [esp + 0xc8], 1
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1004841f
cmp dword [esp + 0x38], 0
jl 0x10048414
mov edx, dword [esp + 0x54]
xor eax, eax
cmp edx, dword [esp + 0x58]
mov dword [esp + 0x7c], 7
cmove edx, eax
mov dword [esp + 0x78], eax
mov word [esp + 0x68], ax
cmp word [edx], ax
jne 0x100482b0
xor ecx, ecx
jmp 0x100482c4
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100482b5
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x70]
call fcn.10003de0
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x78], 0
je 0x1004832c
xor eax, eax
push eax
push 0x1007d0cc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.10003de0
mov byte [esp + 0xc8], 3
or ebx, 1
lea edx, [esp + 0x14]
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ebx
call fcn.10048b80
test al, al
jne 0x1004832c
mov bl, 1
jmp 0x1004832e
xor bl, bl
mov dword [esp + 0xc8], 2
mov eax, dword [esp + 0x10]
test al, 1
je 0x10048358
and eax, 0xfffffffe
cmp dword [esp + 0x28], 8
mov dword [esp + 0x10], eax
jb 0x10048358
push dword [esp + 0x14]
call esi
add esp, 4
test bl, bl
je 0x100483e6
cmp dword [esp + 0x50], 8
lea edx, [esp + 0x3c]
cmovae edx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [edx], ax
jne 0x1004838e
xor ecx, ecx
jmp 0x100483a2
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10048393
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.10003de0
mov byte [esp + 0xc8], 4
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x84]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.1004bcb0
cmp dword [esp + 0x28], 8
jb 0x100483e6
push dword [esp + 0x14]
call esi
add esp, 4
mov byte [esp + 0xc8], 1
cmp dword [esp + 0x7c], 8
jb 0x100483fe
push dword [esp + 0x68]
call esi
add esp, 4
dec dword [esp + 0x38]
lea ecx, [esp + 0x34]
call fcn.1005cfb0
mov ebx, dword [esp + 0x10]
jmp 0x10048272
test eax, eax
je 0x1004841f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x10048445
push eax
call esi
add esp, 4
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
cmp dword [esp + 0x50], 8
jb 0x10048455
push dword [esp + 0x3c]
call esi
add esp, 4
cmp dword [esp + 0xb4], 8
jb 0x1004846b
push dword [esp + 0xa0]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x98], 8
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], 0
mov word [esp + 0xa0], ax
jb 0x100484a1
push dword [esp + 0x84]
call esi
add esp, 4
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret