joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fa10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b388c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4e437c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4eebc0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4ee634]
cmp eax, dword [ecx + 4]
jg 0x45fa83
jmp 0x45fa64
mov al, byte [ecx]
inc ecx
test al, al
je 0x45fb88
jmp 0x45fa57
mov eax, 0x4ee61c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e5dc
mov esp, ebp
pop ebp
ret
push 0x4ee634
call fcn.0046e858
add esp, 4
cmp dword [0x4ee634], 0xffffffff
jne 0x45fa64
mov byte [ebp - 0x34], 0x69
mov byte [ebp - 0x33], 0x6f
mov byte [ebp - 0x32], 0x4e
mov byte [ebp - 0x31], 0x69
mov byte [ebp - 0x30], 0x2c
mov byte [ebp - 0x2f], 0x11
mov byte [ebp - 0x2e], 0x25
mov byte [ebp - 0x2d], 0x4e
mov byte [ebp - 0x2c], 0x7d
mov byte [ebp - 0x2b], 0x2c
mov byte [ebp - 0x2a], 0x11
mov byte [ebp - 0x29], 0x2c
mov byte [ebp - 0x28], 0x54
mov byte [ebp - 0x27], 0x26
mov byte [ebp - 0x26], 0x18
mov byte [ebp - 0x25], 0x68
mov byte [ebp - 0x24], 0x3a
mov byte [ebp - 0x23], 0x18
mov byte [ebp - 0x22], 4
mov byte [ebp - 0x21], 0x3a
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x1f], 0x4e
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x1d], 0x6f
mov byte [ebp - 0x1c], 0x12
mov byte [ebp - 0x1b], 4
mov byte [ebp - 0x1a], 0x3a
mov byte [ebp - 0x19], 0x18
mov byte [ebp - 0x18], 0x7c
mov byte [ebp - 0x17], 4
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x25
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x13], 0
cmp byte [ebp - 0x13], 0
mov dword [ebp - 4], 0
jne 0x45fb62
xor ecx, ecx
mov byte [ebp - 0x13], 1
lea esi, [ecx + 0x7f]
jmp 0x45fb40
mov al, byte [ebp + ecx - 0x34]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0x20
jb 0x45fb40
jmp 0x45fb62
lea ecx, [ebp - 0x34]
mov dword [0x4ee62c], 0
mov dword [0x4ee630], 0xf
lea edx, [ecx + 1]
mov byte [0x4ee61c], 0
jmp 0x45fa57
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
mov ecx, 0x4ee61c
call fcn.0041f8d0
push 0x4b6660
call fcn.0046e5c7
push 0x4ee634
call fcn.0046e80e
add esp, 8
jmp 0x45fa64
Function at 0x461b30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3c08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4e437c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0046e33f
mov edi, eax
add esp, 4
test edi, edi
je 0x461bcd
push 1
mov dword [ebp - 4], 0
call fcn.0046c5d3
add esp, 4
mov dword [edi + 4], eax
jmp 0x461bcf
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.004595f0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx ebx, ax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x461c29
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x461c29
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x461c46
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x461c69
cmp byte [ebp + 0xc], 0
je 0x461c55
push esi
call fcn.0046ca4f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x461c75
mov esi, str.ios_base::badbit_set
jmp 0x461c85
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00421910
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.0041ae10
push 0x4da9f0
lea eax, [ebp - 0x28]
push eax
call fcn.0048546c
int3
Function at 0x461cb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3c48
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4e437c]
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
cmp dword [edi + 0x14], 0
je 0x461e7a
push 0x11
xor eax, eax
mov dword [ebp - 0x18], 0
push str.ciphertextversion
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00402f10
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0045b920
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
call fcn.0045f6e0
push eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
push eax
call fcn.0045b830
mov edx, dword [ebp - 0x34]
add esp, 0x18
cmp edx, 0x10
jb 0x461d7e
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x461d74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461e95
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x461dc4
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x461dba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461e95
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 8
jb 0x461e10
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461e06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461e95
push edx
push ecx
call fcn.0046e36f
add esp, 8
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
mov ecx, esi
jb 0x461e1d
mov ecx, dword [esi]
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
push ecx
cmovae eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 0
push eax
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x461e49
mov word [edi + 0x3c], 0x101
jmp 0x461e72
cmp dword [esi + 0x14], 8
jb 0x461e51
mov esi, dword [esi]
push esi
push 4
lea eax, [ebp - 0x18]
push eax
push 0
push str.ciphertextversion
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x461e72
mov byte [edi + 0x3d], 1
lea ecx, [ebp - 0x78]
call fcn.00402420
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.0046e5dc
mov esp, ebp
pop ebp
ret
call fcn.0048f279
int3
Function at 0x466520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
pop ebp
ret

