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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
mov dword [esp + 0x3c], ebx
mov edi, dword [ebx]
mov al, byte [ebx + 0x9f]
mov byte [esp + 0xe], al
mov dword [esp + 0x18], esi
mov eax, dword [edi + 0x20]
and eax, 0x4000
mov dword [esp + 0x10], edi
or eax, 0
je 0x10082420
cmp byte [esi + 0x2b], 0
jne 0x10082420
mov ecx, dword [esi + 0x3c]
lea edx, [esi + 0x3c]
mov eax, 0xffff8000
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x10081e87
mov eax, dword [edi + 0x10]
add eax, 0xc
mov dword [esp + 0x14], 0
cmp dword [eax], ecx
je 0x10081e85
mov edx, dword [esp + 0x14]
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10081e70
mov dword [esp + 0x14], edx
lea edx, [esi + 0x3c]
mov eax, dword [esp + 0x14]
jmp 0x10081e87
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edi, eax
shl edi, 4
mov dword [esp + 0x38], edi
mov eax, dword [ecx + 0x10]
mov eax, dword [edi + eax]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x1008224a
nop dword [eax]
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
je 0x10081f2f
mov ecx, dword [esi]
mov eax, dword [edi + 8]
test ecx, ecx
jne 0x10081edd
neg eax
sbb eax, eax
jmp 0x10081ee8
test eax, eax
je 0x10081eec
mov edx, eax
call fcn.100226c0
test eax, eax
je 0x10081f2b
xor esi, esi
cmp dword [edi + 0x14], esi
jle 0x10082230
lea ecx, [edi + 0x24]
nop word [eax + eax]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
cmp dword [eax + edx*4], 0
jge 0x10081f2b
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x20]
cmp edx, eax
jne 0x10081f1d
cmp dword [ebp + 0x14], 0
jne 0x10081f2b
inc esi
add ecx, 8
cmp esi, dword [edi + 0x14]
jl 0x10081f00
jmp 0x10082230
mov ecx, dword [esp + 0x10]
cmp byte [ebx + 0x9f], 0
mov eax, dword [edi + 8]
push dword [esp + 0x30]
je 0x10081f4b
mov edx, eax
call fcn.1006f2a0
add esp, 4
jmp 0x10081f58
push eax
xor edx, edx
mov ecx, ebx
call fcn.1006f660
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100820e9
lea ecx, [esp + 0x2c]
mov edx, eax
push ecx
lea ecx, [esp + 0x28]
push ecx
push edi
mov ecx, ebx
call fcn.10080360
add esp, 0xc
test eax, eax
jne 0x100820e5
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10081f93
mov ecx, eax
mov dword [esp + 0x20], eax
jmp 0x10081fa2
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], ecx
xor esi, esi
cmp dword [edi + 0x14], esi
jle 0x1008201b
nop dword [eax]
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x20]
cmp dword [ecx + esi*4], eax
jne 0x10081fc4
mov dword [ecx + esi*4], 0xffffffff
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x16c], 0
je 0x10082015
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x10081fe6
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x10081fea
movzx eax, word [edx + 0x20]
push dword [esp + 0x14]
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
mov edx, dword [edx]
push dword [eax + ecx*8]
mov ecx, ebx
call fcn.1006e660
xor ecx, ecx
add esp, 8
cmp eax, 2
sete cl
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, dword [edi + 0x14]
jl 0x10081fb0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
cmp ecx, 1
je 0x10082052
mov eax, dword [ebx]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 4]
cmp byte [eax + 9], 0
je 0x10082052
push dword [esi]
mov edx, ecx
mov ecx, ebx
push 0
push dword [esi + 0x14]
call fcn.1006e7c0
mov ecx, dword [esp + 0x20]
add esp, 0xc
inc dword [ebx + 0x28]
mov eax, dword [ebp + 8]
test eax, eax
je 0x10082079
push dword [esp + 0x28]
mov edx, ecx
mov ecx, ebx
push 0xffffffffffffffff
push eax
push dword [esp + 0x2c]
push edi
push dword [esp + 0x38]
push esi
call fcn.10080610
add esp, 0x1c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x100820cb
mov eax, dword [ebx + 0x78]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x80]
test eax, eax
je 0x100820ac
mov eax, dword [eax]
cmp eax, dword [edi + 0x1c]
jne 0x100820a1
cmp byte [edi + 0x19], 8
je 0x100820cb
cmp eax, dword [edi + 0x20]
jne 0x100820ac
cmp byte [edi + 0x1a], 8
je 0x100820cb
push dword [esp + 0x28]
mov ecx, ebx
push 1
push edx
push dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push edi
push dword [esp + 0x38]
push esi
call fcn.10080610
add esp, 0x1c
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
test edx, edx
je 0x10082234
call fcn.1001e7d0
jmp 0x10082230
mov eax, dword [esp + 0x1c]
cmp byte [esp + 0xe], 0
je 0x10082420
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x57], 0
jne 0x10082420
test eax, eax
jne 0x10082234
mov esi, dword [ebx + 8]
test esi, esi
jne 0x1008212b
cmp dword [ebx + 0x78], esi
jne 0x10082122
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x10082122
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.10043ca0
mov esi, eax
mov eax, dword [esi + 0x6c]
mov edx, dword [edi + 0x14]
inc eax
add eax, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x70]
mov dword [esp + 0x24], eax
test edx, edx
jle 0x100821e0
mov ebx, dword [esp + 0x1c]
lea eax, [edi + 0x24]
mov dword [esp + 0x28], eax
nop word [eax + eax]
mov dx, word [eax]
mov ecx, dword [edi]
call fcn.10070440
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
mov eax, dword [esp + 0x24]
cmp dword [eax], ecx
jg 0x10082194
push 0
push dword [esp + 0x30]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.10043ee0
add esp, 0xc
jmp 0x100821c7
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
inc ebx
add eax, 8
mov dword [esp + 0x28], eax
cmp ebx, dword [edi + 0x14]
jl 0x10082160
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x6c]
movzx edx, byte [edi + 0x18]
cmp dword [eax], ecx
jg 0x10082201
push 0
push 0xffffffffffffffff
push edx
mov edx, 0x9e
mov ecx, esi
call fcn.10043ee0
add esp, 0xc
jmp 0x10082230
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x9e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0xffffffff
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], edi
test edi, edi
jne 0x10081eb0
lea edx, [esi + 0x3c]
mov ecx, dword [edx]
mov edx, dword [esi]
add ecx, 0x38
push 0
call fcn.10023d90
add esp, 4
mov esi, dword [eax + 8]
test esi, esi
je 0x10082420
nop word [eax + eax]
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
test eax, eax
je 0x100822a3
push dword [ebp + 0x14]
mov edx, esi
mov ecx, edi
push eax
call fcn.10081d10
add esp, 8
test eax, eax
je 0x10082415
cmp byte [esi + 0x18], 0
jne 0x100822c8
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, 0
jne 0x100822c8
cmp dword [ebx + 0x78], eax
jne 0x100822c8
cmp byte [ebx + 0x14], al
je 0x10082415
lea eax, [esp + 0x30]
mov edx, edi
push eax
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
push esi
call fcn.10080360
add esp, 0xc
test eax, eax
je 0x10082301
cmp byte [esp + 0xe], 0
je 0x10082420
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x57], 0
jne 0x10082420
jmp 0x10082415
mov ecx, dword [ebx]
push 0
push 0x50
call fcn.1001ec70
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
test edi, edi
je 0x10082404
push 0x48
lea ecx, [edi + 8]
mov dword [edi + 4], 1
push 0
push ecx
mov dword [edi], 1
call fcn.10129b70
mov dword [edi + 0x34], 0xffffffff
add esp, 0xc
mov eax, dword [edi]
lea eax, [eax + eax*8]
mov dword [edi + eax*8 - 0x38], 0
mov dword [edi + eax*8 - 0x3c], 0
mov ecx, dword [esi]
mov dword [edi + 0x18], ecx
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
inc dword [ecx + 0x18]
mov eax, dword [ebx + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x34], eax
inc dword [ebx + 0x28]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1008239a
push 0xffffffffffffffff
push eax
push dword [esp + 0x30]
mov edx, edi
push esi
push ecx
push dword [esp + 0x2c]
mov ecx, ebx
call fcn.100810e0
mov ecx, dword [esp + 0x44]
add esp, 0x18
mov edx, dword [ebp + 8]
test edx, edx
je 0x100823ea
push 1
push edx
push dword [esp + 0x30]
xor eax, eax
mov edx, edi
cmp dword [ebp + 0x10], eax
push esi
setne al
push ecx
push dword [esp + 0x2c]
mov ecx, ebx
mov al, byte [eax + esi + 0x19]
mov byte [esp + 0x27], al
call fcn.100810e0
add esp, 0x18
cmp byte [esi + 0x18], 0
jne 0x100823ea
mov al, byte [esp + 0xf]
cmp al, 0xa
je 0x100823ea
cmp al, 8
je 0x100823ea
mov eax, dword [ebx + 0x78]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov dword [edi + 0x10], 0
mov edx, edi
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.10077640
mov eax, dword [esp + 0x28]
jmp 0x10082408
mov edi, dword [esp + 0x10]
test eax, eax
je 0x10082415
mov edx, eax
mov ecx, edi
call fcn.1001e7d0
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x10082270
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret