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

Disassembly:
push 0xffffffffffffffff
push 0x1010ebbc
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10159df0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov ebx, dword [esp + 0x70]
mov dword [ebx], ebp
mov edi, 1
push 0x44
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x1c], edi
call fcn.100d5826
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], edi
cmp eax, ebp
je 0x10090097
mov ecx, eax
call fcn.1008ed40
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x1009009d
mov dword [esp + 0x14], ebp
mov edi, ebp
mov ecx, dword [ebx]
mov byte [esp + 0x68], 0
cmp ecx, ebp
je 0x100900b5
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test al, al
je 0x100900b5
mov dword [ebx], ebp
mov dword [ebx], edi
cmp edi, ebp
je 0x100900c4
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 4]
mov ebp, dword [eax]
mov ecx, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov edi, edi
test ebx, ebx
je 0x100900ea
cmp ebx, dword [esp + 0x34]
je 0x100900ef
call fcn.100d526d
cmp ebp, dword [esp + 0x38]
je 0x100902f5
test ebx, ebx
jne 0x100902e7
call fcn.100d526d
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x10090112
call fcn.100d526d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], 2
call fcn.1008f1f0
mov edx, dword [eax]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x28], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10090184
mov edi, eax
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10090180
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10090180
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov edi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.10002ed0
mov edx, dword [esp + 0x30]
add esp, 4
mov eax, esp
mov dword [eax], edx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x70], 3
mov dword [esp + 0x28], esp
test eax, eax
je 0x100901c0
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0x70], 4
test ebx, ebx
jne 0x100902ee
call fcn.100d526d
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x100901de
call fcn.100d526d
mov edx, dword [ebp + 0xc]
push edx
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x78], 3
call fcn.1008f3c0
add esp, 0x10
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov byte [esp + 0x68], 5
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
test eax, eax
je 0x1009021b
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [edi + 4]
mov byte [esp + 0x70], 6
call fcn.1008f9d0
mov esi, dword [esp + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x68], 5
test esi, esi
je 0x1009026b
lea edx, [esi + 4]
push edx
call ebx
test eax, eax
jne 0x1009026b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x1009026b
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [esp + 0x50]
mov byte [esp + 0x68], 3
test esi, esi
je 0x1009029e
lea ecx, [esi + 4]
push ecx
call ebx
test eax, eax
jne 0x1009029e
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x1009029e
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [esp + 0x28]
mov byte [esp + 0x68], 0
test esi, esi
je 0x100902d1
lea ecx, [esi + 4]
push ecx
call ebx
test eax, eax
jne 0x100902d1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x100902d1
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [esp + 0x2c]
call fcn.100848d0
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
jmp 0x100900e0
mov eax, dword [ebx]
jmp 0x10090108
mov eax, dword [ebx]
jmp 0x100901d4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4