joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42eec0
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 0x42ef52
test ecx, ecx
jne 0x42ef52
movaps xmm0, xmmword [0x50c990]
xor eax, eax
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0x21f1d15
mov word [esp + 0x2c], 9
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 0x42ef10
mov byte [esp + 0x42], 0
call fcn.0042e550
push edx
push eax
lea ecx, [esp + 0x36]
call fcn.0042ebc0
mov esi, eax
add esp, 8
mov dword [0x52e988], esi
mov ecx, edx
mov dword [0x52e98c], ecx
test esi, esi
jne 0x42ef52
test ecx, ecx
je 0x42efaa
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.0042dc90
add esp, 0x34
test eax, eax
jne 0x42efa0
test edx, edx
jne 0x42efa0
lea eax, [edx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004a0475
mov esp, ebp
pop ebp
ret
push edx
push eax
call fcn.0042ea30
add esp, 8
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a0475
mov esp, ebp
pop ebp
ret

Function at 0x42f040
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 0x42f099
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 0x42f068
pop esi
pop edi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43f650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e878d
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 0x43f73e
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.00445d90
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
mov byte [ebp - 0xd], 1
call fcn.00442850
mov dword [ebp - 4], 7
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x43f788
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 0x4501c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9cef
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.00451580
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edi], vtable.CGame_BE.0
mov edx, 0x51
mov dword [ebp - 0x4c], 0x130051
mov dword [ebp - 0x48], 0x20014
mov dword [ebp - 0x44], 0x230034
mov dword [ebp - 0x40], 0x380027
mov dword [ebp - 0x3c], 0x340032
mov dword [ebp - 0x38], 0x34007f
mov dword [ebp - 0x34], 0x340029
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 0x450269
mov dx, word [ebp - 0x4c]
jmp 0x450250
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 0x450290
xor ecx, ecx
jmp 0x4502a5
lea ecx, [ebp - 0x2e]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450296
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, 0x22
mov dword [ebp - 0x98], 0x600022
mov dword [ebp - 0x94], 0x710067
mov dword [ebp - 0x90], 0x500047
mov dword [ebp - 0x8c], 0x4b0054
mov dword [ebp - 0x88], 0x470041
mov dword [ebp - 0x84], 0x55007d
mov dword [ebp - 0x80], 0x110046
mov dword [ebp - 0x7c], 0x47000c
mov dword [ebp - 0x78], 0x47005a
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 0x45034f
mov dx, word [ebp - 0x98]
jmp 0x450330
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
jne 0x450376
xor ecx, ecx
jmp 0x45038f
lea ecx, [ebp - 0x72]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450380
sub ecx, edx
sar ecx, 1
push ecx
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.0043ddc0
push fcn.00404060
push 2
push 0x18
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0
push eax
call fcn.004a09d2
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.004a0475
mov esp, ebp
pop ebp
ret
Function at 0x453d00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea353
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 0x453e12
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 0x453dcf
push dword [ebp - 0x250]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x453dcf
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x25c]
cmp eax, 0xffffffff
je 0x453deb
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 0x453e07
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403f90
add esi, 0x18
cmp esi, edi
jne 0x453d40
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.004a0475
mov esp, ebp
pop ebp
ret
Function at 0x459120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eae49
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 [0x50c7e0]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0xb8], 0
movaps xmm0, xmmword [0x50c800]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x5f040905
mov dword [ebp - 0x48], 0x50d0107
mov dword [ebp - 0x44], 0x5d0429
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0
call fcn.004770d0
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 0x4591a2
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.0044ac40
add esp, 0x14
mov byte [ebp - 4], 3
push eax
push esi
call fcn.004582a0
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x459242
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 0x459275
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 0x4592ae
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.004a0475
mov esp, ebp
pop ebp
ret 8
Function at 0x45a360
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb156
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.004b9880
add esp, 0xc
mov dword [ebp - 0x88], 0x35223147
mov dword [ebp - 0x84], 0x29282e34
mov dword [ebp - 0x80], 0x33262369
mov byte [ebp - 0x7c], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0
call fcn.00478210
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 0x45a3f0
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], 0x48444225
add esp, 0xc
mov dword [ebp - 0x68], 0x51406140
mov dword [ebp - 0x64], 0x56494c44
mov dl, 0x25
mov byte [ebp - 0x60], 0
cmp dword [ebx + 0x14], 0x10
jb 0x45a444
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 0x10
jb 0x45a44c
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 0x45a465
mov dl, byte [ebp - 0x6c]
jmp 0x45a450
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 0x45a4ad
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 0x45a4e6
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 0x45a535
xor ecx, ecx
jmp 0x45a549
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a540
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.004a0475
mov esp, ebp
pop ebp
ret 8
Function at 0x45a7b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb1d0
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], 0x64736016
mov dword [ebp - 0x44], 0x78797f65
mov dword [ebp - 0x40], 0x62777238
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.00478210
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 0x45a810
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], 0x1c101671
add esp, 0xc
mov dword [ebp - 0x28], 0x5143514
mov dword [ebp - 0x24], 0x21d1810
mov dl, 0x71
mov byte [ebp - 0x20], 0
cmp dword [ebx + 0x14], 0x10
jb 0x45a85b
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x45a863
mov esi, dword [esi]
cmp dword [edi + 0x14], 0x10
jb 0x45a86b
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 0x45a885
mov dl, byte [ebp - 0x2c]
jmp 0x45a870
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 0x45a8ba
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 0x45a8e1
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.004a0475
mov esp, ebp
pop ebp
ret 8
Function at 0x45c310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb466
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 0x45c363
mov eax, dword [ecx]
jmp 0x45c365
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 0x45c3a1
mov eax, dword [esi + 0x1c]
jmp 0x45c3a4
lea eax, [esi + 0x1c]
mov byte [eax], 0
movaps xmm0, xmmword [0x50cbf0]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x414b5267
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 0x45c3c3
cmp byte [ebp - 0x27], 0
mov byte [ebp - 0x14], 0
jne 0x45c3e2
xor ecx, ecx
jmp 0x45c3f1
lea ecx, [ebp - 0x27]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c3e8
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.004a0475
mov esp, ebp
pop ebp
ret
Function at 0x45f9f0
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 0x45faf7
movaps xmm0, xmmword [0x50c830]
xor ecx, ecx
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x1f13352e
mov dword [ebp - 0x28], 0x6132217
mov word [ebp - 0x24], 0x1a
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 0x45fa40
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 0x45faf7
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 0x45fac1
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x45fac9
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 0x45faee
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.004a0475
mov esp, ebp
pop ebp
ret 4
Function at 0x4605f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebab8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00460340
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x44]
mov esi, dword [edi]
cmp esi, edi
je 0x460790
nop
push 0xffffffffffffffff
push 0
lea ebx, [esi + 0x10]
mov dword [ebp - 0x18], 0xf
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00409690
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0x461410
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x34]
jne 0x460731
test ecx, ecx
je 0x4606c7
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041f030
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4606e0
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004099a0
cmp byte [esi + 0xd], 0
jne 0x460727
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x46070c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x460727
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x460700
jmp 0x460727
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x460725
cmp esi, dword [eax + 8]
jne 0x460725
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x460715
mov esi, eax
cmp esi, edi
jne 0x460640
jmp 0x46078d
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
cmp ebx, eax
je 0x46074a
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00409690
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
test ecx, ecx
je 0x460778
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041f030
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x46078d
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004099a0
mov edi, dword [ebp - 0x44]
push edi
push dword [edi]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
call fcn.0045e6f0
push dword [ebp - 0x44]
call fcn.004a04a0
add esp, 4
xor al, al
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.004a0475
mov esp, ebp
pop ebp
ret 4

Function at 0x461460
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push esi
push 0x461410
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, esi
pop esi
pop ebp
ret 4