Function at 0x466550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret

Function at 0x467560
Capabilities:
Decode data using base64 via dword translation table
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi - 1]
add eax, ecx
cmp byte [eax], 0x3d
jne 0x467581
lea eax, [eax - 1]
dec esi
cmp byte [eax], 0x3d
je 0x467575
mov dword [ebp + 0xc], esi
xor eax, eax
test esi, esi
je 0x467638
push ebx
mov edx, 1
mov dword [ebp + 8], 2
lea ebx, [esi - 1]
sub edx, ecx
shr ebx, 2
push edi
lea edi, [ecx + 2]
mov dword [ebp - 4], edx
inc ebx
jmp 0x4675b0
movsx ecx, byte [edi - 1]
mov dh, byte [ecx + 0x4c32a0]
movsx ecx, byte [edi - 2]
mov dl, byte [ecx + 0x4c32a0]
mov cl, dh
sar cl, 4
and cl, 3
shl dl, 2
or dl, cl
mov ecx, dword [ebp + 0x10]
mov byte [eax + ecx], dl
inc eax
mov ecx, dword [ebp + 8]
cmp ecx, esi
jae 0x467624
movsx ecx, byte [edi]
mov esi, dword [ebp + 0x10]
shl dh, 4
mov dl, byte [ecx + 0x4c32a0]
mov cl, dl
sar cl, 2
and cl, 0xf
or cl, dh
mov byte [eax + esi], cl
inc eax
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
add ecx, edi
cmp ecx, esi
jae 0x467621
movsx ecx, byte [edi + 1]
shl dl, 6
mov cl, byte [ecx + 0x4c32a0]
and cl, 0x3f
or cl, dl
mov edx, dword [ebp + 0x10]
mov byte [eax + edx], cl
inc eax
mov ecx, dword [ebp + 8]
add ecx, 4
add edi, 4
mov dword [ebp + 8], ecx
sub ebx, 1
jne 0x4675b0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x467d90
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x467f62
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x3f0
jne 0x467f62
push edi
mov ecx, esi
call fcn.00467f80
mov edi, eax
cmp edi, 0xffffffff
je 0x467f59
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0xffffffff
push eax
push 0x20008
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x467f45
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
test edi, edi
je 0x467f3b
test eax, eax
je 0x467f3b
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x467e46
call ebx
cmp eax, 0x7a
jne 0x467f3b
push dword [ebp - 4]
call fcn.0046e37d
add esp, 4
mov ebx, eax
lea eax, [ebp - 4]
mov dword [ebp - 0x18], ebx
push eax
push dword [ebp - 4]
push ebx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x467f32
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x467f32
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x467f32
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x467eb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x467f3b
push dword [ebp - 4]
call fcn.0046e37d
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
push eax
push 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x467f1f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x467f1f
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x467f1f
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 0x18]
cmp eax, 1
sete bl
call fcn.0046e386
push dword [ebp - 8]
call fcn.0046e386
add esp, 8
test bl, bl
jne 0x467f45
jmp 0x467f3b
push ebx
call fcn.0046e386
push dword [ebp - 8]
call fcn.0046e386
add esp, 8
jmp 0x467f3b
push ebx
call fcn.0046e386
add esp, 4
push edi
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov byte [esi], 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
je 0x467f59
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467f80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b44cb
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4e437c]
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
lea eax, [ebp - 0x248]
mov dword [ebp - 0x244], 0xffffffff
push eax
mov dword [ebp - 0x248], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x468190
cmp dword [ebp - 0x248], 0xffffffff
je 0x468190
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp eax, 0xffffffff
je 0x468159
push 0x228
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], 0x22c
push ebx
push eax
call fcn.00486380
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4680d0
jmp 0x468060
lea eax, [ebp - 0x218]
push str.explorer.exe
push eax
call fcn.0048f8c0
add esp, 8
test eax, eax
jne 0x4680ae
cmp edi, ebx
je 0x46808f
mov eax, dword [ebp - 0x234]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x258], edi
jmp 0x4680ae
lea eax, [ebp - 0x234]
push eax
push edi
lea ecx, [ebp - 0x25c]
call fcn.00403460
mov ebx, dword [ebp - 0x254]
mov edi, dword [ebp - 0x258]
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x468060
mov esi, dword [ebp - 0x25c]
mov dword [ebp - 0x24c], esi
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
je 0x468159
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0xffffffff
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x468144
mov eax, dword [ebp - 0x240]
cmp eax, dword [ebp - 0x248]
jne 0x468144
push dword [esi]
push 0
push 0x100400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x250], eax
test eax, eax
je 0x468144
lea ecx, [ebp - 0x244]
push ecx
push 0xf
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push dword [ebp - 0x250]
test eax, eax
jne 0x46814d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, edi
jne 0x4680e0
jmp 0x468153
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x244]
test esi, esi
je 0x46818c
sub ebx, esi
mov eax, esi
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x468182
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4681b2
push ebx
push esi
call fcn.0046e36f
add esp, 8
mov eax, edi
jmp 0x468196
mov eax, dword [ebp - 0x244]
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.0046e5dc
mov esp, ebp
pop ebp
ret
call fcn.0048f279
int3
Function at 0x46a010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b490e
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e437c]
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, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4eebc0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4ee8bc]
cmp eax, dword [ecx + 4]
jg 0x46a0ba
jmp 0x46a07d
mov al, byte [ecx]
inc ecx
test al, al
je 0x46a151
jmp 0x46a060
mov al, byte [ecx]
inc ecx
test al, al
je 0x46a1dd
jmp 0x46a070
push 0x4ee88c
mov ecx, esi
call fcn.00419c30
push 0x4ee8a4
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 2
call fcn.00419c30
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.0046e5dc
mov esp, ebp
pop ebp
ret
push 0x4ee8bc
call fcn.0046e858
add esp, 4
cmp dword [0x4ee8bc], 0xffffffff
jne 0x46a07d
mov byte [ebp - 0x24], 0x3c
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x11
mov byte [ebp - 0x21], 0x7c
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1f], 0x49
mov byte [ebp - 0x1e], 0x5e
mov byte [ebp - 0x1d], 0xd
mov byte [ebp - 0x1c], 0x7c
mov byte [ebp - 0x1b], 0x68
mov byte [ebp - 0x1a], 0x54
mov byte [ebp - 0x19], 0xd
mov byte [ebp - 0x18], 0x14
mov byte [ebp - 0x17], 0x36
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x4a
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0
mov byte [ebp - 0x13], 0
call fcn.0046a4b0
mov edx, eax
mov dword [0x4ee89c], 0
mov ecx, edx
mov dword [0x4ee8a0], 0xf
mov byte [0x4ee88c], 0
lea edi, [ecx + 1]
jmp 0x46a060
sub ecx, edi
push ecx
push edx
mov ecx, 0x4ee88c
call fcn.0041f8d0
mov byte [ebp - 0x38], 0x49
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x37], 0x49
mov byte [ebp - 0x36], 0x21
mov byte [ebp - 0x35], 0x35
mov byte [ebp - 0x34], 0x21
mov byte [ebp - 0x33], 0x35
mov byte [ebp - 0x32], 0x11
mov byte [ebp - 0x31], 0x35
mov byte [ebp - 0x30], 0x68
mov byte [ebp - 0x2f], 0x7c
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x6f
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x2c
mov byte [ebp - 0x29], 0x11
mov byte [ebp - 0x28], 0
mov al, byte [ebp - 0x38]
mov byte [ebp - 4], 1
mov byte [ebp - 0x27], 0
call fcn.0046a4b0
mov edx, eax
mov dword [0x4ee8b4], 0
mov ecx, edx
mov dword [0x4ee8b8], 0xf
mov byte [0x4ee8a4], 0
lea edi, [ecx + 1]
jmp 0x46a070
sub ecx, edi
push ecx
push edx
mov ecx, 0x4ee8a4
call fcn.0041f8d0
push 0x4b6a80
call fcn.0046e5c7
push 0x4ee8bc
mov dword [ebp - 4], 0xffffffff
call fcn.0046e80e
add esp, 8
jmp 0x46a07d
Function at 0x46be40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4e437c]
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 + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x238], esi
test eax, eax
je 0x46bf97
test edi, edi
je 0x46bf97
xor ebx, ebx
mov dword [ebp - 0x21c], 7
xor ecx, ecx
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x234]
push ecx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46bf58
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00486380
add esp, 0xc
mov dword [ebp - 0x23c], 0x208
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x238]
push eax
push ebx
push edi
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46bf4c
cmp dword [ebp - 0x238], 1
jne 0x46bf4c
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46bf24
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00402f10
mov ebx, dword [ebp - 0x220]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x22c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x21c]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x228]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x224]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
jmp 0x46bfaa
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
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.0046e5dc
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4703da
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x49cc94
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049c7e7

