joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459b40
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea756
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.004b8fe0
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.004779f0
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 0x459bd0
lea eax, [ebp - 0x7b]
mov byte [ebp - 0x70], 0
push eax
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.004078b0
mov ebx, eax
mov dword [ebp - 0x6c], 0x262a2c4b
add esp, 0xc
mov dword [ebp - 0x68], 0x3f2e0f2e
mov dword [ebp - 0x64], 0x3827222a
mov dl, 0x4b
mov byte [ebp - 0x60], 0
cmp dword [ebx + 0x14], 0x10
jb 0x459c24
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 0x10
jb 0x459c2c
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 0x459c45
mov dl, byte [ebp - 0x6c]
jmp 0x459c30
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 0x459c8d
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00409950
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x459cc6
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00409950
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 0x459d15
xor ecx, ecx
jmp 0x459d29
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459d20
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.00409aa0
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.0049fc55
mov esp, ebp
pop ebp
ret 8
Function at 0x459f90
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea7d0
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], 0x293e2d5b
mov dword [ebp - 0x44], 0x35343228
mov dword [ebp - 0x40], 0x2f3a3f75
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.004779f0
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 0x459ff0
lea ecx, [ebp - 0x3b]
mov byte [ebp - 0x30], 0
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004078b0
mov ebx, eax
mov dword [ebp - 0x2c], 0x39353354
add esp, 0xc
mov dword [ebp - 0x28], 0x20311031
mov dword [ebp - 0x24], 0x27383d35
mov dl, 0x54
mov byte [ebp - 0x20], 0
cmp dword [ebx + 0x14], 0x10
jb 0x45a03b
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x45a043
mov esi, dword [esi]
cmp dword [edi + 0x14], 0x10
jb 0x45a04b
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 0x45a065
mov dl, byte [ebp - 0x2c]
jmp 0x45a050
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 0x45a09a
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00409950
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp eax, 0x10
jb 0x45a0c1
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00409950
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.0049fc55
mov esp, ebp
pop ebp
ret 8
Function at 0x45baf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaa66
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 0x45bb43
mov eax, dword [ecx]
jmp 0x45bb45
mov eax, ecx
mov byte [eax], 0
push 0
push 0x507250
mov dword [ebp - 4], 0
call fcn.00409aa0
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 0x45bb81
mov eax, dword [esi + 0x1c]
jmp 0x45bb84
lea eax, [esi + 0x1c]
mov byte [eax], 0
movaps xmm0, xmmword [0x50c880]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x19130a3f
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 0x45bba3
cmp byte [ebp - 0x27], 0
mov byte [ebp - 0x14], 0
jne 0x45bbc2
xor ecx, ecx
jmp 0x45bbd1
lea ecx, [ebp - 0x27]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45bbc8
sub ecx, edi
push ecx
lea eax, [ebp - 0x27]
push eax
lea ecx, [esi + 0x1c]
call fcn.00409aa0
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.0049fc55
mov esp, ebp
pop ebp
ret
Function at 0x45cc00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eac38
mov eax, dword fs:[0]
push eax
sub esp, 0x64
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]
xor eax, eax
mov dword [ebp - 0x70], 0
mov edx, 0x59
mov dword [ebp - 0x6c], 0x1c0059
mov dword [ebp - 0x68], 0x300029
mov dword [ebp - 0x64], 0x1e003a
mov dword [ebp - 0x60], 0x340038
mov dword [ebp - 0x5c], 0x2a003c
mov dword [ebp - 0x58], 0x380015
mov dword [ebp - 0x54], 0x37002c
mov dword [ebp - 0x50], 0x31003a
mov dword [ebp - 0x4c], 0x2b003c
mov dword [ebp - 0x48], 0x3c0077
mov dword [ebp - 0x44], 0x3c0021
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
xor ecx, ecx
movzx eax, word [ebp + ecx*2 - 0x6a]
xor ax, dx
mov word [ebp + ecx*2 - 0x3e], ax
movzx eax, word [ebp + ecx*2 - 0x68]
xor ax, word [ebp - 0x6c]
mov word [ebp + ecx*2 - 0x3c], ax
movzx eax, word [ebp + ecx*2 - 0x66]
xor ax, word [ebp - 0x6c]
mov word [ebp + ecx*2 - 0x3a], ax
add ecx, 3
cmp ecx, 0x15
jae 0x45ccc9
mov dx, word [ebp - 0x6c]
jmp 0x45cc92
xor eax, eax
mov dword [esi + 0x14], 7
mov word [ebp - 0x14], ax
mov dword [esi + 0x10], eax
mov word [esi], ax
cmp word [ebp - 0x3e], ax
je 0x45ccff
lea eax, [ebp - 0x3e]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ccf0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x3e]
mov ecx, esi
push eax
call fcn.00403dd0
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.0049fc55
mov esp, ebp
pop ebp
ret 4
Function at 0x45f1e0
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 0x45f2e7
movaps xmm0, xmmword [0x50c9c0]
xor ecx, ecx
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x34381e05
mov dword [ebp - 0x28], 0x2d38093c
mov word [ebp - 0x24], 0x31
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 0x45f230
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 0x45f2e7
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 0x45f2b1
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x45f2b9
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 0x45f2de
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00409950
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.0049fc55
mov esp, ebp
pop ebp
ret 4
Function at 0x45fde0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb0b8
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.0045fb30
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x44]
mov esi, dword [edi]
cmp esi, edi
je 0x45ff80
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.00409640
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0x460c00
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 0x45ff21
test ecx, ecx
je 0x45feb7
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041eec0
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 0x45fed0
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409950
cmp byte [esi + 0xd], 0
jne 0x45ff17
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x45fefc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x45ff17
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x45fef0
jmp 0x45ff17
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x45ff15
cmp esi, dword [eax + 8]
jne 0x45ff15
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x45ff05
mov esi, eax
cmp esi, edi
jne 0x45fe30
jmp 0x45ff7d
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
cmp ebx, eax
je 0x45ff3a
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00409640
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
test ecx, ecx
je 0x45ff68
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041eec0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x45ff7d
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409950
mov edi, dword [ebp - 0x44]
push edi
push dword [edi]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
call fcn.0045dee0
push dword [ebp - 0x44]
call fcn.0049fc80
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.0049fc55
mov esp, ebp
pop ebp
ret 4

