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

Disassembly:
mov eax, 0x20
call fcn.101ebae0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
push dword [esi + 0x50]
call fcn.1003e950
or ebp, 0xffffffff
lea ecx, [esi + 0x10]
add esp, 4
mov dword [esp + 0x10], ebp
cmp dword [esi + 0x78], 0
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], ecx
je 0x10085c79
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 6
jmp 0x10085c93
mov eax, dword [ecx]
mov dword [esp + 0x34], ecx
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
shr edi, 6
and edi, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
xor ebx, ebx
test edx, edx
jle 0x10086378
nop dword [eax]
push ebx
push dword [esi + 0x50]
call fcn.1003eba0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edi, eax
mov ecx, dword [ecx]
test byte [ecx + 0x14], 0x10
jne 0x10085cea
test dword [edi + 0x84], 0x200
je 0x10085cea
test ebx, ebx
js 0x10085ccd
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x22
call eax
add esp, 8
test eax, eax
je 0x10086385
cmp dword [esp + 0x24], 0
jne 0x10085d21
test dword [edi + 0x84], 0x400
je 0x10085d21
test ebx, ebx
js 0x10085d04
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x28
call eax
add esp, 8
test eax, eax
je 0x10086385
push edi
call fcn.1007f160
add esp, 4
mov ecx, eax
cmp ebp, 0xffffffff
je 0x10085d91
test ebp, ebp
je 0x10085d57
test ecx, ecx
je 0x10085da6
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x14]
jl 0x10085d52
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0x14], 0x20
je 0x10085de5
cmp ecx, 1
jmp 0x10085da4
test ecx, ecx
je 0x10085de5
mov eax, ebx
test ebx, ebx
jns 0x10085d6a
mov eax, dword [esi + 0x5c]
jmp 0x10085d6d
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x10085d7c
mov eax, edi
mov dword [esi + 0x60], 0x25
jmp 0x10085dcf
push eax
push dword [esi + 0x50]
call fcn.1003eba0
add esp, 8
mov dword [esi + 0x60], 0x25
jmp 0x10085dcf
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0x14], 0x20
je 0x10085de5
cmp ecx, 1
je 0x10085de5
test ecx, ecx
je 0x10085de5
mov eax, ebx
test ebx, ebx
jns 0x10085db1
mov eax, dword [esi + 0x5c]
jmp 0x10085db4
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x10085dbc
mov eax, edi
jmp 0x10085dc8
push eax
push dword [esi + 0x50]
call fcn.1003eba0
add esp, 8
mov dword [esi + 0x60], 0x4f
push esi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push 0
call eax
add esp, 8
test eax, eax
je 0x10086385
cmp dword [esp + 0x14], 1
jle 0x10085ec7
push edi
call fcn.10060040
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10085e36
push ebp
call fcn.10017660
add esp, 4
cmp eax, 0x198
jne 0x10085ec3
lea eax, [esp + 0x2c]
push eax
push str.decoded_from_explicit
push ebp
call fcn.1001ac70
add esp, 0xc
cmp eax, 1
jne 0x10085e36
xor eax, eax
cmp dword [esp + 0x2c], eax
sete al
jmp 0x10085e80
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov eax, ebx
test ebx, ebx
jns 0x10085e48
mov eax, dword [esi + 0x5c]
jmp 0x10085e4b
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x10085e53
mov eax, edi
jmp 0x10085e5f
push eax
push dword [esi + 0x50]
call fcn.1003eba0
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 1
call eax
add esp, 8
test eax, eax
je 0x10086385
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x10085ec3
mov eax, ebx
test ebx, ebx
jns 0x10085e8f
mov eax, dword [esi + 0x5c]
jmp 0x10085e92
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x10085e9a
mov eax, edi
jmp 0x10085ea6
push eax
push dword [esi + 0x50]
call fcn.1003eba0
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 0x5e
call eax
add esp, 8
test eax, eax
je 0x10086385
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
test byte [eax + 0x14], 0x20
je 0x10086221
cmp dword [esp + 0x14], 1
jle 0x10086221
cmp dword [edi + 0x7c], 0xffffffff
je 0x10085f42
test byte [edi + 0x84], 0x10
jne 0x10085f15
test ebx, ebx
js 0x10085ef8
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x50
call eax
add esp, 8
test eax, eax
je 0x10086385
test byte [edi + 0x88], 4
jne 0x10085f42
test ebx, ebx
js 0x10085f25
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x51
call eax
add esp, 8
test eax, eax
je 0x10086385
mov eax, dword [edi + 0x84]
and eax, 0x10011
cmp eax, 0x11
jne 0x10085f76
test ebx, ebx
js 0x10085f59
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x59
call eax
add esp, 8
test eax, eax
je 0x10086385
mov eax, dword [edi + 0x84]
test al, 0x10
je 0x10085f94
test al, 2
jne 0x10085fc1
test ebx, ebx
js 0x10085f8b
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x5c
jmp 0x10085fab
test byte [edi + 0x88], 4
je 0x10085fc1
test ebx, ebx
js 0x10085fa4
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x52
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
call eax
add esp, 8
test eax, eax
je 0x10086385
push edi
call fcn.10043a00
push eax
call fcn.100f8b60
add esp, 8
test eax, eax
jne 0x10085ff8
test ebx, ebx
js 0x10085fdb
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x53
call eax
add esp, 8
test eax, eax
je 0x10086385
test byte [edi + 0x84], 0x10
jne 0x10086013
test byte [edi + 0x88], 2
jne 0x10086013
cmp dword [edi + 0xa4], 0
jne 0x1008604a
push edi
call fcn.10016070
push eax
call fcn.100f8b60
add esp, 8
test eax, eax
jne 0x1008604a
test ebx, ebx
js 0x1008602d
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x54
call eax
add esp, 8
test eax, eax
je 0x10086385
push edi
call fcn.10016070
push eax
call fcn.100f8b60
add esp, 8
test eax, eax
jne 0x10086095
cmp dword [edi + 0xa4], eax
je 0x10086095
test dword [edi + 0x84], 0x80000
jne 0x10086095
test ebx, ebx
js 0x10086078
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x58
call eax
add esp, 8
test eax, eax
je 0x10086385
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x100860d0
push eax
call fcn.1003e950
add esp, 4
test eax, eax
jg 0x100860d0
test ebx, ebx
js 0x100860b3
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x57
call eax
add esp, 8
test eax, eax
je 0x10086385
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0x48]
push eax
call fcn.100c0f70
add esp, 8
test eax, eax
je 0x10086108
test ebx, ebx
js 0x100860eb
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x4e
call eax
add esp, 8
test eax, eax
je 0x10086385
cmp dword [edi + 0x98], 0
je 0x10086141
test dword [edi + 0x84], 0x20000
je 0x10086141
test ebx, ebx
js 0x10086124
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x5a
call eax
add esp, 8
test eax, eax
je 0x10086385
cmp dword [edi + 0x94], 0
je 0x1008617a
test dword [edi + 0x84], 0x40000
je 0x1008617a
test ebx, ebx
js 0x1008615d
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x5b
call eax
add esp, 8
test eax, eax
je 0x10086385
push edi
call fcn.1005f3e0
add esp, 4
cmp eax, 2
jl 0x100861e6
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x14]
jge 0x100861c4
mov eax, dword [edi + 0x98]
test eax, eax
je 0x100861a0
cmp dword [eax], 0
jne 0x100861c4
test ebx, ebx
js 0x100861a7
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x55
call eax
add esp, 8
test eax, eax
je 0x10086385
test byte [edi + 0x84], 0x10
je 0x1008621d
cmp dword [edi + 0x94], 0
jne 0x1008621d
test ebx, ebx
js 0x100861dd
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x56
jmp 0x10086207
push edi
call fcn.1005f370
push eax
call fcn.1003e950
add esp, 8
test eax, eax
jle 0x1008621d
test ebx, ebx
js 0x10086200
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x5d
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
call eax
add esp, 8
test eax, eax
je 0x10086385
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x100862bc
cmp ebx, dword [esi + 0x4c]
jl 0x10086255
mov eax, dword [ecx]
cmp edx, dword [eax + 0x18]
jne 0x10086255
push 4
push dword [eax + 0x1c]
push edi
call fcn.100cc8f0
add esp, 0xc
sub eax, 1
je 0x100862bc
sub eax, 1
je 0x1008627d
mov edx, dword [esp + 0x20]
xor eax, eax
test ebp, ebp
setg al
push eax
push edx
push edi
call fcn.1007f180
add esp, 0xc
sub eax, 0
je 0x1008627d
sub eax, 1
je 0x100862bc
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0x14], 0x20
je 0x100862bc
mov eax, ebx
test ebx, ebx
jns 0x10086288
mov eax, dword [esi + 0x5c]
jmp 0x1008628b
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x10086293
mov eax, edi
jmp 0x1008629f
push eax
push dword [esi + 0x50]
call fcn.1003eba0
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 0x1a
call eax
add esp, 8
test eax, eax
je 0x10086385
cmp ebx, 1
jle 0x100862f5
mov eax, dword [edi + 0x7c]
mov ecx, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x100862fd
add eax, dword [esp + 0x1c]
cmp ecx, eax
jle 0x100862fd
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x19
call eax
add esp, 8
test eax, eax
je 0x10086385
test ebx, ebx
jle 0x1008630b
mov ecx, dword [esp + 0x18]
test byte [edi + 0x84], 0x20
jne 0x1008630b
inc ecx
mov dword [esp + 0x18], ecx
test dword [edi + 0x84], 0x400
je 0x10086364
mov eax, dword [edi + 0x80]
cmp eax, 0xffffffff
je 0x10086357
cmp dword [esp + 0x1c], eax
jle 0x10086348
test ebx, ebx
js 0x1008632f
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x26
call eax
add esp, 8
test eax, eax
je 0x10086385
mov eax, dword [edi + 0x80]
inc eax
xor ebp, ebp
mov dword [esp + 0x1c], eax
jmp 0x10086369
mov eax, dword [esp + 0x1c]
inc eax
xor ebp, ebp
mov dword [esp + 0x1c], eax
jmp 0x10086369
mov ebp, 1
inc ebx
mov dword [esp + 0x10], ebp
cmp ebx, dword [esp + 0x14]
jl 0x10085ca0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret