Function at 0x100851c0
Capabilities:
Check for software breakpoints
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1015e048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov al, byte [0x1018c957]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x13c]
inc al
push edi
mov byte [0x1018c957], al
mov byte [0x1018c954], al
call fcn.10085920
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x110]
mov byte [esp + 0x110], al
call fcn.1000bc70
push 0x101913e8
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x10c]
push eax
push 0x101913e8
call fcn.1000bf40
mov eax, 0x61
mov edx, 0x64
mov word [esp + 0x20], ax
mov word [esp + 0x24], ax
mov al, byte [0x10197304]
mov ecx, 0x7d
mov esi, 0x4e
mov dword [esp + 0x134], 0
test al, 1
mov word [esp + 0x14], 0x74
mov word [esp + 0x16], 0x6b
mov word [esp + 0x18], dx
mov word [esp + 0x1a], cx
mov word [esp + 0x1c], 0x70
mov word [esp + 0x1e], si
mov word [esp + 0x22], 0x7e
mov word [esp + 0x26], si
mov word [esp + 0x28], dx
mov word [esp + 0x2a], 0x63
mov word [esp + 0x2c], cx
jne 0x100852cd
lea ecx, [esp + 0x14]
push 0x11
or al, 1
push ecx
mov ecx, 0x10197308
mov byte [0x10197304], al
call fcn.10044220
push 0x100880b0
call fcn.1013c36b
add esp, 4
mov dl, byte [esp + 0x13]
mov ebp, dword [0x10197308]
push 0
lea ecx, [esp + 0x100]
mov byte [esp + 0x100], dl
call fcn.1000bc70
push ebp
call fcn.1013c2c2
add esp, 4
mov ebx, eax
lea ecx, [esp + 0xfc]
push 1
push ebx
call fcn.1000c010
test al, al
je 0x10085329
mov eax, dword [esp + 0x100]
push ebx
push ebp
push eax
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0xfc]
push ebx
call fcn.1000bff0
lea ecx, [esp + 0x10c]
lea edx, [esp + 0xfc]
push ecx
mov ecx, dword [0x10191a54]
lea eax, [esp + 0x120]
push edx
push eax
mov byte [esp + 0x140], 1
call fcn.10058e60
mov ecx, eax
call fcn.10067fe0
mov ecx, dword [0x1016a210]
mov byte [esp + 0x134], 2
push ecx
push 0
push eax
lea ecx, [edi + 0x20]
call fcn.1000ba60
push 1
lea ecx, [esp + 0x120]
mov byte [esp + 0x138], 1
call fcn.1000bc70
push 1
lea ecx, [esp + 0x100]
mov byte [esp + 0x138], 0
call fcn.1000bc70
push 1
lea ecx, [esp + 0x110]
mov dword [esp + 0x138], 0xffffffff
call fcn.1000bc70
mov cl, byte [0x1018c955]
mov eax, 0x38a
dec cl
mov ebx, dword [0x1018c928]
mov byte [0x1018c955], cl
mov ecx, dword [0x1018c92c]
cdq
idiv ecx
push 0xffffffffffffff85
mov eax, 0x2ad
mov dl, byte [edx + ebx]
push edx
cdq
idiv ecx
mov al, byte [edx + ebx]
add al, 0x27
push eax
push 0xffffffffffffffd8
call fcn.1007f5f0
mov cl, byte [0x1018c955]
push eax
push 0xffffffffffffffd9
push ecx
push 0x3c
push 0xffffffffffffffd8
call fcn.1007f620
mov eax, dword [edi + 0x28]
add esp, 0x24
test eax, eax
mov eax, dword [edi + 0x18]
jne 0x10085429
test eax, eax
jne 0x100858ee
mov eax, 0x8000ffff
jmp 0x100858f0
test eax, eax
jne 0x100858ee
mov edi, 0x48
mov ecx, 0x58
mov word [esp + 0x36], di
mov word [esp + 0x50], cx
mov word [esp + 0x60], cx
mov word [esp + 0x70], di
mov ebx, 0x41
mov edx, 0x1a
mov ebp, 0x17
mov eax, 7
mov ecx, 0x1c
mov edi, 6
mov word [esp + 0x30], 0xc
mov word [esp + 0x32], 0x5d
mov word [esp + 0x34], bx
mov word [esp + 0x38], dx
mov word [esp + 0x3a], bp
mov word [esp + 0x3c], 3
mov word [esp + 0x3e], 0x5b
mov word [esp + 0x40], dx
mov word [esp + 0x42], 0x5c
mov word [esp + 0x44], 0x5e
mov word [esp + 0x46], 0x55
mov word [esp + 0x48], 5
mov word [esp + 0x4a], ax
mov word [esp + 0x4c], 0x1e
mov word [esp + 0x4e], 0x49
mov word [esp + 0x52], 0x5a
mov word [esp + 0x54], ax
mov word [esp + 0x56], 0x53
mov word [esp + 0x58], ax
mov word [esp + 0x5a], 0xd
mov word [esp + 0x5c], 0x15
mov word [esp + 0x5e], 9
mov word [esp + 0x62], 0x1f
mov word [esp + 0x64], bx
mov word [esp + 0x66], 0x16
mov word [esp + 0x68], ax
mov word [esp + 0x6a], 1
mov word [esp + 0x6c], cx
mov word [esp + 0x6e], 0x1d
mov word [esp + 0x72], 0x4a
mov word [esp + 0x74], 0x1f
mov word [esp + 0x76], di
mov word [esp + 0x78], ax
mov word [esp + 0x7a], dx
mov word [esp + 0x7c], 0x11
mov word [esp + 0x7e], bp
mov word [esp + 0x80], 0x49
mov word [esp + 0x82], 0x19
mov word [esp + 0x84], 2
mov word [esp + 0x86], 0x4f
mov word [esp + 0x88], 1
mov word [esp + 0x8a], 3
mov word [esp + 0x8c], 2
mov word [esp + 0x8e], dx
mov word [esp + 0x90], di
mov word [esp + 0x92], 0x16
mov word [esp + 0x94], 0xa
mov word [esp + 0x96], 0x19
mov word [esp + 0x98], 0x13
mov word [esp + 0x9a], bp
mov word [esp + 0x9c], 0x4f
mov word [esp + 0x9e], 0x1f
mov word [esp + 0xa0], 0x55
mov word [esp + 0xa2], 0x1e
mov word [esp + 0xa4], ax
mov word [esp + 0xa6], 0xa
mov word [esp + 0xa8], 0xb
mov word [esp + 0xaa], 0x18
mov word [esp + 0xac], 0x59
mov word [esp + 0xae], 0x5d
mov word [esp + 0xb0], ax
mov word [esp + 0xb2], 0x15
mov word [esp + 0xb4], 0x15
mov word [esp + 0xb6], 1
mov word [esp + 0xb8], di
mov word [esp + 0xba], si
mov word [esp + 0xbc], dx
mov word [esp + 0xbe], 0
mov word [esp + 0xc0], cx
mov word [esp + 0xcc], ax
mov word [esp + 0xd6], ax
mov eax, 0xe
mov word [esp + 0xc2], 0x1b
mov word [esp + 0xe4], ax
mov word [esp + 0xe8], ax
mov al, byte [0x101972ac]
mov word [esp + 0xc4], 0x52
test al, 1
mov word [esp + 0xc6], bp
mov word [esp + 0xc8], 0x11
mov word [esp + 0xca], 1
mov word [esp + 0xce], cx
mov word [esp + 0xd0], si
mov word [esp + 0xd2], 0x54
mov word [esp + 0xd4], di
mov word [esp + 0xd8], 0x10
mov word [esp + 0xda], 0x47
mov word [esp + 0xdc], cx
mov word [esp + 0xde], 0x45
mov word [esp + 0xe0], 0x5e
mov word [esp + 0xe2], si
mov word [esp + 0xe6], cx
mov word [esp + 0xea], 0x18
mov word [esp + 0xec], 0x1d
mov word [esp + 0xee], 0x16
mov word [esp + 0xf0], bx
mov word [esp + 0xf2], 0x58
mov word [esp + 0xf4], bx
mov word [esp + 0xf6], 0x13
mov word [esp + 0xf8], si
mov word [esp + 0xfa], 0x5f
jne 0x10085834
mov bl, al
push 0xce
or bl, 1
mov byte [0x101972ac], bl
call fcn.1013c2df
mov edx, eax
add esp, 4
mov dword [0x101972b0], edx
mov esi, 0x30
xor edi, edi
mov cx, word [esp + edi + 0x30]
mov ebx, esi
mov eax, ecx
and eax, 0xffff
xor eax, esi
test esi, esi
jne 0x100857dd
mov ebx, 4
test eax, eax
jge 0x100857e3
neg eax
test ebx, ebx
jge 0x100857e9
neg ebx
test eax, eax
je 0x100857fd
lea ebp, [eax + ebx]
cdq
idiv ebp
test eax, eax
jne 0x100857ed
mov edx, dword [0x101972b0]
xor ecx, eax
add edi, 2
xor ecx, esi
xor esi, esi
mov word [edi + edx - 2], cx
mov edx, dword [0x101972b0]
cmp edi, 0xcc
mov si, word [edi + edx - 2]
jb 0x100857c4
push 0x10085910
mov word [edx + 0xcc], 0
call fcn.1013c36b
add esp, 4
mov ebx, dword [0x101972b0]
mov edx, dword [esp + 0x13c]
push ebx
lea esi, [edx + 0x10]
call fcn.1013c2c2
mov edi, eax
add esp, 4
cmp edi, 0x7ffffffd
jbe 0x1008585c
call fcn.101307ab
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10085881
mov al, byte [ecx - 1]
test al, al
je 0x10085881
cmp al, 0xff
je 0x10085881
test edi, edi
jne 0x100858a5
dec al
push edi
mov byte [ecx - 1], al
mov ecx, esi
call fcn.1000bc70
jmp 0x100858d3
test edi, edi
jne 0x10085890
push 1
mov ecx, esi
call fcn.1000bc70
jmp 0x100858d3
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x1008589c
cmp eax, edi
jae 0x100858ad
push 1
mov ecx, esi
call fcn.1000bc70
push edi
mov ecx, esi
call fcn.1000cbb0
mov eax, dword [esi + 4]
mov ecx, ebx
test edi, edi
jbe 0x100858c7
mov edx, edi
mov bx, word [ecx]
add ecx, 2
mov word [eax], bx
add eax, 2
dec edx
jne 0x100858b8
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov word [eax + edi*2], 0
mov eax, 0x1a7
mov ecx, dword [0x1018c928]
cdq
idiv dword [0x1018c92c]
mov dl, byte [edx + ecx]
mov byte [0x1018c951], dl
xor eax, eax
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 4