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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0xd08954]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
push 0xb26644
push ecx
xor edi, edi
mov esi, ecx
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.00b8d992
push 0xb2666c
push ecx
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00b8d992
mov ebx, dword [esi + 0x18]
mov eax, dword [ebx + 0x3c]
test eax, eax
js 0xbd3c63
mov ebx, edi
mov ecx, esi
call fcn.00b8acae
push 0xcbd230
call fcn.00b8b3e7
test ebx, ebx
jne 0xbd3c74
mov ebx, dword [eax + 4]
cmp dword [ebx], 5
jbe 0xb8c7dd
push 0x8000
push edi
mov ecx, ebx
call fcn.00b54cc0
test al, al
je 0xb8c7dd
mov eax, dword [esi + 0x18]
push 4
mov eax, dword [eax + 0x3c]
and dword [esp + 0x78], 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x70], edi
pop edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [esp + 0x18], eax
xor ecx, ecx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov dword [esp + 0x78], eax
lea eax, [ebp + 8]
mov dword [esp + 0x88], eax
lea eax, [ebp + 0xc]
mov dword [esp + 0x98], eax
movzx eax, byte [ebp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0xa8], eax
movzx eax, byte [ebp + 0x14]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0xb8], eax
movzx eax, byte [ebp + 0x18]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x80], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xd0], edi
mov edi, 0xb284a8
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd4], ecx
test edx, edx
je 0xb8c80f
lea ecx, [esp + 0xd8]
call fcn.00b52bec
mov edx, dword [esp + 0x20]
test edx, edx
je 0xb8c813
lea ecx, [esp + 0xe8]
call fcn.00b52bec
lea eax, [esp + 0x48]
mov edx, 0xb3b7bc
push eax
push 0xb
mov ecx, ebx
mov eax, dword [esi + 0x18]
xor edi, edi
push edi
add eax, 8
push eax
call fcn.00b809fe
cmp dword [esi + 0x10], edi
jne 0xbd3f01
lea ecx, [esp + 0x20]
call fcn.00b7a9bd
lea ecx, [esp + 0x2c]
call fcn.00b7a9bd
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00bc0ea0
mov esp, ebp
pop ebp
ret 0x14
mov edx, edi
jmp 0xb8c7a0
mov edx, edi
jmp 0xb8c7b4
cmp eax, dword [ebx + 0x44]
jne 0xb8c659
add ebx, 0x40
jmp 0xb8c65b
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
cmp dword [eax], 5
jbe 0xb8c7dd
push 0x8000
push edi
mov ecx, eax
call fcn.00b54cc0
test al, al
je 0xb8c7dd
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x128]
mov edx, dword [ebx + 0x1c]
and dword [esp + 0x124], 0
push 4
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x120], edi
pop edi
mov dword [esp + 0x118], eax
mov dword [esp + 0x120], edi
call fcn.00c213db
mov edx, dword [ebx + 0x44]
lea eax, [ebx + 0x20]
and dword [esp + 0x13c], 0
lea ecx, [esp + 0x148]
and dword [esp + 0x144], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x140], edi
call fcn.00c213db
mov eax, dword [ebx]
lea ecx, [esp + 0x168]
mov edx, dword [ebx + 0xc]
and dword [esp + 0x15c], 0
and dword [esp + 0x164], 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x158], eax
mov dword [esp + 0x160], edi
call fcn.00b52bec
mov eax, dword [ebx + 0x10]
lea ecx, [esp + 0x188]
mov edx, dword [ebx + 0x28]
and dword [esp + 0x17c], 0
and dword [esp + 0x184], 0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x178], eax
mov dword [esp + 0x180], edi
call fcn.00c213db
mov eax, dword [ebx + 0x2c]
lea ecx, [esp + 0x1a8]
mov edx, dword [ebx + 0x30]
and dword [esp + 0x19c], 0
and dword [esp + 0x1a4], 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x198], eax
mov dword [esp + 0x1a0], edi
call fcn.00c213db
mov edx, dword [ebx + 0x34]
lea ecx, [esp + 0x1b8]
call fcn.00b52bec
mov eax, dword [ebx + 0x38]
lea ecx, [esp + 0x1d8]
mov edx, dword [ebx + 0x3c]
and dword [esp + 0x1cc], 0
and dword [esp + 0x1d4], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1d0], edi
call fcn.00c213db
mov edx, dword [ebx + 0x40]
lea ecx, [esp + 0x1e8]
call fcn.00b52bec
lea eax, [ebp + 8]
mov dword [esp + 0x200], edi
mov dword [esp + 0x1f8], eax
xor ecx, ecx
lea eax, [ebp + 0xc]
mov dword [esp + 0x1fc], ecx
mov dword [esp + 0x208], eax
movzx eax, byte [ebp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x204], ecx
mov dword [esp + 0x20c], ecx
mov dword [esp + 0x210], edi
mov dword [esp + 0x214], ecx
mov dword [esp + 0x218], eax
movzx eax, byte [ebp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x228], eax
movzx eax, byte [ebp + 0x18]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x220], edi
mov dword [esp + 0x230], edi
mov dword [esp + 0x240], edi
mov edi, 0xb284a8
mov dword [esp + 0x21c], ecx
mov dword [esp + 0x224], ecx
mov dword [esp + 0x22c], ecx
mov dword [esp + 0x234], ecx
mov dword [esp + 0x238], eax
mov dword [esp + 0x23c], ecx
mov dword [esp + 0x244], ecx
test edx, edx
jne 0xbd3ec7
mov edx, edi
lea ecx, [esp + 0x248]
call fcn.00b52bec
mov edx, dword [esp + 0x20]
test edx, edx
jne 0xbd3edd
mov edx, edi
lea ecx, [esp + 0x258]
call fcn.00b52bec
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xf8]
push eax
push 0x17
mov edx, 0xb3b898
jmp 0xb8c7ce
lea ecx, [esi + 4]
call fcn.00b54a44
jmp 0xb8c7e6