joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ecf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x52610c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [0x52e9a0]
mov ebx, ecx
mov ecx, dword [0x52e9a4]
push edi
mov edi, edx
test esi, esi
jne 0x42ed83
test ecx, ecx
jne 0x42ed83
movaps xmm0, xmmword [0x50cb70]
xor eax, eax
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0x644c6d60
mov dword [esp + 0x34], 0x78736e6c
mov byte [esp + 0x38], cl
mov cl, byte [esp + eax + 0x21]
xor cl, byte [esp + 0x20]
mov byte [esp + eax + 0x39], cl
inc eax
cmp eax, 0x17
jb 0x42ed41
mov byte [esp + 0x50], 0
call fcn.0042e5a0
push edx
push eax
lea ecx, [esp + 0x41]
call fcn.0042ec10
mov esi, eax
add esp, 8
mov dword [0x52e9a0], esi
mov ecx, edx
mov dword [0x52e9a4], ecx
test esi, esi
jne 0x42ed83
test ecx, ecx
je 0x42edf3
push 0
push dword [ebp + 0x14]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edi
push 0
push 0x3000
cdq
xorps xmm0, xmm0
push edx
push eax
push 0
push 0
lea eax, [esp + 0x30]
movlpd qword [esp + 0x30], xmm0
cdq
push edx
push eax
mov eax, ebx
mov dword [esp + 0x44], 0
cdq
push edx
push eax
push 6
push ecx
push esi
call fcn.0042dce0
add esp, 0x3c
test eax, eax
jne 0x42ede9
test edx, edx
jne 0x42ede9
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004a0535
mov esp, ebp
pop ebp
ret
push edx
push eax
call fcn.0042ea80
add esp, 8
mov ecx, dword [esp + 0x54]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
xor edx, edx
call fcn.004a0535
mov esp, ebp
pop ebp
ret

