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

Disassembly:
push 0xffffffffffffffff
push 0x101e4318
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
je 0x10087915
mov edi, dword [ebp + 0x10]
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x10087687
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov dword [esp + 0x80], ebx
mov esi, dword [ebp + 0x20]
cmp esi, ebx
mov dword [esp + 0x1c], esi
je 0x100876a1
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov byte [esp + 0x80], 1
cmp esi, ebx
je 0x100878e9
lea eax, [esi - 4]
cmp eax, ebx
je 0x100878e9
cmp edi, ebx
je 0x100878e9
cmp dword [ebp + 0x24], ebx
je 0x100878e9
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea ebx, [esp + 0x20]
mov edi, ebp
call fcn.100892e0
test al, al
je 0x1008772e
lea eax, [esp + 0x4c]
call fcn.10086b70
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1008772e
lea edi, [esp + 0x4c]
lea esi, [esp + 0x20]
call fcn.10089620
test al, al
jne 0x1008775a
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x80], 0
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esp + 0x80], 0xffffffff
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
jmp 0x10087915
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x18]
push edx
call eax
mov byte [esp + 0x80], 2
cmp dword [esp + 0x18], 0
mov esi, dword [esp + 0x6c]
je 0x1008782a
mov edi, dword [esp + 0x68]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x48]
push 0
push edi
call edx
cmp byte [esp + 0x88], 0
je 0x100877e1
mov eax, dword [edi]
mov ecx, dword [eax + 0x68]
push 0
push edi
call ecx
mov eax, esi
call fcn.1001a810
mov edx, dword [esi]
sub eax, 0x21
push eax
mov eax, dword [edx + 0x48]
push esi
call eax
mov ebx, dword [esp + 0x4c]
mov eax, ebx
call fcn.1001a810
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x48]
sub eax, 0x21
push eax
push ebx
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push ebx
push eax
call edx
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x68]
push 0
push eax
call edx
mov eax, edi
call fcn.1001a810
mov ecx, dword [esi]
mov edx, dword [ecx + 0x68]
add eax, 0x21
push eax
push esi
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push edi
push eax
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
xor edx, edx
cmp byte [esp + 0x88], dl
sete dl
push edx
call eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push esi
push eax
call edx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x60]
push 0
push 0
push 0
push ebx
call ecx
mov eax, dword [ebp + 0x24]
movzx ecx, byte [eax + 3]
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
push 1
push 0
push ecx
push 1
mov ecx, esi
call edx
mov eax, dword [ebp + 0x18]
call fcn.10086b40
test eax, eax
mov ecx, dword [esp + 0x8c]
mov dword [ecx], eax
je 0x10087888
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
push 0
push eax
mov eax, dword [edx + 0x17c]
call eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push eax
call edx
mov ebp, dword [ebp + 0x18]
mov eax, dword [ebp]
mov ecx, dword [eax + 0xbc]
push 0xffffffffffffffff
push ebp
call ecx
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100878be
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x80], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov al, 1
jmp 0x10087917
mov byte [esp + 0x80], bl
cmp esi, ebx
je 0x100878fd
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov dword [esp + 0x80], 0xffffffff
cmp edi, ebx
je 0x10087915
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8