Function at 0x100029f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100abb9e
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0xccd0
call fcn.100838e0
mov eax, dword [0x100deeb4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0xc6e0], 0
mov byte [ebp - 0xc6d5], 1
nop dword [eax]
push 0xc350
lea eax, [ebp - 0xc418]
mov dword [ebp - 0xc6f0], 0
push 0
push eax
call fcn.100854b0
add esp, 0xc
or esi, 0xffffffff
mov dword [ebp - 0xc6e4], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x10002a9b
cmp esi, 0xffffffff
je 0x10002a9b
mov eax, dword [section..data]
test eax, eax
je 0x10002a9b
cmp eax, 0xffffffff
jne 0x10003364
call edi
mov ecx, eax
lea edi, [ebp - 0x46]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x10002aa2
lea eax, [ebp - 0x46]
mov dword [ebp - 0xc6d4], edi
mov dword [ebp - 0xc420], edx
xorps xmm0, xmm0
mov dword [ebp - 0xc41c], edx
movups xmmword [ebp - 0xc430], xmm0
cmp edi, eax
jne 0x10002b03
xor eax, eax
mov dword [ebp - 0xc420], edx
mov dword [ebp - 0xc41c], 7
mov word [ebp - 0xc430], ax
jmp 0x10002bc0
lea eax, [ebp - 0x46]
sub eax, edi
sar eax, 1
mov dword [ebp - 0xc6e8], eax
cmp eax, 0x7ffffffe
ja 0x10003b6a
cmp eax, 8
jae 0x10002b55
lea edi, [eax + eax]
mov dword [ebp - 0xc420], eax
push edi
push dword [ebp - 0xc6d4]
lea eax, [ebp - 0xc430]
mov dword [ebp - 0xc41c], 7
push eax
call fcn.10084f30
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0xc430], ax
jmp 0x10002bc0
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x10002b66
mov eax, 0x7ffffffe
jmp 0x10002b71
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xc6dc], eax
lea ecx, [ebp - 0xc430]
inc eax
push eax
call fcn.10003d30
mov edi, dword [ebp - 0xc6e8]
mov ecx, dword [ebp - 0xc6dc]
mov dword [ebp - 0xc420], edi
add edi, edi
push edi
push dword [ebp - 0xc6d4]
mov dword [ebp - 0xc430], eax
push eax
mov dword [ebp - 0xc41c], ecx
call fcn.10084f30
mov eax, dword [ebp - 0xc430]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax], cx
mov eax, dword [ebp - 0xc6e0]
or eax, 3
mov dword [ebp - 0xc6e0], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push 0x18
lea ecx, [ebp - 0xc460]
movups xmmword [ebp - 0xc460], xmm0
call fcn.10003d30
movups xmm0, xmmword [str.LUNA_PIPE_AVAILABLE]
mov edx, eax
mov dword [ebp - 0xc450], 0x13
mov dword [ebp - 0xc460], edx
mov dword [ebp - 0xc44c], 0x17
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x100b456c]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x100b457c]
mov dword [edx + 0x20], ecx
mov ax, word [0x100b4580]
mov word [edx + 0x24], ax
xor eax, eax
mov word [edx + 0x26], ax
lea eax, [ebp - 0xc430]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xc460]
push eax
push dword [ebp - 0xc6ec]
lea ecx, [ebp - 0xc448]
call fcn.10001fc0
cmp dword [ebp - 0xc434], 8
lea eax, [ebp - 0xc448]
cmovae eax, dword [ebp - 0xc448]
push eax
push 0
push 0
push 0x100e2ebc
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 5
test edi, edi
je 0x10002c9a
cmp edi, 0xffffffff
je 0x10002c9a
push edi
call dword [0x100b447c]
mov ecx, dword [ebp - 0xc434]
mov byte [ebp - 4], 4
cmp ecx, 8
jb 0x10002cde
mov edx, dword [ebp - 0xc448]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002cd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
add esp, 8
mov ecx, dword [ebp - 0xc44c]
xor eax, eax
mov dword [ebp - 0xc438], 0
mov dword [ebp - 0xc434], 7
mov word [ebp - 0xc448], ax
mov byte [ebp - 4], 3
cmp ecx, 8
jb 0x10002d3f
mov edx, dword [ebp - 0xc460]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002d35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
add esp, 8
mov ecx, dword [ebp - 0xc41c]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x10002d83
mov edx, dword [ebp - 0xc430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002d79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea edi, [ebp - 0x72]
nop
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x10002d90
lea eax, [ebp - 0x72]
mov dword [ebp - 0xc6dc], edi
mov dword [ebp - 0xc420], edx
xorps xmm0, xmm0
mov dword [ebp - 0xc41c], edx
movups xmmword [ebp - 0xc430], xmm0
cmp edi, eax
jne 0x10002df1
xor eax, eax
mov dword [ebp - 0xc420], edx
mov dword [ebp - 0xc41c], 7
mov word [ebp - 0xc430], ax
jmp 0x10002eae
lea eax, [ebp - 0x72]
sub eax, edi
sar eax, 1
mov dword [ebp - 0xc6e8], eax
cmp eax, 0x7ffffffe
ja 0x10003b6a
cmp eax, 8
jae 0x10002e43
lea edi, [eax + eax]
mov dword [ebp - 0xc420], eax
push edi
push dword [ebp - 0xc6dc]
lea eax, [ebp - 0xc430]
mov dword [ebp - 0xc41c], 7
push eax
call fcn.10084f30
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0xc430], ax
jmp 0x10002eae
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x10002e54
mov eax, 0x7ffffffe
jmp 0x10002e5f
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xc6d4], eax
lea ecx, [ebp - 0xc430]
inc eax
push eax
call fcn.10003d30
mov edi, dword [ebp - 0xc6e8]
mov ecx, dword [ebp - 0xc6d4]
mov dword [ebp - 0xc420], edi
add edi, edi
push edi
push dword [ebp - 0xc6dc]
mov dword [ebp - 0xc430], eax
push eax
mov dword [ebp - 0xc41c], ecx
call fcn.10084f30
mov eax, dword [ebp - 0xc430]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax], cx
xorps xmm0, xmm0
mov byte [ebp - 4], 6
push 0x18
lea ecx, [ebp - 0xc460]
movups xmmword [ebp - 0xc460], xmm0
call fcn.10003d30
movups xmm0, xmmword [str..pipeLUNA_HOST]
mov dword [ebp - 0xc460], eax
mov dword [ebp - 0xc450], 0x12
movups xmmword [eax], xmm0
mov dword [ebp - 0xc44c], 0x17
movups xmm0, xmmword [0x100b44b8]
movups xmmword [eax + 0x10], xmm0
mov ecx, dword [0x100b44c8]
mov dword [eax + 0x20], ecx
xor ecx, ecx
mov word [eax + 0x24], cx
lea eax, [ebp - 0xc430]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xc460]
push eax
push dword [ebp - 0xc6ec]
lea ecx, [ebp - 0xc448]
call fcn.10001fc0
cmp dword [ebp - 0xc434], 8
lea eax, [ebp - 0xc448]
push 0
cmovae eax, dword [ebp - 0xc448]
push 0x80
push 3
push 0
push 1
push 0x80000100
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, esi
mov byte [ebp - 4], 8
mov esi, eax
mov dword [ebp - 0xc6e4], esi
test ecx, ecx
je 0x10002f75
cmp ecx, 0xffffffff
je 0x10002f75
push ecx
call dword [0x100b447c]
mov ecx, dword [ebp - 0xc434]
mov byte [ebp - 4], 7
cmp ecx, 8
jb 0x10002fb9
mov edx, dword [ebp - 0xc448]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002faf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
add esp, 8
mov ecx, dword [ebp - 0xc44c]
xor eax, eax
mov dword [ebp - 0xc438], 0
mov dword [ebp - 0xc434], 7
mov word [ebp - 0xc448], ax
mov byte [ebp - 4], 6
cmp ecx, 8
jb 0x1000301a
mov edx, dword [ebp - 0xc460]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003010
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
add esp, 8
mov ecx, dword [ebp - 0xc41c]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x1000305e
mov edx, dword [ebp - 0xc430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003054
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea edi, [ebp - 0x9e]
nop dword [eax]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x10003070
lea eax, [ebp - 0x9e]
mov dword [ebp - 0xc6dc], edi
mov dword [ebp - 0xc420], edx
xorps xmm0, xmm0
mov dword [ebp - 0xc41c], edx
movups xmmword [ebp - 0xc430], xmm0
cmp edi, eax
jne 0x100030d4
xor eax, eax
mov dword [ebp - 0xc420], edx
mov dword [ebp - 0xc41c], 7
mov word [ebp - 0xc430], ax
jmp 0x10003194
lea eax, [ebp - 0x9e]
sub eax, edi
sar eax, 1
mov dword [ebp - 0xc6e8], eax
cmp eax, 0x7ffffffe
ja 0x10003b6a
cmp eax, 8
jae 0x10003129
lea edi, [eax + eax]
mov dword [ebp - 0xc420], eax
push edi
push dword [ebp - 0xc6dc]
lea eax, [ebp - 0xc430]
mov dword [ebp - 0xc41c], 7
push eax
call fcn.10084f30
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0xc430], ax
jmp 0x10003194
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1000313a
mov eax, 0x7ffffffe
jmp 0x10003145
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xc6d4], eax
lea ecx, [ebp - 0xc430]
inc eax
push eax
call fcn.10003d30
mov edi, dword [ebp - 0xc6e8]
mov ecx, dword [ebp - 0xc6d4]
mov dword [ebp - 0xc420], edi
add edi, edi
push edi
push dword [ebp - 0xc6dc]
mov dword [ebp - 0xc430], eax
push eax
mov dword [ebp - 0xc41c], ecx
call fcn.10084f30
mov eax, dword [ebp - 0xc430]
add esp, 0xc
xor ecx, ecx
mov word [eax + edi], cx
xorps xmm0, xmm0
mov byte [ebp - 4], 0xa
push 0x18
lea ecx, [ebp - 0xc460]
movups xmmword [ebp - 0xc460], xmm0
call fcn.10003d30
movups xmm0, xmmword [str..pipeLUNA_HOOK]
mov dword [ebp - 0xc460], eax
mov dword [ebp - 0xc450], 0x12
movups xmmword [eax], xmm0
mov dword [ebp - 0xc44c], 0x17
movups xmm0, xmmword [0x100b4490]
movups xmmword [eax + 0x10], xmm0
mov ecx, dword [0x100b44a0]
mov dword [eax + 0x20], ecx
xor ecx, ecx
mov word [eax + 0x24], cx
lea eax, [ebp - 0xc430]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xc460]
push eax
push dword [ebp - 0xc6ec]
lea ecx, [ebp - 0xc448]
call fcn.10001fc0
or dword [ebp - 0xc6e0], 0x1fc
lea eax, [ebp - 0xc448]
cmp dword [ebp - 0xc434], 8
push 0
cmovae eax, dword [ebp - 0xc448]
push 0x80
push 3
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [section..data]
mov byte [ebp - 4], 0xc
mov dword [section..data], eax
test ecx, ecx
je 0x10003266
cmp ecx, 0xffffffff
je 0x10003266
push ecx
call dword [0x100b447c]
mov ecx, dword [ebp - 0xc434]
mov byte [ebp - 4], 0xb
cmp ecx, 8
jb 0x100032aa
mov edx, dword [ebp - 0xc448]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100032a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
add esp, 8
mov ecx, dword [ebp - 0xc44c]
xor eax, eax
mov dword [ebp - 0xc438], 0
mov dword [ebp - 0xc434], 7
mov word [ebp - 0xc448], ax
mov byte [ebp - 4], 0xa
cmp ecx, 8
jb 0x1000330b
mov edx, dword [ebp - 0xc460]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003301
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
add esp, 8
mov ecx, dword [ebp - 0xc41c]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x10002a80
mov edx, dword [ebp - 0xc430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000334f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 8
jmp 0x10002a80
push 0
push 0
lea eax, [ebp - 0xc6ec]
mov dword [ebp - 0xc6ec], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
call edi
push 0
mov dword [ebp - 0xc418], eax
lea eax, [ebp - 0xc6f0]
push eax
push 4
lea eax, [ebp - 0xc418]
push eax
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x100deb38]
call fcn.10002540
add esp, 4
call fcn.1006ccf0
cmp byte [ebp - 0xc6d5], 0
mov byte [0x100e2e3d], 1
je 0x10003aa0
nop dword [eax]
push 0
lea eax, [ebp - 0xc6f0]
push eax
push 0xc350
lea eax, [ebp - 0xc418]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10003a9a
mov eax, dword [ebp - 0xc418]
cmp eax, 6
ja case.0x100033ff.3
jmp dword [eax*4 + 0x10003b74]
mov eax, dword [0x100e2ec8]
lea esi, [ebp - 0xc418]
mov ecx, 0x80
lea edi, [ebp - 0xc8f0]
add eax, 1
rep movsd dword es:[edi], dword [esi]
mov dword [0x100e2ec8], eax
jns 0x1000343e
neg eax
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.10001eb0
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x1000344b
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.10001eb0
add esp, 8
lea ecx, [ebp - 0x17]
mov dword [ebp - 0xc6dc], eax
mov dword [ebp - 0xc420], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc41c], 0
movups xmmword [ebp - 0xc430], xmm0
cmp eax, ecx
jne 0x10003496
mov dword [ebp - 0xc420], 0
mov dword [ebp - 0xc41c], 0xf
mov byte [ebp - 0xc430], 0
jmp 0x10003533
lea edi, [ebp - 0x17]
sub edi, eax
cmp edi, 0x7fffffff
ja 0x10003b6a
mov dword [ebp - 0xc41c], 0xf
cmp edi, 0x10
jae 0x100034d4
push edi
push eax
lea eax, [ebp - 0xc430]
mov dword [ebp - 0xc420], edi
push eax
call fcn.10084f30
mov byte [ebp + edi - 0xc430], 0
jmp 0x10003530
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x100034e7
mov eax, 0x7fffffff
jmp 0x100034f2
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0xc6d4], eax
lea ecx, [ebp - 0xc430]
inc eax
push eax
call fcn.10003cd0
push edi
push dword [ebp - 0xc6dc]
mov esi, eax
mov dword [ebp - 0xc420], edi
mov eax, dword [ebp - 0xc6d4]
push esi
mov dword [ebp - 0xc430], esi
mov dword [ebp - 0xc41c], eax
call fcn.10084f30
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0xc6e0]
or esi, 0x600
push 8
push str.UserHook
push 0
lea ecx, [ebp - 0xc430]
mov byte [ebp - 4], 0xe
call fcn.10003d90
mov dword [ebp - 0xc438], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xc448], xmm0
mov dword [ebp - 0xc434], 0
or esi, 0x800
movups xmm0, xmmword [eax]
mov dword [ebp - 0xc6e0], esi
movups xmmword [ebp - 0xc448], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc438], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0xc434], 0x10
lea eax, [ebp - 0xc448]
push 0
cmovae eax, dword [ebp - 0xc448]
lea esi, [ebp - 0xc8e8]
push eax
sub esp, 0x1f8
mov byte [ebp - 4], 0xf
mov ecx, 0x7e
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10002650
mov ecx, dword [ebp - 0xc434]
add esp, 0x200
mov byte [ebp - 4], 0xe
cmp ecx, 0x10
jb 0x10003622
mov edx, dword [ebp - 0xc448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003618
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
add esp, 8
mov ecx, dword [ebp - 0xc41c]
mov esi, dword [ebp - 0xc6e4]
mov dword [ebp - 0xc438], 0
mov dword [ebp - 0xc434], 0xf
mov byte [ebp - 0xc448], 0
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb case.0x100033ff.3
mov edx, dword [ebp - 0xc430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000367b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
mov esi, dword [ebp - 0xc6e4]
add esp, 8
jmp case.0x100033ff.3
mov ecx, 0xfb
lea esi, [ebp - 0xc418]
lea edi, [ebp - 0xcce0]
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xccdc]
xorps xmm0, xmm0
mov dword [ebp - 0xc6e8], edi
lea ecx, [esi + 2]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100036d0
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x10003b6a
mov dword [edi + 0x14], 7
cmp esi, 8
jae 0x100036fc
mov dword [edi + 0x10], esi
jmp 0x1000373f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1000370f
mov eax, 0x7ffffffe
jmp 0x1000371a
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xc6d4], eax
mov ecx, edi
inc eax
push eax
call fcn.10003d30
mov ecx, dword [ebp - 0xc6e8]
mov edi, eax
mov eax, dword [ebp - 0xc6d4]
mov dword [ecx], edi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], eax
add esi, esi
lea eax, [ebp - 0xccdc]
push esi
push eax
push edi
call fcn.10084f30
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
lea eax, [ebp - 0xc8f0]
push eax
call fcn.10071990
add esp, 0x1c
cmp byte [ebp - 0xc6f8], 0
je 0x100039f8
mov eax, dword [0x100e2ecc]
add eax, 1
mov dword [0x100e2ecc], eax
jns 0x10003799
neg eax
push eax
lea eax, [ebp - 0x2f]
push eax
call fcn.10001eb0
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x100037a6
push eax
lea eax, [ebp - 0x2f]
push eax
call fcn.10001eb0
add esp, 8
lea ecx, [ebp - 0x2f]
mov dword [ebp - 0xc6dc], eax
mov dword [ebp - 0xc420], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc41c], 0
movups xmmword [ebp - 0xc430], xmm0
cmp eax, ecx
jne 0x100037f1
mov dword [ebp - 0xc420], 0
mov dword [ebp - 0xc41c], 0xf
mov byte [ebp - 0xc430], 0
jmp 0x1000388e
lea edi, [ebp - 0x2f]
sub edi, eax
cmp edi, 0x7fffffff
ja 0x10003b6a
mov dword [ebp - 0xc41c], 0xf
cmp edi, 0x10
jae 0x1000382f
push edi
push eax
lea eax, [ebp - 0xc430]
mov dword [ebp - 0xc420], edi
push eax
call fcn.10084f30
mov byte [ebp + edi - 0xc430], 0
jmp 0x1000388b
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10003842
mov eax, 0x7fffffff
jmp 0x1000384d
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0xc6d4], eax
lea ecx, [ebp - 0xc430]
inc eax
push eax
call fcn.10003cd0
push edi
push dword [ebp - 0xc6dc]
mov esi, eax
mov dword [ebp - 0xc420], edi
mov eax, dword [ebp - 0xc6d4]
push esi
mov dword [ebp - 0xc430], esi
mov dword [ebp - 0xc41c], eax
call fcn.10084f30
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0xc6e0]
or esi, 0x3000
push 8
push str.UserHook
push 0
lea ecx, [ebp - 0xc430]
mov byte [ebp - 4], 0x10
call fcn.10003d90
mov dword [ebp - 0xc438], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xc448], xmm0
mov dword [ebp - 0xc434], 0
or esi, 0x4000
movups xmm0, xmmword [eax]
mov dword [ebp - 0xc6e0], esi
movups xmmword [ebp - 0xc448], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc438], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0xc434], 0x10
lea eax, [ebp - 0xc448]
mov byte [ebp - 4], 0x11
cmovae eax, dword [ebp - 0xc448]
cmp byte [ebp - 0xc6f8], 0
je 0x10003b6f
push 0
push eax
sub esp, 0x1f8
lea esi, [ebp - 0xc8f0]
mov ecx, 0x7e
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10002650
mov ecx, dword [ebp - 0xc434]
add esp, 0x200
mov byte [ebp - 4], 0x10
cmp ecx, 0x10
jb 0x1000398a
mov edx, dword [ebp - 0xc448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003980
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
add esp, 8
mov ecx, dword [ebp - 0xc41c]
mov esi, dword [ebp - 0xc6e4]
mov dword [ebp - 0xc438], 0
mov dword [ebp - 0xc434], 0xf
mov byte [ebp - 0xc448], 0
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb case.0x100033ff.3
mov edx, dword [ebp - 0xc430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100039e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b65
push ecx
push edx
call fcn.100835a6
mov esi, dword [ebp - 0xc6e4]
add esp, 8
jmp case.0x100033ff.3
push 0x100b45a8
call fcn.10002540
mov esi, dword [ebp - 0xc6e4]
add esp, 4
jmp case.0x100033ff.3
push 0
push dword [ebp - 0xc40c]
push dword [ebp - 0xc410]
call fcn.10003b90
add esp, 0xc
jmp case.0x100033ff.3
cmp word [ebp - 0xc1ec], 0
lea esi, [ebp - 0xc418]
mov ecx, 0x9b
lea edi, [ebp - 0xc6d0]
rep movsd dword es:[edi], dword [esi]
je 0x10003a68
push dword [ebp - 0xc3dc]
lea eax, [ebp - 0xc4a4]
push eax
call fcn.100065b0
mov esi, dword [ebp - 0xc6e4]
add esp, 8
jmp case.0x100033ff.3
sub esp, 0x268
lea esi, [ebp - 0xc414]
mov ecx, 0x9a
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.100064c0
mov esi, dword [ebp - 0xc6e4]
add esp, 0x268
jmp case.0x100033ff.3
mov byte [ebp - 0xc6d5], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], 0x12
test esi, esi
je 0x10003ab7
cmp esi, 0xffffffff
je 0x10003ab7
push esi
call dword [0x100b447c]
mov eax, dword [section..data]
mov dword [ebp - 4], 0
mov dword [section..data], 0xffffffff
test eax, eax
je 0x10003add
cmp eax, 0xffffffff
je 0x10003add
push eax
call dword [0x100b447c]
cmp byte [ebp - 0xc6d5], 0
mov dword [ebp - 4], 0xffffffff
jne 0x10002a50
cmp byte [0x100e2e3c], 0
je 0x10003b28
push 0
mov byte [0x100e2e3d], 0
call fcn.100029f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100838ce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1007b700
mov esi, dword [0x100e2e44]
lea edi, [esi + 0x15f900]
cmp esi, edi
je 0x10003b51
nop dword [eax]
mov ecx, esi
call fcn.10004570
add esi, 0x240
cmp esi, edi
jne 0x10003b40
push 0
push str.LunaHook32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
call fcn.1008f6cf
call fcn.10003cb0
call fcn.10003c80
push es
xor al, 0
adc byte [eax], dl
cmp al, byte [eax]
adc byte [ebx], ch
cmp al, byte [eax]
adc al, dl
xor eax, dword [eax]
adc al, dl
xor eax, dword [eax]
adc byte [ebx - 0x6fefffc6], dl
add byte ss:[eax], dl