Function at 0x49fa26
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049f89c
Function at 0x100025a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1009e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xorps xmm0, xmm0
mov dword [ebp - 8], 0
mov edx, ecx
movq qword [ebp - 0x10], xmm0
push esi
lea ecx, [ebp - 0x10]
xor bl, bl
call fcn.10002480
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x10002600
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi]
call edi
test eax, eax
movzx ebx, bl
mov eax, 1
cmovne ebx, eax
add esi, 4
cmp esi, dword [ebp - 0x14]
jne 0x100025e1
mov esi, dword [ebp - 0x10]
pop edi
test esi, esi
je 0x10002630
mov ecx, dword [ebp - 8]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10002626
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002642
push ecx
push esi
call fcn.1006c734
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1006c6ec
mov esp, ebp
pop ebp
ret
call fcn.10074a17
int3
Function at 0x10002ef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10002f0e
push 0
push 0
push 0
push 0x10002ee0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10024f20
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, edx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebp, edx
push edi
lea edi, [ebx - 1]
sar edi, 1
cmp edx, edi
jge 0x10024f77
nop dword [eax]
add ecx, ecx
movsx eax, byte [ecx + esi + 2]
movd xmm1, eax
movsx eax, byte [ecx + esi + 1]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
xor eax, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
seta al
inc ecx
xor eax, 1
add ecx, eax
mov al, byte [ecx + esi]
mov byte [esi + edx], al
mov edx, ecx
cmp ecx, edi
jl 0x10024f40
cmp ecx, edi
jne 0x10024f8a
test bl, 1
jne 0x10024f8a
mov al, byte [esi + ebx - 1]
mov byte [esi + edx], al
lea edx, [ebx - 1]
cmp ebp, edx
jge 0x10024fc9
mov edi, dword [esp + 0x20]
lea ecx, [edx - 1]
sar ecx, 1
mov bl, byte [ecx + esi]
movsx eax, bl
movd xmm1, eax
movsx eax, byte [edi]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x10024fbf
mov byte [edx + esi], bl
mov edx, ecx
cmp ebp, ecx
jl 0x10024f92
mov al, byte [edi]
pop edi
mov byte [edx + esi], al
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x20]
pop edi
mov al, byte [eax]
mov byte [edx + esi], al
pop esi
pop ebp
pop ebx
ret

