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

Disassembly:
push 0xffffffffffffffff
push 0x74d54b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8b0
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x18], esi
xor bl, bl
call 0xbe1321
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ebp, dword [esp + 0x8cc]
test ebp, ebp
mov dword [esp + 0x8c4], 0
je 0x8f1cd4
cmp dword [ebp], 0x15
jne 0x8f1cd4
mov eax, dword [ebp + 0x14]
test eax, eax
push edi
mov byte [esp + 0x13], 1
je 0x8f1667
mov ecx, dword [esi + 0x156c]
mov edx, dword [ecx]
push eax
push 0x400
lea eax, [esp + 0x74]
push eax
call dword [edx + 0x2c]
lea ecx, [esp + 0x6c]
push ecx
jmp 0x8f166c
push 0x77caf0
mov edi, dword [esp + 0x8d8]
lea ecx, [edi + 0x34]
call fcn.008b7ec0
mov edx, dword [ebp + 4]
push edx
lea ecx, [edi + 8]
call fcn.008b7ec0
fild qword [ebp + 0x20]
push 0x400
lea eax, [esp + 0x70]
push eax
sub esp, 8
fstp qword [esp]
call 0x990150
lea eax, [esp + 0x7c]
add esp, 0x10
lea ecx, [edi + 0x1c]
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x8f16b0
sub eax, esi
push eax
lea edx, [esp + 0x70]
push edx
call fcn.008b7680
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push ecx
call 0x98c580
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 4]
mov eax, dword [eax]
add esp, 4
push ecx
push eax
call 0xb45d84
shl eax, 6
add esp, 4
add eax, 0x88a07b
push eax
lea edx, [esp + 0x74]
push 0x785e7c
push edx
call 0xb44e41
lea eax, [esp + 0x7c]
add esp, 0x10
lea ecx, [edi + 0x20]
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x8f1710
sub eax, esi
push eax
lea eax, [esp + 0x70]
push eax
call fcn.008b7680
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x2c]
or ecx, eax
je 0x8f177c
mov edx, dword [ebp + 0x28]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
push ecx
mov edx, ecx
push edx
mov dword [esp + 0x20], eax
call dword [0x77c3f8]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [0x77c3fc]
push 0x40
lea edx, [esp + 0x470]
push edx
lea eax, [esp + 0x34]
push eax
call 0x9512b0
add esp, 0xc
test al, al
je 0x8f177c
lea ecx, [esp + 0x46c]
push ecx
jmp 0x8f1781
push 0x77caf0
lea ecx, [edi + 0x38]
call fcn.008b7ec0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x1568]
mov eax, dword [ecx]
push ebp
call dword [eax + 0x48]
mov byte [edi + 0x71], al
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x8f17c5
mov byte [esp + 0x6c], 0
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x70]
push 0x400
push edx
call 0x9898b0
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
jmp 0x8f17ca
push 0x77caf0
lea ebp, [edi + 0x10]
mov ecx, ebp
call fcn.008b7ec0
mov ebx, dword [esp + 0x8d0]
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x8f1833
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x8f17f4
mov edx, dword [eax + 0x18]
test edx, edx
je 0x8f1833
test ecx, ecx
je 0x8f1840
mov byte [esp + 0x6c], 0
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
push edx
lea eax, [esp + 0x70]
push 0x400
push eax
call 0x9898b0
add esp, 0xc
lea ecx, [esp + 0x6c]
lea esi, [edi + 0x18]
push ecx
mov ecx, esi
call fcn.008b7ec0
mov edx, dword [ebp]
mov eax, dword [edx - 0xc]
push 0x20
push eax
mov ecx, esi
call fcn.008f0460
jmp 0x8f1840
push 0x77caf0
lea ecx, [edi + 0x18]
call fcn.008b7ec0
push 0
lea ecx, [edi + 0x14]
push 0x77caf0
call fcn.008b7680
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x8f1cb3
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x8f1cb3
mov byte [edi + 0x70], 1
mov eax, dword [ebx + 0x18]
mov byte [esp + 0x3c], 0
mov byte [esp + 0x4c], 0
mov byte [esp + 0x4ac], 0
mov byte [esp + 0x5ac], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0x5c], 0
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + 4]
test ecx, ecx
mov esi, dword [eax + 8]
jle 0x8f1bc8
mov ebp, ecx
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
cmp eax, 0x1c
ja 0x8f1ba7
movzx edx, byte [eax + 0x43cd50]
jmp dword [edx*4 + 0x43cd1c]
add esi, 8
dec ebp
jne 0x8f18a3
mov al, byte [esp + 0x3c]
test al, al
jne 0x8f1bed
mov al, byte [esp + 0x4c]
test al, al
jne 0x8f1bd7
mov ebx, dword [esp + 0x8d0]
push 0x77caf0
lea ecx, [edi + 0x24]
call fcn.008b7ec0
jmp 0x8f1c33
lea eax, [esp + 0x4c]
push eax
push 0x787e10
push 0x400
lea ecx, [esp + 0x78]
push ecx
jmp 0x8f1c01
lea edx, [esp + 0x3c]
push edx
push 0x787e10
push 0x400
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x7c], 0
call 0x989900
lea eax, [esp + 0x7c]
add esp, 0x10
lea ecx, [edi + 0x24]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x8f1c18
sub eax, esi
push eax
lea edx, [esp + 0x70]
push edx
call fcn.008b7680
mov ebx, dword [esp + 0x8d0]
mov al, byte [esp + 0x4ac]
test al, al
je 0x8f1cb3
lea eax, [esp + 0x4ac]
push eax
lea ecx, [esp + 0x70]
push 0x400
push ecx
mov byte [esp + 0x78], 0
call 0x9898b0
mov al, byte [esp + 0x38]
add esp, 0xc
test al, al
je 0x8f1c7c
push 0x785e60
lea edx, [esp + 0x70]
push 0x400
push edx
call 0x9898b0
add esp, 0xc
mov al, byte [esp + 0x5ac]
test al, al
je 0x8f1ca6
lea eax, [esp + 0x5ac]
push eax
push 0x787e0c
lea ecx, [esp + 0x74]
push 0x400
push ecx
call 0x989940
add esp, 0x10
lea edx, [esp + 0x6c]
push edx
lea ecx, [edi + 0x28]
call fcn.008b7ec0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xbc]
push 1
push ebx
call 0x915e30
mov bl, byte [esp + 0x13]
test eax, eax
setne cl
mov dword [edi + 4], eax
mov byte [edi], cl
pop edi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x8c4], 0xffffffff
lea edx, [eax + 0xc]
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x8f1cff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x8bc]
pop esi
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x8bc
ret 8