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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xc7fec0
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0xcaf584]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0xcaf584]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], esi
cmp edi, esi
jne 0xba8458
lea eax, [esi + 0x57]
jmp 0xba87d4
mov ebx, dword [edi + 0x24]
cmp ebx, esi
jne 0xba8467
mov eax, dword [0xcb72c8]
mov ebx, dword [eax + 0x24]
mov dword [esp + 0xb0], esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], vtable.tpsp::FUNCUNINJECTMEM.0
call fcn.00c4e720
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov byte [esp + 0xb0], 2
mov ecx, dword [0xcb72d8]
mov edx, dword [0xcb72dc]
mov dword [esp + 0x38], ecx
mov eax, 0xcb06e0
mov ecx, ebx
lea ebx, [esp + 0x30]
mov dword [esp + 0x54], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], esi
call fcn.00bcbce0
mov dword [esp + 0xb0], 3
mov eax, dword [edi + 0xc]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00b92c50
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x4c]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00c130b5
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
add esp, 4
lea edi, [ebx + 0x10]
cmp dword [eax + 0x10], ebx
je 0xba8535
cmp dword [eax + 0x14], edi
jb 0xba8533
mov ebx, dword [eax]
jmp 0xba8535
mov ebx, eax
lea esi, [esp + 0x1c]
call fcn.00b94ea0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x10], 0
jne 0xba8550
xor eax, eax
jmp 0xba8557
cmp dword [eax + 0x14], edi
jb 0xba8557
mov eax, dword [eax]
lea esi, [esp + 0x1c]
mov ebx, eax
call fcn.00b94ea0
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x70], edi
jae 0xba8574
lea ebx, [esp + 0x5c]
lea esi, [esp + 0x1c]
call fcn.00b94ea0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
xor edi, edi
xor esi, esi
cmp eax, edi
jle 0xba8609
mov bl, 5
cmp esi, eax
jl 0xba85d2
push 0x265
push str.D:workTpsp
push 3
lea ecx, [esp + 0x84]
mov byte [esp + 0x23], 0
call fcn.00c2b6d0
mov byte [esp + 0xb0], bl
or dword [esp + 0x18], 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 + 0xb0], 4
test byte [esp + 0x18], 1
je 0xba85f2
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x78]
call fcn.00c2b700
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + esi*4]
mov edx, dword [esp + 0x20]
mov dword [edx + esi*4], ecx
mov eax, dword [esp + 0x4c]
inc esi
cmp esi, eax
jl 0xba85d2
mov eax, dword [esp + 0x20]
push esi
mov dword [eax + esi*4], edi
neg esi
sbb esi, esi
and esi, eax
push esi
push 4
push 0xc9ed80
lea ecx, [esp + 0x88]
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], edi
mov byte [esp + 0x88], 0
call fcn.00b92a60
mov byte [esp + 0xb8], 6
cmp dword [esp + 0x94], 0x10
mov edx, dword [esp + 0x80]
jae 0xba8665
lea edx, [esp + 0x80]
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 0x10]
mov ebx, dword [esp + 0x90]
mov ecx, esi
cmp esi, ebx
jb 0xba867b
mov ecx, ebx
cmp dword [eax + 0x14], 0x10
jb 0xba8683
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.00b92790
add esp, 0xc
cmp eax, edi
jne 0xba86a4
cmp esi, ebx
jae 0xba869b
or eax, 0xffffffff
jmp 0xba86a2
xor eax, eax
cmp esi, ebx
setne al
cmp eax, edi
mov ecx, dword [esp + 0x40]
sete al
cmp dword [ecx + 0x14], 0x10
movzx eax, al
push eax
jb 0xba86b7
mov ecx, dword [ecx]
call fcn.00b96f30
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [ecx + 0x20]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push edi
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], edi
push eax
mov byte [ecx], 0
call fcn.00b92c50
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
push edx
mov ecx, esi
mov edx, ebx
call fcn.00bdd510
add esp, 0x30
mov byte [esp + 0xb0], 4
cmp dword [esp + 0x8c], 0x10
jb 0xba871b
mov eax, dword [esp + 0x78]
push eax
call fcn.00c125e4
add esp, 4
push esi
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], edi
mov byte [esp + 0x7c], 0
call fcn.00c13498
add esp, 4
push ebx
call fcn.00c13498
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
call fcn.00c13498
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x70], 0x10
mov esi, eax
jb 0xba8775
mov edx, dword [esp + 0x5c]
push edx
call fcn.00c125e4
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
mov dword [esp + 0x30], vtable.tpsp::FUNCUNINJECTMEM.0
lea edi, [esp + 0x30]
mov dword [esp + 0xb0], 9
call fcn.00bcb1c0
mov eax, dword [esp + 0x48]
push eax
call fcn.00c13498
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 7
call fcn.00c4ead0
mov ecx, edi
mov dword [esp + 0xb0], 0xffffffff
call fcn.00c2c7c0
mov eax, esi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00c12239
mov esp, ebp
pop ebp
ret