Function at 0x10003e60
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 0x100d84fe
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0xd0f0
call fcn.100ac530
mov eax, dword [0x10110f74]
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 - 0xc6f0], 0
mov byte [ebp - 0xc6e1], 1
nop dword [eax]
push 0xc350
lea eax, [ebp - 0xc418]
mov dword [ebp - 0xc700], 0
push 0
push eax
call fcn.100af1f0
add esp, 0xc
or esi, 0xffffffff
mov dword [ebp - 0xc6f4], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x10003f0b
cmp esi, 0xffffffff
je 0x10003f0b
mov eax, dword [0x10110070]
test eax, eax
je 0x10003f0b
cmp eax, 0xffffffff
jne 0x1000475f
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 0x10003f12
lea eax, [ebp - 0x46]
mov dword [ebp - 0xc6ec], edi
mov dword [ebp - 0xc420], edx
xorps xmm0, xmm0
mov dword [ebp - 0xc41c], edx
movups xmmword [ebp - 0xc430], xmm0
cmp edi, eax
jne 0x10003f73
xor eax, eax
mov dword [ebp - 0xc420], edx
mov dword [ebp - 0xc41c], 7
mov word [ebp - 0xc430], ax
jmp 0x10004030
lea eax, [ebp - 0x46]
sub eax, edi
sar eax, 1
mov dword [ebp - 0xc6f8], eax
cmp eax, 0x7ffffffe
ja 0x10004ef2
cmp eax, 8
jae 0x10003fc5
lea edi, [eax + eax]
mov dword [ebp - 0xc420], eax
push edi
push dword [ebp - 0xc6ec]
lea eax, [ebp - 0xc430]
mov dword [ebp - 0xc41c], 7
push eax
call fcn.100aec70
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0xc430], ax
jmp 0x10004030
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x10003fd6
mov eax, 0x7ffffffe
jmp 0x10003fe1
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xc6e8], eax
lea ecx, [ebp - 0xc430]
inc eax
push eax
call fcn.10005380
mov edi, dword [ebp - 0xc6f8]
mov ecx, dword [ebp - 0xc6e8]
mov dword [ebp - 0xc420], edi
add edi, edi
push edi
push dword [ebp - 0xc6ec]
mov dword [ebp - 0xc430], eax
push eax
mov dword [ebp - 0xc41c], ecx
call fcn.100aec70
mov eax, dword [ebp - 0xc430]
add esp, 0xc
xor ecx, ecx
mov word [eax + edi], cx
mov eax, dword [ebp - 0xc6f0]
or eax, 3
mov dword [ebp - 0xc6f0], eax
push 0x13
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push str.LUNA_PIPE_AVAILABLE
lea ecx, [ebp - 0xc460]
mov dword [ebp - 0xc450], 0
movups xmmword [ebp - 0xc460], xmm0
mov dword [ebp - 0xc44c], 0
call fcn.10002fe0
lea eax, [ebp - 0xc430]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xc460]
push eax
push dword [ebp - 0xc6fc]
lea ecx, [ebp - 0xc448]
call fcn.10003170
cmp dword [ebp - 0xc434], 8
lea eax, [ebp - 0xc448]
cmovae eax, dword [ebp - 0xc448]
push eax
push 0
push 0
push 0x10115938
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 0x100040d9
cmp edi, 0xffffffff
je 0x100040d9
push edi
call dword [0x100e3c3c]
mov ecx, dword [ebp - 0xc434]
mov byte [ebp - 4], 4
cmp ecx, 8
jb 0x1000411d
mov edx, dword [ebp - 0xc448]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004113
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
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 0x1000417e
mov edx, dword [ebp - 0xc460]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004174
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
add esp, 8
mov ecx, dword [ebp - 0xc41c]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x100041c2
mov edx, dword [ebp - 0xc430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100041b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea edi, [ebp - 0x72]
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 0x100041d0
lea eax, [ebp - 0x72]
mov dword [ebp - 0xc6e8], edi
mov dword [ebp - 0xc420], edx
xorps xmm0, xmm0
mov dword [ebp - 0xc41c], edx
movups xmmword [ebp - 0xc430], xmm0
cmp edi, eax
jne 0x10004231
xor eax, eax
mov dword [ebp - 0xc420], edx
mov dword [ebp - 0xc41c], 7
mov word [ebp - 0xc430], ax
jmp 0x100042ee
lea eax, [ebp - 0x72]
sub eax, edi
sar eax, 1
mov dword [ebp - 0xc6f8], eax
cmp eax, 0x7ffffffe
ja 0x10004ef2
cmp eax, 8
jae 0x10004283
lea edi, [eax + eax]
mov dword [ebp - 0xc420], eax
push edi
push dword [ebp - 0xc6e8]
lea eax, [ebp - 0xc430]
mov dword [ebp - 0xc41c], 7
push eax
call fcn.100aec70
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0xc430], ax
jmp 0x100042ee
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x10004294
mov eax, 0x7ffffffe
jmp 0x1000429f
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xc6ec], eax
lea ecx, [ebp - 0xc430]
inc eax
push eax
call fcn.10005380
mov edi, dword [ebp - 0xc6f8]
mov ecx, dword [ebp - 0xc6ec]
mov dword [ebp - 0xc420], edi
add edi, edi
push edi
push dword [ebp - 0xc6e8]
mov dword [ebp - 0xc430], eax
push eax
mov dword [ebp - 0xc41c], ecx
call fcn.100aec70
mov eax, dword [ebp - 0xc430]
add esp, 0xc
xor ecx, ecx
mov word [eax + edi], cx
push 0x12
xorps xmm0, xmm0
mov byte [ebp - 4], 6
push str..pipeLUNA_HOST
lea ecx, [ebp - 0xc460]
mov dword [ebp - 0xc450], 0
movups xmmword [ebp - 0xc460], xmm0
mov dword [ebp - 0xc44c], 0
call fcn.10002fe0
lea eax, [ebp - 0xc430]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xc460]
push eax
push dword [ebp - 0xc6fc]
lea ecx, [ebp - 0xc448]
call fcn.10003170
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 - 0xc6f4], esi
test ecx, ecx
je 0x10004390
cmp ecx, 0xffffffff
je 0x10004390
push ecx
call dword [0x100e3c3c]
mov ecx, dword [ebp - 0xc434]
mov byte [ebp - 4], 7
cmp ecx, 8
jb 0x100043d4
mov edx, dword [ebp - 0xc448]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100043ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
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 0x10004435
mov edx, dword [ebp - 0xc460]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000442b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
add esp, 8
mov ecx, dword [ebp - 0xc41c]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x10004479
mov edx, dword [ebp - 0xc430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000446f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea edi, [ebp - 0x9e]
nop word [eax + 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 0x10004490
lea eax, [ebp - 0x9e]
mov dword [ebp - 0xc6e8], edi
mov dword [ebp - 0xc420], edx
xorps xmm0, xmm0
mov dword [ebp - 0xc41c], edx
movups xmmword [ebp - 0xc430], xmm0
cmp edi, eax
jne 0x100044f4
xor eax, eax
mov dword [ebp - 0xc420], edx
mov dword [ebp - 0xc41c], 7
mov word [ebp - 0xc430], ax
jmp 0x100045b4
lea eax, [ebp - 0x9e]
sub eax, edi
sar eax, 1
mov dword [ebp - 0xc6f8], eax
cmp eax, 0x7ffffffe
ja 0x10004ef2
cmp eax, 8
jae 0x10004549
lea edi, [eax + eax]
mov dword [ebp - 0xc420], eax
push edi
push dword [ebp - 0xc6e8]
lea eax, [ebp - 0xc430]
mov dword [ebp - 0xc41c], 7
push eax
call fcn.100aec70
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0xc430], ax
jmp 0x100045b4
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1000455a
mov eax, 0x7ffffffe
jmp 0x10004565
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xc6ec], eax
lea ecx, [ebp - 0xc430]
inc eax
push eax
call fcn.10005380
mov edi, dword [ebp - 0xc6f8]
mov ecx, dword [ebp - 0xc6ec]
mov dword [ebp - 0xc420], edi
add edi, edi
push edi
push dword [ebp - 0xc6e8]
mov dword [ebp - 0xc430], eax
push eax
mov dword [ebp - 0xc41c], ecx
call fcn.100aec70
mov eax, dword [ebp - 0xc430]
add esp, 0xc
xor ecx, ecx
mov word [eax + edi], cx
push 0x12
xorps xmm0, xmm0
mov byte [ebp - 4], 0xa
push str..pipeLUNA_HOOK
lea ecx, [ebp - 0xc460]
mov dword [ebp - 0xc450], 0
movups xmmword [ebp - 0xc460], xmm0
mov dword [ebp - 0xc44c], 0
call fcn.10002fe0
lea eax, [ebp - 0xc430]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xc460]
push eax
push dword [ebp - 0xc6fc]
lea ecx, [ebp - 0xc448]
call fcn.10003170
or dword [ebp - 0xc6f0], 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 [0x10110070]
mov byte [ebp - 4], 0xc
mov dword [0x10110070], eax
test ecx, ecx
je 0x10004661
cmp ecx, 0xffffffff
je 0x10004661
push ecx
call dword [0x100e3c3c]
mov ecx, dword [ebp - 0xc434]
mov byte [ebp - 4], 0xb
cmp ecx, 8
jb 0x100046a5
mov edx, dword [ebp - 0xc448]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000469b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
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 0x10004706
mov edx, dword [ebp - 0xc460]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100046fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
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 0x10003ef0
mov edx, dword [ebp - 0xc430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000474a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 8
jmp 0x10003ef0
push 0
push 0
lea eax, [ebp - 0xc6fc]
mov dword [ebp - 0xc6fc], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
call edi
push 0
mov dword [ebp - 0xc418], eax
lea eax, [ebp - 0xc700]
push eax
push 4
lea eax, [ebp - 0xc418]
push eax
push dword [0x10110070]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x10110bd4]
call fcn.100037c0
add esp, 4
call fcn.1007f770
cmp byte [ebp - 0xc6e1], 0
mov byte [0x101158a1], 1
je 0x10004e2b
nop dword [eax + eax]
push 0
lea eax, [ebp - 0xc700]
push eax
push 0xc350
lea eax, [ebp - 0xc418]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10004e25
mov eax, dword [ebp - 0xc418]
cmp eax, 6
ja case.0x100047ff.3
jmp dword [eax*4 + 0x10004efc]
mov eax, dword [0x10115944]
lea esi, [ebp - 0xc418]
mov ecx, 0x184
lea edi, [ebp - 0xcd10]
add eax, 1
rep movsd dword es:[edi], dword [esi]
mov dword [0x10115944], eax
jns 0x1000483e
neg eax
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.10003070
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x1000484b
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.10003070
add esp, 8
lea ecx, [ebp - 0x17]
mov dword [ebp - 0xc6e8], eax
mov dword [ebp - 0xc420], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc41c], 0
movups xmmword [ebp - 0xc430], xmm0
cmp eax, ecx
jne 0x10004896
mov dword [ebp - 0xc420], 0
mov dword [ebp - 0xc41c], 0xf
mov byte [ebp - 0xc430], 0
jmp 0x10004933
lea edi, [ebp - 0x17]
sub edi, eax
cmp edi, 0x7fffffff
ja 0x10004ef2
mov dword [ebp - 0xc41c], 0xf
cmp edi, 0x10
jae 0x100048d4
push edi
push eax
lea eax, [ebp - 0xc430]
mov dword [ebp - 0xc420], edi
push eax
call fcn.100aec70
mov byte [ebp + edi - 0xc430], 0
jmp 0x10004930
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x100048e7
mov eax, 0x7fffffff
jmp 0x100048f2
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0xc6ec], eax
lea ecx, [ebp - 0xc430]
inc eax
push eax
call fcn.10005320
push edi
push dword [ebp - 0xc6e8]
mov esi, eax
mov dword [ebp - 0xc420], edi
mov eax, dword [ebp - 0xc6ec]
push esi
mov dword [ebp - 0xc430], esi
mov dword [ebp - 0xc41c], eax
call fcn.100aec70
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0xc6f0]
or esi, 0x600
push 8
push str.UserHook
push 0
lea ecx, [ebp - 0xc430]
mov byte [ebp - 4], 0xe
call fcn.100053e0
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 - 0xc6f0], 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 - 0xcd08]
push eax
sub esp, 0x608
mov byte [ebp - 4], 0xf
mov ecx, 0x182
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.100038d0
mov ecx, dword [ebp - 0xc434]
add esp, 0x610
mov byte [ebp - 4], 0xe
cmp ecx, 0x10
jb 0x10004a22
mov edx, dword [ebp - 0xc448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004a18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
add esp, 8
mov ecx, dword [ebp - 0xc41c]
mov esi, dword [ebp - 0xc6f4]
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.0x100047ff.3
mov edx, dword [ebp - 0xc430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004a7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
mov esi, dword [ebp - 0xc6f4]
add esp, 8
jmp case.0x100047ff.3
sub esp, 0x18
lea esi, [ebp - 0xc418]
mov edx, esp
lea edi, [ebp - 0xd100]
mov ecx, 0xfb
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
movups xmmword [edx], xmm0
lea ecx, [ebp - 0xd0fc]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004ac5
sub ecx, esi
lea eax, [ebp - 0xd0fc]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10002fe0
lea eax, [ebp - 0xcd10]
push eax
call fcn.1008c470
add esp, 0x1c
cmp byte [ebp - 0xc708], 0
je 0x10004d83
mov eax, dword [0x10115948]
add eax, 1
mov dword [0x10115948], eax
jns 0x10004b24
neg eax
push eax
lea eax, [ebp - 0x2f]
push eax
call fcn.10003070
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x10004b31
push eax
lea eax, [ebp - 0x2f]
push eax
call fcn.10003070
add esp, 8
lea ecx, [ebp - 0x2f]
mov dword [ebp - 0xc6e8], eax
mov dword [ebp - 0xc420], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc41c], 0
movups xmmword [ebp - 0xc430], xmm0
cmp eax, ecx
jne 0x10004b7c
mov dword [ebp - 0xc420], 0
mov dword [ebp - 0xc41c], 0xf
mov byte [ebp - 0xc430], 0
jmp 0x10004c19
lea edi, [ebp - 0x2f]
sub edi, eax
cmp edi, 0x7fffffff
ja 0x10004ef2
mov dword [ebp - 0xc41c], 0xf
cmp edi, 0x10
jae 0x10004bba
push edi
push eax
lea eax, [ebp - 0xc430]
mov dword [ebp - 0xc420], edi
push eax
call fcn.100aec70
mov byte [ebp + edi - 0xc430], 0
jmp 0x10004c16
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10004bcd
mov eax, 0x7fffffff
jmp 0x10004bd8
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0xc6ec], eax
lea ecx, [ebp - 0xc430]
inc eax
push eax
call fcn.10005320
push edi
push dword [ebp - 0xc6e8]
mov esi, eax
mov dword [ebp - 0xc420], edi
mov eax, dword [ebp - 0xc6ec]
push esi
mov dword [ebp - 0xc430], esi
mov dword [ebp - 0xc41c], eax
call fcn.100aec70
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0xc6f0]
or esi, 0x3000
push 8
push str.UserHook
push 0
lea ecx, [ebp - 0xc430]
mov byte [ebp - 4], 0x10
call fcn.100053e0
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 - 0xc6f0], 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 - 0xc708], 0
je 0x10004ef7
push 0
push eax
sub esp, 0x608
lea esi, [ebp - 0xcd10]
mov ecx, 0x182
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.100038d0
mov ecx, dword [ebp - 0xc434]
add esp, 0x610
mov byte [ebp - 4], 0x10
cmp ecx, 0x10
jb 0x10004d15
mov edx, dword [ebp - 0xc448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004d0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
add esp, 8
mov ecx, dword [ebp - 0xc41c]
mov esi, dword [ebp - 0xc6f4]
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.0x100047ff.3
mov edx, dword [ebp - 0xc430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004d6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004eed
push ecx
push edx
call fcn.100ac5af
mov esi, dword [ebp - 0xc6f4]
add esp, 8
jmp case.0x100047ff.3
push 0x100e3d70
call fcn.100037c0
mov esi, dword [ebp - 0xc6f4]
add esp, 4
jmp case.0x100047ff.3
push 0
push dword [ebp - 0xc40c]
push dword [ebp - 0xc410]
call fcn.10004f20
add esp, 0xc
jmp case.0x100047ff.3
cmp word [ebp - 0xc1d8], 0
lea esi, [ebp - 0xc418]
mov ecx, 0xa0
lea edi, [ebp - 0xc6e0]
rep movsd dword es:[edi], dword [esi]
je 0x10004df3
push dword [ebp - 0xc3d8]
lea eax, [ebp - 0xc4a0]
push eax
call fcn.10007cb0
mov esi, dword [ebp - 0xc6f4]
add esp, 8
jmp case.0x100047ff.3
sub esp, 0x278
lea esi, [ebp - 0xc410]
mov ecx, 0x9e
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10007bc0
mov esi, dword [ebp - 0xc6f4]
add esp, 0x278
jmp case.0x100047ff.3
mov byte [ebp - 0xc6e1], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], 0x12
test esi, esi
je 0x10004e42
cmp esi, 0xffffffff
je 0x10004e42
push esi
call dword [0x100e3c3c]
mov eax, dword [0x10110070]
mov dword [ebp - 4], 0
mov dword [0x10110070], 0xffffffff
test eax, eax
je 0x10004e68
cmp eax, 0xffffffff
je 0x10004e68
push eax
call dword [0x100e3c3c]
cmp byte [ebp - 0xc6e1], 0
mov dword [ebp - 4], 0xffffffff
jne 0x10003ec0
cmp byte [0x101158a0], 0
je 0x10004eb3
push 0
mov byte [0x101158a1], 0
call fcn.10003e60
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.100ac5bd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1008eb70
mov esi, dword [0x101158a8]
lea edi, [esi + 0x41eb00]
cmp esi, edi
je 0x10004ed9
mov ecx, esi
call fcn.10005b60
add esi, 0x6c0
cmp esi, edi
jne 0x10004ec8
push 0
push str.LunaHook32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
call fcn.100b835f
call fcn.100052f0
call fcn.100052c0
push es
dec eax
add byte [eax], dl
wait
dec ebp
add byte [eax], dl
mov dh, 0x4d
add byte [eax], dl
rol byte [edi], 1
adc al, dl
inc edi
add byte [eax], dl
push ds
dec esi
add byte [eax], dl
nop
dec edx
add byte [eax], dl
int3