Function at 0x10018070
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x10080704]
xor eax, esp
mov dword [esp + 0xa4], eax
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x24]
push esi
push edi
push 0x10070bf8
movaps xmmword [esp + 0x24], xmm0
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp + 0x18]
push str.SDK_GetPermission:_d
call fcn.10010e40
movaps xmm1, xmmword [esp + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0x78], xmm0
movaps xmmword [esp + 0x88], xmm0
movq qword [esp + 0x98], xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xf
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xe
movzx eax, al
push eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xd
movzx eax, al
push eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xc
movzx eax, al
push eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xb
movzx eax, al
push eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xa
movzx eax, al
push eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 9
movzx eax, al
push eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movzx eax, al
push eax
movd eax, xmm0
movzx eax, al
push eax
pextrw eax, xmm1, 3
movzx eax, ax
push eax
pextrw eax, xmm1, 2
movzx eax, ax
push eax
movd eax, xmm1
push eax
lea eax, [esp + 0xa4]
push str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
push eax
call fcn.10004440
mov eax, dword [esp + 0x64]
add esp, 0x3c
mov ecx, dword [0x10081120]
and eax, 0xffffff04
and dword [esp + 0x40], 0xfffffe00
or eax, 0x104
mov dword [esp + 0x28], eax
push 0xffffffffffffffff
mov eax, dword [ecx]
mov dword [esp + 0x48], 0
mov dword [esp + 0x30], 0
push 0x100701ac
mov eax, dword [eax + 0xc]
call eax
push ecx
push str.version
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], eax
call fcn.1000a3e0
mov edi, eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x20]
push eax
call fcn.10009960
movsx ecx, byte [edi + 8]
mov edx, dword [esp + 0x18]
mov eax, edx
mov byte [edi + 8], dl
xor eax, ecx
mov ecx, dword [edi]
movzx esi, al
mov eax, dword [esp + 0x10]
xor esi, edx
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, esi
shl edx, 8
and eax, 0x100
xor edx, esi
xor eax, ecx
and edx, 0x100
mov dword [edi + 8], eax
xor edx, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], edx
call fcn.10009b00
lea ecx, [esp + 0x20]
call fcn.10009b00
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x70]
mov ecx, dword [0x10081120]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
push 0xffffffffffffffff
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
push ecx
push 0x10070c8c
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], eax
call fcn.1000a3e0
mov edi, eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x20]
push eax
call fcn.10009960
movsx ecx, byte [edi + 8]
mov edx, dword [esp + 0x18]
mov eax, edx
xor eax, ecx
mov byte [edi + 8], dl
mov ecx, dword [edi]
movzx esi, al
mov eax, dword [esp + 0x10]
xor esi, edx
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [edi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, esi
shl edx, 8
and eax, 0x100
xor edx, esi
xor eax, ecx
and edx, 0x100
mov dword [edi + 8], eax
xor edx, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], edx
call fcn.10009b00
lea ecx, [esp + 0x20]
call fcn.10009b00
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x3c]
call fcn.1000a920
cmp dword [esp + 0x60], 0x10
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [esp + 0x5c]
xorps xmm0, xmm0
movq qword [esp + 0x64], xmm0
mov word [esp + 0x6c], 0
lea edi, [esi + 5]
push edi
call fcn.1001c3b1
add esp, 4
mov dword [esp + 0x30], eax
push edi
push 0
push eax
call fcn.10033470
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x58]
add esp, 0xc
mov dword [eax], 0x1f
cmp dword [esp + 0x60], 0x10
push esi
cmovae ecx, dword [esp + 0x50]
add eax, 4
push ecx
push eax
call fcn.100335d0
add esp, 0xc
lea eax, [esp + 0x64]
push 0
push 0x1388
push 0xa
push eax
push edi
mov edi, dword [esp + 0x44]
push edi
push str.OutsideMode
call fcn.10001020
push edi
mov esi, eax
call fcn.1001bce1
add esp, 4
test esi, esi
je 0x100183be
mov esi, dword [esp + 0x64]
test esi, esi
jne 0x100183c3
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x68]
mov dword [ecx], eax
jmp 0x100183cd
mov esi, 1
mov ecx, dword [esp + 0x34]
mov dword [ecx], 0
mov edx, dword [esp + 0x60]
cmp edx, 0x10
jb 0x100183ff
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100183f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018433
push edx
push ecx
call fcn.1001bf11
add esp, 8
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0xf
mov byte [esp + 0x4c], 0
call fcn.10009b00
mov ecx, dword [esp + 0xac]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1001bcd0
mov esp, ebp
pop ebp
ret
call fcn.10041b97
int3