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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xc7ec9b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0xcaf584]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0xcaf584]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xbbd1a1
mov cl, byte [eax]
cmp cl, 0x80
jae 0xbbd1a1
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0xbbd1ab
mov ecx, ebx
call fcn.00c50890
mov dword [ebx + 0x14], eax
test eax, eax
je 0xbbd868
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 8
ja case.default.0xbbd1c2
jmp dword [ecx*4 + 0xbbd8b8]
test al, 7
jne case.default.0xbbd1c2
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xbbd1ed
mov cl, byte [eax]
cmp cl, 0x80
jae 0xbbd1ed
movzx ecx, cl
inc eax
mov dword [esp + 0x30], ecx
mov dword [ebx + 4], eax
jmp 0xbbd201
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.00c50790
test al, al
je 0xbbd8b1
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
or dword [esi + 0x48], 1
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xbbd180
cmp byte [eax], 0x12
jne 0xbbd180
inc eax
mov dword [ebx + 4], eax
jmp 0xbbd23d
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xbbd1c2
mov esi, dword [esp + 0x28]
or dword [esi + 0x48], 2
cmp dword [esi + 8], 0xcb06e0
jne 0xbbd27b
push 0x1c
call fcn.00c12640
add esp, 4
test eax, eax
je 0xbbd26b
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xbbd26d
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
push eax
push ebx
call fcn.00c4aaf0
add esp, 8
test al, al
je 0xbbd8b1
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xbbd180
cmp byte [eax], 0x1a
jne 0xbbd180
inc eax
mov dword [ebx + 4], eax
jmp 0xbbd2bd
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0xbbd1c2
mov esi, dword [esp + 0x28]
mov edi, esi
call fcn.00bb5600
push eax
push ebx
call fcn.00c4aaa0
add esp, 8
test al, al
je 0xbbd8b1
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xbbd2e4
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00c4add0
mov eax, dword [ebx + 4]
add esp, 0xc
cmp eax, dword [ebx + 8]
jae 0xbbd180
cmp byte [eax], 0x22
jne 0xbbd180
inc eax
mov dword [ebx + 4], eax
jmp 0xbbd320
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xbbd1c2
mov esi, dword [esp + 0x28]
lea ecx, [ecx]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jge 0xbbd338
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x1c], eax
mov eax, ecx
jmp 0xbbd362
mov eax, dword [esi + 0x24]
cmp ecx, eax
jne 0xbbd349
inc eax
push eax
lea ecx, [esi + 0x18]
call fcn.00c2bf50
mov edi, 1
add dword [esi + 0x20], edi
call fcn.00c2bfd0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov dword [edx + ecx*4], eax
add dword [esi + 0x1c], edi
push eax
push ebx
call fcn.00c4aaa0
add esp, 8
test al, al
je 0xbbd8b1
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x1c]
dec edi
cmp edi, dword [esi + 0x1c]
jl 0xbbd3c1
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0
call fcn.00c2b6d0
mov ecx, 1
mov dword [esp + 0x98], ecx
or dword [esp + 0x24], ecx
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x30]
call fcn.00c2bc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 1
je 0xbbd3e1
and dword [esp + 0x24], 0xfffffffe
lea ecx, [esp + 0x38]
call fcn.00c2b700
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + edi*4]
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 0x1c]
mov ebx, dword [eax + 0x10]
dec edi
cmp edi, dword [esi + 0x1c]
jl 0xbbd437
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x39], 0
call fcn.00c2b6d0
mov ecx, 2
mov dword [esp + 0x98], ecx
or dword [esp + 0x24], ecx
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x31]
call fcn.00c2bc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 2
je 0xbbd457
and dword [esp + 0x24], 0xfffffffd
lea ecx, [esp + 0x60]
call fcn.00c2b700
mov eax, dword [esi + 0x18]
mov edi, dword [eax + edi*4]
cmp dword [edi + 0x14], 0x10
jb 0xbbd465
mov edi, dword [edi]
push 0
push ebx
push edi
call fcn.00c4add0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
add esp, 0xc
cmp eax, dword [ecx + 8]
jae 0xbbd48d
cmp byte [eax], 0x22
jne 0xbbd48d
inc eax
mov dword [ecx + 4], eax
mov ebx, ecx
jmp 0xbbd320
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0xbbd180
cmp byte [eax], 0x2a
jne 0xbbd180
inc eax
mov edx, ecx
mov dword [edx + 4], eax
jmp 0xbbd4b8
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xbbd1c2
mov edi, dword [esp + 0x28]
call fcn.00bb5710
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.00c4aaa0
add esp, 8
test al, al
je 0xbbd8b1
mov eax, dword [edi + 0x28]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xbbd4e5
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00c4add0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jae 0xbbd180
cmp byte [eax], 0x30
jne 0xbbd180
inc eax
mov edx, esi
mov dword [edx + 4], eax
jmp 0xbbd516
test al, 7
jne case.default.0xbbd1c2
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jae 0xbbd536
mov cl, byte [eax]
cmp cl, 0x80
jae 0xbbd536
movzx ecx, cl
inc eax
mov dword [esp + 0x34], ecx
mov dword [esi + 4], eax
jmp 0xbbd54a
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00c50790
test al, al
je 0xbbd8b1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
or dword [eax + 0x48], 0x20
mov dword [eax + 0x14], ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jae 0xbbd180
cmp byte [eax], 0x3a
jne 0xbbd180
inc eax
mov edx, esi
mov dword [edx + 4], eax
jmp 0xbbd584
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xbbd1c2
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edi, 1
cmp eax, ecx
jge 0xbbd5a5
mov edx, dword [esi + 0x2c]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x30], eax
mov eax, ecx
jmp 0xbbd5ca
mov eax, dword [esi + 0x38]
cmp ecx, eax
jne 0xbbd5b6
inc eax
push eax
lea ecx, [esi + 0x2c]
call fcn.00c2bf50
add dword [esi + 0x34], edi
call fcn.00c2bfd0
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
mov dword [edx + ecx*4], eax
add dword [esi + 0x30], edi
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00c4aaa0
add esp, 8
test al, al
je 0xbbd8b1
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx + 0x30]
dec edi
cmp edi, dword [esi + 0x30]
jl 0xbbd62d
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3a], 0
call fcn.00c2b6d0
mov dword [esp + 0x98], 3
or dword [esp + 0x24], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x32]
call fcn.00c2bc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 4
je 0xbbd64d
and dword [esp + 0x24], 0xfffffffb
lea ecx, [esp + 0x60]
call fcn.00c2b700
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + edi*4]
mov ebx, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x30]
dec edi
cmp edi, dword [esi + 0x30]
jl 0xbbd6a3
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x44]
mov byte [esp + 0x3b], 0
call fcn.00c2b6d0
mov dword [esp + 0x98], 4
or dword [esp + 0x24], 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x33]
call fcn.00c2bc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 8
je 0xbbd6c3
and dword [esp + 0x24], 0xfffffff7
lea ecx, [esp + 0x38]
call fcn.00c2b700
mov ecx, dword [esi + 0x2c]
mov edi, dword [ecx + edi*4]
cmp dword [edi + 0x14], 0x10
jb 0xbbd6d1
mov edi, dword [edi]
push 0
push ebx
push edi
call fcn.00c4add0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
add esp, 0xc
cmp eax, dword [ecx + 8]
jae 0xbbd6f9
cmp byte [eax], 0x3a
jne 0xbbd6f9
inc eax
mov edx, ecx
mov dword [edx + 4], eax
jmp 0xbbd588
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0xbbd180
cmp byte [eax], 0x42
jne 0xbbd180
inc eax
mov dword [ecx + 4], eax
jmp 0xbbd722
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0xbbd1c2
mov edi, dword [esp + 0x28]
or dword [edi + 0x48], 0x80
cmp dword [edi + 0x3c], 0xcb06e0
jne 0xbbd767
push 0x1c
call fcn.00c12640
add esp, 4
test eax, eax
je 0xbbd757
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xbbd759
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x3c]
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.00c4aaa0
add esp, 8
test al, al
je 0xbbd8b1
mov eax, dword [edi + 0x3c]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xbbd78e
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00c4add0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jae 0xbbd180
cmp byte [eax], 0x4a
jne 0xbbd180
inc eax
mov ecx, esi
mov dword [ecx + 4], eax
jmp 0xbbd7c5
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0xbbd1c2
mov edi, dword [esp + 0x28]
or dword [edi + 0x48], 0x100
cmp dword [edi + 0x40], 0xcb06e0
jne 0xbbd80a
push 0x1c
call fcn.00c12640
add esp, 4
test eax, eax
je 0xbbd7fa
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xbbd7fc
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x40]
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.00c4aaa0
add esp, 8
test al, al
je 0xbbd8b1
mov eax, dword [edi + 0x40]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xbbd831
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00c4add0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jne 0xbbd180
mov eax, esi
cmp dword [eax + 0x20], 0
jne 0xbbd85d
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 0x1c]
jne 0xbbd180
mov dword [eax + 0x14], 0
mov byte [eax + 0x18], 1
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00c12239
mov esp, ebp
pop ebp
ret 4
mov edx, eax
and dl, 7
cmp dl, 4
je 0xbbd868
mov ecx, dword [esp + 0x28]
add ecx, 4
push ecx
push eax
push ebx
call fcn.00c4b550
add esp, 0xc
test al, al
jne 0xbbd180
xor al, al
jmp 0xbbd86a