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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x10186bd0]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, edx
mov dword [esp + 0x10], ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x30], edx
xor esi, esi
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 8], esi
push edi
test eax, eax
je 0x10086b89
cmp byte [eax], dl
jne 0x10086b8e
mov esi, 1
test eax, eax
je 0x10086bc4
mov ecx, str.:memory:
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10086bb7
test dl, dl
je 0x10086bb3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10086bb7
add eax, 2
add ecx, 2
test dl, dl
jne 0x10086b97
xor eax, eax
jmp 0x10086bbc
sbb eax, eax
or eax, 1
test eax, eax
je 0x10086bdc
mov ecx, dword [esp + 0x14]
test esi, esi
je 0x10086bce
cmp byte [ecx + 0x3f], 2
je 0x10086bdc
mov ebx, dword [ebp + 0x14]
test bl, bl
js 0x10086bdf
mov eax, dword [ebp + 0x10]
xor ecx, ecx
jmp 0x10086bea
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, 1
or eax, 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
test ebx, 0x100
je 0x10086c11
test ecx, ecx
jne 0x10086c02
test esi, esi
je 0x10086c11
and ebx, 0xfffffeff
or ebx, 0x200
mov dword [ebp + 0x14], ebx
push 0x2c
call fcn.10074cc0
mov edi, eax
add esp, 4
test edi, edi
je 0x10086c8d
push 0x2c
push 0
push edi
call fcn.10104290
mov eax, dword [esp + 0x20]
add esp, 0xc
mov byte [edi + 8], 0
mov dword [edi], eax
mov dword [edi + 0x1c], edi
mov dword [edi + 0x20], 1
test esi, esi
jne 0x10086e26
cmp dword [esp + 0x24], esi
je 0x10086c59
test bl, 0x40
je 0x10086e26
test ebx, 0x20000
je 0x10086e26
mov esi, dword [esp + 0x1c]
mov esi, dword [esi + 8]
inc esi
push esi
call fcn.10074cc0
mov ebx, eax
mov byte [edi + 9], 1
add esp, 4
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x10086ca7
push edi
call fcn.10074fe0
add esp, 4
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.100eb369
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x24], 0
je 0x10086cdb
mov ecx, dword [esp + 0x20]
call fcn.10077650
inc eax
push eax
push ecx
push ebx
call fcn.10104b10
add esp, 0xc
cmp dword [0x10188364], 0
jne 0x10086d24
xor edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], edx
jmp 0x10086d71
mov eax, dword [esp + 0x1c]
push ebx
push esi
push dword [esp + 0x28]
mov byte [ebx], 0
push eax
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov dword [esp + 0x1c], eax
add esp, 0x10
test esi, esi
je 0x10086cc3
push ebx
call fcn.10074fe0
add esp, 4
push edi
call fcn.10074fe0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.100eb369
mov esp, ebp
pop ebp
ret
push 4
call dword [0x101883ac]
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x10086d41
push eax
call dword [0x101883b4]
add esp, 4
cmp dword [0x10188364], 0
jne 0x10086d54
mov dword [esp + 0x30], 0
jmp 0x10086d71
push 2
call dword [0x101883ac]
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x10086d71
push eax
call dword [0x101883b4]
add esp, 4
mov esi, dword [0x1018d8e0]
test esi, esi
je 0x10086e00
nop
mov ebx, dword [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0xa8]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10086db0
test dl, dl
je 0x10086dac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10086db0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10086d90
xor eax, eax
jmp 0x10086db5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10086dc1
mov eax, dword [esp + 0x1c]
cmp dword [ebx], eax
je 0x10086dca
mov esi, dword [esi + 0x44]
test esi, esi
jne 0x10086d80
jmp 0x10086dfc
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, 1
js 0x10086df6
mov eax, dword [eax + 0x10]
mov ecx, edx
shl ecx, 4
add eax, 4
add ecx, eax
mov eax, dword [ecx]
test eax, eax
je 0x10086dee
cmp dword [eax + 4], esi
je 0x10086e51
sub ecx, 0x10
sub edx, 1
jns 0x10086de3
mov dword [edi + 4], esi
inc dword [esi + 0x40]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10086e12
push eax
call dword [0x101883bc]
add esp, 4
push ebx
call fcn.10074fe0
add esp, 4
test esi, esi
jne 0x10087059
mov ebx, dword [ebp + 0x14]
push 0x54
call fcn.10074cc0
mov esi, eax
add esp, 4
test esi, esi
je 0x10086e47
push 0x54
push 0
push esi
call fcn.10104290
add esp, 0xc
test esi, esi
jne 0x10086ea4
mov ebx, 7
jmp 0x10087152
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10086e63
push eax
call dword [0x101883bc]
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10086e75
push eax
call dword [0x101883bc]
add esp, 4
push dword [esp + 0x18]
call fcn.10074fe0
add esp, 4
push edi
call fcn.10074fe0
add esp, 4
mov eax, 0x13
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.100eb369
mov esp, ebp
pop ebp
ret
push ecx
push ebx
mov ebx, dword [esp + 0x34]
mov edx, esi
push ebx
push ecx
push dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
call fcn.10080ea0
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1008714e
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.100803a0
mov ecx, dword [esi]
lea eax, [esp + 0x40]
push eax
call fcn.10080600
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1008714e
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov byte [esi + 0x10], bl
mov dword [eax + 0xb0], 0x10086af0
mov ecx, dword [eax + 0x3c]
lea edx, [eax + 0xb0]
mov dword [eax + 0xb4], esi
cmp dword [ecx], 0
je 0x10086f2e
mov eax, dword [ecx]
push edx
push 0xf
push ecx
mov eax, dword [eax + 0x28]
call eax
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
cmp byte [eax + 0xe], 0
je 0x10086f4c
or word [esi + 0x16], 1
movzx ecx, byte [esp + 0x49]
movzx eax, byte [esp + 0x48]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov dword [esi + 0x20], ecx
cmp ecx, 0x200
jb 0x10086fad
cmp ecx, 0x10000
ja 0x10086fad
lea eax, [ecx - 1]
test ecx, eax
jne 0x10086fad
mov al, byte [esp + 0x4c]
lea ecx, [esp + 0x6c]
or word [esi + 0x16], 2
mov byte [esp + 0x13], al
call fcn.100785e0
test eax, eax
lea ecx, [esp + 0x78]
setne al
mov byte [esi + 0x11], al
call fcn.100785e0
test eax, eax
setne al
mov byte [esi + 0x12], al
mov al, byte [esp + 0x13]
jmp 0x10086fca
cmp dword [esp + 0x20], 0
mov dword [esi + 0x20], 0
je 0x10086fc8
cmp dword [esp + 0x24], 0
jne 0x10086fc8
mov word [esi + 0x11], 0
xor al, al
mov ecx, dword [esi]
lea edx, [esi + 0x20]
movzx eax, al
push eax
mov dword [esp + 0x30], eax
call fcn.10080490
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1008714e
mov eax, dword [esi + 0x20]
sub eax, dword [esp + 0x2c]
mov dword [esi + 0x24], eax
cmp byte [edi + 9], 0
je 0x100870e3
mov ecx, 2
mov dword [esi + 0x40], 1
call fcn.10074670
cmp dword [0x10188364], 0
mov ebx, eax
je 0x10087039
xor ecx, ecx
call fcn.10074670
mov dword [esi + 0x38], eax
test eax, eax
jne 0x10087039
lea ebx, [eax + 7]
mov eax, dword [esp + 0x14]
mov byte [eax + 0x40], 0
jmp 0x10087152
push ebx
call fcn.100746b0
mov eax, dword [0x1018d8e0]
add esp, 4
mov dword [esi + 0x44], eax
mov dword [0x1018d8e0], esi
push ebx
call fcn.100746f0
add esp, 4
cmp byte [edi + 9], 0
je 0x100870e3
mov eax, dword [esp + 0x14]
xor edx, edx
mov ebx, dword [eax + 0x14]
test ebx, ebx
jle 0x100870e3
mov eax, dword [eax + 0x10]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x10087082
cmp byte [ecx + 9], 0
jne 0x1008708c
inc edx
add eax, 0x10
cmp edx, ebx
jl 0x10087076
jmp 0x100870e3
cmp dword [ecx + 0x18], 0
lea eax, [ecx + 0x18]
je 0x100870a0
mov ecx, dword [eax]
cmp dword [ecx + 0x18], 0
lea eax, [ecx + 0x18]
jne 0x10087095
mov edx, dword [edi + 4]
cmp edx, dword [ecx + 4]
jae 0x100870b7
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], 0
mov dword [ecx + 0x18], edi
jmp 0x100870e3
cmp dword [ecx + 0x14], 0
je 0x100870d0
nop dword [eax]
mov eax, dword [ecx + 0x14]
cmp dword [eax + 4], edx
jae 0x100870d0
mov ecx, eax
cmp dword [ecx + 0x14], 0
jne 0x100870c0
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
test eax, eax
je 0x100870e0
mov dword [eax + 0x18], edi
mov dword [ecx + 0x14], edi
mov eax, dword [esp + 0x34]
mov dword [eax], edi
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x10087152
mov esi, dword [edi + 4]
mov ecx, edi
call fcn.10085430
cmp byte [edi + 9], bl
je 0x1008711e
add dword [edi + 0xc], 0xffffffff
jne 0x1008711e
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1008711a
push eax
call dword [0x101883bc]
add esp, 4
mov byte [edi + 0xa], 0
cmp dword [esi + 0x30], 0
jne 0x1008717d
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xcc]
mov dword [eax + 0x10], 0x7d0
mov eax, dword [eax + 0x28]
test eax, eax
je 0x1008717d
push 0x7d0
push eax
call dword [0x101883dc]
add esp, 8
jmp 0x1008717d
mov ebx, dword [esp + 0xc]
test esi, esi
je 0x10087161
mov ecx, dword [esi]
test ecx, ecx
je 0x10087161
call fcn.10080830
push esi
call fcn.10074fe0
add esp, 4
push edi
call fcn.10074fe0
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [eax], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1008718f
push eax
call dword [0x101883bc]
add esp, 4
mov ecx, dword [esp + 0xa4]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100eb369
mov esp, ebp
pop ebp
ret