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

Disassembly:
push edi
push ebx
push ebp
sub esp, 0x278
mov eax, dword [0x102e9794]
mov edi, dword [esp + 0x288]
xor eax, esp
mov dword [esp + 0x274], eax
test edi, edi
mov ebp, dword [esp + 0x28c]
mov ebx, dword [esp + 0x290]
je 0x100bc563
test ebp, ebp
je 0x100bc53d
test ebx, ebx
jle 0x100bc517
cmp ebx, 2
jge 0x100bbff3
mov dword [ebp], 0
mov ecx, dword [esp + 0x274]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100bc3d5
xor eax, eax
add esp, 0x278
pop ebp
pop ebx
pop edi
ret 0xc
push ebx
push ebp
call fcn.100c41a0
add esp, 8
mov edx, 1
lea ecx, [ebp + ebx*4 - 4]
mov dword [esp + 0x18], edx
lea eax, [edi + ebx*4 - 4]
mov dword [esp + 0x44], ecx
mov dword [esp], esi
nop dword [eax]
nop dword [eax]
cmp ebx, 9
jg 0x100bc1de
cmp eax, edi
jbe 0x100bc17f
mov ecx, eax
lea ebx, [edi + 4]
sub ecx, edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x60], edi
lea edx, [ecx + 3]
sar edx, 1
shr edx, 0x1e
lea esi, [edx + ecx + 3]
mov ecx, eax
sar esi, 2
sub ecx, ebx
mov dword [esp + 0x34], ecx
xor edx, edx
mov dword [esp + 0x50], esi
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x4c]
cmp ebx, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
mov ebp, dword [ecx]
jb 0x100bc150
lea esi, [edx*4]
neg esi
add esi, dword [esp + 0x34]
lea edi, [esi + 4]
mov dword [esp + 0x38], edi
shr edi, 3
test edi, edi
jbe 0x100bc3da
mov dword [esp + 0x40], esi
xor eax, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], edi
mov edx, dword [esp + 0x54]
mov esi, ebx
nop dword [eax + eax]
nop dword [eax]
nop word [eax + eax]
mov edi, dword [edx + eax*8]
cmp edi, ebp
jl 0x100bc0f5
mov ecx, dword [esp + 0x60]
mov ebp, edi
lea ebx, [esi + eax*8 + 4]
lea ecx, [ecx + eax*8 + 4]
mov edi, dword [edx + eax*8 + 4]
cmp edi, ebp
jl 0x100bc10b
mov ecx, dword [esp + 0x60]
mov ebp, edi
lea ebx, [esi + eax*8 + 8]
lea ecx, [ecx + eax*8 + 8]
inc eax
cmp eax, dword [esp + 0x70]
jb 0x100bc0e0
mov esi, dword [esp + 0x40]
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
sar edi, 1
shr edi, 0x1e
lea edi, [edi + esi + 4]
sar edi, 2
lea esi, [eax - 1]
cmp esi, edi
jae 0x100bc150
mov esi, dword [esp + 0x60]
lea esi, [esi + eax*4 + 4]
mov edi, dword [esi - 4]
cmp edi, ebp
jl 0x100bc150
mov ecx, dword [esp + 0x48]
mov ebp, edi
lea ebx, [ecx + eax*4]
lea ecx, [esi - 4]
mov esi, dword [esp + 0x4c]
inc edx
mov edi, dword [esp + 0x44]
mov eax, dword [esi]
mov dword [ecx], eax
mov dword [esi], ebp
add esi, 0xfffffffc
mov ecx, dword [edi]
mov ebp, dword [ebx]
mov dword [ebx], ecx
mov dword [edi], ebp
add edi, 0xfffffffc
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], edi
cmp edx, dword [esp + 0x50]
jb 0x100bc080
mov edx, dword [esp + 0x18]
mov eax, dword [esp + edx*4 + 0x74]
dec edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + edx*4 + 0xf4]
mov edi, dword [esp + edx*4 + 0x174]
mov ebp, dword [esp + edx*4 + 0x1f4]
mov ebx, eax
sub ebx, edi
sar ebx, 2
inc ebx
cmp dword [esp + 0x18], 0
jne 0x100bc020
mov ecx, dword [esp + 0x274]
xor ecx, esp
mov esi, dword [esp]
cmp ecx, dword [0x102e9794]
jne 0x100bc3d5
xor eax, eax
add esp, 0x278
pop ebp
pop ebx
pop edi
ret 0xc
mov edx, dword [ebp]
mov dword [esp + 0x10], edx
mov edx, dword [edi]
mov ecx, edx
mov esi, dword [edi + 4]
cmp edx, esi
jge 0x100bc1fd
mov ecx, dword [ebp + 4]
mov dword [ebp], ecx
mov esi, dword [edi + 4]
mov ecx, esi
mov dword [edi], esi
cmp edx, esi
jge 0x100bc20d
mov ecx, dword [esp + 0x10]
mov dword [ebp + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [edi]
sar ebx, 1
mov esi, dword [edi + ebx*4]
cmp ecx, esi
jle 0x100bc229
mov edx, esi
mov esi, dword [ebp + ebx*4]
mov dword [esp + 0x14], esi
mov esi, dword [ebp]
mov dword [esp + 4], esi
jmp 0x100bc23c
mov edx, ecx
mov ecx, esi
mov esi, dword [ebp]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + ebx*4]
mov dword [esp + 4], esi
mov esi, dword [eax]
cmp edx, esi
jle 0x100bc24c
mov dword [edi], esi
mov esi, dword [esp + 0x44]
mov esi, dword [esi]
jmp 0x100bc252
mov dword [edi], edx
mov esi, dword [esp + 0x14]
mov dword [ebp], esi
mov esi, dword [eax]
cmp edx, esi
jg 0x100bc267
mov edx, esi
mov esi, dword [esp + 0x44]
mov esi, dword [esi]
mov dword [esp + 0x14], esi
cmp edx, ecx
jl 0x100bc27a
mov dword [edi + ebx*4], ecx
mov ecx, dword [esp + 4]
mov dword [ebp + ebx*4], ecx
mov dword [eax], edx
jmp 0x100bc28f
mov dword [edi + ebx*4], edx
mov edx, dword [esp + 0x14]
mov dword [ebp + ebx*4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x58], esi
mov dword [esi], edx
mov edx, eax
mov ecx, dword [edi + ebx*4]
lea ebx, [ebp + 4]
mov dword [esp + 0x20], ecx
lea ecx, [edi + 4]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x60], edi
mov esi, dword [esp + 0x20]
jmp 0x100bc2e0
mov eax, dword [edx]
mov ebx, dword [ecx]
mov dword [ecx], eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov ebp, dword [ebx]
mov eax, dword [edi]
mov dword [edi], ebp
mov dword [ebx], eax
nop word [eax + eax]
mov ebx, dword [esp + 0x5c]
mov eax, ecx
mov dword [esp + 0x68], ebx
cmp edx, ecx
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x58]
jbe 0x100bc3cc
mov edi, edx
sub edi, ecx
lea ebp, [edi + 3]
sar ebp, 1
shr ebp, 0x1e
lea ebp, [ebp + edi + 3]
sar ebp, 2
cmp esi, dword [ecx]
jl 0x100bc386
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [esp + 0x6c], ebp
xor edi, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0x24]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
mov ebx, dword [esp + 0x68]
inc ecx
cmp ecx, dword [esp + 0x6c]
lea edx, [ebp + 4]
lea ebx, [edi + ebx + 4]
jae 0x100bc361
lea ebp, [eax + ecx*4]
cmp esi, dword [ebp]
lea edi, [ecx*4]
jge 0x100bc340
mov dword [esp + 0x5c], ebx
mov ecx, edx
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jbe 0x100bc3cc
mov ebp, edx
sub ebp, ecx
lea eax, [ebp + 3]
sar eax, 1
shr eax, 0x1e
lea ebp, [eax + ebp + 3]
sar ebp, 2
xor eax, eax
cmp esi, dword [edx]
jge 0x100bc3cc
mov dword [esp + 0x6c], ebp
xor edi, edi
mov dword [esp + 0x30], ecx
nop dword [eax]
nop dword [eax]
neg edi
inc eax
add edi, ebx
lea ecx, [edx - 4]
cmp eax, dword [esp + 0x6c]
lea ebp, [edi - 4]
jae 0x100bc3c2
mov edx, dword [esp + 0x64]
lea edi, [eax*4]
sub edx, edi
cmp esi, dword [edx]
jl 0x100bc3a0
mov dword [esp + 0x58], ebp
mov edx, ecx
mov ecx, dword [esp + 0x30]
cmp ecx, edx
je 0x100bc3e4
jmp 0x100bc2c2
call fcn.1023c450
mov eax, 1
jmp 0x100bc11e
mov dword [esp + 0x2c], edx
lea esi, [ecx - 4]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
add ebx, 0xfffffffc
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], ebx
cmp edx, dword [esi]
mov edx, dword [esp + 0x2c]
jne 0x100bc479
mov dword [esp + 8], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
mov edx, dword [esp + 8]
mov edi, esi
nop dword [eax + eax]
nop dword [eax]
nop
inc edx
mov eax, esi
lea ebp, [edx*4]
sub eax, ebp
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x60]
jbe 0x100bc465
mov ecx, dword [esp + 0x20]
mov edi, eax
mov ebx, dword [esp + 0x1c]
sub ebx, ebp
cmp ecx, dword [eax]
je 0x100bc440
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x60]
mov esi, eax
mov ecx, dword [esp + 0xc]
sub esi, edx
sub ecx, edi
sar ecx, 2
sar esi, 2
cmp ecx, esi
jge 0x100bc4d5
cmp edi, dword [esp + 0xc]
je 0x100bc4ca
mov ecx, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0x174], edx
mov dword [esp + ecx*4 + 0xf4], eax
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
mov dword [esp + ecx*4 + 0x1f4], edx
mov dword [esp + ecx*4 + 0x78], eax
inc ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], ebx
jmp 0x100bc1a5
mov ebp, dword [esp + 0x58]
mov edi, edx
jmp 0x100bc1a5
cmp edx, eax
je 0x100bc50a
mov ecx, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0x1f4], ebp
mov ebp, dword [esp + 0xc]
mov dword [esp + ecx*4 + 0x174], edi
mov edi, edx
mov dword [esp + ecx*4 + 0xf4], ebp
mov dword [esp + ecx*4 + 0x78], ebx
inc ecx
mov dword [esp + 0x18], ecx
mov ebp, dword [esp + 0x58]
jmp 0x100bc1a5
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], ebx
jmp 0x100bc1a5
mov ecx, dword [esp + 0x274]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100bc3d5
mov eax, 0xfffffffa
add esp, 0x278
pop ebp
pop ebx
pop edi
ret 0xc
mov ecx, dword [esp + 0x274]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100bc3d5
mov eax, 0xfffffff8
add esp, 0x278
pop ebp
pop ebx
pop edi
ret 0xc
mov ecx, dword [esp + 0x274]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100bc3d5
jmp 0x100bc552