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

Disassembly:
or dword [eax + 0x38], 0x10
test esi, esi
jge 0x18e94
jmp 0x1f7f2
mov eax, dword [ebp - 8]
or dword [eax + 0x38], ebx
jmp 0x18d2a
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, word [0x2b794]
push ebx
push esi
push edi
push eax
push dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0xc], edi
call fcn.00012b4b
xor ebx, ebx
inc ebx
cmp word [ebp + 0x20], di
mov dword [ebp - 0x14], eax
je 0x18c2b
cmp word [ebp + 0x20], 2
mov dword [ebp - 0x10], ebx
jne 0x18c2e
mov dword [ebp - 0x10], edi
mov esi, 0x2b98c
mov ecx, esi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
cmp dword [ebp + 0xc], edi
mov edi, dword [ebp + 0x24]
mov byte [ebp - 1], al
lea eax, [ebp - 8]
je 0x199ad
push 0
push edi
push eax
movzx eax, word [ebp - 0x10]
push 0
push eax
push dword [ebp + 0xc]
mov eax, dword [section..data]
push dword [0x2b954]
push dword [ebp + 0x10]
push dword [eax + 0x10]
call fcn.00015ac2
test eax, eax
jne 0x1f792
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [eax + 0x48], esi
mov eax, dword [ebp - 8]
mov dword [eax + 0x4c], esi
cmp word [ebp + 0x20], si
je 0x18c98
cmp word [ebp + 0x20], 2
jne 0x19540
cmp dword [edi + 0xbc], ebx
mov eax, dword [ebp - 8]
je 0x197ad
mov ecx, dword [edi + 0x158]
mov edx, dword [edi + 0x15c]
add eax, 0x48
not ecx
and dword [eax], ecx
not edx
and dword [eax + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [edi + 0x158]
add eax, 0x40
or dword [eax], ecx
mov ecx, dword [edi + 0x15c]
or dword [eax + 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x64], eax
mov eax, dword [ebp - 8]
mov ecx, dword [0x2b95c]
xor edx, edx
cmp word [ebp - 0x10], si
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
setne dl
mov byte [eax + 0x38], 0
mov eax, dword [ebp - 8]
mov dword [ebp + 0x24], ecx
lea edx, [edx + edx + 2]
or dword [eax + 0x38], edx
test bl, cl
jne 0x17a2b
cmp word [ebp + 0x20], 2
jae 0x17a2b
mov eax, dword [ebp - 8]
test byte [eax + 0x38], bl
jne 0x17a16
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0x2a
je 0x17a16
cmp dword [ebp + 0xc], 0x7f000000
je 0x17a16
cmp dword [edi + 0x110], esi
je 0x17a16
cmp dword [edi + 0xbc], ebx
je 0x17a16
push 9
lea eax, [ebp - 0xc]
push eax
call fcn.00011b4b
mov esi, eax
test esi, esi
jl 0x1f7f2
mov eax, dword [ebp - 8]
or byte [eax + 0x38], 0x80
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], eax
mov dword [eax], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], edi
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 2
mov eax, dword [ebp - 0xc]
and word [eax + 0x6c], 0
mov eax, dword [ebp - 0xc]
and word [eax + 0x6e], 0
mov eax, dword [section..data]
mov si, word [eax + 0x10e]
mov eax, dword [eax + 0xec]
push 0xa
mov dword [ebp + 0x20], eax
mov eax, dword [ebp - 0xc]
pop ecx
inc si
test byte [ebp - 0x14], cl
mov dword [eax + 0x88], ebx
je 0x18e1d
mov eax, dword [section..data]
mov si, word [eax + 0x10c]
mov eax, dword [eax + 0xf0]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp - 0xc]
inc si
mov dword [eax + 0x88], 2
cmp dword [edi + 0x120], 0x7f000000
je 0x1f7ad
cmp byte [edi + 0x1e6], 0
jne 0x1f7ad
mov eax, dword [ebp - 8]
add eax, 0xc
mov ecx, ebx
lock xadd dword [eax], ecx
mov dl, byte [ebp - 1]
or byte [edi + 0x1e7], bl
mov ecx, 0x2b98c
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push ebx
push 4
push dword [ebp + 0x20]
movzx eax, si
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 0x190fb
push dword [ebp - 0xc]
push dword [0x2b954]
push dword [ebp - 8]
call fcn.0001570c
mov ecx, 0x2b98c
mov esi, eax
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
push ebx
push dword [ebp - 0xc]
mov byte [ebp - 1], al
call fcn.000161b1
push ebx
push 3
push dword [ebp - 8]
call fcn.00010aa2
test esi, esi
jl 0x1954b
mov esi, 0x103
mov dl, byte [ebp - 1]
mov ecx, 0x2b98c
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x20
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], esi
jmp 0x18c98
push ebx
push dword [ebp - 0xc]
call fcn.000161b1
jmp 0x17a1a
or dword [eax + 0x78], ebx
jmp 0x18cd6
push eax
push dword [0x2b954]
mov eax, dword [section..data]
push dword [ebp + 0x10]
push dword [eax + 0x10]
call fcn.000105b3
test eax, eax
jl 0x1f799
xor esi, esi
jmp 0x18c87
mov edi, 0xc0000001
jmp 0x1f79b
mov edi, eax
mov dl, byte [ebp - 1]
mov ecx, esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, edi
jmp 0x18ea4
test byte [ebp - 0x14], 8
mov eax, dword [ebp - 0xc]
je 0x1f7de
mov dword [eax + 0x88], ebx
mov eax, dword [section..data]
mov si, word [eax + 0x10e]
mov eax, dword [eax + 0xec]
inc si
inc dword [0x2b7a4]
mov dword [ebp + 0x20], eax
jmp 0x18e1d
mov esi, ebx
mov dword [ebp + 0x20], ecx
mov dword [eax + 0x88], 4
jmp 0x18e1d
cmp dword [edi + 0xbc], ebx
je 0x1f815
mov eax, dword [ebp - 8]
mov ecx, dword [edi + 0x158]
mov edx, dword [edi + 0x15c]
add eax, 0x40
not ecx
and dword [eax], ecx
not edx
and dword [eax + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x24]
mov dword [eax + 0x38], ecx
jmp 0x18e94