Function at 0x1000a030
Capabilities:
Encode data using xor
Get file size
Query or enumerate registry value
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x410], edi
call fcn.100032d0
push ecx
lea eax, [edi + 0x4e2c]
push eax
push str..DataLocalAntihack.bmd
lea ecx, [ebp - 0x40c]
call fcn.10003400
test al, al
je 0x1000a0ad
push 0
push 0x20
push 3
push 0
push 1
push connect
push str..DataLocalAntihack.bmd
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000a0ad
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4e28
je 0x1000a0c2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000c666
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0
push eax
push 0x4e28
lea esi, [edi + 4]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000a0a6
mov ecx, 0x4e28
nop
mov al, byte [esi]
lea esi, [esi + 1]
add al, 0x78
xor al, 0xb3
mov byte [esi - 1], al
sub ecx, 1
jne 0x1000a0f0
lea eax, [ebp - 0x414]
push eax
push 0xf003f
push ecx
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000a180
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], 1
push eax
push 0x10130cfc
lea eax, [ebp - 0x420]
mov dword [ebp - 0x41c], 0x10
push eax
push 0
push str.LangSelection
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1000a174
push 0x1002b0cc
push 0x10
push 0x10130cfc
call fcn.1001033b
add esp, 0xc
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi + 0xd4]
mov edx, 0x32
nop dword [eax + eax]
mov ecx, 0x21
lea edi, [ebp - 0x90]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x90]
cmp ecx, 0x31
ja 0x1000a1c3
imul edi, ecx, 0x84
lea esi, [ebp - 0x90]
mov ecx, 0x21
add edi, 0x10130d8c
rep movsd dword es:[edi], dword [esi]
add eax, 0x84
sub edx, 1
jne 0x1000a190
mov eax, dword [ebp - 0x410]
mov edx, 0x32
add eax, 0x1a9c
nop dword [eax]
mov ecx, 0x21
lea edi, [ebp - 0x90]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x90]
cmp ecx, 0x31
ja 0x1000a213
imul edi, ecx, 0x84
lea esi, [ebp - 0x90]
mov ecx, 0x21
add edi, 0x10132754
rep movsd dword es:[edi], dword [esi]
add eax, 0x84
sub edx, 1
jne 0x1000a1e0
mov eax, dword [ebp - 0x410]
mov edx, 0x32
add eax, 0x3464
nop dword [eax]
mov ecx, 0x21
lea edi, [ebp - 0x90]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x90]
cmp ecx, 0x31
ja 0x1000a263
imul edi, ecx, 0x84
lea esi, [ebp - 0x90]
mov ecx, 0x21
add edi, 0x1013411c
rep movsd dword es:[edi], dword [esi]
add eax, 0x84
sub edx, 1
jne 0x1000a230
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov byte [eax + 0x4e30], 0
xor ecx, ebp
mov dword [eax + 0x4e34], 0
mov al, 1
pop ebx
call fcn.1000c666
mov esp, ebp
pop ebp
ret 4