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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xc7d796
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0xcaf584]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0xcaf584]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x10], 0
test byte [esi + 0x48], 1
mov dword [esp + 0x18], edi
je 0xbbddfc
mov eax, dword [esi + 0x10]
push edi
push eax
push 1
call fcn.00bb8b70
add esp, 0xc
mov edi, eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x48]
shr eax, 1
test al, 1
je 0xbbde1a
mov eax, dword [esi + 8]
push edi
push eax
push 2
call fcn.00bb8cc0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 0x48]
shr ecx, 2
test cl, 1
je 0xbbde51
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xbbde33
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.00c4add0
mov eax, dword [esi + 0xc]
push edi
push eax
push 3
call fcn.00bb8cc0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x1c]
xor ebx, ebx
test eax, eax
jle 0xbbdffb
cmp ebx, eax
jl 0xbbde9d
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x5c]
mov byte [esp + 0x23], bl
call fcn.00c2b6d0
mov dword [esp + 0xd8], ebx
or dword [esp + 0x10], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x1b]
call fcn.00c2bc10
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x10], 1
je 0xbbdebd
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x50]
call fcn.00c2b700
mov edx, dword [esi + 0x18]
mov eax, dword [edx + ebx*4]
mov edi, dword [eax + 0x10]
cmp ebx, dword [esi + 0x1c]
jl 0xbbdf0b
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x34]
mov byte [esp + 0x22], 0
call fcn.00c2b6d0
mov dword [esp + 0xd8], 1
or dword [esp + 0x10], 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x1a]
call fcn.00c2bc10
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x10], 2
je 0xbbdf2b
and dword [esp + 0x10], 0xfffffffd
lea ecx, [esp + 0x28]
call fcn.00c2b700
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x14], 0x10
jb 0xbbdf39
mov eax, dword [eax]
push 1
push edi
push eax
call fcn.00c4add0
add esp, 0xc
cmp ebx, dword [esi + 0x1c]
jl 0xbbdf8a
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x34]
mov byte [esp + 0x2b], 0
call fcn.00c2b6d0
mov dword [esp + 0xd8], 2
or dword [esp + 0x10], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x23]
call fcn.00c2bc10
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x10], 4
je 0xbbdfaa
and dword [esp + 0x10], 0xfffffffb
lea ecx, [esp + 0x28]
call fcn.00c2b700
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x18]
mov edi, dword [ecx + ebx*4]
mov byte [eax], 0x22
lea ecx, [eax + 1]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xbbdfcb
mov byte [ecx], al
lea eax, [ecx + 1]
jmp 0xbbdfd5
push ecx
push eax
call fcn.00c4f610
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0xbbdfe0
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.00c4f560
inc ebx
add esp, 0xc
mov edi, eax
mov dword [esp + 0x18], edi
cmp ebx, dword [esi + 0x1c]
jl 0xbbde9d
mov edx, dword [esi + 0x48]
shr edx, 4
test dl, 1
je 0xbbe032
mov eax, dword [esi + 0x28]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xbbe014
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.00c4add0
mov eax, dword [esi + 0x28]
push edi
push eax
push 5
call fcn.00bb8cc0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x48]
shr eax, 5
test al, 1
je 0xbbe071
mov eax, dword [esi + 0x14]
mov byte [edi], 0x30
inc edi
test eax, eax
jns 0xbbe055
cdq
push edi
push edx
push eax
call fcn.00c4f750
add esp, 0xc
jmp 0xbbe06d
cmp eax, 0x80
jae 0xbbe063
mov byte [edi], al
lea eax, [edi + 1]
jmp 0xbbe06d
push edi
push eax
call fcn.00c4f610
add esp, 8
mov dword [esp + 0x18], eax
cmp dword [esi + 0x30], 0
mov dword [esp + 0x20], 0
jle 0xbbe255
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esi + 0x30]
jl 0xbbe0d4
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x5c]
mov byte [esp + 0x22], 0
call fcn.00c2b6d0
mov dword [esp + 0xd8], 3
mov ebx, dword [esp + 0x10]
or ebx, 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x14], ebx
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x1a]
call fcn.00c2bc10
jmp 0xbbe0d8
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xd8], 0xffffffff
test bl, 8
je 0xbbe0f8
and ebx, 0xfffffff7
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], ebx
call fcn.00c2b700
mov edi, dword [esp + 0x20]
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + edi*4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
cmp edi, dword [esi + 0x30]
jl 0xbbe153
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x84]
mov byte [esp + 0x23], 0
call fcn.00c2b6d0
mov dword [esp + 0xd8], 4
or ebx, 0x10
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x14], ebx
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x1b]
call fcn.00c2bc10
mov dword [esp + 0xd8], 0xffffffff
test bl, 0x10
je 0xbbe173
and ebx, 0xffffffef
lea ecx, [esp + 0x78]
mov dword [esp + 0x10], ebx
call fcn.00c2b700
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + edi*4]
cmp dword [eax + 0x14], 0x10
jb 0xbbe181
mov eax, dword [eax]
mov edx, dword [esp + 0x24]
push 1
push edx
push eax
call fcn.00c4add0
add esp, 0xc
cmp edi, dword [esi + 0x30]
jl 0xbbe1db
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0xac]
mov byte [esp + 0x2a], 0
call fcn.00c2b6d0
mov dword [esp + 0xd8], 5
or ebx, 0x20
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x14], ebx
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x22]
call fcn.00c2bc10
mov dword [esp + 0xd8], 0xffffffff
test bl, 0x20
je 0xbbe1fe
and ebx, 0xffffffdf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x10], ebx
call fcn.00c2b700
mov eax, dword [esi + 0x2c]
mov ebx, dword [esp + 0x20]
mov edi, dword [eax + ebx*4]
mov eax, dword [esp + 0x18]
mov byte [eax], 0x3a
lea ecx, [eax + 1]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xbbe223
mov byte [ecx], al
lea eax, [ecx + 1]
jmp 0xbbe22d
push ecx
push eax
call fcn.00c4f610
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0xbbe238
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.00c4f560
inc ebx
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
cmp ebx, dword [esi + 0x30]
jl 0xbbe083
mov ecx, dword [esi + 0x48]
shr ecx, 7
test cl, 1
je 0xbbe2bf
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0x10]
mov ebx, 0x10
cmp dword [eax + 0x14], ebx
jb 0xbbe272
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.00c4add0
mov eax, dword [esp + 0x24]
mov edi, dword [esi + 0x3c]
mov byte [eax], 0x42
lea ecx, [eax + 1]
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp eax, 0x80
jae 0xbbe29c
mov byte [ecx], al
lea eax, [ecx + 1]
jmp 0xbbe2a6
push ecx
push eax
call fcn.00c4f610
add esp, 8
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], ebx
jb 0xbbe2b0
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.00c4f560
add esp, 0xc
mov ebx, eax
jmp 0xbbe2c3
mov ebx, dword [esp + 0x18]
mov edx, dword [esi + 0x48]
shr edx, 8
test dl, 1
je 0xbbe324
mov eax, dword [esi + 0x40]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xbbe2dc
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.00c4add0
mov edi, dword [esi + 0x40]
mov byte [ebx], 0x4a
mov eax, dword [edi + 0x10]
add esp, 0xc
lea ecx, [ebx + 1]
cmp eax, 0x80
jae 0xbbe302
mov byte [ecx], al
lea eax, [ecx + 1]
jmp 0xbbe30c
push ecx
push eax
call fcn.00c4f610
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0xbbe317
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.00c4f560
add esp, 0xc
mov ebx, eax
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0xbbe341
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0xbbe341
push ebx
push esi
call fcn.00c4b840
add esp, 8
jmp 0xbbe343
mov eax, ebx
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00c12239
mov esp, ebp
pop ebp
ret 4