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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
test eax, eax
je 0x87beb1
mov esi, edx
and esi, 0xfffffff3
mov dword [esp + 0x2c], esi
mov esi, edx
and esi, 0x40
mov dword [esp + 0x20], esi
mov esi, edx
and edx, 0x20
and esi, 0x10
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], esi
cmp byte [eax], 0
je 0x87beb1
lea eax, [esp + 0x74]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.008750a0
test eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
je 0x87bd2e
cmp byte [eax], 0
jne 0x87bd53
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00894200
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00894200
add esp, 0x5c
mov eax, 0xffffffea
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.msvcrt.dll_strspn
test eax, eax
je 0x87bd2e
mov eax, dword [esp + 0x7c]
add ebx, 1
mov dword [esp + 0x74], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
call fcn.008750a0
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x87bd2e
cmp byte [ecx], 0
je 0x87bd2e
test eax, eax
je 0x87bd2e
cmp byte [eax], 0
je 0x87bd2e
mov eax, dword [esp + 0x70]
xor esi, esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov ebx, dword [eax]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x87bef0
mov dword [esp], ecx
call fcn.00894320
test eax, eax
mov dword [esp + 0x48], eax
je 0x87bec0
mov dword [esp], ebp
call fcn.00894320
test ebx, ebx
mov dword [esp + 0x4c], eax
je 0x87bec8
mov eax, dword [esp + 0x48]
test eax, eax
je 0x87c040
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x87c040
test esi, esi
je 0x87c000
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x87bfe0
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 4]
test ebp, ebp
je 0x87bf40
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.008940b0
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
lea edx, [ecx - 1]
mov dword [ebx], edx
mov ecx, dword [eax + edx*8 + 4]
mov edx, dword [eax + edx*8]
mov dword [esi + 4], ecx
mov dword [esi], edx
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x87c02b
mov edx, dword [ebx]
mov ecx, dword [esp + 0x48]
lea eax, [eax + edx*8]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x87be7f
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x87bf50
add edx, 1
mov dword [ebx], edx
test edx, edx
je 0x87bf20
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00894200
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00894200
mov eax, dword [esp + 0x74]
cmp byte [eax], 0
jne 0x87c0a0
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
test ebx, ebx
jne 0x87c040
mov dword [esp], 8
call fcn.00894240
mov ebx, dword [esp + 0x70]
test eax, eax
mov dword [ebx], eax
je 0x87c05d
mov ebx, eax
jmp 0x87bdf2
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], eax
call fcn.0087b580
mov ecx, dword [esp + 0x28]
mov esi, eax
jmp 0x87bdca
add ebx, 4
mov dword [esp], ebx
call fcn.00894200
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00894200
jmp 0x87be8c
mov dword [esp], eax
call fcn.008940b0
jmp 0x87be31
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp], esi
mov dword [esp + 0x28], eax
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x28]
lea edx, [edx + eax + 1]
mov dword [esp], edx
mov dword [esp + 0x28], edx
call fcn.00894240
test eax, eax
mov esi, eax
je 0x87c040
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.00874ee0
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.00894200
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.00874ee0
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [eax + edx*8 + 4], esi
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.00894200
mov edx, dword [ebx]
jmp 0x87be7f
mov dword [esp], eax
call fcn.008940b0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.008940b0
jmp 0x87be8c
mov eax, dword [ebx]
lea eax, [eax*8 + 8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00893cf0
test eax, eax
je 0x87c040
mov esi, dword [esp + 0x4c]
mov dword [ebx + 4], eax
test esi, esi
jne 0x87be5d
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.00894200
mov edx, dword [ebx]
jmp 0x87be84
mov eax, dword [ebx]
test eax, eax
jne 0x87c05d
add ebx, 4
mov dword [esp], ebx
call fcn.00894200
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00894200
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.008940b0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.008940b0
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00894200
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00894200
add esp, 0x5c
mov eax, 0xfffffff4
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, 1
mov dword [esp + 0x74], eax
jmp 0x87bd00