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

Disassembly:
push 0xffffffffffffffff
push 0x100681a0
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x1007a200]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007a200]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xcc]
xor ebp, ebp
mov dword [esp + 0xc0], ebp
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], ebp
call fcn.1002cae0
mov dword [esp + 0xc0], ebp
xor ecx, ecx
mov edi, 1
mov ebx, 7
push 0x4d
mov eax, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
lea esi, [esp + 0x44]
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], cx
call fcn.10002d50
mov edx, esi
lea ecx, [esp + 0x24]
mov dword [esp + 0xc0], edi
call fcn.10037f40
mov byte [esp + 0xc0], 3
cmp dword [esp + 0x58], 8
jb 0x10038a56
mov edx, dword [esp + 0x44]
push edx
call fcn.10047382
add esp, 4
mov esi, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], ax
cmp esi, dword [esp + 0x34]
jbe 0x10038a74
call fcn.10048865
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov ebx, esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x30], esi
jbe 0x10038a91
call fcn.10048865
cmp edi, ebp
je 0x10038a9b
cmp edi, dword [esp + 0x24]
je 0x10038aa0
call fcn.10048865
cmp ebx, esi
je 0x10038cf5
xor ecx, ecx
push 0x4d
mov eax, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
lea esi, [esp + 0x9c]
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebp
mov word [esp + 0xa0], cx
call fcn.10002d50
mov byte [esp + 0xc0], 4
cmp edi, ebp
jne 0x10038c2f
call fcn.10048865
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x10038af8
call fcn.10048865
push ebx
lea edi, [esp + 0x64]
call fcn.10037790
add esp, 4
push ebp
push eax
or eax, 0xffffffff
lea esi, [esp + 0xa0]
mov byte [esp + 0xc8], 5
call fcn.10009510
cmp dword [esp + 0x78], 8
jb 0x10038b32
mov edx, dword [esp + 0x64]
push edx
call fcn.10047382
add esp, 4
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], cx
lea edx, [esp + 0x7c]
push edx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0xe0], 6
mov dword [ecx + 0x18], eax
mov dword [esp + 0x7c], esp
xor eax, eax
mov dword [ecx + 0x14], ebp
push 0xffffffffffffffff
mov word [ecx + 4], ax
push ebp
lea eax, [esp + 0xc0]
call fcn.100024e0
call fcn.10038d90
test al, al
je 0x10038c6a
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 0x10]
jbe 0x10038b9e
call fcn.10048865
mov esi, dword [esi]
mov ebx, edi
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x10]
cmp dword [eax + 0xc], edi
jbe 0x10038bb7
call fcn.10048865
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp esi, ebp
je 0x10038bc1
cmp esi, eax
je 0x10038bc6
call fcn.10048865
cmp ebx, edi
je 0x10038c66
cmp esi, ebp
jne 0x10038c36
call fcn.10048865
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x10038be3
call fcn.10048865
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x10038bfb
lea eax, [esp + 0x80]
mov edi, dword [esp + 0x90]
lea ecx, [ebx + 0x20]
push eax
mov eax, dword [ecx + 0x14]
call fcn.10003e80
test eax, eax
je 0x10038c3e
cmp esi, ebp
jne 0x10038c3a
call fcn.10048865
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x10038c27
call fcn.10048865
add ebx, 0x3c
jmp 0x10038ba2
mov eax, dword [edi]
jmp 0x10038aee
mov eax, dword [esi]
jmp 0x10038bd9
mov eax, dword [esi]
jmp 0x10038c1d
cmp esi, ebp
jne 0x10038cea
call fcn.10048865
xor esi, esi
cmp ebx, dword [esi + 0x10]
jb 0x10038c57
call fcn.10048865
add ebx, 4
push ebx
mov ebx, dword [esp + 0x24]
call fcn.100392f0
xor ebp, ebp
mov ebx, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x94], esi
jb 0x10038c88
mov ecx, dword [esp + 0x80]
push ecx
call fcn.10047382
add esp, 4
xor edx, edx
mov byte [esp + 0xc0], 3
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], dx
cmp dword [esp + 0xb0], esi
jb 0x10038cc5
mov eax, dword [esp + 0x9c]
push eax
call fcn.10047382
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x10038cf1
call fcn.10048865
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x10038cde
call fcn.10048865
mov edi, dword [esp + 0x18]
add ebx, 0x1c
jmp 0x10038a7e
mov esi, dword [esi]
jmp 0x10038c4d
mov eax, dword [eax]
jmp 0x10038cd4
mov esi, dword [esp + 0x30]
cmp esi, ebp
je 0x10038d3f
mov edi, dword [esp + 0x34]
cmp esi, edi
je 0x10038d32
add esi, 0x18
cmp dword [esi], 8
jb 0x10038d19
mov eax, dword [esi - 0x14]
push eax
call fcn.10047382
add esp, 4
xor ecx, ecx
mov dword [esi], 7
mov dword [esi - 4], ebp
mov word [esi - 0x14], cx
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x10038d08
mov eax, dword [esp + 0x30]
push eax
call fcn.10047382
add esp, 4
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call fcn.10047382
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.1004738d
add esp, 0xb0
ret 8