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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xc7ce62
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0xcaf584]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0xcaf584]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
cmp byte [esi + 0x48], cl
je 0xbbe504
test byte [esi + 0x48], 1
je 0xbbe3ea
mov eax, dword [esi + 0x10]
cmp eax, ecx
jge 0xbbe3ce
lea eax, [ecx + 0xa]
jmp 0xbbe3e5
cmp eax, 0x80
jae 0xbbe3dc
mov eax, 1
jmp 0xbbe3e5
push eax
call fcn.00c4f770
add esp, 4
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x48]
shr eax, 1
test al, 1
je 0xbbe421
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xbbe407
mov eax, 1
jmp 0xbbe410
push eax
call fcn.00c4f770
add esp, 4
mov edi, dword [edi + 0x10]
mov ecx, dword [esp + 0x14]
add edi, eax
lea edx, [ecx + edi + 1]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x48]
shr eax, 2
test al, 1
je 0xbbe459
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xbbe43f
mov eax, 1
jmp 0xbbe448
push eax
call fcn.00c4f770
add esp, 4
mov edi, dword [edi + 0x10]
mov ecx, dword [esp + 0x14]
add edi, eax
lea edx, [ecx + edi + 1]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x48]
shr eax, 4
test al, 1
je 0xbbe491
mov edi, dword [esi + 0x28]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xbbe477
mov eax, 1
jmp 0xbbe480
push eax
call fcn.00c4f770
add esp, 4
mov edi, dword [edi + 0x10]
mov ecx, dword [esp + 0x14]
add edi, eax
lea edx, [ecx + edi + 1]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x48]
shr eax, 5
test al, 1
je 0xbbe4cc
mov eax, dword [esi + 0x14]
test eax, eax
jns 0xbbe4a9
mov eax, 0xa
jmp 0xbbe4c0
cmp eax, 0x80
jae 0xbbe4b7
mov eax, 1
jmp 0xbbe4c0
push eax
call fcn.00c4f770
add esp, 4
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x48]
shr eax, 7
test al, 1
je 0xbbe504
mov edi, dword [esi + 0x3c]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xbbe4ea
mov eax, 1
jmp 0xbbe4f3
push eax
call fcn.00c4f770
add esp, 4
mov edi, dword [edi + 0x10]
mov ecx, dword [esp + 0x14]
add edi, eax
lea edx, [ecx + edi + 1]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x48]
test eax, 0xff00
je 0xbbe543
shr eax, 8
test al, 1
je 0xbbe543
mov edi, dword [esi + 0x40]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xbbe529
mov eax, 1
jmp 0xbbe532
push eax
call fcn.00c4f770
add esp, 4
mov edi, dword [edi + 0x10]
add edi, eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + edi + 1]
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0x1c]
add dword [esp + 0x14], eax
xor edi, edi
test eax, eax
jle 0xbbe5e3
cmp edi, eax
jl 0xbbe594
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b], 0
call fcn.00c2b6d0
mov dword [esp + 0x80], edi
or dword [esp + 0x18], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x23]
call fcn.00c2bc10
mov dword [esp + 0x80], 0xffffffff
test byte [esp + 0x18], 1
je 0xbbe5b4
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x20]
call fcn.00c2b700
mov edx, dword [esi + 0x18]
mov ebx, dword [edx + edi*4]
mov eax, dword [ebx + 0x10]
cmp eax, 0x80
jae 0xbbe5cb
mov eax, 1
jmp 0xbbe5d4
push eax
call fcn.00c4f770
add esp, 4
mov ecx, dword [ebx + 0x10]
add ecx, eax
add dword [esp + 0x14], ecx
inc edi
cmp edi, dword [esi + 0x1c]
jl 0xbbe594
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x14]
add edx, eax
xor ebx, ebx
mov dword [esp + 0x14], edx
test eax, eax
jle 0xbbe692
cmp ebx, eax
jl 0xbbe63d
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x54]
mov byte [esp + 0x2a], bl
call fcn.00c2b6d0
mov dword [esp + 0x80], 1
or dword [esp + 0x18], 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x22]
call fcn.00c2bc10
mov dword [esp + 0x80], 0xffffffff
test byte [esp + 0x18], 2
je 0xbbe65d
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x48]
call fcn.00c2b700
mov eax, dword [esi + 0x2c]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xbbe674
mov eax, 1
jmp 0xbbe67d
push eax
call fcn.00c4f770
add esp, 4
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x14]
add ecx, eax
add edx, ecx
inc ebx
mov dword [esp + 0x14], edx
cmp ebx, dword [esi + 0x30]
jl 0xbbe63d
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
test ecx, ecx
je 0xbbe6b9
mov edi, dword [ecx]
cmp edi, dword [ecx + 4]
je 0xbbe6b9
push eax
call fcn.00c4b2b0
mov ecx, dword [esp + 0x18]
add esp, 4
add ecx, eax
mov dword [esi + 0x44], ecx
mov eax, ecx
jmp 0xbbe6be
mov eax, edx
mov dword [esi + 0x44], edx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00c12239
mov esp, ebp
pop ebp
ret