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

Disassembly:
push 0xffffffffffffffff
push 0xd25a22
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0xd916ec]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x24
mov dword [esp + 0x5c], ebx
call fcn.00cb8a50
add esp, 4
cmp eax, ebx
je 0xbbd534
mov dword [esp + 0x54], eax
mov dword [eax], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x54]
mov byte [eax + 0x20], 1
mov ecx, dword [esp + 0x54]
mov byte [ecx + 0x21], 1
mov dword [esp + 0x6c], 1
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x6c], 2
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov dword [esp + 0x34], esi
cmp eax, esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
je 0xbbd3b1
jmp 0xbbd204
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
mov dword [esp + 0x18], edx
jne 0xbbd22a
cmp dword [eax + 0xc], edx
jae 0xbbd220
mov eax, dword [eax + 8]
jmp 0xbbd224
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], 0
je 0xbbd216
mov eax, dword [esi + 0x20]
lea ebx, [esi + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ebx
cmp ecx, eax
je 0xbbd247
cmp edx, dword [ecx + 0xc]
jb 0xbbd247
lea eax, [esp + 0x20]
jmp 0xbbd24f
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov eax, dword [eax]
cmp eax, dword [esi + 0x20]
je 0xbbd25b
mov edi, dword [eax + 0x10]
jmp 0xbbd25d
xor edi, edi
mov dword [esp + 0x20], edi
cmp edi, dword [esp + 0x78]
je 0xbbd396
cmp byte [esp + 0x7c], 0
jne 0xbbd27c
test edi, edi
jne 0xbbd396
jmp 0xbbd2ab
test edi, edi
je 0xbbd2ab
lea ecx, [esi + 0xc]
lea ebx, [esp + 0x28]
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], edi
call fcn.00bbe230
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esi + 0x10]
je 0xbbd2a7
cmp dword [ecx + 0x10], 5
je 0xbbd396
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0x18]
mov esi, ebx
call fcn.00bbacc0
mov edx, dword [esp + 0x78]
mov dword [eax], edx
mov ebp, dword [esp + 0x44]
lea eax, [esp + 0x18]
cmp eax, ebp
jae 0xbbd2fc
mov ecx, eax
mov eax, dword [esp + 0x40]
cmp eax, ecx
ja 0xbbd2fc
mov esi, ecx
sub esi, eax
sar esi, 2
cmp ebp, dword [esp + 0x48]
jne 0xbbd2f0
lea eax, [esp + 0x40]
call fcn.00c2e360
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
test ebp, ebp
je 0xbbd31e
mov edx, dword [eax + esi*4]
mov dword [ebp], edx
jmp 0xbbd31a
cmp ebp, dword [esp + 0x48]
jne 0xbbd30f
lea eax, [esp + 0x40]
call fcn.00c2e360
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0xbbd31e
mov eax, dword [esp + 0x18]
mov dword [ebp], eax
mov ebp, dword [esp + 0x44]
add ebp, 4
mov dword [esp + 0x44], ebp
test edi, edi
je 0xbbd392
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x24]
call fcn.00bbe290
mov ebp, eax
mov eax, dword [ebp + 4]
lea edx, [esp + 0x18]
cmp edx, eax
jae 0xbbd371
mov ecx, dword [ebp]
cmp ecx, edx
ja 0xbbd371
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [ebp + 8]
jne 0xbbd35e
mov eax, ebp
call fcn.00c2e360
mov eax, dword [ebp]
lea ecx, [eax + esi*4]
mov eax, dword [ebp + 4]
test eax, eax
je 0xbbd38a
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0xbbd38a
cmp eax, dword [ebp + 8]
jne 0xbbd37d
mov eax, ebp
call fcn.00c2e360
mov eax, dword [ebp + 4]
test eax, eax
je 0xbbd38a
mov edx, dword [esp + 0x18]
mov dword [eax], edx
add dword [ebp + 4], 4
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x34]
jne 0xbbd200
mov ecx, dword [esp + 0x40]
xor ebx, ebx
sub ebp, ecx
test ebp, 0xfffffffc
je 0xbbd4cb
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x7c]
push edx
push esi
call eax
mov eax, dword [esp + 0x54]
mov esi, dword [eax]
mov dword [esp + 0x34], eax
cmp esi, eax
je 0xbbd4b3
mov edi, dword [esp + 0x74]
mov ebp, dword [esi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esi + 0x10]
push eax
push ebp
push edi
call edx
push ebp
call fcn.00bbc220
test al, al
je 0xbbd460
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
jne 0xbbd426
cmp dword [eax + 0xc], ebp
jae 0xbbd41c
mov eax, dword [eax + 8]
jmp 0xbbd420
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x41], 0
je 0xbbd412
mov eax, dword [edi + 0x10]
mov dword [esp + 0x7c], ecx
cmp ecx, eax
je 0xbbd43c
cmp ebp, dword [ecx + 0xc]
jb 0xbbd43c
lea eax, [esp + 0x7c]
jmp 0xbbd444
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
mov eax, dword [eax]
cmp eax, dword [edi + 0x10]
je 0xbbd451
cmp byte [eax + 0x14], 0
jne 0xbbd460
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
push edi
call eax
cmp byte [esi + 0x21], 0
jne 0xbbd4a7
mov eax, dword [esi + 8]
cmp byte [eax + 0x21], 0
jne 0xbbd48c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x21], 0
jne 0xbbd4a7
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x21], 0
je 0xbbd480
jmp 0xbbd4a7
mov eax, dword [esi + 4]
cmp byte [eax + 0x21], 0
jne 0xbbd4a5
cmp esi, dword [eax + 8]
jne 0xbbd4a5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x21], 0
je 0xbbd495
mov esi, eax
cmp esi, dword [esp + 0x34]
jne 0xbbd3e5
jmp 0xbbd4b7
mov edi, dword [esp + 0x74]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x40]
push eax
push edi
call edx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x6c], 1
cmp ecx, ebx
je 0xbbd4dd
push ecx
call fcn.00cb8a36
add esp, 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x6c], 3
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x84]
lea esi, [esp + 0x58]
call fcn.00bbe620
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x54]
push eax
call fcn.00cb8a36
add esp, 4
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x38]
mov dword [esp + 0x6c], ebx
call fcn.00b74df0
int3