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

Disassembly:
sub esp, 0x238
mov eax, dword [0x103b0040]
xor eax, esp
mov dword [esp + 0x234], eax
mov eax, dword [esp + 0x240]
push ebx
mov ebx, dword [esp + 0x240]
mov dword [esp + 0x60], eax
push ebp
push esi
mov eax, dword [ebx]
lea esi, [ebx + 0x2678]
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x7c], eax
push edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], esi
lea edi, [eax*8 + 0x1013aad0]
mov eax, 0x24924925
mul ecx
mov eax, dword [edi]
sub ecx, edx
mov dword [esp + 0x14], edi
shr ecx, 1
add ecx, edx
shr ecx, 3
mov dword [esp + 0x7c], ecx
cmp eax, 0x159b
je 0x100bbacd
lea ecx, [eax + 0x10139530]
xor esi, esi
mov al, byte [ecx]
xor ebp, ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x5c], esi
test al, al
je 0x100bbab0
xor bl, bl
mov byte [esp + 0x13], bl
cmp al, 0x20
jne 0x100bb276
nop
inc ecx
cmp byte [ecx], 0x20
je 0x100bb270
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x70]
push ecx
call fcn.100bcf20
add esp, 0x10
mov ecx, eax
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x64], ecx
je 0x100bb902
test byte [edi + 4], 1
mov eax, 0
mov edx, dword [esp + 0x1c]
setne al
xor esi, esi
add eax, 0x7fffffff
mov dword [esp + 0x58], esi
test edx, edx
je 0x100bb61c
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
nop dword [eax]
mov byte [esp + 0x12], 0
test ecx, ecx
je 0x100bb60b
push 1
push ecx
push dword [esp + 0x74]
call fcn.100ae3e0
mov ecx, dword [esp + 0x78]
add esp, 0xc
mov ecx, dword [ecx + 0x54]
movups xmm0, xmmword [ecx + 0x6c]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x94], ecx
movups xmmword [esp + 0x84], xmm0
test eax, eax
jne 0x100bb5ff
mov edx, dword [esp + 0x84]
mov eax, edx
shr eax, 0x10
cmp ax, 2
jle 0x100bb5ff
or ebx, 0xffffffff
movsx eax, dx
xor edx, edx
mov dword [esp + 0x38], ebx
xor ecx, ecx
mov dword [esp + 0x24], ebx
or edi, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edx
test eax, eax
jle 0x100bb8a7
mov esi, dword [esp + 0x90]
lea eax, [edi + 1]
movsx edi, word [esi + edx*2]
mov dword [esp + 0x54], eax
cmp edi, eax
jle 0x100bb3f8
mov edx, dword [esp + 0x14]
mov esi, eax
test byte [edx + 4], 3
mov edx, dword [esp + 0x88]
lea edx, [edx + eax*8]
jne 0x100bb3ad
add edx, 4
nop
test ebx, ebx
js 0x100bb392
mov eax, dword [edx]
cmp eax, ecx
jl 0x100bb392
cmp ebp, eax
jg 0x100bb3a3
mov ebp, eax
jmp 0x100bb3a3
mov eax, dword [esp + 0x5c]
mov ebx, esi
mov ecx, dword [edx]
cmp eax, ecx
cmovge eax, ecx
mov dword [esp + 0x5c], eax
inc esi
add edx, 8
cmp esi, edi
jle 0x100bb380
jmp 0x100bb3d7
add edx, 4
test ebx, ebx
js 0x100bb3c6
mov eax, dword [edx]
cmp eax, ecx
jg 0x100bb3c6
cmp dword [esp + 0x5c], eax
jl 0x100bb3cf
mov dword [esp + 0x5c], eax
jmp 0x100bb3cf
mov ecx, dword [edx]
mov ebx, esi
cmp ebp, ecx
cmovle ebp, ecx
inc esi
add edx, 8
cmp esi, edi
jle 0x100bb3b0
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x28], ebp
cmp ebx, dword [esp + 0x24]
jle 0x100bb3f8
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], edi
inc edx
mov dword [esp + 0x40], edx
cmp edx, dword [esp + 0x34]
jl 0x100bb352
test ebx, ebx
js 0x100bb8a3
mov eax, dword [esp + 0x88]
or esi, 0xffffffff
mov ebp, dword [esp + 0x8c]
mov edx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov eax, dword [eax + ebx*8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], ebx
mov al, byte [eax + ebx]
and al, 3
cmp al, 1
cmove esi, ebx
mov edi, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
cmp edx, dword [esp + 0x38]
jle 0x100bb459
dec edx
jmp 0x100bb45d
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x88]
mov esi, dword [eax + edx*8 + 4]
mov eax, esi
sub eax, ecx
jns 0x100bb472
mov eax, ecx
sub eax, esi
cmp eax, 5
jle 0x100bb4b1
mov esi, dword [esp + 0x88]
mov ebp, dword [esp + 0x88]
mov edi, dword [esi + edx*8]
mov esi, edi
sub esi, dword [ebp + ebx*8]
mov ebp, dword [esp + 0x8c]
jns 0x100bb4a3
mov esi, dword [esp + 0x88]
mov esi, dword [esi + ebx*8]
sub esi, edi
lea eax, [eax + eax*4]
shl eax, 2
cmp esi, eax
jle 0x100bb4cf
mov edi, dword [esp + 0x4c]
mov al, byte [edx + ebp]
and al, 3
mov dword [esp + 0x3c], edx
cmp al, 1
jne 0x100bb4cb
test edi, edi
mov dword [esp + 0x48], edx
cmovs edi, edx
mov dword [esp + 0x4c], edi
cmp edx, ebx
jne 0x100bb450
mov ebp, dword [esp + 0x40]
cmp ebp, dword [esp + 0x24]
jge 0x100bb4dc
inc ebp
jmp 0x100bb4e0
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x88]
mov edx, dword [esi + ebp*8 + 4]
mov eax, edx
sub eax, ecx
jns 0x100bb4f5
mov eax, ecx
sub eax, edx
cmp eax, 5
jle 0x100bb515
mov esi, dword [esi + ebp*8]
mov edx, esi
mov edi, dword [esp + 0x18]
sub edx, edi
jns 0x100bb50b
mov edx, edi
sub edx, esi
lea eax, [eax + eax*4]
shl eax, 2
cmp edx, eax
jle 0x100bb542
mov eax, dword [esp + 0x8c]
mov esi, ebp
mov dword [esp + 0x34], esi
mov al, byte [eax + ebp]
and al, 3
cmp al, 1
jne 0x100bb53c
mov edi, dword [esp + 0x48]
test edi, edi
mov dword [esp + 0x4c], ebp
cmovs edi, ebp
mov dword [esp + 0x48], edi
cmp ebp, ebx
jne 0x100bb4d3
jmp 0x100bb546
mov esi, dword [esp + 0x34]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x14]
test byte [ebp + 4], 0x10
je 0x100bb81e
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
mov ebp, dword [eax + 0x28]
mov eax, 0x51eb851f
mul ebp
mov eax, dword [esp + 0x88]
shr edx, 3
mov dword [esp + 0x74], edx
mov eax, dword [eax + esi*8]
mov esi, dword [esp + 0x88]
mov edi, dword [esi + edi*8]
mov esi, eax
sub esi, edi
sub edi, eax
test esi, esi
cmovns edi, esi
cmp edi, edx
mov edi, dword [esp + 0x34]
jge 0x100bb837
mov eax, dword [esp + 0x24]
mov edx, edi
sub edx, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
add edx, 2
cmp edx, eax
jg 0x100bb837
mov esi, dword [esp + 0x18]
shr ebp, 2
mov dword [esp + 0x70], ebp
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, ebx
nop word [eax + eax]
cmp eax, dword [esp + 0x38]
jle 0x100bb5d9
dec eax
jmp 0x100bb5dd
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x88]
mov edx, dword [edx + eax*8]
cmp edx, esi
jne 0x100bb653
cmp eax, ebx
jne 0x100bb5d0
mov bl, byte [esp + 0x13]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc esi
mov dword [esp + 0x58], esi
cmp esi, edx
jb 0x100bb2d0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
cmp eax, 0x80000000
je 0x100bb906
cmp eax, 0x7fffffff
je 0x100bb906
test bl, bl
je 0x100bb8f4
mov dword [esp + edx*4 + 0xac], eax
inc edx
mov dword [esp + 0x30], edx
jmp 0x100bb906
cmp eax, ebx
je 0x100bb5ef
cmp edx, esi
mov esi, edi
mov dword [esp + 0x18], esi
setl byte [esp + 0x47]
xor al, al
mov byte [esp + 0x12], al
nop word [eax + eax]
test al, al
jne 0x100bb697
mov eax, dword [esp + 0x8c]
or ebp, 0xffffffff
mov esi, edi
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], esi
mov al, byte [edi + eax]
and al, 3
cmp al, 1
cmove ebp, edi
mov dword [esp + 0x54], ebp
cmp edi, dword [esp + 0x24]
jge 0x100bb6a0
inc edi
jmp 0x100bb6a4
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x88]
mov eax, ecx
mov ebx, dword [edx + esi*8 + 4]
sub eax, ebx
jns 0x100bb6b9
mov eax, ebx
sub eax, ecx
cmp eax, dword [esp + 0x70]
jle 0x100bb6ca
xor al, al
mov byte [esp + 0x12], al
jmp 0x100bb75a
mov eax, dword [edx + edi*8 + 4]
mov edx, eax
sub edx, ebx
sub ebx, eax
test edx, edx
cmovns ebx, edx
mov dword [esp + 0x78], ebx
cmp ebx, 5
jle 0x100bb710
mov edx, dword [esp + 0x88]
mov esi, dword [edx + esi*8]
mov eax, dword [edx + edi*8]
mov edx, eax
sub edx, esi
sub esi, eax
test edx, edx
lea eax, [ebx + ebx*4]
cmovns esi, edx
shl eax, 2
cmp esi, eax
mov esi, dword [esp + 0x18]
jg 0x100bb710
xor al, al
mov byte [esp + 0x12], al
jmp 0x100bb75a
mov eax, dword [esp + 0x8c]
mov al, byte [edi + eax]
and al, 3
cmp al, 1
jne 0x100bb729
test ebp, ebp
mov dword [esp + 0x54], edi
cmovs ebp, edi
mov eax, dword [esp + 0x88]
mov esi, dword [eax + esi*8]
mov edx, dword [eax + edi*8]
cmp esi, edx
mov eax, edx
setl bl
sub eax, esi
sub esi, edx
test eax, eax
cmovns esi, eax
cmp bl, byte [esp + 0x47]
jne 0x100bb752
cmp esi, dword [esp + 0x74]
jge 0x100bb76f
mov esi, dword [esp + 0x18]
mov al, byte [esp + 0x12]
mov ebx, dword [esp + 0x3c]
cmp edi, ebx
jne 0x100bb670
mov edi, dword [esp + 0x34]
jmp 0x100bb83b
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x78]
mov ebx, dword [eax + edx*8 + 4]
cmp edi, dword [esp + 0x24]
jge 0x100bb78b
inc edi
jmp 0x100bb78f
mov edi, dword [esp + 0x38]
mov ecx, dword [eax + edi*8 + 4]
mov eax, ecx
sub eax, ebx
jns 0x100bb79d
mov eax, ebx
sub eax, ecx
cmp eax, 5
jle 0x100bb7cc
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x40]
mov edx, dword [ecx + edx*8]
mov eax, dword [ecx + eax*8]
mov ecx, eax
sub ecx, edx
sub edx, eax
test ecx, ecx
lea eax, [esi + esi*4]
cmovns edx, ecx
shl eax, 2
cmp edx, eax
jle 0x100bb7f8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x54], edi
mov al, byte [edi + eax]
and al, 3
cmp al, 1
jne 0x100bb7e9
test ebp, ebp
mov dword [esp + 0x54], edi
cmovs ebp, edi
cmp edi, dword [esp + 0x3c]
je 0x100bb805
mov eax, dword [esp + 0x88]
jmp 0x100bb782
cmp edi, dword [esp + 0x38]
jle 0x100bb801
dec edi
jmp 0x100bb805
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov esi, ebp
mov edx, dword [esp + 0x88]
mov ebx, eax
mov ecx, dword [edx + eax*8 + 4]
mov eax, dword [esp + 0x54]
jmp 0x100bb84a
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x88]
jmp 0x100bb84e
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0x14]
test esi, esi
js 0x100bb874
test eax, eax
js 0x100bb874
mov esi, dword [edx + esi*8]
mov eax, dword [edx + eax*8]
mov edx, eax
sub edx, esi
sub esi, eax
test edx, edx
cmovns esi, edx
cmp esi, dword [esp + 0x7c]
jle 0x100bb874
mov byte [esp + 0x12], 0
jmp 0x100bb8a3
mov edx, dword [esp + 0x8c]
mov al, byte [edx + ebx]
and al, 3
cmp al, 1
jne 0x100bb894
mov al, byte [edx + edi]
and al, 3
cmp al, 1
jne 0x100bb894
mov byte [esp + 0x12], 0
jmp 0x100bb8a3
test byte [ebp + 4], 4
mov byte [esp + 0x12], 1
jne 0x100bb5ef
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
test byte [edi + 4], 1
je 0x100bb8d4
cmp ecx, eax
jle 0x100bb8eb
mov bl, byte [esp + 0x12]
mov eax, ecx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x13], bl
jmp 0x100bb607
cmp ecx, eax
jge 0x100bb8eb
mov bl, byte [esp + 0x12]
mov eax, ecx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x13], bl
jmp 0x100bb607
mov bl, byte [esp + 0x13]
jmp 0x100bb607
mov dword [esp + esi*4 + 0x178], eax
inc esi
mov dword [esp + 0x50], esi
jmp 0x100bb906
mov edx, dword [esp + 0x30]
mov al, byte [ecx]
test al, al
jne 0x100bb264
mov ebx, dword [esp + 0x5c]
mov eax, edx
test esi, esi
jne 0x100bb92a
mov dword [esp + 0x50], esi
mov dword [esp + 0x30], edx
test eax, eax
je 0x100bbab0
mov esi, 1
cmp edx, esi
jbe 0x100bb96e
mov eax, esi
test esi, esi
je 0x100bb969
nop dword [eax]
mov ecx, dword [esp + eax*4 + 0xa8]
mov edx, dword [esp + eax*4 + 0xac]
cmp edx, ecx
jge 0x100bb965
mov dword [esp + eax*4 + 0xac], ecx
mov dword [esp + eax*4 + 0xa8], edx
sub eax, 1
jne 0x100bb940
mov edx, dword [esp + 0x30]
inc esi
cmp esi, edx
jb 0x100bb933
mov edi, dword [esp + 0x50]
mov esi, 1
cmp edi, esi
jbe 0x100bb9f1
nop
mov eax, esi
test esi, esi
je 0x100bb9b5
nop word [eax + eax]
mov ecx, dword [esp + eax*4 + 0x174]
mov edx, dword [esp + eax*4 + 0x178]
cmp edx, ecx
jge 0x100bb9b5
mov dword [esp + eax*4 + 0x178], ecx
mov dword [esp + eax*4 + 0x174], edx
sub eax, 1
jne 0x100bb990
inc esi
cmp esi, edi
jb 0x100bb980
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + 0xd8]
lea eax, [ecx*8 + 0x37]
add eax, ecx
lea esi, [edx + eax*4]
lea eax, [ecx + 1]
mov dword [edx + 0xd8], eax
mov edx, dword [esp + 0x30]
shr edi, 1
mov eax, dword [esp + edi*4 + 0x178]
test edx, edx
jne 0x100bba28
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x100bba36
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 edi, edi
jne 0x100bb9dd
shr edx, 1
mov eax, dword [esp + edx*4 + 0xac]
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x100bba36
shr edx, 1
mov dword [esi], eax
mov eax, dword [esp + edx*4 + 0xac]
mov dword [esi + 0xc], eax
mov edi, dword [esi + 0xc]
mov edx, dword [esi]
cmp edi, edx
je 0x100bba67
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 0x100bba67
lea eax, [edi + edx]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0xc], eax
mov dword [esi], eax
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0
test byte [edi + 4], 1
je 0x100bba8c
mov dword [esi + 0x20], 2
mov eax, 2
test byte [edi + 4], 2
je 0x100bba98
or eax, 4
mov dword [esi + 0x20], eax
test byte [edi + 4], 4
je 0x100bbaa4
or eax, 8
mov dword [esi + 0x20], eax
test byte [edi + 4], 8
je 0x100bbab0
or eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [edi + 8]
add edi, 8
mov dword [esp + 0x14], edi
cmp eax, 0x159b
jne 0x100bb240
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
mov ebp, dword [esi + 0xd8]
test ebp, ebp
je 0x100bbba8
xor eax, eax
test ebp, ebp
je 0x100bbaff
lea ecx, [esi + 0xdc]
nop word [eax + eax]
mov dword [esp + eax*4 + 0x84], ecx
inc eax
add ecx, 0x24
cmp eax, ebp
jb 0x100bbaf0
mov ebx, 1
cmp ebp, ebx
jbe 0x100bbb5a
nop dword [eax + eax]
mov edx, ebx
mov eax, dword [esp + edx*4 + 0x80]
test byte [eax + 0x20], 6
je 0x100bbb23
mov esi, dword [eax]
jmp 0x100bbb26
mov esi, dword [eax + 0xc]
mov ecx, dword [esp + edx*4 + 0x84]
test byte [ecx + 0x20], 6
je 0x100bbb37
mov edi, dword [ecx]
jmp 0x100bbb3a
mov edi, dword [ecx + 0xc]
cmp edi, esi
jge 0x100bbb51
mov dword [esp + edx*4 + 0x84], eax
mov dword [esp + edx*4 + 0x80], ecx
sub edx, 1
jne 0x100bbb12
inc ebx
cmp ebx, ebp
jb 0x100bbb10
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 0xd8]
xor edx, edx
sub eax, 1
je 0x100bbba4
nop word [eax + eax]
mov eax, dword [esp + edx*4 + 0x84]
test byte [eax + 0x20], 6
je 0x100bbb80
add eax, 0xc
mov ecx, dword [esp + edx*4 + 0x88]
test byte [ecx + 0x20], 6
je 0x100bbb90
add ecx, 0xc
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x100bbb98
mov dword [eax], ecx
mov eax, dword [esi + 0xd8]
inc edx
dec eax
cmp edx, eax
jb 0x100bbb70
xor eax, eax
jmp 0x100bbbdc
mov edx, dword [ebx + 0x24]
xor ecx, ecx
mov esi, dword [edx + 8]
cmp dword [edx + 4], ecx
jbe 0x100bbbd7
mov edi, dword [esp + 0x80]
lea ebx, [ecx + 0x42]
nop
movzx eax, word [esi + ecx*2]
and eax, 0x3fff
cmp eax, dword [edi]
jne 0x100bbbd1
mov word [esi + ecx*2], bx
inc ecx
cmp ecx, dword [edx + 4]
jb 0x100bbbc0
mov eax, 1
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10123fc5
add esp, 0x238
ret