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

Disassembly:
sub esp, 0x23c
mov eax, dword [0x103b0024]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x250]
mov esi, dword [esp + 0x254]
mov dword [esp + 0x68], edi
mov dword [esp + 0x40], esi
mov eax, dword [edi]
lea ecx, [edi + 0x2678]
mov dword [esp + 0x84], eax
mov dword [esp + 0x60], ecx
mov ecx, dword [edi + 0x28]
mov eax, dword [eax + 0xc]
lea ebx, [eax*8 + 0x10139b10]
mov eax, 0x24924925
mul ecx
mov eax, dword [ebx]
sub ecx, edx
mov dword [esp + 0x14], ebx
shr ecx, 1
add ecx, edx
shr ecx, 3
mov dword [esp + 0x80], ecx
cmp eax, 0x159b
je 0x100bc5f7
nop word [eax + eax]
lea ecx, [eax + 0x10138570]
mov dword [esp + 0x34], 0
mov al, byte [ecx]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x5c], edi
test al, al
je 0x100bc5da
nop dword [eax + eax]
mov byte [esp + 0x13], 0
cmp al, 0x20
jne 0x100bbda6
nop dword [eax]
inc ecx
cmp byte [ecx], 0x20
je 0x100bbda0
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x70]
push ecx
call fcn.100bda80
mov edx, dword [esp + 0x7c]
add esp, 0x10
mov ecx, eax
mov dword [esp + 0x64], ecx
test edx, edx
je 0x100bc42f
test byte [ebx + 4], 1
mov eax, 0
mov dword [esp + 0x20], 0
setne al
add eax, 0x7fffffff
test edx, edx
je 0x100bc150
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
nop dword [eax]
mov byte [esp + 0x12], 0
test edx, edx
je 0x100bc139
push 1
push edx
push esi
call fcn.100aef20
mov ecx, dword [esi + 0x54]
add esp, 0xc
movups xmm0, xmmword [ecx + 0x6c]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x98], ecx
movups xmmword [esp + 0x88], xmm0
test eax, eax
jne 0x100bc12d
mov ecx, dword [esp + 0x88]
mov eax, ecx
shr eax, 0x10
cmp ax, 2
jle 0x100bc12d
movsx esi, cx
xor edi, edi
mov dword [esp + 0x28], esi
xor eax, eax
mov ecx, dword [esp + 0x28]
xor esi, esi
or ebx, 0xffffffff
mov dword [esp + 0x4c], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], esi
test ecx, ecx
jle 0x100bc3cd
mov edx, dword [esp + 0x94]
movsx esi, word [edx + esi*2]
mov dword [esp + 0x44], ebx
cmp esi, eax
jle 0x100bbf28
mov ecx, dword [esp + 0x14]
mov edx, eax
test byte [ecx + 4], 3
mov ecx, dword [esp + 0x8c]
lea ecx, [ecx + eax*8]
jne 0x100bbedd
add ecx, 4
nop dword [eax]
test ebx, ebx
js 0x100bbec2
mov eax, dword [ecx]
cmp eax, edi
jl 0x100bbec2
cmp ebp, eax
jg 0x100bbed3
mov ebp, eax
jmp 0x100bbed3
mov eax, dword [esp + 0x5c]
mov ebx, edx
mov edi, dword [ecx]
cmp eax, edi
cmovge eax, edi
mov dword [esp + 0x5c], eax
inc edx
add ecx, 8
cmp edx, esi
jle 0x100bbeb0
jmp 0x100bbf07
add ecx, 4
test ebx, ebx
js 0x100bbef6
mov eax, dword [ecx]
cmp eax, edi
jg 0x100bbef6
cmp dword [esp + 0x5c], eax
jl 0x100bbeff
mov dword [esp + 0x5c], eax
jmp 0x100bbeff
mov edi, dword [ecx]
mov ebx, edx
cmp ebp, edi
cmovle ebp, edi
inc edx
add ecx, 8
cmp edx, esi
jle 0x100bbee0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x2c], ebp
cmp ebx, dword [esp + 0x44]
je 0x100bbf28
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], esi
lea eax, [esi + 1]
mov esi, dword [esp + 0x48]
inc esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], esi
cmp esi, ecx
jl 0x100bbe83
test ebx, ebx
js 0x100bc3cd
mov eax, dword [esp + 0x8c]
or edx, 0xffffffff
mov esi, dword [esp + 0x90]
mov ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [eax + ebx*8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x48], ebx
mov al, byte [eax + ebx]
and al, 3
cmp al, 1
cmove edx, ebx
mov ebp, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebp
nop dword [eax]
cmp ecx, dword [esp + 0x4c]
jle 0x100bbf99
dec ecx
jmp 0x100bbf9d
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + ecx*8 + 4]
mov eax, edx
sub eax, edi
jns 0x100bbfb2
mov eax, edi
sub eax, edx
cmp eax, 5
jle 0x100bbff0
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x8c]
mov ebp, dword [edx + ecx*8]
mov edx, ebp
sub edx, dword [esi + ebx*8]
mov esi, dword [esp + 0x90]
jns 0x100bbfe2
mov edx, dword [esp + 0x8c]
mov edx, dword [edx + ebx*8]
sub edx, ebp
lea eax, [eax + eax*4]
shl eax, 2
cmp edx, eax
jle 0x100bc00e
mov ebp, dword [esp + 0x54]
mov al, byte [ecx + esi]
and al, 3
mov dword [esp + 0x1c], ecx
cmp al, 1
jne 0x100bc00a
test ebp, ebp
mov dword [esp + 0x50], ecx
cmovs ebp, ecx
mov dword [esp + 0x54], ebp
cmp ecx, ebx
jne 0x100bbf90
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x3c]
jge 0x100bc01b
inc esi
jmp 0x100bc01f
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + esi*8 + 4]
lea edx, [eax + esi*8]
mov eax, ecx
mov dword [esp + 0x7c], edx
sub eax, edi
jns 0x100bc03b
mov eax, edi
sub eax, ecx
mov ebp, dword [esp + 0x38]
cmp eax, 5
jle 0x100bc05a
mov edx, dword [edx]
mov ecx, edx
sub ecx, ebp
jns 0x100bc050
mov ecx, ebp
sub ecx, edx
lea eax, [eax + eax*4]
shl eax, 2
cmp ecx, eax
jle 0x100bc083
mov eax, dword [esp + 0x90]
mov dword [esp + 0x28], esi
mov al, byte [esi + eax]
and al, 3
cmp al, 1
jne 0x100bc07f
mov eax, dword [esp + 0x50]
test eax, eax
mov dword [esp + 0x54], esi
cmovs eax, esi
mov dword [esp + 0x50], eax
cmp esi, ebx
jne 0x100bc012
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 4]
test al, 0x10
je 0x100bc35f
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax + 0x28]
mov eax, 0x51eb851f
mul ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x8c]
shr edx, 3
mov dword [esp + 0x74], edx
mov esi, dword [ecx + esi*8]
mov eax, dword [ecx + eax*8]
mov ecx, eax
sub ecx, esi
sub esi, eax
test ecx, ecx
cmovns esi, ecx
cmp esi, edx
mov esi, dword [esp + 0x28]
jge 0x100bc363
mov eax, dword [esp + 0x3c]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
add ecx, 2
sub eax, edx
cmp ecx, eax
jg 0x100bc363
shr dword [esp + 0x48], 2
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
mov eax, ebx
cmp eax, edx
jle 0x100bc10b
dec eax
jmp 0x100bc10f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx + eax*8]
cmp ecx, ebp
jne 0x100bc186
cmp eax, ebx
jne 0x100bc104
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x6c]
jb 0x100bbe00
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
cmp eax, 0x80000000
je 0x100bc42f
cmp eax, 0x7fffffff
je 0x100bc42f
cmp byte [esp + 0x13], 0
mov edx, dword [esp + 0x34]
je 0x100bc421
mov dword [esp + edi*4 + 0xb0], eax
inc edi
mov dword [esp + 0x70], edi
jmp 0x100bc433
cmp eax, ebx
je 0x100bc121
cmp ecx, ebp
mov ebp, dword [esp + 0x1c]
mov ecx, esi
setl dh
mov dword [esp + 0x58], ecx
xor al, al
mov byte [esp + 0x1b], dh
mov byte [esp + 0x12], al
test al, al
jne 0x100bc1d0
mov eax, dword [esp + 0x90]
or ebx, 0xffffffff
mov ecx, esi
mov byte [esp + 0x12], 1
mov dword [esp + 0x58], ecx
mov al, byte [esi + eax]
and al, 3
cmp al, 1
cmove ebx, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
jmp 0x100bc1d4
mov ebx, dword [esp + 0x44]
cmp esi, dword [esp + 0x3c]
jge 0x100bc1dd
inc esi
jmp 0x100bc1e1
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + ecx*8 + 4]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x78], ecx
jns 0x100bc1fa
mov eax, ecx
sub eax, edi
cmp eax, dword [esp + 0x48]
jle 0x100bc20b
xor al, al
mov byte [esp + 0x12], al
jmp 0x100bc2ad
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + esi*8 + 4]
mov ebp, eax
sub ebp, ecx
jns 0x100bc220
mov ebp, ecx
sub ebp, eax
cmp ebp, 5
jle 0x100bc25d
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x58]
mov eax, dword [ecx + esi*8]
mov edx, dword [ecx + edx*8]
mov ecx, eax
sub ecx, edx
sub edx, eax
test ecx, ecx
lea eax, [ebp*4]
cmovns edx, ecx
add eax, ebp
shl eax, 2
cmp edx, eax
mov dh, byte [esp + 0x1b]
jg 0x100bc25d
xor al, al
mov byte [esp + 0x12], al
jmp 0x100bc2a9
mov eax, dword [esp + 0x90]
mov al, byte [esi + eax]
and al, 3
cmp al, 1
jne 0x100bc27a
test ebx, ebx
mov dword [esp + 0x38], esi
cmovs ebx, esi
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x58]
mov ecx, dword [ebx + esi*8]
mov ebx, dword [ebx + eax*8]
cmp ebx, ecx
mov eax, ecx
setl dl
sub eax, ebx
sub ebx, ecx
test eax, eax
cmovns ebx, eax
cmp dl, dh
jne 0x100bc2a5
cmp ebx, dword [esp + 0x74]
jge 0x100bc2be
mov al, byte [esp + 0x12]
mov ebp, dword [esp + 0x1c]
cmp esi, ebp
je 0x100bc359
mov ecx, dword [esp + 0x58]
jmp 0x100bc1a3
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x38]
cmp esi, dword [esp + 0x3c]
jge 0x100bc2cf
inc esi
jmp 0x100bc2d3
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx + esi*8 + 4]
mov eax, ecx
sub eax, edi
jns 0x100bc2e8
mov eax, edi
sub eax, ecx
cmp eax, 5
jle 0x100bc313
mov eax, dword [esp + 0x58]
mov edx, dword [edx + eax*8]
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
sub ecx, edx
sub edx, dword [eax]
test ecx, ecx
lea eax, [ebp*4]
cmovns edx, ecx
add eax, ebp
shl eax, 2
cmp edx, eax
jle 0x100bc33a
mov eax, dword [esp + 0x90]
mov al, byte [esi + eax]
and al, 3
cmp al, 1
jne 0x100bc330
mov eax, dword [esp + 0x44]
test eax, eax
cmovs eax, esi
mov dword [esp + 0x44], eax
mov ebx, esi
cmp esi, dword [esp + 0x1c]
je 0x100bc34f
jmp 0x100bc2c6
cmp esi, dword [esp + 0x4c]
jle 0x100bc34b
mov ebp, dword [esp + 0x58]
dec esi
mov edx, dword [esp + 0x44]
jmp 0x100bc36f
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
jmp 0x100bc36f
mov esi, dword [esp + 0x28]
jmp 0x100bc367
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
test edx, edx
js 0x100bc398
test ebx, ebx
js 0x100bc398
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + edx*8]
mov eax, dword [ecx + ebx*8]
mov ecx, eax
sub ecx, edx
sub edx, eax
test ecx, ecx
cmovns edx, ecx
cmp edx, dword [esp + 0x80]
jg 0x100bc3c8
mov ecx, dword [esp + 0x90]
mov al, byte [ecx + ebp]
and al, 3
cmp al, 1
jne 0x100bc3b1
mov al, byte [ecx + esi]
and al, 3
cmp al, 1
je 0x100bc3c8
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x12], 1
movzx eax, word [ebx + 4]
test al, 4
jne 0x100bc125
jmp 0x100bc3d1
mov byte [esp + 0x12], 0
mov ebx, dword [esp + 0x14]
test byte [ebx + 4], 1
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
je 0x100bc402
mov ecx, dword [esp + 0x20]
cmp edi, eax
jle 0x100bc135
mov dl, byte [esp + 0x12]
mov eax, edi
mov dword [esp + 0x30], eax
mov byte [esp + 0x13], dl
jmp 0x100bc135
mov edx, dword [esp + 0x24]
cmp edi, eax
jge 0x100bc418
mov cl, byte [esp + 0x12]
mov eax, edi
mov dword [esp + 0x30], eax
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x20]
jmp 0x100bc139
mov dword [esp + edx*4 + 0x17c], eax
inc edx
mov dword [esp + 0x34], edx
jmp 0x100bc433
mov edx, dword [esp + 0x34]
mov al, byte [ecx]
test al, al
jne 0x100bbd90
mov ebx, dword [esp + 0x5c]
mov eax, edi
test edx, edx
jne 0x100bc453
mov dword [esp + 0x34], edx
test eax, eax
je 0x100bc5d6
mov esi, 1
cmp edi, esi
jbe 0x100bc49e
nop dword [eax]
mov eax, esi
test esi, esi
je 0x100bc495
nop word [eax + eax]
mov ecx, dword [esp + eax*4 + 0xac]
mov edx, dword [esp + eax*4 + 0xb0]
cmp edx, ecx
jge 0x100bc495
mov dword [esp + eax*4 + 0xb0], ecx
mov dword [esp + eax*4 + 0xac], edx
sub eax, 1
jne 0x100bc470
inc esi
cmp esi, edi
jb 0x100bc460
mov edx, dword [esp + 0x34]
mov esi, 1
cmp edx, esi
jbe 0x100bc515
mov eax, esi
test esi, esi
je 0x100bc4d9
nop dword [eax]
mov ecx, dword [esp + eax*4 + 0x178]
mov edx, dword [esp + eax*4 + 0x17c]
cmp edx, ecx
jge 0x100bc4d5
mov dword [esp + eax*4 + 0x17c], ecx
mov dword [esp + eax*4 + 0x178], edx
sub eax, 1
jne 0x100bc4b0
mov edx, dword [esp + 0x34]
inc esi
cmp esi, edx
jb 0x100bc4a7
mov esi, dword [esp + 0x60]
mov ecx, dword [esi + 0xd8]
lea eax, [ecx + ecx*8]
lea esi, [esi + eax*4]
lea eax, [ecx + 1]
add esi, 0xdc
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0xd8], eax
shr edx, 1
mov eax, dword [esp + edx*4 + 0x17c]
test edi, edi
jne 0x100bc54c
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x100bc55a
mov esi, dword [esp + 0x60]
mov ecx, dword [esi + 0xd8]
lea eax, [ecx + ecx*8]
lea esi, [esi + eax*4]
lea eax, [ecx + 1]
add esi, 0xdc
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0xd8], eax
test edx, edx
jne 0x100bc501
shr edi, 1
mov eax, dword [esp + edi*4 + 0xb0]
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x100bc55a
shr edi, 1
mov dword [esi], eax
mov eax, dword [esp + edi*4 + 0xb0]
mov dword [esi + 0xc], eax
mov edi, dword [esi + 0xc]
mov edx, dword [esi]
cmp edi, edx
je 0x100bc58b
mov eax, dword [esp + 0x14]
mov ecx, 0
test byte [eax + 4], 3
setne cl
xor eax, eax
cmp edi, edx
setg al
cmp eax, ecx
je 0x100bc58b
lea eax, [edi + edx]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0xc], eax
mov dword [esi], eax
mov dword [esi + 0x1c], ebx
xor eax, eax
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x20], 0
test byte [ebx + 4], 1
je 0x100bc5b0
mov dword [esi + 0x20], 2
mov eax, 2
test byte [ebx + 4], 2
je 0x100bc5bc
or eax, 4
mov dword [esi + 0x20], eax
test byte [ebx + 4], 4
je 0x100bc5c8
or eax, 8
mov dword [esi + 0x20], eax
test byte [ebx + 4], 8
je 0x100bc5da
or eax, 0x10
mov dword [esi + 0x20], eax
jmp 0x100bc5da
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 8]
add ebx, 8
mov esi, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
cmp eax, 0x159b
jne 0x100bbd60
mov edi, dword [esp + 0x68]
mov ebp, dword [edi + 0x2750]
lea esi, [edi + 0x2678]
test ebp, ebp
je 0x100bc6cb
xor eax, eax
test ebp, ebp
je 0x100bc62f
lea ecx, [esi + 0xdc]
nop word [eax + eax]
mov dword [esp + eax*4 + 0x88], ecx
inc eax
add ecx, 0x24
cmp eax, ebp
jb 0x100bc620
mov ebx, 1
cmp ebp, ebx
jbe 0x100bc68a
nop dword [eax + eax]
mov edx, ebx
mov eax, dword [esp + edx*4 + 0x84]
test byte [eax + 0x20], 6
je 0x100bc653
mov esi, dword [eax]
jmp 0x100bc656
mov esi, dword [eax + 0xc]
mov ecx, dword [esp + edx*4 + 0x88]
test byte [ecx + 0x20], 6
je 0x100bc667
mov edi, dword [ecx]
jmp 0x100bc66a
mov edi, dword [ecx + 0xc]
cmp edi, esi
jge 0x100bc681
mov dword [esp + edx*4 + 0x88], eax
mov dword [esp + edx*4 + 0x84], ecx
sub edx, 1
jne 0x100bc642
inc ebx
cmp ebx, ebp
jb 0x100bc640
mov esi, dword [esp + 0x60]
lea eax, [ebp - 1]
xor edx, edx
test eax, eax
je 0x100bc6c7
mov eax, dword [esp + edx*4 + 0x88]
test byte [eax + 0x20], 6
je 0x100bc6a3
add eax, 0xc
mov ecx, dword [esp + edx*4 + 0x8c]
test byte [ecx + 0x20], 6
je 0x100bc6b3
add ecx, 0xc
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x100bc6bb
mov dword [eax], ecx
mov eax, dword [esi + 0xd8]
inc edx
dec eax
cmp edx, eax
jb 0x100bc693
xor eax, eax
jmp 0x100bc6fe
mov edx, dword [edi + 0x24]
xor ecx, ecx
mov esi, dword [edx + 8]
cmp dword [edx + 4], ecx
jle 0x100bc6f9
mov edi, dword [esp + 0x84]
lea ebx, [ecx + 0x42]
movzx eax, word [esi + ecx*2]
and eax, 0x3fff
cmp eax, dword [edi]
jne 0x100bc6f3
mov word [esi + ecx*2], bx
inc ecx
cmp ecx, dword [edx + 4]
jl 0x100bc6e2
mov eax, 1
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101238be
add esp, 0x23c
ret