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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be376
mov eax, dword fs:[0]
push eax
mov eax, 0xd26c
call fcn.100ad980
mov eax, dword [0x100edfa8]
xor eax, ebp
mov dword [ebp - 0x10], 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 - 0xcc5c], 0
mov byte [ebp - 0xcc55], 1
nop dword [eax + eax]
push 0xc350
lea eax, [ebp - 0xc38c]
mov dword [ebp - 0xcc64], 0
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
or esi, 0xffffffff
mov dword [ebp - 0xcc60], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x1000666b
cmp esi, 0xffffffff
je 0x1000666b
mov eax, dword [0x100ed2d0]
test eax, eax
je 0x1000666b
cmp eax, 0xffffffff
jne 0x10006e23
call edi
mov ecx, eax
lea edi, [ebp - 0x12]
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 0x10006672
xor eax, eax
mov dword [ebp - 0xc3c4], edx
mov word [ebp - 0xc3d4], ax
lea eax, [ebp - 0x12]
mov dword [ebp - 0xc3c0], 7
cmp edi, eax
je 0x100066c3
sub eax, edi
lea ecx, [ebp - 0xc3d4]
sar eax, 1
push eax
push edi
call fcn.100077e0
mov eax, dword [ebp - 0xcc5c]
or eax, 3
mov dword [ebp - 0xcc5c], eax
push 0x13
xor eax, eax
mov byte [ebp - 4], 3
push str.LUNA_PIPE_AVAILABLE
lea ecx, [ebp - 0xc3bc]
mov dword [ebp - 0xc3ac], 0
mov dword [ebp - 0xc3a8], 7
mov word [ebp - 0xc3bc], ax
call fcn.100077e0
mov eax, dword [ebp - 0xc3a8]
mov ecx, dword [ebp - 0xc3ac]
sub eax, ecx
mov edx, dword [ebp - 0xc3c4]
mov edi, dword [ebp - 0xc3c0]
mov byte [ebp - 4], 4
cmp edx, eax
jbe 0x10006754
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x10006754
cmp dword [ebp - 0xc3a8], 8
lea eax, [ebp - 0xc3bc]
push ecx
cmovae eax, dword [ebp - 0xc3bc]
lea ecx, [ebp - 0xc3d4]
push eax
push 0
call fcn.10007ad0
jmp 0x10006771
cmp edi, 8
lea eax, [ebp - 0xc3d4]
push edx
cmovae eax, dword [ebp - 0xc3d4]
lea ecx, [ebp - 0xc3bc]
push eax
call fcn.10007570
mov dword [ebp - 0xc394], 0
xor ecx, ecx
mov dword [ebp - 0xc390], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc3a4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc394], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xc3a4]
cmp dword [ebp - 0xc390], 8
cmovae eax, dword [ebp - 0xc3a4]
push eax
push ecx
push ecx
push 0x100f310c
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 0x100067f0
cmp edi, 0xffffffff
je 0x100067f0
push edi
call dword [0x100cbc80]
mov edx, dword [ebp - 0xc390]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x10006834
mov ecx, dword [ebp - 0xc3a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000682a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073ab
push edx
push ecx
call fcn.100ad9ff
add esp, 8
mov edx, dword [ebp - 0xc3a8]
xor eax, eax
mov dword [ebp - 0xc394], 0
mov dword [ebp - 0xc390], 7
mov word [ebp - 0xc3a4], ax
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x10006895
mov ecx, dword [ebp - 0xc3bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000688b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073ab
push edx
push ecx
call fcn.100ad9ff
add esp, 8
mov edx, dword [ebp - 0xc3c0]
xor eax, eax
mov dword [ebp - 0xc3ac], 0
mov dword [ebp - 0xc3a8], 7
mov word [ebp - 0xc3bc], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x100068f6
mov ecx, dword [ebp - 0xc3d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100068ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073ab
push edx
push ecx
call fcn.100ad9ff
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea edi, [ebp - 0x12]
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 0x10006901
xor eax, eax
mov dword [ebp - 0xc3c4], edx
mov word [ebp - 0xc3d4], ax
lea eax, [ebp - 0x12]
mov dword [ebp - 0xc3c0], 7
cmp edi, eax
je 0x10006952
sub eax, edi
lea ecx, [ebp - 0xc3d4]
sar eax, 1
push eax
push edi
call fcn.100077e0
push 0x12
xor eax, eax
mov byte [ebp - 4], 6
push str..pipeLUNA_HOST
lea ecx, [ebp - 0xc3bc]
mov dword [ebp - 0xc3ac], 0
mov dword [ebp - 0xc3a8], 7
mov word [ebp - 0xc3bc], ax
call fcn.100077e0
mov eax, dword [ebp - 0xc3a8]
mov ecx, dword [ebp - 0xc3ac]
sub eax, ecx
mov edx, dword [ebp - 0xc3c4]
mov edi, dword [ebp - 0xc3c0]
mov byte [ebp - 4], 7
cmp edx, eax
jbe 0x100069d4
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x100069d4
cmp dword [ebp - 0xc3a8], 8
lea eax, [ebp - 0xc3bc]
push ecx
cmovae eax, dword [ebp - 0xc3bc]
lea ecx, [ebp - 0xc3d4]
push eax
push 0
call fcn.10007ad0
jmp 0x100069f1
cmp edi, 8
lea eax, [ebp - 0xc3d4]
push edx
cmovae eax, dword [ebp - 0xc3d4]
lea ecx, [ebp - 0xc3bc]
push eax
call fcn.10007570
mov dword [ebp - 0xc394], 0
xor ecx, ecx
mov dword [ebp - 0xc390], 0
movups xmm0, xmmword [eax]
push ecx
push 0x80
movups xmmword [ebp - 0xc3a4], xmm0
push 3
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc394], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xc3a4]
cmp dword [ebp - 0xc390], 8
push ecx
cmovae eax, dword [ebp - 0xc3a4]
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 - 0xcc60], esi
test ecx, ecx
je 0x10006a78
cmp ecx, 0xffffffff
je 0x10006a78
push ecx
call dword [0x100cbc80]
mov edx, dword [ebp - 0xc390]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x10006abc
mov ecx, dword [ebp - 0xc3a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006ab2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073ab
push edx
push ecx
call fcn.100ad9ff
add esp, 8
mov edx, dword [ebp - 0xc3a8]
xor eax, eax
mov dword [ebp - 0xc394], 0
mov dword [ebp - 0xc390], 7
mov word [ebp - 0xc3a4], ax
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x10006b1d
mov ecx, dword [ebp - 0xc3bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006b13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073ab
push edx
push ecx
call fcn.100ad9ff
add esp, 8
mov edx, dword [ebp - 0xc3c0]
xor eax, eax
mov dword [ebp - 0xc3ac], 0
mov dword [ebp - 0xc3a8], 7
mov word [ebp - 0xc3bc], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x10006b7e
mov ecx, dword [ebp - 0xc3d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006b74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073ab
push edx
push ecx
call fcn.100ad9ff
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea edi, [ebp - 0x12]
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 0x10006b90
xor eax, eax
mov dword [ebp - 0xc3c4], edx
mov word [ebp - 0xc3d4], ax
lea eax, [ebp - 0x12]
mov dword [ebp - 0xc3c0], 7
cmp edi, eax
je 0x10006be1
sub eax, edi
lea ecx, [ebp - 0xc3d4]
sar eax, 1
push eax
push edi
call fcn.100077e0
push 0x12
xor eax, eax
mov byte [ebp - 4], 0xa
push str..pipeLUNA_HOOK
lea ecx, [ebp - 0xc3bc]
mov dword [ebp - 0xc3ac], 0
mov dword [ebp - 0xc3a8], 7
mov word [ebp - 0xc3bc], ax
call fcn.100077e0
mov eax, dword [ebp - 0xc3a8]
mov ecx, dword [ebp - 0xc3ac]
sub eax, ecx
mov edx, dword [ebp - 0xc3c4]
mov edi, dword [ebp - 0xc3c0]
mov byte [ebp - 4], 0xb
cmp edx, eax
jbe 0x10006c63
mov eax, edi
sub eax, edx
cmp eax, ecx
jb 0x10006c63
cmp dword [ebp - 0xc3a8], 8
lea eax, [ebp - 0xc3bc]
push ecx
cmovae eax, dword [ebp - 0xc3bc]
lea ecx, [ebp - 0xc3d4]
push eax
push 0
call fcn.10007ad0
jmp 0x10006c80
cmp edi, 8
lea eax, [ebp - 0xc3d4]
push edx
cmovae eax, dword [ebp - 0xc3d4]
lea ecx, [ebp - 0xc3bc]
push eax
call fcn.10007570
or dword [ebp - 0xcc5c], 0x1fc
xor ecx, ecx
mov dword [ebp - 0xc394], 0
mov dword [ebp - 0xc390], 0
movups xmm0, xmmword [eax]
push ecx
push 0x80
movups xmmword [ebp - 0xc3a4], xmm0
push 3
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc394], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xc3a4]
cmp dword [ebp - 0xc390], 8
push ecx
cmovae eax, dword [ebp - 0xc3a4]
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [0x100ed2d0]
mov byte [ebp - 4], 0xc
mov dword [0x100ed2d0], eax
test ecx, ecx
je 0x10006d12
cmp ecx, 0xffffffff
je 0x10006d12
push ecx
call dword [0x100cbc80]
mov edx, dword [ebp - 0xc390]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x10006d56
mov ecx, dword [ebp - 0xc3a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006d4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073ab
push edx
push ecx
call fcn.100ad9ff
add esp, 8
mov edx, dword [ebp - 0xc3a8]
xor eax, eax
mov dword [ebp - 0xc394], 0
mov dword [ebp - 0xc390], 7
mov word [ebp - 0xc3a4], ax
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x10006db7
mov ecx, dword [ebp - 0xc3bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006dad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073ab
push edx
push ecx
call fcn.100ad9ff
add esp, 8
mov edx, dword [ebp - 0xc3c0]
xor eax, eax
mov dword [ebp - 0xc3ac], 0
mov dword [ebp - 0xc3a8], 7
mov word [ebp - 0xc3bc], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x10006e18
mov ecx, dword [ebp - 0xc3d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006e0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073ab
push edx
push ecx
call fcn.100ad9ff
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
jmp 0x10006650
push 0
push 0
lea eax, [ebp - 0xcc68]
mov dword [ebp - 0xcc68], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
call edi
push 0
mov dword [ebp - 0xc38c], eax
lea eax, [ebp - 0xcc64]
push eax
push 4
lea eax, [ebp - 0xc38c]
push eax
push dword [0x100ed2d0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push str.pipe_connected
call fcn.10005fc0
add esp, 4
call fcn.1006ef00
cmp byte [ebp - 0xcc55], 0
mov byte [0x100f3099], 1
je 0x100072f5
nop dword [eax + eax]
push 0
lea eax, [ebp - 0xcc64]
push eax
push 0xc350
lea eax, [ebp - 0xc38c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100072ef
mov eax, dword [ebp - 0xc38c]
cmp eax, 5
ja case.0x10006ebf.3
jmp dword [eax*4 + 0x100073b0]
mov eax, dword [0x100f311c]
lea esi, [ebp - 0xc38c]
mov ecx, 0x180
lea edi, [ebp - 0xd278]
add eax, 1
rep movsd dword es:[edi], dword [esi]
mov dword [0x100f311c], eax
jns 0x10006f00
neg eax
push eax
lea eax, [ebp - 0xc38f]
push eax
call fcn.10005d00
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x10006f0f
push eax
lea eax, [ebp - 0xc38f]
push eax
call fcn.10005d00
mov ecx, eax
lea eax, [ebp - 0xc38f]
mov dword [ebp - 0xc3c4], 0
add esp, 8
mov dword [ebp - 0xc3c0], 0xf
mov byte [ebp - 0xc3d4], 0
cmp ecx, eax
je 0x10006f46
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0xc3d4]
call fcn.100076f0
mov esi, dword [ebp - 0xcc5c]
or esi, 0x600
push 8
push str.UserHook
push 0
lea ecx, [ebp - 0xc3d4]
mov byte [ebp - 4], 0xe
call fcn.100078f0
mov dword [ebp - 0xc3ac], 0
or esi, 0x800
mov dword [ebp - 0xc3a8], 0
mov dword [ebp - 0xcc5c], esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc3bc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc3ac], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0xc3a8], 0x10
lea edx, [ebp - 0xc3bc]
mov eax, dword [0x100f3094]
lea esi, [ebp - 0xd270]
cmovae edx, dword [ebp - 0xc3bc]
lea edi, [ebp - 0xc9cc]
inc eax
mov byte [ebp - 4], 0xf
mov dword [0x100f3094], eax
mov ecx, 0x17e
rep movsd dword es:[edi], dword [esi]
cmp eax, 0x9c4
jl 0x10007001
push str.too_many_hooks:_cant_insert
call fcn.10005fc0
add esp, 4
jmp 0x100071b9
test edx, edx
je 0x1000701e
cmp byte [edx], 0
je 0x1000701e
push 0x3b
push edx
lea eax, [ebp - 0xc7fc]
push 0x3c
push eax
call fcn.100af4a0
add esp, 0x10
lea eax, [ebp - 0xc7fc]
push eax
push str.inserting_hook:__s
call fcn.10005fc0
push 0
push dword [ebp - 0xc9c8]
push dword [ebp - 0xc9cc]
call fcn.100073d0
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0x5f8
lea eax, [ebp - 0xc3a4]
mov edi, esp
lea esi, [ebp - 0xc9cc]
mov ecx, 0x17e
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100753d0
add esp, 0x600
cmp dword [eax + 0x14], 8
jb 0x1000707b
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xc7c0]
push 0x1f4
push eax
call fcn.100af310
add esp, 0xc
lea ecx, [ebp - 0xc3a4]
call fcn.10005ea0
imul eax, dword [0x100f3094], 0x6b0
lea esi, [ebp - 0xc9cc]
sub esp, 0x5f8
mov ecx, 0x17e
mov edi, esp
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x100f3090]
mov ecx, eax
call fcn.100082b0
test al, al
jne 0x1000717b
xor eax, eax
mov dword [ebp - 0xc394], 0
lea ecx, [ebp - 0xc7c0]
mov dword [ebp - 0xc390], 7
mov word [ebp - 0xc3a4], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100070f5
sub ecx, edx
lea eax, [ebp - 0xc7c0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc3a4]
call fcn.100077e0
push 0xfde9
lea eax, [ebp - 0xc3a4]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10074250
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x11
jb 0x1000713f
mov eax, dword [eax]
push eax
push str.failed_to_insert_hook__s
call fcn.10005fc0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.10005e50
lea ecx, [ebp - 0xc3a4]
mov byte [ebp - 4], 0xf
call fcn.10005ea0
imul ecx, dword [0x100f3094], 0x6b0
add ecx, dword [0x100f3090]
call fcn.10007fd0
jmp 0x100071b9
mov eax, dword [ebp - 0xc9cc]
push 0
mov dword [ebp - 0xcc70], eax
mov eax, dword [ebp - 0xc9c8]
push 0x100f30a8
mov dword [ebp - 0xcc6c], eax
lea eax, [ebp - 0xcc78]
push 0x10
push eax
push dword [0x100ed2d0]
mov dword [ebp - 0xcc78], 4
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0xc3a8]
mov byte [ebp - 4], 0xe
cmp edx, 0x10
jb 0x100071f7
mov ecx, dword [ebp - 0xc3bc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100071ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073ab
push edx
push ecx
call fcn.100ad9ff
add esp, 8
mov edx, dword [ebp - 0xc3c0]
mov esi, dword [ebp - 0xcc60]
mov dword [ebp - 0xc3ac], 0
mov dword [ebp - 0xc3a8], 0xf
mov byte [ebp - 0xc3bc], 0
mov byte [ebp - 4], 2
cmp edx, 0x10
jb case.0x10006ebf.3
mov ecx, dword [ebp - 0xc3d4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007250
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073ab
push edx
push ecx
call fcn.100ad9ff
mov esi, dword [ebp - 0xcc60]
add esp, 8
jmp case.0x10006ebf.3
push 0
push dword [ebp - 0xc380]
push dword [ebp - 0xc384]
call fcn.100073d0
add esp, 0xc
jmp case.0x10006ebf.3
cmp word [ebp - 0xc14c], 0
lea esi, [ebp - 0xc38c]
mov ecx, 0xa2
lea edi, [ebp - 0xcc54]
rep movsd dword es:[edi], dword [esi]
je 0x100072bd
push dword [ebp - 0xc34c]
lea eax, [ebp - 0xca14]
push eax
call fcn.1000a130
mov esi, dword [ebp - 0xcc60]
add esp, 8
jmp case.0x10006ebf.3
sub esp, 0x280
lea esi, [ebp - 0xc384]
mov ecx, 0xa0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10009f10
mov esi, dword [ebp - 0xcc60]
add esp, 0x280
jmp case.0x10006ebf.3
mov byte [ebp - 0xcc55], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
mov dword [ebp - 4], 0x12
call dword [0x100cbc80]
mov eax, dword [0x100ed2d0]
mov dword [ebp - 4], 0
mov dword [0x100ed2d0], 0xffffffff
test eax, eax
je 0x10007329
cmp eax, 0xffffffff
je 0x10007329
push eax
call dword [0x100cbc80]
cmp byte [ebp - 0xcc55], 0
mov dword [ebp - 4], 0xffffffff
jne 0x10006620
cmp byte [0x100f3098], 0
je 0x10007371
push 0
mov byte [0x100f3099], 0
call fcn.100065d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ada0d
mov esp, ebp
pop ebp
ret 4
call fcn.10076f50
mov esi, dword [0x100f3090]
lea edi, [esi + 0x414ec0]
cmp esi, edi
je 0x10007397
mov ecx, esi
call fcn.10007fd0
add esi, 0x6b0
cmp esi, edi
jne 0x10007386
push 0
push str.LunaHook32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
call fcn.100af180
invalid