Function at 0x42ee10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x52e9a8]
mov ebx, ecx
mov ecx, dword [0x52e9ac]
push edi
mov edi, edx
test esi, esi
jne 0x42ee91
test ecx, ecx
jne 0x42ee91
movaps xmm0, xmmword [str.x6_f__n]
xor eax, eax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x10a1715
mov byte [ebp - 0x1c], cl
mov cl, byte [ebp + eax - 0x2f]
xor cl, byte [ebp - 0x30]
mov byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0x13
jb 0x42ee52
mov byte [ebp - 8], 0
call fcn.0042e5a0
push edx
push eax
lea ecx, [ebp - 0x1b]
call fcn.0042ec10
mov esi, eax
add esp, 8
mov dword [0x52e9a8], esi
mov ecx, edx
mov dword [0x52e9ac], ecx
test esi, esi
jne 0x42ee91
test ecx, ecx
je 0x42eef1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x38]
push 0x3000
cdq
push edx
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], edi
cdq
push edx
push eax
mov eax, ebx
mov dword [ebp - 0x34], 0
cdq
push edx
push eax
push 4
push ecx
push esi
call fcn.0042dce0
add esp, 0x2c
test eax, eax
jne 0x42eee7
test edx, edx
jne 0x42eee7
lea eax, [edx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret
push edx
push eax
call fcn.0042ea80
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0535
mov esp, ebp
pop ebp
ret
Function at 0x42ef10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x52610c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, dword [0x52e988]
mov ebx, edx
push edi
mov edi, ecx
mov ecx, dword [0x52e98c]
test esi, esi
jne 0x42efa2
test ecx, ecx
jne 0x42efa2
movaps xmm0, xmmword [0x50cb40]
xor eax, eax
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0x4e535159
mov word [esp + 0x2c], 0x45
nop dword [eax]
mov cl, byte [esp + eax + 0x19]
xor cl, byte [esp + 0x18]
mov byte [esp + eax + 0x2e], cl
inc eax
cmp eax, 0x14
jb 0x42ef60
mov byte [esp + 0x42], 0
call fcn.0042e5a0
push edx
push eax
lea ecx, [esp + 0x36]
call fcn.0042ec10
mov esi, eax
add esp, 8
mov dword [0x52e988], esi
mov ecx, edx
mov dword [0x52e98c], ecx
test esi, esi
jne 0x42efa2
test ecx, ecx
je 0x42effa
lea eax, [esp + 0x10]
xorps xmm0, xmm0
cdq
push edx
push eax
push 0
push dword [ebp + 0x10]
mov eax, ebx
movlpd qword [esp + 0x20], xmm0
cdq
push edx
push eax
push dword [ebp + 0xc]
mov eax, edi
push dword [ebp + 8]
cdq
push edx
push eax
push 5
push ecx
push esi
call fcn.0042dce0
add esp, 0x34
test eax, eax
jne 0x42eff0
test edx, edx
jne 0x42eff0
lea eax, [edx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004a0535
mov esp, ebp
pop ebp
ret
push edx
push eax
call fcn.0042ea80
add esp, 8
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a0535
mov esp, ebp
pop ebp
ret

Function at 0x42f090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
mov ecx, 0x7fed7fed
push edi
mov edi, 0xeeeeeeee
cmp dword [ebp + 0x10], ebx
jbe 0x42f0e9
mov edx, dword [ebp + 8]
shl edx, 8
mov dword [ebp + 8], edx
mov dword [ebp - 4], 0x500
push esi
mov eax, dword [ebp + 0xc]
add ecx, edi
mov al, byte [ebx + eax]
inc ebx
movsx esi, al
lea eax, [esi + edx]
cdq
idiv dword [ebp - 4]
mov eax, edi
shl eax, 5
add eax, esi
add eax, edi
xor ecx, dword [edx*4 + 0x502798]
mov edx, dword [ebp + 8]
lea edi, [ecx + 3]
add edi, eax
cmp ebx, dword [ebp + 0x10]
jb 0x42f0b8
pop esi
pop edi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43f6c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e885d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x52610c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea ebx, [edi + 0x10]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push 0
mov ecx, ebx
mov dword [ebp - 0x14], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.00427ee0
mov dword [ebx + 0xc], 0
lea esi, [edi + 0x20]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
push 0
mov ecx, esi
mov dword [ebp - 0x14], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00427ee0
mov dword [esi + 0xc], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x43f7ae
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.00445e00
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
mov byte [ebp - 0xd], 1
call fcn.004428c0
mov dword [ebp - 4], 7
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x43f7f8
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x450230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9dbf
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x52610c]
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, ecx
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xd0], edi
call fcn.004515f0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edi], vtable.CGame_BE.0
mov edx, 0x59
mov dword [ebp - 0x4c], 0x1b0059
mov dword [ebp - 0x48], 0xa001c
mov dword [ebp - 0x44], 0x2b003c
mov dword [ebp - 0x40], 0x30002f
mov dword [ebp - 0x3c], 0x3c003a
mov dword [ebp - 0x38], 0x3c0077
mov dword [ebp - 0x34], 0x3c0021
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 1
xor ecx, ecx
nop
mov ax, word [ebp + ecx*2 - 0x4a]
xor ax, dx
mov word [ebp + ecx*2 - 0x2e], ax
inc ecx
cmp ecx, 0xd
jae 0x4502d9
mov dx, word [ebp - 0x4c]
jmp 0x4502c0
xor eax, eax
mov dword [ebp - 0xb4], 7
mov word [ebp - 0x14], ax
mov dword [ebp - 0xb8], eax
mov word [ebp - 0xc8], ax
cmp word [ebp - 0x2e], ax
jne 0x450300
xor ecx, ecx
jmp 0x450315
lea ecx, [ebp - 0x2e]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450306
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2e]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00403e20
xorps xmm0, xmm0
mov dword [ebp - 0x32], 0
xor eax, eax
movq qword [ebp - 0x3a], xmm0
movups xmmword [ebp - 0x4a], xmm0
mov edx, 0x54
mov dword [ebp - 0x98], 0x160054
mov dword [ebp - 0x94], 0x70011
mov dword [ebp - 0x90], 0x260031
mov dword [ebp - 0x8c], 0x3d0022
mov dword [ebp - 0x88], 0x310037
mov dword [ebp - 0x84], 0x23000b
mov dword [ebp - 0x80], 0x670030
mov dword [ebp - 0x7c], 0x31007a
mov dword [ebp - 0x78], 0x31002c
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 4
xor ecx, ecx
nop word [eax + eax]
mov ax, word [ebp + ecx*2 - 0x96]
xor ax, dx
mov word [ebp + ecx*2 - 0x72], ax
inc ecx
cmp ecx, 0x11
jae 0x4503bf
mov dx, word [ebp - 0x98]
jmp 0x4503a0
xor eax, eax
mov dword [ebp - 0x9c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 0xa0], eax
mov word [ebp - 0xb0], ax
cmp word [ebp - 0x72], ax
je 0x4503ff
lea eax, [ebp - 0x72]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4503f0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x72]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00403e20
xorps xmm0, xmm0
mov dword [ebp - 0x76], 0
movups xmmword [ebp - 0x96], xmm0
movups xmmword [ebp - 0x86], xmm0
mov byte [ebp - 4], 5
push dword [ebp - 0xd0]
mov edx, dword [edi + 8]
push ecx
mov ecx, dword [edi + 4]
call fcn.00422570
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
add esp, 8
mov dword [edi + 8], eax
mov byte [ebp - 0xcc], 0
lea eax, [ebp - 0x98]
push dword [ebp - 0xcc]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0043de30
push fcn.00404060
push 2
push 0x18
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0
push eax
call fcn.004a0a92
mov eax, edi
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.004a0535
mov esp, ebp
pop ebp
ret
Function at 0x453d80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea423
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
cmp esi, edi
je 0x453e92
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403ab0
mov dword [ebp - 4], 0
lea ebx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae ebx, dword [ebp - 0x28]
push 0xf
mov dword [ebp - 0x25c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x25c], eax
push ecx
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 1
push eax
push ebx
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x258], 0x22c
call fcn.00418850
test eax, eax
je 0x453e4f
push dword [ebp - 0x250]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x453e4f
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x25c]
cmp eax, 0xffffffff
je 0x453e6b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x25c], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x453e87
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403f90
add esi, 0x18
cmp esi, edi
jne 0x453dc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret
Function at 0x4591a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaf19
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x50c880]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0xb8], 0
movaps xmm0, xmmword [0x50c8c0]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x752e232f
mov dword [ebp - 0x48], 0x2f272b2d
mov dword [ebp - 0x44], 0x772e03
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0
call fcn.00477170
mov edx, eax
mov byte [ebp - 4], 1
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x6b]
xor al, byte [ebp - 0x6c]
mov byte [ebp + ecx - 0x40], al
movzx eax, byte [ebp + ecx - 0x6a]
xor al, byte [ebp - 0x6c]
mov byte [ebp + ecx - 0x3f], al
movzx eax, byte [ebp + ecx - 0x69]
xor al, byte [ebp - 0x6c]
mov byte [ebp + ecx - 0x3e], al
movzx eax, byte [ebp + ecx - 0x68]
xor al, byte [ebp - 0x6c]
mov byte [ebp + ecx - 0x3d], al
movzx eax, byte [ebp + ecx - 0x67]
xor al, byte [ebp - 0x6c]
mov byte [ebp + ecx - 0x3c], al
movzx eax, byte [ebp + ecx - 0x66]
xor al, byte [ebp - 0x6c]
mov byte [ebp + ecx - 0x3b], al
add ecx, 6
cmp ecx, 0x2a
jb 0x459222
lea eax, [ebp - 0x40]
mov byte [ebp - 0x16], 0
push eax
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.00407900
push edi
push eax
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 2
push eax
call fcn.0044acb0
add esp, 0x14
mov byte [ebp - 4], 3
push eax
push esi
call fcn.00458320
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x4592c2
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.004099a0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
cmp eax, 0x10
jb 0x4592f5
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.004099a0
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x9c], 0
cmp ecx, 0x10
jb 0x45932e
inc ecx
push ecx
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xb4]
call fcn.004099a0
mov eax, esi
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.004a0535
mov esp, ebp
pop ebp
ret 8
Function at 0x45a3e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb226
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x50]
mov edi, dword [ebp + 0xc]
push 0x40
push 0
push eax
mov dword [ebp - 0xbc], 0
call fcn.004b9940
add esp, 0xc
mov dword [ebp - 0x88], 0x3b2c3f49
mov dword [ebp - 0x84], 0x2726203a
mov dword [ebp - 0x80], 0x3d282d67
mov byte [ebp - 0x7c], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0
call fcn.004782b0
mov edx, eax
mov byte [ebp - 4], 1
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x87]
xor al, byte [ebp - 0x88]
mov byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0xb
jb 0x45a470
lea eax, [ebp - 0x7b]
mov byte [ebp - 0x70], 0
push eax
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00407900
mov ebx, eax
mov dword [ebp - 0x6c], 0x777b7d1a
add esp, 0xc
mov dword [ebp - 0x68], 0x6e7f5e7f
mov dword [ebp - 0x64], 0x6976737b
mov dl, 0x1a
mov byte [ebp - 0x60], 0
cmp dword [ebx + 0x14], 0x10
jb 0x45a4c4
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 0x10
jb 0x45a4cc
mov edi, dword [edi]
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x6b]
xor al, dl
mov byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xb
jae 0x45a4e5
mov dl, byte [ebp - 0x6c]
jmp 0x45a4d0
push ebx
push 0x40
lea eax, [ebp - 0x50]
mov byte [ebp - 0x54], 0
push eax
push 0x507250
push edi
lea eax, [ebp - 0x5f]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x8c]
xorps xmm0, xmm0
movq qword [ebp - 0x6b], xmm0
mov dword [ebp - 0x63], 0
cmp eax, 0x10
jb 0x45a52d
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004099a0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x45a566
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.004099a0
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x50], 0
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
movq qword [ebp - 0x87], xmm0
mov dword [ebp - 0x7f], 0
jne 0x45a5b5
xor ecx, ecx
jmp 0x45a5c9
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a5c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.00409af0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret 8
Function at 0x45a830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb2a0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x48], 0x71667503
mov dword [ebp - 0x44], 0x6d6c6a70
mov dword [ebp - 0x40], 0x7762672d
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.004782b0
mov byte [ebp - 4], 1
xor edx, edx
nop
mov cl, byte [ebp + edx - 0x47]
xor cl, byte [ebp - 0x48]
mov byte [ebp + edx - 0x3b], cl
inc edx
cmp edx, 0xb
jb 0x45a890
lea ecx, [ebp - 0x3b]
mov byte [ebp - 0x30], 0
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00407900
mov ebx, eax
mov dword [ebp - 0x2c], 0x7d717710
add esp, 0xc
mov dword [ebp - 0x28], 0x64755475
mov dword [ebp - 0x24], 0x637c7971
mov dl, 0x10
mov byte [ebp - 0x20], 0
cmp dword [ebx + 0x14], 0x10
jb 0x45a8db
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x45a8e3
mov esi, dword [esi]
cmp dword [edi + 0x14], 0x10
jb 0x45a8eb
mov edi, dword [edi]
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x2b]
xor al, dl
mov byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xb
jae 0x45a905
mov dl, byte [ebp - 0x2c]
jmp 0x45a8f0
push ebx
push esi
push edi
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x14], 0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
movq qword [ebp - 0x2b], xmm0
mov dword [ebp - 0x23], 0
cmp eax, 0x10
jb 0x45a93a
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.004099a0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp eax, 0x10
jb 0x45a961
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.004099a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret 8
Function at 0x45c3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb536
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CGameBase.0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x44], esi
jb 0x45c3f3
mov eax, dword [ecx]
jmp 0x45c3f5
mov eax, ecx
mov byte [eax], 0
push 0
push 0x507250
mov dword [ebp - 4], 0
call fcn.00409af0
mov dword [ebp - 4], 1
mov dword [esi], vtable.CEpic.0
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
cmp dword [esi + 0x30], 0x10
jb 0x45c431
mov eax, dword [esi + 0x1c]
jmp 0x45c434
lea eax, [esi + 0x1c]
mov byte [eax], 0
movaps xmm0, xmmword [0x50c7d0]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x373d2411
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 3
xor ecx, ecx
mov al, byte [ebp + ecx - 0x3b]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x45c453
cmp byte [ebp - 0x27], 0
mov byte [ebp - 0x14], 0
jne 0x45c472
xor ecx, ecx
jmp 0x45c481
lea ecx, [ebp - 0x27]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c478
sub ecx, edi
push ecx
lea eax, [ebp - 0x27]
push eax
lea ecx, [esi + 0x1c]
call fcn.00409af0
mov eax, esi
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.004a0535
mov esp, ebp
pop ebp
ret
Function at 0x45fa80
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x10], 0
jbe 0x45fb87
movaps xmm0, xmmword [0x50c830]
xor ecx, ecx
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x171b3d26
mov dword [ebp - 0x28], 0xe1b2a1f
mov word [ebp - 0x24], 0x12
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x3b]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x22], al
movzx eax, byte [ebp + ecx - 0x3a]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x21], al
movzx eax, byte [ebp + ecx - 0x39]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x20], al
movzx eax, byte [ebp + ecx - 0x38]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x1f], al
movzx eax, byte [ebp + ecx - 0x37]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x1e], al
movzx eax, byte [ebp + ecx - 0x36]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x1d], al
add ecx, 6
cmp ecx, 0x18
jb 0x45fad0
lea eax, [ebp - 0x58]
mov byte [ebp - 0xa], 0
push eax
lea eax, [ebp - 0x22]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x45fb87
mov eax, dword [edi]
lea ecx, [ebp - 0x54]
push ecx
mov ecx, edi
call dword [eax + 8]
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x45fb51
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x45fb59
mov eax, dword [eax]
push ecx
push esi
push 1
push 0
push eax
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x45fb7e
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.004099a0
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a0535
mov esp, ebp
pop ebp
ret 4