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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e6448
mov eax, dword fs:[0]
push eax
mov eax, 0xd0ec
call fcn.100bb890
mov eax, dword [0x10118fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc6e4], 0
mov byte [ebp - 0xc6cd], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea eax, [ebp - 0xc404]
push 0xc350
push 0
push eax
mov dword [ebp - 0xc6f0], 0
call fcn.100bcd20
add esp, 0xc
or esi, 0xffffffff
mov dword [ebp - 0xc6e8], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x10005e33
cmp esi, 0xffffffff
je 0x10005e33
mov eax, dword [0x101182b8]
test eax, eax
je 0x10005e33
cmp eax, 0xffffffff
jne 0x10006750
call edi
mov ecx, eax
lea edi, [ebp - 0x32]
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 0x10005e40
lea eax, [ebp - 0x32]
mov dword [ebp - 0xc6d8], edi
mov dword [ebp - 0xc40c], edx
xorps xmm0, xmm0
mov dword [ebp - 0xc408], edx
movups xmmword [ebp - 0xc41c], xmm0
cmp edi, eax
jne 0x10005ea1
xor eax, eax
mov dword [ebp - 0xc40c], edx
mov dword [ebp - 0xc408], 7
mov word [ebp - 0xc41c], ax
jmp 0x10005f64
lea eax, [ebp - 0x32]
sub eax, edi
sar eax, 1
mov dword [ebp - 0xc6e0], eax
cmp eax, 0x7ffffffe
ja 0x10006c51
cmp eax, 7
ja 0x10005ef3
lea edi, [eax + eax]
mov dword [ebp - 0xc40c], eax
push edi
push dword [ebp - 0xc6d8]
lea eax, [ebp - 0xc41c]
mov dword [ebp - 0xc408], 7
push eax
call fcn.100bd0e0
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0xc41c], ax
jmp 0x10005f64
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x10005f04
mov eax, bind
jmp 0x10005f0f
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xc6d4], eax
lea eax, [ebp - 0xc6d4]
push eax
lea eax, [ebp - 0xc41c]
push eax
call fcn.10003ac0
mov edi, dword [ebp - 0xc6e0]
mov ecx, dword [ebp - 0xc6d4]
mov dword [ebp - 0xc40c], edi
add edi, edi
push edi
push dword [ebp - 0xc6d8]
mov dword [ebp - 0xc41c], eax
push eax
mov dword [ebp - 0xc408], ecx
call fcn.100bd0e0
mov eax, dword [ebp - 0xc41c]
add esp, 0x14
xor ecx, ecx
mov word [edi + eax], cx
mov eax, dword [ebp - 0xc6e4]
or eax, 3
mov dword [ebp - 0xc6e4], eax
lea eax, [ebp - 0xc6d8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xc44c]
mov dword [ebp - 0xc6d8], 0x17
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0xc44c], xmm0
call fcn.10003ac0
movups xmm0, xmmword [str.LUNA_PIPE_AVAILABLE]
mov ecx, dword [ebp - 0xc6d8]
mov edx, eax
add esp, 8
mov dword [ebp - 0xc44c], edx
mov dword [ebp - 0xc43c], 0x13
mov dword [ebp - 0xc438], ecx
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x100f1658]
movups xmmword [edx + 0x10], xmm0
mov eax, dword [0x100f1668]
mov dword [edx + 0x20], eax
mov ax, word [0x100f166c]
mov word [edx + 0x24], ax
xor eax, eax
mov word [edx + 0x26], ax
lea eax, [ebp - 0xc41c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xc44c]
push eax
push dword [ebp - 0xc6ec]
lea ecx, [ebp - 0xc434]
call fcn.10004600
cmp dword [ebp - 0xc420], 7
lea eax, [ebp - 0xc434]
cmova eax, dword [ebp - 0xc434]
push eax
push 0
push 0
push 0x1011eb78
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 0x10006052
cmp edi, 0xffffffff
je 0x10006052
push edi
call dword [0x100f15ac]
mov ecx, dword [ebp - 0xc420]
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x10006096
mov edx, dword [ebp - 0xc434]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000608c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c4c
push ecx
push edx
call fcn.100bb53a
add esp, 8
mov ecx, dword [ebp - 0xc438]
xor eax, eax
mov dword [ebp - 0xc424], 0
mov dword [ebp - 0xc420], 7
mov word [ebp - 0xc434], ax
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x100060f7
mov edx, dword [ebp - 0xc44c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100060ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c4c
push ecx
push edx
call fcn.100bb53a
add esp, 8
mov ecx, dword [ebp - 0xc408]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x1000613b
mov edx, dword [ebp - 0xc41c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006131
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c4c
push ecx
push edx
call fcn.100bb53a
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea edi, [ebp - 0x5e]
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 0x10006146
lea eax, [ebp - 0x5e]
mov dword [ebp - 0xc6d4], edi
mov dword [ebp - 0xc40c], edx
xorps xmm0, xmm0
mov dword [ebp - 0xc408], edx
movups xmmword [ebp - 0xc41c], xmm0
cmp edi, eax
jne 0x100061a7
xor eax, eax
mov dword [ebp - 0xc40c], edx
mov dword [ebp - 0xc408], 7
mov word [ebp - 0xc41c], ax
jmp 0x1000626a
lea eax, [ebp - 0x5e]
sub eax, edi
sar eax, 1
mov dword [ebp - 0xc6e0], eax
cmp eax, 0x7ffffffe
ja 0x10006c51
cmp eax, 7
ja 0x100061f9
lea edi, [eax + eax]
mov dword [ebp - 0xc40c], eax
push edi
push dword [ebp - 0xc6d4]
lea eax, [ebp - 0xc41c]
mov dword [ebp - 0xc408], 7
push eax
call fcn.100bd0e0
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0xc41c], ax
jmp 0x1000626a
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1000620a
mov eax, bind
jmp 0x10006215
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xc6d8], eax
lea eax, [ebp - 0xc6d8]
push eax
lea eax, [ebp - 0xc41c]
push eax
call fcn.10003ac0
mov edi, dword [ebp - 0xc6e0]
mov ecx, dword [ebp - 0xc6d8]
mov dword [ebp - 0xc40c], edi
add edi, edi
push edi
push dword [ebp - 0xc6d4]
mov dword [ebp - 0xc41c], eax
push eax
mov dword [ebp - 0xc408], ecx
call fcn.100bd0e0
mov eax, dword [ebp - 0xc41c]
add esp, 0x14
xor ecx, ecx
mov word [edi + eax], cx
lea eax, [ebp - 0xc6d8]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xc44c]
mov dword [ebp - 0xc6d8], 0x17
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0xc44c], xmm0
call fcn.10003ac0
movups xmm0, xmmword [str..pipeLUNA_HOST]
mov ecx, dword [ebp - 0xc6d8]
mov edx, eax
add esp, 8
mov dword [ebp - 0xc44c], edx
mov dword [ebp - 0xc43c], 0x12
mov dword [ebp - 0xc438], ecx
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x100f15e8]
movups xmmword [edx + 0x10], xmm0
mov eax, dword [0x100f15f8]
mov dword [edx + 0x20], eax
xor eax, eax
mov word [edx + 0x24], ax
lea eax, [ebp - 0xc41c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xc44c]
push eax
push dword [ebp - 0xc6ec]
lea ecx, [ebp - 0xc434]
call fcn.10004600
cmp dword [ebp - 0xc420], 7
lea eax, [ebp - 0xc434]
push 0
cmova eax, dword [ebp - 0xc434]
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 - 0xc6e8], esi
test ecx, ecx
je 0x10006347
cmp ecx, 0xffffffff
je 0x10006347
push ecx
call dword [0x100f15ac]
mov ecx, dword [ebp - 0xc420]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1000638b
mov edx, dword [ebp - 0xc434]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006381
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c4c
push ecx
push edx
call fcn.100bb53a
add esp, 8
mov ecx, dword [ebp - 0xc438]
xor eax, eax
mov dword [ebp - 0xc424], 0
mov dword [ebp - 0xc420], 7
mov word [ebp - 0xc434], ax
mov byte [ebp - 4], 6
cmp ecx, 7
jbe 0x100063ec
mov edx, dword [ebp - 0xc44c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100063e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c4c
push ecx
push edx
call fcn.100bb53a
add esp, 8
mov ecx, dword [ebp - 0xc408]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x10006430
mov edx, dword [ebp - 0xc41c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006426
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c4c
push ecx
push edx
call fcn.100bb53a
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea edi, [ebp - 0x8a]
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 0x10006440
lea eax, [ebp - 0x8a]
mov dword [ebp - 0xc6d4], edi
mov dword [ebp - 0xc40c], edx
xorps xmm0, xmm0
mov dword [ebp - 0xc408], edx
movups xmmword [ebp - 0xc41c], xmm0
cmp edi, eax
jne 0x100064a4
xor eax, eax
mov dword [ebp - 0xc40c], edx
mov dword [ebp - 0xc408], 7
mov word [ebp - 0xc41c], ax
jmp 0x1000656a
lea eax, [ebp - 0x8a]
sub eax, edi
sar eax, 1
mov dword [ebp - 0xc6e0], eax
cmp eax, 0x7ffffffe
ja 0x10006c51
cmp eax, 7
ja 0x100064f9
lea edi, [eax + eax]
mov dword [ebp - 0xc40c], eax
push edi
push dword [ebp - 0xc6d4]
lea eax, [ebp - 0xc41c]
mov dword [ebp - 0xc408], 7
push eax
call fcn.100bd0e0
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0xc41c], ax
jmp 0x1000656a
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1000650a
mov eax, bind
jmp 0x10006515
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0xc6d8], eax
lea eax, [ebp - 0xc6d8]
push eax
lea eax, [ebp - 0xc41c]
push eax
call fcn.10003ac0
mov edi, dword [ebp - 0xc6e0]
mov ecx, dword [ebp - 0xc6d8]
mov dword [ebp - 0xc40c], edi
add edi, edi
push edi
push dword [ebp - 0xc6d4]
mov dword [ebp - 0xc41c], eax
push eax
mov dword [ebp - 0xc408], ecx
call fcn.100bd0e0
mov eax, dword [ebp - 0xc41c]
add esp, 0x14
xor ecx, ecx
mov word [eax + edi], cx
lea eax, [ebp - 0xc6d8]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xc44c]
mov dword [ebp - 0xc6d8], 0x17
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0xc44c], xmm0
call fcn.10003ac0
movups xmm0, xmmword [str..pipeLUNA_HOOK]
mov ecx, dword [ebp - 0xc6d8]
mov edx, eax
add esp, 8
mov dword [ebp - 0xc44c], edx
mov dword [ebp - 0xc43c], 0x12
mov dword [ebp - 0xc438], ecx
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x100f15c0]
movups xmmword [edx + 0x10], xmm0
mov eax, dword [0x100f15d0]
mov dword [edx + 0x20], eax
xor eax, eax
mov word [edx + 0x24], ax
lea eax, [ebp - 0xc41c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xc44c]
push eax
push dword [ebp - 0xc6ec]
lea ecx, [ebp - 0xc434]
call fcn.10004600
or dword [ebp - 0xc6e4], 0x1fc
lea eax, [ebp - 0xc434]
cmp dword [ebp - 0xc420], 7
push 0
cmova eax, dword [ebp - 0xc434]
push 0x80
push 3
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [0x101182b8]
mov byte [ebp - 4], 0xc
mov dword [0x101182b8], eax
test ecx, ecx
je 0x10006652
cmp ecx, 0xffffffff
je 0x10006652
push ecx
call dword [0x100f15ac]
mov ecx, dword [ebp - 0xc420]
mov byte [ebp - 4], 0xb
cmp ecx, 7
jbe 0x10006696
mov edx, dword [ebp - 0xc434]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000668c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c4c
push ecx
push edx
call fcn.100bb53a
add esp, 8
mov ecx, dword [ebp - 0xc438]
xor eax, eax
mov dword [ebp - 0xc424], 0
mov dword [ebp - 0xc420], 7
mov word [ebp - 0xc434], ax
mov byte [ebp - 4], 0xa
cmp ecx, 7
jbe 0x100066f7
mov edx, dword [ebp - 0xc44c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100066ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c4c
push ecx
push edx
call fcn.100bb53a
add esp, 8
mov ecx, dword [ebp - 0xc408]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x10005e18
mov edx, dword [ebp - 0xc41c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000673b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c4c
push ecx
push edx
call fcn.100bb53a
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 8
jmp 0x10005e18
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
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
mov dword [ebp - 0xc404], eax
lea eax, [ebp - 0xc6f0]
push eax
push 4
lea eax, [ebp - 0xc404]
push eax
push dword [0x101182b8]
call edi
xor eax, eax
mov dword [ebp - 0x18], 0x10006
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc6f0]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push dword [0x101182b8]
call edi
push str.pipe_connected
call fcn.10004ed0
add esp, 4
call fcn.1007b210
mov byte [0x1011ec65], 1
nop
push 0
lea eax, [ebp - 0xc6f0]
push eax
push 0xc350
lea eax, [ebp - 0xc404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10006b96
mov eax, dword [ebp - 0xc404]
cmp eax, 6
ja case.0x10006803.3
jmp dword [eax*4 + 0x10006c58]
mov eax, dword [0x1011ec68]
lea esi, [ebp - 0xc404]
mov ecx, 0x282
lea edi, [ebp - 0xd0f8]
add eax, 1
rep movsd dword es:[edi], dword [esi]
mov dword [0x1011ec68], eax
jns 0x10006842
neg eax
push eax
lea eax, [ebp - 0x1b]
push eax
call fcn.10004390
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x1000684f
push eax
lea eax, [ebp - 0x1b]
push eax
call fcn.10004390
add esp, 8
lea ecx, [ebp - 0x1b]
mov dword [ebp - 0xc6d4], eax
mov dword [ebp - 0xc40c], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc408], 0
movups xmmword [ebp - 0xc41c], xmm0
cmp eax, ecx
jne 0x1000689a
mov dword [ebp - 0xc40c], 0
mov dword [ebp - 0xc408], 0xf
mov byte [ebp - 0xc41c], 0
jmp 0x10006940
lea edi, [ebp - 0x1b]
sub edi, eax
cmp edi, 0x7fffffff
ja 0x10006c51
cmp edi, 0xf
ja 0x100068db
push edi
push eax
lea eax, [ebp - 0xc41c]
mov dword [ebp - 0xc40c], edi
push eax
mov dword [ebp - 0xc408], 0xf
call fcn.100bd0e0
add esp, 0xc
mov byte [ebp + edi - 0xc41c], 0
jmp 0x10006940
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x100068ee
mov eax, closesocket
jmp 0x100068f9
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0xc6d8], eax
lea eax, [ebp - 0xc6d8]
push eax
lea eax, [ebp - 0xc41c]
push eax
call fcn.10003a60
mov ecx, dword [ebp - 0xc6d8]
mov esi, eax
push edi
push dword [ebp - 0xc6d4]
mov dword [ebp - 0xc41c], esi
push esi
mov dword [ebp - 0xc40c], edi
mov dword [ebp - 0xc408], ecx
call fcn.100bd0e0
add esp, 0x14
mov byte [esi + edi], 0
mov esi, dword [ebp - 0xc6e4]
or esi, 0x600
push 8
push str.UserHook
push 0
lea ecx, [ebp - 0xc41c]
mov byte [ebp - 4], 0xe
call fcn.10007c70
mov dword [ebp - 0xc424], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xc434], xmm0
mov dword [ebp - 0xc420], 0
or esi, 0x800
movups xmm0, xmmword [eax]
mov dword [ebp - 0xc6e4], esi
movups xmmword [ebp - 0xc434], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc424], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0xc420], 0xf
lea eax, [ebp - 0xc434]
mov ecx, 0x280
mov byte [ebp - 4], 0xf
cmova eax, dword [ebp - 0xc434]
lea esi, [ebp - 0xd0f0]
push eax
sub esp, 0xa00
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10005170
mov ecx, dword [ebp - 0xc420]
add esp, 0xa04
mov byte [ebp - 4], 0xe
cmp ecx, 0xf
jbe 0x10006a2d
mov edx, dword [ebp - 0xc434]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006a23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c4c
push ecx
push edx
call fcn.100bb53a
add esp, 8
mov ecx, dword [ebp - 0xc408]
mov dword [ebp - 0xc424], 0
mov dword [ebp - 0xc420], 0xf
mov byte [ebp - 0xc434], 0
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x10006b7a
mov edx, dword [ebp - 0xc41c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006a80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c4c
push ecx
push edx
call fcn.100bb53a
add esp, 8
jmp 0x10006b7a
mov eax, dword [ebp - 0xc400]
test eax, eax
jne 0x10006aa3
call fcn.100887d0
jmp case.0x10006803.3
cmp eax, 1
jne case.0x10006803.3
push 0
call fcn.10088d10
add esp, 4
jmp case.0x10006803.3
mov ecx, dword [0x1011eb9c]
lea eax, [ecx + 0x68fb00]
mov dword [ebp - 0xc6e0], eax
cmp ecx, eax
je case.0x10006803.3
nop word [eax + eax]
mov edi, dword [ecx + 0xa00]
sub edi, dword [ebp - 0xc3fc]
mov eax, dword [ecx + 0xa04]
sbb eax, dword [ebp - 0xc3f8]
cdq
xor eax, edx
xor edi, edx
sub edi, edx
sbb eax, edx
mov dword [ebp - 0xc6d8], eax
js 0x10006b1f
jg 0x10006b0f
test edi, edi
je 0x10006b1f
add ecx, 0xac0
cmp ecx, dword [ebp - 0xc6e0]
jne 0x10006ae0
jmp case.0x10006803.3
call fcn.100089c0
jmp case.0x10006803.3
cmp word [ebp - 0xc1c4], 0
lea esi, [ebp - 0xc404]
mov ecx, 0xa0
lea edi, [ebp - 0xc6cc]
rep movsd dword es:[edi], dword [esi]
je 0x10006b5a
push dword [ebp - 0xc3c4]
lea eax, [ebp - 0xc48c]
push eax
call fcn.1000ba30
add esp, 8
jmp 0x10006b7a
sub esp, 0x278
lea esi, [ebp - 0xc3fc]
mov ecx, 0x9e
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.1000b730
add esp, 0x278
mov esi, dword [ebp - 0xc6e8]
cmp byte [ebp - 0xc6cd], 0
jne 0x100067d0
jmp 0x10006b96
mov byte [ebp - 0xc6cd], 0
push esi
mov dword [ebp - 4], 0x10
call dword [0x100f15ac]
mov eax, dword [0x101182b8]
mov dword [ebp - 4], 0
mov dword [0x101182b8], 0xffffffff
test eax, eax
je 0x10006bca
cmp eax, 0xffffffff
je 0x10006bca
push eax
call dword [0x100f15ac]
cmp byte [ebp - 0xc6cd], 0
mov dword [ebp - 4], 0xffffffff
jne 0x10005de2
cmp byte [0x1011ec64], 0
je 0x10006c12
push 0
mov byte [0x1011ec65], 0
call fcn.10005da0
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.100bb862
mov esp, ebp
pop ebp
ret 4
call fcn.100856a0
mov esi, dword [0x1011eb9c]
lea edi, [esi + 0x68fb00]
cmp esi, edi
je 0x10006c38
mov ecx, esi
call fcn.100089c0
add esi, 0xac0
cmp esi, edi
jne 0x10006c27
push 0
push str.LunaHook32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
call fcn.100c771f
call fcn.10007860
nop
or ch, byte [eax]
adc byte [ebx + 638582890], bh
imul eax, dword [eax], 0x10
sub byte [ebx], 0x10
sub byte [ebx], 16
invalid