Function at 0x10024fe0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 8]
mov ecx, edx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebp, edx
push edi
lea edi, [ebx - 1]
sar edi, 1
cmp edx, edi
jge 0x10025037
nop dword [eax]
add ecx, ecx
movzx eax, byte [ecx + esi + 2]
movd xmm1, eax
movzx eax, byte [ecx + esi + 1]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
xor eax, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
seta al
inc ecx
xor eax, 1
add ecx, eax
mov al, byte [ecx + esi]
mov byte [esi + edx], al
mov edx, ecx
cmp ecx, edi
jl 0x10025000
cmp ecx, edi
jne 0x1002504a
test bl, 1
jne 0x1002504a
mov al, byte [esi + ebx - 1]
mov byte [esi + edx], al
lea edx, [ebx - 1]
cmp ebp, edx
jge 0x10025089
mov edi, dword [esp + 0x20]
lea ecx, [edx - 1]
sar ecx, 1
mov bl, byte [ecx + esi]
movzx eax, bl
movd xmm1, eax
movzx eax, byte [edi]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x1002507f
mov byte [edx + esi], bl
mov edx, ecx
cmp ebp, ecx
jl 0x10025052
mov al, byte [edi]
pop edi
mov byte [edx + esi], al
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x20]
pop edi
mov al, byte [eax]
mov byte [edx + esi], al
pop esi
pop ebp
pop ebx
ret