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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xc0eb84
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [str.g.0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [str.g.0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
cmp byte [esi + 0x6c], bl
je 0xb51986
test byte [esi + 0x6c], 1
je 0xb5186c
mov eax, dword [esi + 0xc]
cmp eax, ebx
jge 0xb5184e
lea eax, [ebx + 0xa]
jmp 0xb51865
cmp eax, 0x80
jae 0xb5185c
mov eax, 1
jmp 0xb51865
push eax
call fcn.00bdf770
add esp, 4
lea ebx, [eax + 1]
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x6c]
shr eax, 1
test al, 1
je 0xb5189f
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xb51889
mov eax, 1
jmp 0xb51892
push eax
call fcn.00bdf770
add esp, 4
mov edi, dword [edi + 0x10]
add edi, eax
lea ebx, [ebx + edi + 1]
mov dword [esp + 0x10], ebx
mov ecx, dword [esi + 0x6c]
shr ecx, 2
test cl, 1
je 0xb518d7
mov eax, dword [esi + 0x10]
test eax, eax
jns 0xb518b8
mov eax, 0xa
jmp 0xb518cf
cmp eax, 0x80
jae 0xb518c6
mov eax, 1
jmp 0xb518cf
push eax
call fcn.00bdf770
add esp, 4
lea ebx, [ebx + eax + 1]
mov dword [esp + 0x10], ebx
mov edx, dword [esi + 0x6c]
shr edx, 3
test dl, 1
je 0xb5190c
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xb518f6
mov eax, 1
jmp 0xb518ff
push eax
call fcn.00bdf770
add esp, 4
mov edi, dword [edi + 0x10]
add edi, eax
lea ebx, [ebx + edi + 1]
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x6c]
shr eax, 4
test al, 1
je 0xb51940
mov edi, dword [esi + 0x18]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xb5192a
mov eax, 1
jmp 0xb51933
push eax
call fcn.00bdf770
add esp, 4
mov edi, dword [edi + 0x10]
add edi, eax
lea ebx, [ebx + edi + 1]
mov dword [esp + 0x10], ebx
mov ecx, dword [esi + 0x6c]
shr ecx, 6
test cl, 1
je 0xb51986
mov eax, dword [esi + 0x28]
test eax, eax
jne 0xb5195b
mov edx, dword [0xc47270]
mov eax, dword [edx + 0x28]
mov ecx, eax
call fcn.00b53e20
mov edi, eax
cmp edi, 0x80
jae 0xb51973
mov eax, 1
jmp 0xb5197c
push edi
call fcn.00bdf770
add esp, 4
add eax, edi
lea ebx, [ebx + eax + 1]
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x6c]
test eax, 0x3fc00
je 0xb51a07
shr eax, 0xa
test al, 1
je 0xb519c1
mov edi, dword [esi + 0x5c]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xb519ab
mov eax, 1
jmp 0xb519b4
push eax
call fcn.00bdf770
add esp, 4
mov edi, dword [edi + 0x10]
add edi, eax
lea ebx, [ebx + edi + 1]
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x6c]
shr eax, 0xb
test al, 1
je 0xb519f5
mov edi, dword [esi + 0x60]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0xb519df
mov eax, 1
jmp 0xb519e8
push eax
call fcn.00bdf770
add esp, 4
mov edi, dword [edi + 0x10]
add edi, eax
lea ebx, [ebx + edi + 1]
mov dword [esp + 0x10], ebx
mov ecx, dword [esi + 0x6c]
shr ecx, 0xc
test cl, 1
je 0xb51a07
add ebx, 2
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x20]
xor ebx, ebx
xor edi, edi
test eax, eax
jle 0xb51aa6
cmp edi, eax
jl 0xb51a56
push 0x265
push str.D:workTpsp
push 3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x23], 0
call fcn.00bbb6d0
mov dword [esp + 0x80], edi
or dword [esp + 0x18], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00bbb9c0
push eax
lea ecx, [esp + 0x1b]
call fcn.00bbbc10
mov dword [esp + 0x80], 0xffffffff
test byte [esp + 0x18], 1
je 0xb51a76
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x20]
call fcn.00bbb700
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + edi*4]
test eax, eax
jns 0xb51a87
mov eax, 0xa
jmp 0xb51a9e
cmp eax, 0x80
jae 0xb51a95
mov eax, 1
jmp 0xb51a9e
push eax
call fcn.00bdf770
add esp, 4
inc edi
add ebx, eax
cmp edi, dword [esi + 0x20]
jl 0xb51a56
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x20]
add ecx, eax
add ecx, ebx
add dword [esp + 0x10], ecx
xor ebx, ebx
test eax, eax
jle 0xb51b52
cmp ebx, eax
jl 0xb51b01
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x23], bl
call fcn.00bbb6d0
mov dword [esp + 0x80], 1
or dword [esp + 0x18], 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00bbb9c0
push eax
lea ecx, [esp + 0x1b]
call fcn.00bbbc10
mov dword [esp + 0x80], 0xffffffff
test byte [esp + 0x18], 2
je 0xb51b21
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x20]
call fcn.00bbb700
mov edx, dword [esi + 0x2c]
mov ecx, dword [edx + ebx*4]
call fcn.00b59150
mov edi, eax
cmp edi, 0x80
jae 0xb51b3d
mov eax, 1
jmp 0xb51b46
push edi
call fcn.00bdf770
add esp, 4
add eax, edi
add dword [esp + 0x10], eax
inc ebx
cmp ebx, dword [esi + 0x30]
jl 0xb51b01
mov eax, dword [esi + 0x40]
add dword [esp + 0x10], eax
xor ebx, ebx
test eax, eax
jle 0xb51bf7
cmp ebx, eax
jl 0xb51ba6
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x23], bl
call fcn.00bbb6d0
mov dword [esp + 0x80], 2
or dword [esp + 0x18], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00bbb9c0
push eax
lea ecx, [esp + 0x1b]
call fcn.00bbbc10
mov dword [esp + 0x80], 0xffffffff
test byte [esp + 0x18], 4
je 0xb51bc6
and dword [esp + 0x18], 0xfffffffb
lea ecx, [esp + 0x20]
call fcn.00bbb700
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + ebx*4]
call fcn.00b5a170
mov edi, eax
cmp edi, 0x80
jae 0xb51be2
mov eax, 1
jmp 0xb51beb
push edi
call fcn.00bdf770
add esp, 4
add eax, edi
add dword [esp + 0x10], eax
inc ebx
cmp ebx, dword [esi + 0x40]
jl 0xb51ba6
mov eax, dword [esi + 0x50]
add dword [esp + 0x10], eax
xor ebx, ebx
test eax, eax
jle 0xb51c9c
cmp ebx, eax
jl 0xb51c4b
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x54]
mov byte [esp + 0x2b], bl
call fcn.00bbb6d0
mov dword [esp + 0x80], 3
or dword [esp + 0x18], 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00bbb9c0
push eax
lea ecx, [esp + 0x23]
call fcn.00bbbc10
mov dword [esp + 0x80], 0xffffffff
test byte [esp + 0x18], 8
je 0xb51c6b
and dword [esp + 0x18], 0xfffffff7
lea ecx, [esp + 0x48]
call fcn.00bbb700
mov ecx, dword [esi + 0x4c]
mov ecx, dword [ecx + ebx*4]
call fcn.00b5c7d0
mov edi, eax
cmp edi, 0x80
jae 0xb51c87
mov eax, 1
jmp 0xb51c90
push edi
call fcn.00bdf770
add esp, 4
add eax, edi
add dword [esp + 0x10], eax
inc ebx
cmp ebx, dword [esi + 0x50]
jl 0xb51c4b
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
test ecx, ecx
je 0xb51cc3
mov edx, dword [ecx]
cmp edx, dword [ecx + 4]
je 0xb51cc3
push eax
call fcn.00bdb2b0
mov ecx, dword [esp + 0x14]
add esp, 4
add ecx, eax
mov dword [esi + 0x68], ecx
mov eax, ecx
jmp 0xb51cca
mov eax, dword [esp + 0x10]
mov dword [esi + 0x68], eax
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.00ba2239
mov esp, ebp
pop ebp
ret