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

Disassembly:
push 0xffffffffffffffff
push 0x1015e0c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov al, byte [esp + 3]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov edi, ecx
mov byte [esp + 0x24], 0xd9
mov byte [0x1018c950], 0x5a
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov eax, 0x2b
mov dword [esp + 0xa8], ebp
mov byte [0x1018c952], al
mov word [esp + 0x76], ax
mov eax, 0x11
mov ecx, 0x3e
mov word [esp + 0x78], ax
mov word [esp + 0x84], ax
mov al, byte [0x10197334]
mov word [esp + 0x6e], cx
mov word [esp + 0x70], cx
mov edx, 0xd
mov ecx, 0x3b
mov word [esp + 0x64], 0x55
test al, 1
mov word [esp + 0x66], 0x1f
mov word [esp + 0x68], 0xf
mov word [esp + 0x6a], 0x19
mov word [esp + 0x6c], dx
mov word [esp + 0x72], 5
mov word [esp + 0x74], cx
mov word [esp + 0x7a], 8
mov word [esp + 0x7c], 0x1d
mov word [esp + 0x7e], 0x1c
mov word [esp + 0x80], dx
mov word [esp + 0x82], 0x15
mov word [esp + 0x86], 0x16
mov word [esp + 0x88], 0x2c
mov word [esp + 0x8a], cx
mov word [esp + 0x8c], 6
jne 0x10085a4e
mov bl, al
lea ecx, [esp + 0x64]
or bl, 1
push ecx
mov ecx, 0x10197338
mov byte [0x10197334], bl
call fcn.10087940
push 0x100880d0
call fcn.1013c36b
add esp, 4
mov dl, byte [esp + 0x13]
mov ebx, dword [0x10197338]
push ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.1000bc70
push ebx
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
push 1
push esi
call fcn.1000c010
test al, al
je 0x10085a9a
mov eax, dword [esp + 0x18]
push esi
push ebx
push eax
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x14]
push esi
call fcn.1000bff0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [0x10191a54]
push edx
mov byte [esp + 0xb0], 1
call fcn.10058e60
mov ecx, eax
call fcn.10068300
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 0
call fcn.1000bc70
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov bl, 0x25
cmp esi, ebp
mov byte [esp + 0x26], bl
je 0x10085aef
mov ecx, eax
sub ecx, esi
test ecx, 0xfffffff0
jne 0x10085b23
cmp esi, eax
mov dword [esp + 0xa8], 0xffffffff
mov edi, eax
je 0x10085b13
push ebp
mov ecx, esi
call fcn.100461a0
add esi, 0x10
cmp esi, edi
jne 0x10085b00
mov esi, dword [esp + 0x30]
push esi
call fcn.101307a0
add esp, 4
xor al, al
jmp 0x10086429
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x94]
mov byte [esp + 0x94], dl
call fcn.1000bc70
mov eax, 0xdd
mov byte [esp + 0xa8], 2
mov word [esp + 0x58], ax
mov word [esp + 0x5c], ax
mov al, byte [0x10197294]
mov byte [0x1018c952], bl
test al, 1
mov word [esp + 0x50], 0xd9
mov word [esp + 0x52], 0xc6
mov word [esp + 0x54], 0xc9
mov word [esp + 0x56], 0xd0
mov word [esp + 0x5a], 0xe3
mov word [esp + 0x5e], 0xd8
mov word [esp + 0x60], 0xc8
jne 0x10085bbe
mov bl, al
lea eax, [esp + 0x50]
or bl, 1
push 0xbc
push eax
mov ecx, 0x10197298
mov byte [0x10197294], bl
call fcn.1002a580
push 0x10086450
call fcn.1013c36b
add esp, 4
mov cl, byte [esp + 0x13]
mov ebx, dword [0x10197298]
mov byte [esp + 0x14], cl
push ebp
lea ecx, [esp + 0x18]
call fcn.1000bc70
push ebx
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
push 1
push esi
call fcn.1000c010
test al, al
je 0x10085c0a
mov edx, dword [esp + 0x18]
push esi
push ebx
push edx
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x14]
push esi
call fcn.1000bff0
lea eax, [esp + 0x90]
add edi, 8
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
mov ecx, dword [0x10191a54]
mov byte [esp + 0xb4], 3
call fcn.10058e70
mov ecx, eax
call fcn.1006dbb0
push 1
lea ecx, [esp + 0x18]
mov bl, al
mov byte [esp + 0xac], 2
call fcn.1000bc70
test bl, bl
je 0x10085ca9
lea edx, [esp + 0x90]
push 0xa
push edx
mov byte [0x1018c953], 0x5d
mov byte [esp + 0x2c], 0xd8
call fcn.10021b70
mov ecx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, ebp
je 0x10085c85
mov edx, ecx
sub edx, eax
sar edx, 4
cmp esi, edx
jb 0x10085c9e
mov dl, byte [0x1018c953]
mov bl, dl
sub bl, 0x6a
dec dl
mov byte [esp + 0x26], bl
mov byte [0x1018c953], dl
jmp 0x10085cb1
cmp esi, 0xffffffff
jne 0x10085e46
jmp 0x10085cb1
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dl, byte [0x1018c950]
cmp eax, ebp
mov byte [0x1018c955], dl
jne 0x10085cc5
xor ecx, ecx
jmp 0x10085cca
sub ecx, eax
sar ecx, 4
dec ecx
push ecx
call fcn.1002f960
mov esi, eax
mov eax, 0x35f
cdq
idiv dword [0x1018c92c]
mov eax, dword [0x1018c928]
add esp, 4
mov word [esp + 0x64], 0x55
mov word [esp + 0x66], 0x1f
mov word [esp + 0x68], 0xf
mov word [esp + 0x6a], 0x19
mov word [esp + 0x6c], 0xd
mov word [esp + 0x72], 5
mov word [esp + 0x74], 0x10
mov cl, byte [edx + eax]
mov eax, 0x3e
mov word [esp + 0x6e], ax
mov word [esp + 0x70], ax
mov al, byte [0x1019729c]
mov byte [0x1018c955], cl
test al, 1
jne 0x10085d5c
lea edx, [esp + 0x64]
or al, 1
push edx
mov ecx, 0x101972a0
mov byte [0x1019729c], al
call fcn.100440f0
push 0x10086460
call fcn.1013c36b
add esp, 4
mov ebx, dword [0x101972a0]
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], ebx
mov byte [esp + 0x18], al
call fcn.1000bc70
push ebx
call fcn.1013c2c2
add esp, 4
mov ebx, eax
lea ecx, [esp + 0x14]
push 1
push ebx
call fcn.1000c010
test al, al
je 0x10085db0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
push ebx
push ecx
push edx
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x14]
push ebx
call fcn.1000bff0
push 0xa
lea eax, [esp + 0x54]
push esi
push eax
mov byte [esp + 0xb4], 4
call fcn.10021a90
add esp, 0xc
push 0x15180
push eax
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ecx, dword [0x10191a54]
mov byte [esp + 0xb8], 5
call fcn.10058e70
mov ecx, eax
call fcn.1006dde0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xac], 4
call fcn.1000bc70
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 2
call fcn.1000bc70
mov eax, 0x394
mov cl, byte [0x1018c954]
cdq
idiv dword [0x1018c92c]
mov eax, dword [0x1018c928]
dec cl
mov byte [0x1018c954], cl
mov dl, byte [edx + eax]
mov eax, dword [esp + 0x30]
add dl, cl
mov ecx, dword [esp + 0x34]
mov byte [0x1018c956], dl
cmp eax, ebp
je 0x10085e53
sub ecx, eax
sar ecx, 4
cmp ecx, esi
ja 0x10085e8b
lea eax, [esp + 0x13]
lea ecx, [esp + 0x50]
push eax
push str.invalid_vector_T__subscript
call fcn.1005ee60
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 6
push ecx
lea ecx, [esp + 0x68]
call fcn.1005dbe0
lea edx, [esp + 0x64]
push 0x10179190
push edx
call fcn.1013d364
mov cl, byte [0x1018c952]
shl esi, 4
add esi, eax
mov al, byte [0x1018c950]
inc cl
mov bl, al
inc al
mov byte [0x1018c952], cl
mov byte [0x1018c950], al
mov eax, 0x327
cdq
idiv dword [0x1018c92c]
mov eax, dword [0x1018c928]
mov dword [esp + 0x4c], esi
mov dl, byte [edx + eax]
push edx
push ecx
push 0x20
push 0xffffffffffffffbd
call fcn.1007f600
mov edi, dword [0x1018c92c]
mov cl, al
mov eax, 0x38e
mov byte [esp + 0x23], cl
cdq
idiv edi
mov eax, 0x327
mov esi, dword [0x1018c928]
add esp, 4
mov ecx, edx
cdq
idiv edi
mov al, byte [ecx + esi]
imul byte [edx + esi]
mov dl, 0x9c
sub dl, al
mov al, byte [esp + 0x1f]
add al, dl
push eax
mov eax, 0x1b1
cdq
idiv edi
mov cl, byte [edx + esi]
add cl, 0x50
push ecx
push ebx
call fcn.1007f620
mov edx, dword [esp + 0x3e]
add esp, 0x14
push eax
push edx
call fcn.1007fc40
mov al, byte [esp + 0x1f]
add esp, 0xc
mov byte [esp + 0x3c], al
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov al, byte [0x101972a4]
mov byte [esp + 0xa8], 7
test al, 1
jne 0x10085faa
mov bl, al
push 4
or bl, 1
mov byte [0x101972a4], bl
call fcn.1013c2df
add esp, 4
mov ecx, 0x101972a8
mov dword [0x101972a8], eax
push 0x84
push 0xf8
call fcn.100a8ee0
mov ecx, dword [0x101972a8]
add eax, 0x84
xor eax, 0xf8
push 0x10086470
mov word [ecx], ax
mov edx, dword [0x101972a8]
mov word [edx + 2], bp
call fcn.1013c36b
add esp, 4
mov al, byte [esp + 0x13]
mov edi, dword [0x101972a8]
push ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.1000bc70
push edi
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
push 1
push esi
call fcn.1000c010
test al, al
je 0x10085ff8
mov ecx, dword [esp + 0x18]
push esi
push edi
push ecx
call fcn.100017d0
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], esi
add esp, 0xc
mov word [edx + esi*2], bp
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
mov byte [esp + 0xb4], 8
call fcn.10021e70
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 7
push 1
call fcn.1000bc70
mov al, byte [0x1018c956]
mov dl, byte [0x1018c953]
mov edi, dword [esp + 0x44]
add al, dl
mov byte [0x1018c952], al
mov eax, dword [esp + 0x40]
cmp eax, ebp
je 0x10086058
mov ecx, edi
sub ecx, eax
sar ecx, 4
cmp ecx, 3
jae 0x100860e1
cmp eax, edi
mov byte [esp + 0xa8], 2
mov esi, eax
je 0x10086079
push ebp
mov ecx, esi
call fcn.100461a0
add esi, 0x10
cmp esi, edi
jne 0x10086066
mov eax, dword [esp + 0x40]
push eax
call fcn.101307a0
add esp, 4
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xac], 0
call fcn.1000bc70
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, eax
mov dword [esp + 0xa8], 0xffffffff
mov edi, eax
je 0x100860d1
push 1
mov ecx, esi
call fcn.1000bc70
add esi, 0x10
cmp esi, edi
jne 0x100860bd
mov esi, dword [esp + 0x30]
push esi
call fcn.101307a0
add esp, 4
xor al, al
jmp 0x10086429
add eax, 0x10
lea edx, [esp + 0x50]
push eax
push edx
call fcn.100ea010
add esp, 8
mov ecx, dword [0x1016a210]
mov byte [esp + 0xa8], 9
push ecx
push ebp
mov ebp, dword [esp + 0xb8]
push eax
mov ecx, ebp
call fcn.1000ba60
mov ecx, dword [esp + 0x54]
mov byte [esp + 0xa8], 7
test ecx, ecx
je 0x1008613f
mov al, byte [ecx - 1]
test al, al
je 0x10086133
cmp al, 0xff
je 0x10086133
dec al
mov byte [ecx - 1], al
jmp 0x1008613f
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
mov bl, byte [0x1018c954]
mov dl, byte [esp + 0x24]
mov al, byte [0x1018c956]
mov cl, byte [0x1018c955]
sub bl, dl
mov dl, byte [0x1018c954]
dec al
add cl, 0x5d
dec dl
mov esi, dword [0x1018c92c]
mov byte [0x1018c954], dl
mov dl, byte [0x1018c955]
inc dl
dec al
mov byte [0x1018c955], dl
mov dl, byte [esp + 0x24]
mov byte [0x1018c956], al
inc dl
mov eax, 0x2b2
mov byte [esp + 0x24], dl
cdq
idiv esi
mov edi, dword [0x1018c928]
mov eax, 0x2b8
mov dl, byte [edx + edi]
push edx
cdq
idiv esi
mov al, byte [edx + edi]
push eax
push ecx
push 0xffffffffffffffa5
push 0xffffffffffffffc1
push 0x23
push 8
call fcn.1007f5f0
mov dl, byte [0x1018c952]
mov cl, al
mov al, byte [0x1018c955]
add esp, 0x10
add cl, al
add cl, dl
push ecx
push eax
push 0xffffffffffffffd0
push 0x4f
push 0x50
call fcn.1007fc40
mov ecx, dword [0x1018c92c]
add esp, 0xc
mov esi, dword [0x1018c928]
push eax
mov eax, 0x1dc
cdq
idiv ecx
mov eax, 0x2b7
mov dl, byte [edx + esi]
push edx
cdq
idiv ecx
mov ecx, dword [esp + 0x40]
mov al, byte [edx + esi]
push eax
push 0x6c
push ecx
push 0x41
call fcn.1007f620
add esp, 0x14
push eax
push 0x4f
push ebx
call fcn.1007f620
add esp, 0x14
push eax
mov eax, 0x30b
cdq
idiv dword [0x1018c92c]
mov eax, dword [0x1018c928]
mov cl, byte [edx + eax]
push ecx
call fcn.1007f620
add esp, 0x14
push eax
mov eax, 0x10c
cdq
idiv dword [0x1018c92c]
mov eax, dword [0x1018c928]
push 0x4f
mov cl, byte [edx + eax]
push ecx
call fcn.1007f600
mov bl, byte [esp + 0x34]
mov dl, 0x50
sub dl, al
mov cl, bl
add cl, 0x6f
mov al, dl
imul cl
imul byte [0x1018c956]
mov dl, 0x52
add esp, 4
imul dl
push eax
call fcn.1007f5f0
add esp, 0x10
mov dl, al
mov byte [esp + 0x13], dl
push 0xffffffffffffffdc
call fcn.1007fc30
push eax
push 0x35
call fcn.1007f600
mov cl, 0x58
mov dl, byte [0x1018c956]
imul cl
add esp, 4
push eax
push 0xffffffffffffff9e
push edx
call fcn.1007f620
mov cl, al
mov al, byte [0x1018c956]
sub al, cl
sub bl, 0x55
add al, 0x4f
mov dl, byte [esp + 0x27]
imul bl
mov bl, al
mov eax, dword [esp + 0x54]
add eax, 0x20
lea ecx, [esp + 0x64]
push eax
push ecx
sub bl, dl
call fcn.100ea010
add esp, 0x1c
mov edx, dword [0x1016a210]
xor edi, edi
push edx
push edi
push eax
lea ecx, [ebp + 0x10]
mov byte [esp + 0xb4], 0xa
call fcn.1000ba60
mov eax, dword [esp + 0x54]
mov byte [esp + 0xa8], 7
cmp eax, edi
je 0x10086324
mov cl, byte [eax - 1]
test cl, cl
je 0x10086318
cmp cl, 0xff
je 0x10086318
dec cl
mov byte [eax - 1], cl
jmp 0x10086324
add eax, 0xfffffffe
push eax
call fcn.101307a0
add esp, 4
mov cl, byte [0x1018c955]
mov al, bl
dec cl
mov ebx, dword [esp + 0x44]
sub al, cl
mov byte [0x1018c955], cl
imul byte [0x1018c954]
mov cl, 0x51
mov esi, dword [esp + 0x40]
imul cl
mov byte [0x1018c957], al
cmp esi, ebx
mov byte [esp + 0xa8], 2
je 0x1008636d
push 1
mov ecx, esi
call fcn.1000bc70
add esi, 0x10
cmp esi, ebx
jne 0x10086359
mov esi, dword [esp + 0x40]
push esi
call fcn.101307a0
mov ecx, dword [esp + 0x98]
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
cmp ecx, edi
mov byte [esp + 0xa8], 0
je 0x100863b3
mov al, byte [ecx - 1]
test al, al
je 0x100863a7
cmp al, 0xff
je 0x100863a7
dec al
mov byte [ecx - 1], al
jmp 0x100863b3
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
cmp esi, eax
mov dword [esp + 0xa8], 0xffffffff
mov ebx, eax
je 0x1008641e
add esi, 4
mov ecx, dword [esi]
cmp ecx, edi
je 0x10086408
mov al, byte [ecx - 1]
test al, al
je 0x100863fc
cmp al, 0xff
je 0x100863fc
dec al
mov byte [ecx - 1], al
jmp 0x10086408
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
add esi, 0x10
lea edx, [esi - 4]
cmp edx, ebx
jne 0x100863e4
mov esi, dword [esp + 0x30]
push esi
call fcn.101307a0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 4