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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], eax
mov esi, eax
mov dword [eax + 0xc], 0x80000000
lea eax, [esp + 0x40]
mov dword [esp + 0x18], edi
xor ebx, ebx
mov dword [esp + 0x48], 0
sub esi, eax
mov dword [esp + 0x4c], 0
lea ebp, [edi + 0x2c]
mov dword [esp + 0x24], esi
nop dword [eax]
mov eax, dword [ebp - 0x14]
lea edx, [ebx*4]
push dword [edx + str.BUSGSOPGtlac]
lea ecx, [esp + 0x44]
add ecx, edx
mov dword [esi + ecx], eax
mov ecx, dword [esp + 0x30]
mov al, byte [edi + ebx + 0x20]
mov byte [ecx + ebx + 8], al
mov eax, dword [esp + 0x1c]
mov esi, dword [ebp]
mov edi, dword [ebp - 8]
push dword [eax]
call fcn.100c90e0
add esp, 8
mov dword [esp + 0x28], eax
mov ecx, eax
push esi
push edi
call fcn.100cac40
mov ecx, eax
call fcn.100c9ce0
movzx edx, byte [eax + 3]
movzx ecx, byte [eax + 2]
mov eax, 0x100
imul ecx, eax
mov eax, 0xffff
add dx, cx
cmp dx, ax
je 0x100b9f2d
movzx eax, dx
lea edx, [ebx*4]
lea ecx, [esp + 0x50]
add ecx, edx
je 0x100b9f3e
mov dword [ecx], eax
lea esi, [esp + 0x40]
add esi, edx
je 0x100b9f52
mov ecx, dword [esp + 0x28]
push eax
call fcn.100c7d60
mov dword [esi], eax
mov esi, dword [esp + 0x24]
inc ebx
mov edi, dword [esp + 0x18]
add ebp, 4
cmp ebx, 2
jb 0x100b9ec0
mov ebp, edi
mov eax, dword [ebp + 0x40]
test eax, eax
je 0x100ba060
push 0x100b8060
push 0x1c
push eax
push dword [ebp + 0x44]
call fcn.100a4230
mov ecx, dword [ebp + 0x44]
add esp, 0x10
mov ebp, dword [ebp + 0x40]
xor edi, edi
mov dword [esp + 0x28], ecx
cmp ebp, 1
jbe 0x100ba038
mov edx, ecx
lea esi, [ecx + 0x24]
dec ebp
mov eax, dword [esi - 8]
cmp eax, dword [edx]
je 0x100b9fcf
movups xmm0, xmmword [esi - 8]
inc edi
lea eax, [edi*8]
sub eax, edi
lea edx, [ecx + eax*4]
movups xmmword [edx], xmm0
movq xmm0, qword [esi + 8]
movq qword [edx + 0x10], xmm0
mov eax, dword [esi + 0x10]
mov dword [edx + 0x18], eax
jmp 0x100ba02c
test byte [esi + 4], 1
je 0x100b9fe9
or dword [edx + 0xc], 1
mov eax, dword [esi]
mov ebx, dword [edx + 0xc]
mov dword [edx + 8], eax
mov eax, dword [esi + 8]
mov dword [edx + 0x10], eax
jmp 0x100ba003
mov ebx, dword [edx + 0xc]
test bl, 1
je 0x100b9ff7
xor ebx, 1
mov dword [edx + 0xc], ebx
mov ecx, dword [esi]
cmp dword [edx + 8], ecx
cmovae ecx, dword [edx + 8]
mov dword [edx + 8], ecx
mov eax, dword [esi + 4]
and eax, 2
or eax, ebx
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0xc]
cmp dword [edx + 0x14], ecx
cmovbe ecx, dword [edx + 0x14]
mov dword [edx + 0x14], ecx
mov ecx, dword [esi + 0x10]
cmp dword [edx + 0x18], ecx
cmovbe ecx, dword [edx + 0x18]
mov dword [edx + 0x18], ecx
mov ecx, dword [esp + 0x28]
add esi, 0x1c
sub ebp, 1
jne 0x100b9fa2
mov ebp, dword [esp + 0x18]
xor eax, eax
add edi, 1
lea ecx, [ebp + 0x3c]
cmovs edi, eax
mov eax, dword [ecx + 4]
cmp edi, eax
jae 0x100ba060
nop
dec eax
cmp eax, edi
ja 0x100ba050
push 1
push edi
mov dword [ecx + 4], eax
call fcn.100af390
mov ecx, dword [ebp + 0x40]
xor eax, eax
mov dword [esp + 0x20], ecx
mov ebx, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x100ba3b8
mov edx, dword [esp + 0x20]
lea esi, [ebx + 4]
xor ecx, ecx
mov dword [esp + 0x30], ecx
nop dword [eax + eax]
mov dword [esp + 0x34], ebx
cmp eax, dword [ebp + 0x40]
jb 0x100ba0c8
movups xmm0, xmmword [0x10161c90]
mov eax, dword [0x10161ca8]
mov edi, 0x10168b70
mov dword [0x10168b88], eax
movups xmmword [0x10168b70], xmm0
movq xmm0, qword [0x10161ca0]
movq qword [0x10168b80], xmm0
jmp 0x100ba0cd
mov edi, dword [ebp + 0x44]
add edi, ecx
test byte [edi + 0xc], 1
mov ecx, dword [edi + 8]
je 0x100ba0df
cmp ecx, 1
jne 0x100ba0df
xor eax, eax
jmp 0x100ba0f9
test ecx, ecx
jne 0x100ba0e7
xor eax, eax
jmp 0x100ba0eb
bsr eax, ecx
inc eax
cmp eax, 8
cmovae eax, esi
test ecx, ecx
je 0x100ba39c
add eax, ebx
mov dword [esp + 0x28], eax
cmp eax, 0x1f
jae 0x100ba39c
xor al, al
lea ebx, [ebp + 0x24]
mov byte [esp + 0x13], al
lea ebp, [edi + 0x14]
xor esi, esi
mov ecx, dword [edi]
cmp dword [esp + esi + 0x40], ecx
jne 0x100ba125
mov eax, dword [ebp]
mov dword [esp + esi + 0x48], eax
lea eax, [esp + 0x38]
add eax, esi
push eax
mov eax, dword [esp + 0x1c]
push ecx
push dword [ebx + 8]
push dword [ebx]
push dword [esi + str.BUSGSOPGtlac]
push dword [eax]
call fcn.10105e20
mov dl, byte [esp + 0x2b]
add esp, 0x18
test eax, eax
setne al
add esi, 4
or dl, al
add ebp, 4
add ebx, 4
mov byte [esp + 0x13], dl
cmp esi, 8
jb 0x100ba116
test dl, dl
jne 0x100ba1ad
test byte [edi + 0xc], 0x10
mov ebp, dword [esp + 0x18]
je 0x100ba1a3
xor esi, esi
lea eax, [esp + 0x38]
add eax, esi
push eax
push dword [edi]
push dword [esi + str.BUSGSOPGtlac]
push dword [ebp]
call fcn.100d1080
mov dl, byte [esp + 0x23]
add esi, 4
or dl, al
add esp, 0x10
mov byte [esp + 0x13], dl
cmp esi, 8
jb 0x100ba173
test dl, dl
jne 0x100ba1ad
test byte [edi + 0xc], 2
je 0x100ba38f
mov ebp, dword [esp + 0x2c]
mov eax, 0
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
add ebx, 1
cmovs ebx, eax
test esi, esi
js 0x100ba280
cmp ebx, esi
ja 0x100ba1d3
lea edx, [ebp + 0x18]
jmp 0x100ba20f
mov eax, esi
add esi, 8
shr eax, 1
add esi, eax
cmp ebx, esi
ja 0x100ba1d3
cmp esi, 0x71c71c7
jae 0x100ba279
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 0x18]
mov dword [esp + 0x14], eax
test esi, esi
jne 0x100ba23a
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x10], esi
mov dword [edx], eax
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 0x14]
cmp ebx, ecx
jbe 0x100ba25a
mov eax, ebx
sub eax, ecx
lea ecx, [ecx + ecx*8]
lea eax, [eax + eax*8]
shl eax, 2
push eax
mov eax, dword [edx]
push 0
lea eax, [eax + ecx*4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x100ba265
lea eax, [esi + esi*8]
shl eax, 2
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
test eax, eax
jne 0x100ba206
cmp esi, dword [ebp + 0x10]
ja 0x100ba279
mov edx, dword [esp + 0x14]
jmp 0x100ba213
jae 0x100ba265
push ebx
lea ecx, [ebp + 0x10]
call fcn.100fb790
mov eax, dword [esp + 0x14]
lea esi, [ebx - 1]
lea esi, [esi + esi*8]
mov dword [ebp + 0x14], ebx
mov eax, dword [eax]
lea esi, [eax + esi*4]
jmp 0x100ba2ab
mov dword [ebp + 0x10], 0xffffffff
movups xmm0, xmmword [0x10161c90]
mov eax, dword [0x10161cb0]
mov esi, 0x10168b70
mov dword [0x10168b90], eax
movups xmmword [0x10168b70], xmm0
movups xmm0, xmmword [0x10161ca0]
movups xmmword [0x10168b80], xmm0
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0xc]
shr ecx, 1
not ecx
xor ecx, dword [esi + 0x20]
and ecx, 2
xor ecx, dword [esi + 0x20]
mov dword [esi + 0x20], ecx
mov eax, dword [edi + 0xc]
shr eax, 1
not eax
xor eax, ecx
and eax, 4
xor eax, ecx
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0xc]
shr ecx, 2
xor ecx, eax
and ecx, 8
xor ecx, eax
mov dword [esi + 0x20], ecx
mov eax, dword [edi + 0xc]
shr eax, 2
xor eax, ecx
and eax, 0x10
xor eax, ecx
mov dword [esi + 0x20], eax
test byte [edi + 0xc], 1
je 0x100ba32d
cmp dword [edi + 8], 1
jne 0x100ba32d
mov ebx, dword [esp + 0x1c]
mov dword [esi + 0x14], 0x1f
mov dword [esi + 0x18], 0x80000000
jmp 0x100ba365
mov ebx, dword [esp + 0x28]
mov edx, 1
mov ebp, dword [esp + 0x1c]
mov ecx, ebx
shl edx, cl
mov eax, 1
mov ecx, ebp
mov dword [esi + 0x14], ebp
shl eax, cl
mov ecx, dword [esp + 0x34]
sub edx, eax
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x10]
shl eax, cl
mov ecx, dword [esp + 0x2c]
and eax, edx
mov dword [esp + 0x1c], ebx
or dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x14]
mov eax, 1
mov ebp, dword [esp + 0x18]
shl eax, cl
xor ecx, ecx
and eax, dword [esi + 0x18]
cmp byte [esp + 0x13], cl
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
sete cl
and eax, 0xfffffffe
or ecx, eax
mov dword [esi + 0x20], ecx
jmp 0x100ba393
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov esi, 8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
inc eax
add ecx, 0x1c
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
cmp eax, edx
jb 0x100ba090
push 0
push 0
mov ecx, ebp
call fcn.100ae490
push 0
push 1
mov ecx, ebp
call fcn.100ae490
mov ebx, dword [esp + 0x2c]
lea eax, [ebp + 0x34]
mov ecx, 0xffffffd0
mov dword [esp + 0x30], eax
xor esi, esi
lea edi, [ebp + 0x50]
add ebx, 0x3c
mov dword [esp + 0x20], esi
sub ecx, ebp
mov dword [esp + 0x24], edi
mov edx, 0xffffffd8
mov dword [esp + 0x28], ebx
sub edx, ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], edx
xor ecx, ecx
mov dword [esp + 0x34], 0
xor ebp, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], ebp
cmp dword [eax], ecx
jbe 0x100ba71e
nop
mov edi, dword [esp + esi*4 + 0x50]
cmp edi, 0xffff
je 0x100ba462
cmp dword [esp + esi*4 + 0x48], ecx
jne 0x100ba462
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
push 0x20202020
push 0
push 0
push 1
push 1
push 0x80000000
push dword [eax + esi*4]
push edi
push esi
push dword [esp + 0x50]
call fcn.100ae180
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
lea eax, [eax + eax*8]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x100ba4f2
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x20]
lea eax, [ebx + esi]
cmp dword [eax + edx], ecx
jne 0x100ba4e3
mov ecx, dword [esi + 0x20]
mov eax, ecx
push dword [esi]
shr eax, 4
and al, 1
movzx eax, al
push eax
mov eax, ecx
shr eax, 3
and al, 1
movzx eax, al
push eax
mov eax, ecx
shr ecx, 1
shr eax, 2
and cl, 1
and al, 1
movzx eax, al
push eax
movzx eax, cl
mov ecx, dword [esp + 0x50]
push eax
push dword [esi + 0x18]
mov eax, dword [esp + 0x78]
push dword [eax + ebp*4]
lea eax, [ebx + esi]
push dword [eax + ecx]
mov ecx, dword [esp + 0x38]
push ebp
push dword [esp + 0x50]
call fcn.100ae180
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add esi, 0x24
cmp esi, edi
jne 0x100ba482
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov ecx, dword [ebx - 0x1c]
cmp ebp, ecx
jae 0x100ba5c6
mov eax, ecx
lea esi, [ebp*2]
sub eax, ebp
add esi, ebp
mov ecx, eax
shl esi, 2
mov eax, dword [ebx - 0x18]
add eax, esi
test ecx, ecx
je 0x100ba529
push 0x100b80d0
push 0xc
push ecx
push eax
call fcn.100a4230
add esp, 0x10
mov eax, dword [ebx - 0x1c]
lea edi, [ebp + 1]
cmp edi, eax
jae 0x100ba5a5
lea edx, [edi + edi*2]
shl edx, 2
nop dword [eax]
mov ecx, dword [ebx - 0x18]
mov ax, word [edx + ecx]
cmp ax, word [esi + ecx]
je 0x100ba56e
movq xmm0, qword [edx + ecx]
inc ebp
lea esi, [ebp*2]
add esi, ebp
shl esi, 2
movq qword [esi + ecx], xmm0
mov eax, dword [edx + ecx + 8]
mov dword [esi + ecx + 8], eax
jmp 0x100ba59a
mov eax, dword [edx + ecx + 4]
or dword [esi + ecx + 4], eax
mov eax, 0xfffe
mov ecx, dword [ebx - 0x18]
or ax, word [edx + ecx + 2]
and word [esi + ecx + 2], ax
mov eax, 0xfffd
mov ecx, dword [ebx - 0x18]
or ax, word [edx + ecx + 2]
and word [esi + ecx + 2], ax
mov eax, dword [ebx - 0x1c]
inc edi
add edx, 0xc
cmp edi, eax
jb 0x100ba540
lea ecx, [ebp + 1]
xor edx, edx
test ecx, ecx
cmovs ecx, edx
cmp ecx, eax
jae 0x100ba5c6
dec eax
cmp eax, ecx
ja 0x100ba5b3
push 1
push ecx
lea ecx, [ebx - 0x20]
mov dword [ebx - 0x1c], eax
call fcn.100af250
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
mov ebp, dword [ebx - 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ebp
cmp esi, dword [edi - 4]
jae 0x100ba705
mov eax, dword [edi]
cmp dword [eax + esi*8], ecx
jne 0x100ba705
mov edi, dword [ebx - 4]
mov eax, 0
mov esi, dword [ebx - 8]
add edi, 1
cmovs edi, eax
test esi, esi
js 0x100ba68e
cmp edi, esi
jbe 0x100ba63c
nop word [eax + eax]
mov eax, esi
add esi, 8
shr eax, 1
add esi, eax
cmp edi, esi
ja 0x100ba610
cmp esi, 0x1fffffff
jae 0x100ba687
mov ecx, dword [ebx]
test esi, esi
jne 0x100ba66c
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
mov dword [ebx], eax
mov dword [ebx - 8], esi
mov ecx, dword [ebx - 4]
cmp edi, ecx
jbe 0x100ba6d9
mov eax, edi
sub eax, ecx
shl eax, 3
push eax
mov eax, dword [ebx]
push 0
lea eax, [eax + ecx*8]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx]
lea edx, [edi - 1]
add esp, 0xc
mov dword [ebx - 4], edi
lea edx, [eax + edx*8]
jmp 0x100ba6a9
lea eax, [esi*8]
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
test eax, eax
jne 0x100ba637
cmp esi, dword [ebx - 8]
jbe 0x100ba63c
mov dword [ebx - 8], 0xffffffff
mov eax, dword [0x10161c90]
mov edx, 0x10168b70
mov ecx, dword [0x10161c94]
mov dword [0x10168b70], eax
mov dword [0x10168b74], ecx
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov dword [edx], ebp
cmp esi, dword [edi - 4]
jb 0x100ba6f1
mov eax, dword [0x10161c90]
mov ecx, dword [0x10161c94]
mov dword [0x10168b70], eax
mov eax, 0x10168b70
mov dword [0x10168b74], ecx
jmp 0x100ba6f6
jae 0x100ba6e4
push edi
lea ecx, [ebx - 8]
call fcn.100fb790
mov eax, dword [ebx]
lea edx, [edi - 1]
mov dword [ebx - 4], edi
lea edx, [eax + edx*8]
jmp 0x100ba6a9
mov eax, dword [edi]
lea eax, [eax + esi*8]
mov eax, dword [eax + 4]
inc esi
mov ecx, dword [esp + 0x14]
mov dword [edx + 4], eax
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x30]
inc ecx
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax]
jb 0x100ba420
inc esi
add eax, 4
add ebx, 0xc
mov dword [esp + 0x20], esi
add edi, 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
cmp esi, 2
jb 0x100ba403
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8