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

Disassembly:
sub esp, 0x238
mov eax, dword [0x104fb780]
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 + 0x104b25e8]
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 0x101bd99d
lea ecx, [eax + 0x104b1048]
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 0x101bd980
xor bl, bl
mov byte [esp + 0x13], bl
cmp al, 0x20
jne 0x101bd146
nop
inc ecx
cmp byte [ecx], 0x20
je 0x101bd140
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x70]
push ecx
call fcn.101bedf0
add esp, 0x10
mov ecx, eax
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x64], ecx
je 0x101bd7d2
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 0x101bd4ec
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
nop dword [eax]
mov byte [esp + 0x12], 0
test ecx, ecx
je 0x101bd4db
push 1
push ecx
push dword [esp + 0x74]
call fcn.101b0230
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 0x101bd4cf
mov edx, dword [esp + 0x84]
mov eax, edx
shr eax, 0x10
cmp ax, 2
jle 0x101bd4cf
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 0x101bd777
mov esi, dword [esp + 0x90]
lea eax, [edi + 1]
movsx edi, word [esi + edx*2]
mov dword [esp + 0x54], eax
cmp edi, eax
jle 0x101bd2c8
mov edx, dword [esp + 0x14]
mov esi, eax
test byte [edx + 4], 3
mov edx, dword [esp + 0x88]
lea edx, [edx + eax*8]
jne 0x101bd27d
add edx, 4
nop
test ebx, ebx
js 0x101bd262
mov eax, dword [edx]
cmp eax, ecx
jl 0x101bd262
cmp ebp, eax
jg 0x101bd273
mov ebp, eax
jmp 0x101bd273
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 0x101bd250
jmp 0x101bd2a7
add edx, 4
test ebx, ebx
js 0x101bd296
mov eax, dword [edx]
cmp eax, ecx
jg 0x101bd296
cmp dword [esp + 0x5c], eax
jl 0x101bd29f
mov dword [esp + 0x5c], eax
jmp 0x101bd29f
mov ecx, dword [edx]
mov ebx, esi
cmp ebp, ecx
cmovle ebp, ecx
inc esi
add edx, 8
cmp esi, edi
jle 0x101bd280
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x28], ebp
cmp ebx, dword [esp + 0x24]
jle 0x101bd2c8
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 0x101bd222
test ebx, ebx
js 0x101bd773
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 0x101bd329
dec edx
jmp 0x101bd32d
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x88]
mov esi, dword [eax + edx*8 + 4]
mov eax, esi
sub eax, ecx
jns 0x101bd342
mov eax, ecx
sub eax, esi
cmp eax, 5
jle 0x101bd381
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 0x101bd373
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 0x101bd39f
mov edi, dword [esp + 0x4c]
mov al, byte [edx + ebp]
and al, 3
mov dword [esp + 0x3c], edx
cmp al, 1
jne 0x101bd39b
test edi, edi
mov dword [esp + 0x48], edx
cmovs edi, edx
mov dword [esp + 0x4c], edi
cmp edx, ebx
jne 0x101bd320
mov ebp, dword [esp + 0x40]
cmp ebp, dword [esp + 0x24]
jge 0x101bd3ac
inc ebp
jmp 0x101bd3b0
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x88]
mov edx, dword [esi + ebp*8 + 4]
mov eax, edx
sub eax, ecx
jns 0x101bd3c5
mov eax, ecx
sub eax, edx
cmp eax, 5
jle 0x101bd3e5
mov esi, dword [esi + ebp*8]
mov edx, esi
mov edi, dword [esp + 0x18]
sub edx, edi
jns 0x101bd3db
mov edx, edi
sub edx, esi
lea eax, [eax + eax*4]
shl eax, 2
cmp edx, eax
jle 0x101bd412
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 0x101bd40c
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 0x101bd3a3
jmp 0x101bd416
mov esi, dword [esp + 0x34]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x14]
test byte [ebp + 4], 0x10
je 0x101bd6ee
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 0x101bd707
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 0x101bd707
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 0x101bd4a9
dec eax
jmp 0x101bd4ad
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x88]
mov edx, dword [edx + eax*8]
cmp edx, esi
jne 0x101bd523
cmp eax, ebx
jne 0x101bd4a0
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 0x101bd1a0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
cmp eax, 0x80000000
je 0x101bd7d6
cmp eax, 0x7fffffff
je 0x101bd7d6
test bl, bl
je 0x101bd7c4
mov dword [esp + edx*4 + 0xac], eax
inc edx
mov dword [esp + 0x30], edx
jmp 0x101bd7d6
cmp eax, ebx
je 0x101bd4bf
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 0x101bd567
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 0x101bd570
inc edi
jmp 0x101bd574
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x88]
mov eax, ecx
mov ebx, dword [edx + esi*8 + 4]
sub eax, ebx
jns 0x101bd589
mov eax, ebx
sub eax, ecx
cmp eax, dword [esp + 0x70]
jle 0x101bd59a
xor al, al
mov byte [esp + 0x12], al
jmp 0x101bd62a
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 0x101bd5e0
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 0x101bd5e0
xor al, al
mov byte [esp + 0x12], al
jmp 0x101bd62a
mov eax, dword [esp + 0x8c]
mov al, byte [edi + eax]
and al, 3
cmp al, 1
jne 0x101bd5f9
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 0x101bd622
cmp esi, dword [esp + 0x74]
jge 0x101bd63f
mov esi, dword [esp + 0x18]
mov al, byte [esp + 0x12]
mov ebx, dword [esp + 0x3c]
cmp edi, ebx
jne 0x101bd540
mov edi, dword [esp + 0x34]
jmp 0x101bd70b
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 0x101bd65b
inc edi
jmp 0x101bd65f
mov edi, dword [esp + 0x38]
mov ecx, dword [eax + edi*8 + 4]
mov eax, ecx
sub eax, ebx
jns 0x101bd66d
mov eax, ebx
sub eax, ecx
cmp eax, 5
jle 0x101bd69c
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 0x101bd6c8
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 0x101bd6b9
test ebp, ebp
mov dword [esp + 0x54], edi
cmovs ebp, edi
cmp edi, dword [esp + 0x3c]
je 0x101bd6d5
mov eax, dword [esp + 0x88]
jmp 0x101bd652
cmp edi, dword [esp + 0x38]
jle 0x101bd6d1
dec edi
jmp 0x101bd6d5
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 0x101bd71a
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 0x101bd71e
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 0x101bd744
test eax, eax
js 0x101bd744
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 0x101bd744
mov byte [esp + 0x12], 0
jmp 0x101bd773
mov edx, dword [esp + 0x8c]
mov al, byte [edx + ebx]
and al, 3
cmp al, 1
jne 0x101bd764
mov al, byte [edx + edi]
and al, 3
cmp al, 1
jne 0x101bd764
mov byte [esp + 0x12], 0
jmp 0x101bd773
test byte [ebp + 4], 4
mov byte [esp + 0x12], 1
jne 0x101bd4bf
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 0x101bd7a4
cmp ecx, eax
jle 0x101bd7bb
mov bl, byte [esp + 0x12]
mov eax, ecx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x13], bl
jmp 0x101bd4d7
cmp ecx, eax
jge 0x101bd7bb
mov bl, byte [esp + 0x12]
mov eax, ecx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x13], bl
jmp 0x101bd4d7
mov bl, byte [esp + 0x13]
jmp 0x101bd4d7
mov dword [esp + esi*4 + 0x178], eax
inc esi
mov dword [esp + 0x50], esi
jmp 0x101bd7d6
mov edx, dword [esp + 0x30]
mov al, byte [ecx]
test al, al
jne 0x101bd134
mov ebx, dword [esp + 0x5c]
mov eax, edx
test esi, esi
jne 0x101bd7fa
mov dword [esp + 0x50], esi
mov dword [esp + 0x30], edx
test eax, eax
je 0x101bd980
mov esi, 1
cmp edx, esi
jbe 0x101bd83e
mov eax, esi
test esi, esi
je 0x101bd839
nop dword [eax]
mov ecx, dword [esp + eax*4 + 0xa8]
mov edx, dword [esp + eax*4 + 0xac]
cmp edx, ecx
jge 0x101bd835
mov dword [esp + eax*4 + 0xac], ecx
mov dword [esp + eax*4 + 0xa8], edx
sub eax, 1
jne 0x101bd810
mov edx, dword [esp + 0x30]
inc esi
cmp esi, edx
jb 0x101bd803
mov edi, dword [esp + 0x50]
mov esi, 1
cmp edi, esi
jbe 0x101bd8c1
nop
mov eax, esi
test esi, esi
je 0x101bd885
nop word [eax + eax]
mov ecx, dword [esp + eax*4 + 0x174]
mov edx, dword [esp + eax*4 + 0x178]
cmp edx, ecx
jge 0x101bd885
mov dword [esp + eax*4 + 0x178], ecx
mov dword [esp + eax*4 + 0x174], edx
sub eax, 1
jne 0x101bd860
inc esi
cmp esi, edi
jb 0x101bd850
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 0x101bd8f8
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x101bd906
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 0x101bd8ad
shr edx, 1
mov eax, dword [esp + edx*4 + 0xac]
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x101bd906
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 0x101bd937
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 0x101bd937
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 0x101bd95c
mov dword [esi + 0x20], 2
mov eax, 2
test byte [edi + 4], 2
je 0x101bd968
or eax, 4
mov dword [esi + 0x20], eax
test byte [edi + 4], 4
je 0x101bd974
or eax, 8
mov dword [esi + 0x20], eax
test byte [edi + 4], 8
je 0x101bd980
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 0x101bd110
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
mov ebp, dword [esi + 0xd8]
test ebp, ebp
je 0x101bda78
xor eax, eax
test ebp, ebp
je 0x101bd9cf
lea ecx, [esi + 0xdc]
nop word [eax + eax]
mov dword [esp + eax*4 + 0x84], ecx
inc eax
add ecx, 0x24
cmp eax, ebp
jb 0x101bd9c0
mov ebx, 1
cmp ebp, ebx
jbe 0x101bda2a
nop dword [eax + eax]
mov edx, ebx
mov eax, dword [esp + edx*4 + 0x80]
test byte [eax + 0x20], 6
je 0x101bd9f3
mov esi, dword [eax]
jmp 0x101bd9f6
mov esi, dword [eax + 0xc]
mov ecx, dword [esp + edx*4 + 0x84]
test byte [ecx + 0x20], 6
je 0x101bda07
mov edi, dword [ecx]
jmp 0x101bda0a
mov edi, dword [ecx + 0xc]
cmp edi, esi
jge 0x101bda21
mov dword [esp + edx*4 + 0x84], eax
mov dword [esp + edx*4 + 0x80], ecx
sub edx, 1
jne 0x101bd9e2
inc ebx
cmp ebx, ebp
jb 0x101bd9e0
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 0xd8]
xor edx, edx
sub eax, 1
je 0x101bda74
nop word [eax + eax]
mov eax, dword [esp + edx*4 + 0x84]
test byte [eax + 0x20], 6
je 0x101bda50
add eax, 0xc
mov ecx, dword [esp + edx*4 + 0x88]
test byte [ecx + 0x20], 6
je 0x101bda60
add ecx, 0xc
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x101bda68
mov dword [eax], ecx
mov eax, dword [esi + 0xd8]
inc edx
dec eax
cmp edx, eax
jb 0x101bda40
xor eax, eax
jmp 0x101bdaac
mov edx, dword [ebx + 0x24]
xor ecx, ecx
mov esi, dword [edx + 8]
cmp dword [edx + 4], ecx
jbe 0x101bdaa7
mov edi, dword [esp + 0x80]
lea ebx, [ecx + 0x42]
nop
movzx eax, word [esi + ecx*2]
and eax, 0x3fff
cmp eax, dword [edi]
jne 0x101bdaa1
mov word [esi + ecx*2], bx
inc ecx
cmp ecx, dword [edx + 4]
jb 0x101bda90
mov eax, 1
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011f88a
add esp, 0x238
ret