Function at 0x460c50
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push esi
push 0x460c00
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
Function at 0x465610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebc98
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], 0x5967731e
mov dword [ebp - 0x28], 0x6d7b737f
mov dword [ebp - 0x24], 0x6a7f7a30
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.004779f0
mov byte [ebp - 4], 1
xor edx, edx
nop word [eax + eax]
mov cl, byte [ebp + edx - 0x2b]
xor cl, byte [ebp - 0x2c]
mov byte [ebp + edx - 0x1f], cl
inc edx
cmp edx, 0xb
jb 0x465670
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x14], 0
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004078b0
add esp, 0xc
mov edx, esi
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.00420710
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4656b8
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00409950
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x4656df
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00409950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret 4

Function at 0x465700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebcd8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x2c], 0x46786c01
mov dword [ebp - 0x28], 0x72646c60
mov dword [ebp - 0x24], 0x7560652f
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.004779f0
mov edx, eax
mov byte [ebp - 4], 1
xor ecx, ecx
mov al, byte [ebp + ecx - 0x2b]
xor al, byte [ebp - 0x2c]
mov byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xb
jb 0x465763
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x14], 0
push eax
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.004078b0
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00420410
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4657ab
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00409950
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x4657d2
inc ecx
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
call fcn.00409950
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret 4
Function at 0x46bc00
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [str.f5__214:3]
mov edx, dword [ebp + 8]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x98], 0
movaps xmm0, xmmword [0x50c770]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 4
mov dword [ebp - 0xa4], 4
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x3a150a0a
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x7b]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x57], al
movzx eax, byte [ebp + ecx - 0x7a]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x56], al
movzx eax, byte [ebp + ecx - 0x79]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x55], al
movzx eax, byte [ebp + ecx - 0x78]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x54], al
movzx eax, byte [ebp + ecx - 0x77]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x53], al
add ecx, 5
cmp ecx, 0x23
jb 0x46bc80
push edx
lea eax, [ebp - 0x57]
mov byte [ebp - 0x34], 0
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0040e720
add esp, 0xc
lea ecx, [ebp - 0x98]
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push ecx
push 0x20019
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46bdaf
mov cl, 0x55
mov dword [ebp - 0x30], 0x263b1c55
mov dword [ebp - 0x2c], 0x39393421
xor edx, edx
mov dword [ebp - 0x28], 0x21342106
mov word [ebp - 0x24], 0x30
nop
movzx eax, byte [ebp + edx - 0x2f]
xor al, cl
mov byte [ebp + edx - 0x22], al
movzx eax, byte [ebp + edx - 0x2e]
xor al, byte [ebp - 0x30]
mov byte [ebp + edx - 0x21], al
movzx eax, byte [ebp + edx - 0x2d]
xor al, byte [ebp - 0x30]
mov byte [ebp + edx - 0x20], al
movzx eax, byte [ebp + edx - 0x2c]
xor al, byte [ebp - 0x30]
mov byte [ebp + edx - 0x1f], al
movzx eax, byte [ebp + edx - 0x2b]
xor al, byte [ebp - 0x30]
mov byte [ebp + edx - 0x1e], al
movzx eax, byte [ebp + edx - 0x2a]
xor al, byte [ebp - 0x30]
mov byte [ebp + edx - 0x1d], al
add edx, 6
cmp edx, 0xc
jae 0x46bd84
mov cl, byte [ebp - 0x30]
jmp 0x46bd30
lea eax, [ebp - 0xa0]
mov byte [ebp - 0x16], 0
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0
lea eax, [ebp - 0x22]
push eax
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x46bdca
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.00409950
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x46bddb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret 4
Function at 0x476c40
Capabilities:
Encode data using xor
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed810
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0x44363618
mov dword [ebp - 0x2c], 0x7e76777b
mov dword [ebp - 0x28], 0x71367f71
mov word [ebp - 0x24], 0x7176
mov byte [ebp - 0x22], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00477be0
mov byte [ebp - 4], 1
xor ecx, ecx
nop
mov dl, byte [ebp + ecx - 0x2f]
xor dl, byte [ebp - 0x30]
mov byte [ebp + ecx - 0x21], dl
inc ecx
cmp ecx, 0xd
jb 0x476ca0
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x14], 0
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004078b0
mov eax, dword [ebp - 0x34]
add esp, 0xc
cmp eax, 0x10
jb 0x476cdb
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00409950
cmp dword [ebp - 0x4c], 0x10
lea esi, [ebp - 0x60]
mov bh, 0x37
mov dword [ebp - 0x20], 0x191b197a
cmovae esi, dword [ebp - 0x60]
mov al, 0x19
mov byte [ebp - 0x61], bh
mov dl, al
mov bh, 0x3f
mov dword [ebp - 0x44], 0x37363a59
mov byte [ebp - 0x62], bh
mov cl, 0x1b
mov bh, 0x30
mov word [ebp - 0x1c], 0x1f12
mov byte [ebp - 0x63], bh
mov ah, 0x3a
mov bh, 0x3e
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x64], bh
mov ch, 0x1f
mov bh, byte [ebp - 0x20]
mov bl, 0x12
xor al, bh
mov dword [ebp - 0x40], 0x3e303f
mov byte [ebp - 0x19], al
xor cl, bh
mov al, byte [ebp - 0x62]
xor dl, bh
mov byte [ebp - 0x18], cl
xor ch, bh
mov cl, byte [ebp - 0x44]
xor bl, bh
mov bh, byte [ebp - 0x61]
xor al, cl
mov byte [ebp - 0x39], al
xor ah, cl
mov al, byte [ebp - 0x63]
mov dh, 0x36
xor al, cl
mov byte [ebp - 0x3c], ah
mov byte [ebp - 0x38], al
xor dh, cl
mov al, byte [ebp - 0x64]
xor bh, cl
xor al, cl
mov byte [ebp - 0x17], dl
push esi
mov byte [ebp - 0x37], al
lea eax, [ebp - 0x19]
push 1
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x16], bl
push eax
mov byte [ebp - 0x15], ch
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x3b], dh
mov byte [ebp - 0x3a], bh
mov byte [ebp - 0x36], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x4c]
test eax, eax
setne bl
xor eax, eax
mov dword [ebp - 0x43], eax
mov word [ebp - 0x3f], ax
mov byte [ebp - 0x3d], al
mov dword [ebp - 0x1f], eax
mov word [ebp - 0x1b], ax
cmp ecx, 0x10
jb 0x476db6
inc ecx
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x60]
call fcn.00409950
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret
Function at 0x477130
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed8bb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
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
call fcn.00477240
lea ecx, [ebp - 0x74]
call fcn.00477be0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.00477640
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00477820
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004779f0
mov dword [ebp - 4], 3
lea esi, [ebp - 0x74]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
call fcn.00409640
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
push 0
cmovae eax, dword [ebp - 0x8c]
push eax
call edi
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x4771f7
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00409950
add esi, 0x18
lea eax, [ebp - 0x14]
cmp esi, eax
jne 0x4771a1
push fcn.00409550
push 4
push 0x18
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.004a01b2
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.0049fc55
mov esp, ebp
pop ebp
ret