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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x94], eax
cmp byte [0x104e486c], 0
push esi
push edi
jne 0x101958ce
mov eax, dword [0x10227c3c]
mov byte [0x104e486c], 1
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, eax
call edx
mov edi, eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], edx
mov esi, dword [edi + 0x230]
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
test esi, esi
je 0x101951e8
cmp esi, 0x15555555
ja 0x101958e2
push esi
call fcn.10086e90
mov edx, eax
mov dword [esp + 0x18], eax
lea ecx, [esi + esi*2]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
lea eax, [edx + ecx*4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x230]
mov ecx, eax
mov esi, dword [edi + 0x220]
shl ecx, 4
sub ecx, eax
lea eax, [esi + ecx*8]
mov dword [esp + 0x1c], eax
cmp esi, eax
je 0x1019526f
mov edx, dword [esi + 0x10]
mov eax, edx
mov edi, dword [esi + 0x14]
and eax, 3
or eax, 0
jne 0x10195252
mov eax, dword [esi + 0x18]
mov ecx, edx
mov dword [esp + 0x2c], eax
mov eax, edi
shrd ecx, eax, 0x10
shrd edx, edi, 2
movzx eax, cx
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
and edx, 0x3fff
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], edx
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.101987e0
add esi, 0x78
cmp esi, dword [esp + 0x1c]
jne 0x10195206
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x34]
mov eax, 0x2aaaaaab
push dword [esp + 0x20]
sub ecx, edx
imul ecx
mov ecx, dword [esp + 0x1c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x38]
push eax
mov dword [esp + 0x30], eax
call fcn.10199010
mov ecx, dword [0x1044a92c]
mov eax, 0x66666667
sub ecx, dword [0x1044a924]
mov esi, dword [edi + 0x2a4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x101952d9
cmp esi, 0x3333333
ja 0x101958e7
push esi
mov ecx, 0x1044a924
call fcn.10198680
mov ecx, dword [0x104e5e3c]
mov eax, 0x66666667
sub ecx, dword [0x104e5e34]
mov esi, dword [edi + 0x2a4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x10195317
cmp esi, 0x3333333
ja 0x101958e7
push esi
mov ecx, 0x104e5e34
call fcn.10198680
mov ecx, dword [edi + 0x28c]
mov eax, dword [edi + 0x29c]
mov dword [esp + 0x2c], ecx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov dword [esp + 0x1c], eax
cmp ecx, eax
je 0x101957a1
nop dword [eax]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x14], ecx
mov esi, dword [ecx]
test esi, esi
je 0x1019578e
cmp esi, 0x2329
je 0x1019578e
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
cmp esi, 0x2710
jl 0x10195521
xor eax, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 7
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x70], xmm0
mov word [esp + 0x50], ax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], al
test edx, edx
jle 0x101953d1
nop
mov ecx, edx
shr ecx, 1
lea eax, [ecx + ecx*2]
cmp dword [edi + eax*4], esi
lea eax, [edi + eax*4]
jge 0x101953cb
lea edi, [eax + 0xc]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
jmp 0x101953cd
mov edx, ecx
test edx, edx
jg 0x101953b0
cmp edi, dword [esp + 0x34]
je 0x1019545c
cmp dword [edi], esi
jne 0x1019545c
mov edx, dword [esp + 0x3c]
movzx ecx, word [edi + 4]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
je 0x10195440
mov ecx, dword [0x10227c48]
mov esi, dword [ecx + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10195416
sub edx, esi
lea ecx, [esp + 0x50]
sar edx, 1
push edx
push eax
call fcn.10022820
push 3
push 0x101feb68
lea ecx, [esp + 0x58]
call fcn.10020570
mov edx, dword [edi + 8]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10195448
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.10022990
mov eax, dword [0x10227c48]
mov edi, dword [esp + 0x14]
mov edx, dword [eax + 0x34]
mov ecx, dword [edi + 0x24]
inc ecx
push ecx
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x30]
call eax
mov edx, eax
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10195480
sub edx, esi
lea ecx, [esp + 0x50]
sar edx, 1
push edx
push eax
call fcn.10020570
mov eax, dword [0x104e5e38]
lea ecx, [edi + 0x78]
cmp eax, dword [0x104e5e3c]
je 0x101954c8
push dword [ecx]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x58]
push ecx
push dword [edi]
mov ecx, eax
call fcn.10197f00
add dword [0x104e5e38], 0x50
jmp 0x101954da
push ecx
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x58]
push ecx
push edi
push eax
call fcn.10199250
mov ecx, dword [esp + 0x84]
cmp ecx, 0x10
jb 0x10195513
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10195509
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101958ec
push ecx
push edx
call fcn.1019d45c
add esp, 8
lea ecx, [esp + 0x50]
call fcn.10002250
jmp 0x1019578a
test edx, edx
jle 0x1019554e
mov ecx, edx
shr ecx, 1
lea eax, [ecx + ecx*2]
cmp dword [edi + eax*4], esi
lea eax, [edi + eax*4]
jge 0x10195540
lea edi, [eax + 0xc]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
jmp 0x10195542
mov edx, ecx
test edx, edx
jg 0x10195525
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp edi, dword [esp + 0x34]
je 0x1019578e
add edi, 8
nop dword [eax + eax]
mov eax, dword [edi - 8]
cmp eax, dword [ecx]
jne 0x1019578a
mov edx, dword [esp + 0x3c]
movzx ecx, word [edi - 4]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
call eax
mov dword [esp + 0x44], eax
test eax, eax
je 0x10195776
mov ecx, dword [0x10227c48]
mov esi, dword [ecx + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
mov edx, eax
mov dword [esp + 0x60], 0
mov ecx, edx
mov dword [esp + 0x64], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101955c4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.10027b30
push 3
push 0x101feb68
lea ecx, [esp + 0x58]
call fcn.10020570
mov eax, dword [0x10227c48]
mov esi, dword [esp + 0x14]
mov edx, dword [eax + 0x34]
mov ecx, dword [esi + 0x24]
inc ecx
push ecx
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x30]
call eax
mov edx, eax
lea ecx, [edx + 2]
mov dword [esp + 0x40], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10195611
sub edx, dword [esp + 0x40]
lea ecx, [esp + 0x50]
sar edx, 1
push edx
push eax
call fcn.10020570
mov ecx, dword [esp + 0x44]
xor eax, eax
cmp dword [esi + 0x78], 7
mov dword [esp + 0x40], 0
sete al
add eax, 6
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movzx ecx, al
lea edx, [esp + 0x44]
mov eax, dword [esi + 0x78]
lea esi, [esp + 0x4c]
dec eax
add ecx, eax
lea eax, [esp + 0x40]
mov dword [esp + 0x44], ecx
cmovns eax, edx
cmp dword [esp + 0x48], ecx
cmovge esi, eax
mov eax, dword [0x1044a928]
mov dword [esp + 0x20], eax
cmp eax, dword [0x1044a92c]
je 0x10195728
mov edx, dword [edi]
xorps xmm0, xmm0
mov eax, edx
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [eax + 1]
mov dword [esp + 0x48], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101956b5
sub eax, dword [esp + 0x48]
lea ecx, [esp + 0x70]
push eax
push edx
call fcn.10027bd0
push dword [esi]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x58]
push eax
push dword [ecx]
mov ecx, dword [esp + 0x30]
call fcn.10197f00
mov ecx, dword [esp + 0x84]
cmp ecx, 0x10
jb 0x1019571f
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10195715
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101958ec
push ecx
push edx
call fcn.1019d45c
add esp, 8
add dword [0x1044a928], 0x50
jmp 0x1019573a
push esi
push edi
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push eax
call fcn.101993a0
mov ecx, dword [esp + 0x64]
cmp ecx, 8
jb 0x10195776
mov edx, dword [esp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1019576c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101958ec
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov ecx, dword [esp + 0x14]
add edi, 0xc
lea eax, [edi - 8]
cmp eax, dword [esp + 0x34]
jne 0x10195560
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
add ecx, 0x18
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jne 0x10195340
mov edi, dword [0x1044a924]
mov eax, 0x66666667
mov ecx, dword [0x1044a928]
add edi, 0x50
sub ecx, edi
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
imul ecx
mov ecx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x1044a928]
push eax
call fcn.1019a020
mov edx, dword [0x1044a928]
cmp edx, dword [0x1044a92c]
je 0x10195816
mov eax, dword [0x1044a924]
mov ecx, 0x1044a924
cmp eax, edx
jne 0x101957fd
call fcn.10198600
jmp 0x10195816
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.10198680
mov esi, dword [0x104e5e38]
mov eax, 0x66666667
mov ecx, dword [0x104e5e34]
sub esi, ecx
imul esi
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x104e5e38]
push eax
call fcn.1019a020
mov edx, dword [0x104e5e38]
cmp edx, dword [0x104e5e3c]
je 0x10195886
mov eax, dword [0x104e5e34]
mov ecx, 0x104e5e34
cmp eax, edx
jne 0x1019586d
call fcn.10198600
jmp 0x10195886
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.10198680
mov esi, dword [esp + 0x18]
test esi, esi
je 0x101958ce
mov ecx, dword [esp + 0x24]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x101958c4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101958ec
push ecx
push esi
call fcn.1019d45c
add esp, 8
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
call fcn.100242b0
call fcn.100242b0
call fcn.101a26e6
int3