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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c4
mov eax, dword [0x10103300]
xor eax, esp
mov dword [esp + 0x4c0], eax
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x3c], bl
push esi
push edi
test edx, edx
jne 0xbc3b00
cmp dword [0x10104708], ebx
jne 0xbc364b
mov eax, dword [0x10103050]
mov ecx, dword [0x10103054]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x34], 1
mov dword [esp + 0x2c], eax
mov esi, dword [ebp + 0x18]
test esi, esi
je 0xbc39b9
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0xbc3a51
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov eax, edi
and dword [esp + 0x50], 0
and eax, 2
mov dword [esp + 0x58], eax
or eax, 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
je 0xbc39f0
mov byte [esp + 0x54], 1
and dword [esp + 0x84], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x78], eax
xor edx, edx
and dword [esp + 0x90], edx
xor eax, eax
and dword [esp + 0xa4], eax
and dword [esp + 0x4ac], eax
and dword [esp + 0x4b0], eax
and dword [esp + 0x94], edx
mov word [esp + 0x9e], ax
mov byte [esp + 0xa8], al
lea eax, [esp + 0x48]
mov dword [esp + 0x4b8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x80], eax
xor eax, eax
mov byte [esp + 0x88], 0
mov dword [esp + 0x8c], edx
mov byte [esp + 0x9c], dl
mov dword [esp + 0x70], edi
mov dword [esp + 0x7c], esi
inc eax
mov dword [esp + 0x4c0], eax
cmp eax, 2
je 0xbc3881
and dword [esp + 0xa4], 0
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x7c]
movzx esi, word [eax]
add dword [esp + 0x7c], 2
mov eax, esi
mov dword [esp + 0x10], eax
mov word [esp + 0x9e], si
test si, si
je 0xbc385f
cmp dword [esp + 0x84], 0
jl 0xbc385f
mov ecx, esi
lea eax, [ecx - 0x20]
cmp ax, 0x5a
ja 0xbc39b2
lea eax, [ecx - 0x20]
and eax, 0x7f
mov al, byte [eax*2 + 0x100084b9]
movzx ecx, al
movzx eax, byte [esp + 0x88]
lea eax, [eax + ecx*8]
and eax, 0x7f
mov al, byte [eax*2 + 0x100084b8]
mov byte [esp + 0x88], al
cmp al, 8
jae 0xbc3a02
movzx eax, al
cmp eax, 7
ja 0xbc3858
jmp dword [eax*4 + 0x10030ca4]
or eax, 0xffffffff
mov esi, eax
jmp 0xbc3888
mov eax, dword [esp + 0x4c0]
jmp 0xbc3714
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0xbc3a97
push dword [esp + 0x4b0]
call fcn.00bbb6a0
pop ecx
cmp byte [esp + 0x34], 2
jne 0xbc38b3
mov eax, dword [esp + 0x20]
and dword [eax + 0x350], 0xfffffffd
cmp byte [esp + 0x3c], 0
jne 0xbc3b26
cmp byte [esp + 0x44], 0
jne 0xbc3b8a
mov ecx, dword [esp + 0x4cc]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00c2c440
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x8c], edx
jmp 0xbc3735
xor al, al
jmp 0xbc3782
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push ebx
xor edx, edx
mov byte [esp + 0x4c], 1
xor ecx, ecx
mov dword [esp + 0x48], 0x16
call fcn.00bc5536
add esp, 0x10
or esi, 0xffffffff
jmp 0xbc38a1
mov byte [esp + 0x54], 0
test ecx, ecx
jne 0xbc3692
jmp 0xbc368d
mov eax, dword [esp + 0x78]
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], 0x16
mov edi, dword [esp + 0x78]
mov eax, dword [edi]
test eax, eax
jne 0xbc3a26
mov ecx, edi
call fcn.00bb8ae0
test eax, eax
je 0xbc3a68
mov esi, dword [eax + 0x35c]
test esi, esi
je 0xbc3a68
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push eax
push eax
call dword [0x101052a0]
call esi
mov edi, dword [ebp + 8]
add esp, 0x14
or eax, 0xffffffff
mov esi, eax
jmp 0xbc3888
test ecx, ecx
jne 0xbc3661
lea eax, [esp + 0x20]
push eax
xor eax, eax
push eax
push eax
push eax
jmp 0xbc39c1
mov ecx, edi
call fcn.00bb8bb1
mov ecx, dword [0x10103300]
and ecx, 0x1f
mov esi, dword [eax*4 + 0x1010459c]
xor esi, dword [0x10103300]
ror esi, cl
test esi, esi
jne 0xbc3a30
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00c1df40
and edi, 1
or edi, 0
je 0xbc3ac7
test ebx, ebx
je 0xbc3bd8
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0xbc3b4b
xor edx, edx
mov word [ecx + eax*2], dx
lea ecx, [esp + 0x70]
call int.00bb5287
jmp 0xbc38a1
mov eax, dword [esp + 0x58]
or eax, 0
jne 0xbc3bfb
test ebx, ebx
je 0xbc3be0
mov eax, dword [esp + 0x50]
cmp eax, ebx
jne 0xbc3ab3
push dword [esp + 0x4b0]
xor eax, eax
mov word [ecx + ebx*2 - 2], ax
call fcn.00bbb6a0
pop ecx
push 0xfffffffffffffffe
pop esi
jmp 0xbc38a1
mov eax, dword [edx]
mov ecx, dword [edx + 4]
jmp 0xbc363a
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
test eax, eax
jne 0xbc3b43
lea ecx, [esp + 0x20]
call fcn.00bb8ae0
test eax, eax
je 0xbc3baf
mov eax, dword [esp + 0x20]
mov dword [eax + 0x10], edi
jmp 0xbc38be
test esi, esi
js 0xbc3ab9
cmp esi, ebx
jbe 0xbc3ab9
jmp 0xbc3be0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
test eax, eax
jne 0xbc3ba7
lea ecx, [esp + 0x20]
call fcn.00bb8ae0
test eax, eax
je 0xbc3baf
mov eax, dword [esp + 0x20]
mov dword [eax + 0x14], edi
jmp 0xbc38c9
call fcn.00bba790
or edx, 2
jmp 0xbc39a6
test esi, esi
je 0xbc3aa7
lea ecx, [esp + 0x70]
call int.00bb5287
or eax, 0xffffffff
mov esi, eax
jmp 0xbc38a1
test ebx, ebx
je 0xbc3ab9
test esi, esi
jns 0xbc3c37
xor eax, eax
mov word [ecx], ax
jmp 0xbc3ab9
mov eax, dword [esp + 0x50]
cmp eax, ebx
jne 0xbc3ab3
xor eax, eax
mov word [ecx + ebx*2 - 2], ax
jmp 0xbc3ab9