joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40397b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4264b4
call fcn.004263b8
mov eax, 0x1828
call fcn.0040f5c0
push ebx
push esi
xor esi, esi
cmp dword [0x4d99f8], 0x5b1
push edi
jne 0x403a27
push esi
lea eax, [ebp - 0x434]
push eax
push esi
push 0x402f34
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
lea eax, [ebp - 0x34]
call fcn.00403c88
mov dword [ebp - 4], esi
call fcn.0040482b
push 0x402f60
lea ecx, [ebp - 0x18]
call fcn.00403410
lea ecx, [ebp - 0x18]
call fcn.0040342c
lea ecx, [ebp - 0x18]
call fcn.00403472
lea ecx, [ebp - 0x18]
call fcn.0040348b
push esi
push esi
call fcn.00404d8d
push esi
call fcn.00404d5e
push esi
call fcn.00404d47
push esi
call fcn.00404f3e
add esp, 0x10
mov dword [esp], esi
call fcn.004035c4
fstp st(0)
push esi
call fcn.00404d47
pop ecx
call fcn.00404e58
add dword [0x4d99f8], 0x1134b
push dword [0x4d99f8]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4d8948], eax
call fcn.004038c6
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x403a70
inc edi
cmp edi, 0x4f6a4
jl 0x403a50
mov eax, dword [0x4d99f8]
xor ecx, ecx
cmp eax, esi
jbe 0x403a96
mov edx, dword [0x4d99fc]
mov dl, byte [edx + ecx + 0x1134b]
mov edi, dword [0x4d8948]
mov byte [edi + ecx], dl
inc ecx
cmp ecx, eax
jb 0x403a7b
xor edi, edi
lea ecx, [eax + edi]
cmp ecx, 0xe
jne 0x403ae5
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [ebp - 0x434]
push eax
push esi
push 0x402f70
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x402f88
push 0x402fbc
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
lea eax, [ebp - 0x1034]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
mov eax, dword [0x4d99f8]
inc edi
cmp edi, 0x39621
jl 0x403a98
call fcn.004037b4
xor edi, edi
call ebx
cmp edi, 0x26
jne 0x403b01
call fcn.004038ac
inc edi
cmp edi, 0x6753f
jl 0x403af5
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x7b
pop ebx
cmp dword [0x4d99f8], 0x86
jne 0x403b5c
push 0x402fcc
push 0x403008
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push esi
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
lea eax, [ebp - 0x1834]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [0x4d99f8], 0xf
jne 0x403b7d
push esi
push esi
call edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
push 0x403050
push 0x403094
call edi
dec ebx
jne 0x403b13
push 0x4030cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40563b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42855c]
jne 0x405645
repz ret
jmp fcn.00409e7c
Function at 0x40d60f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407aec
and dword [ebp - 4], 0
cmp dword [0x42a56c], 0
mov ebx, eax
jne 0x40d6c0
push 0x402c3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d771
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c30
push edi
call esi
test eax, eax
je 0x40d771
push eax
call fcn.00407a7a
mov dword [esp], 0x402c20
push edi
mov dword [0x42a56c], eax
call esi
push eax
call fcn.00407a7a
mov dword [esp], 0x402c0c
push edi
mov dword [0x42a570], eax
call esi
push eax
call fcn.00407a7a
mov dword [esp], 0x402bf0
push edi
mov dword [0x42a574], eax
call esi
push eax
call fcn.00407a7a
pop ecx
mov dword [0x42a57c], eax
test eax, eax
je 0x40d6c0
push 0x402bd8
push edi
call esi
push eax
call fcn.00407a7a
pop ecx
mov dword [0x42a578], eax
mov eax, dword [0x42a578]
cmp eax, ebx
je 0x40d718
cmp dword [0x42a57c], ebx
je 0x40d718
push eax
call fcn.00407af5
push dword [0x42a57c]
mov esi, eax
call fcn.00407af5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d718
test edi, edi
je 0x40d718
call esi
test eax, eax
je 0x40d70f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d70f
test byte [ebp - 0xc], 1
jne 0x40d718
or dword [ebp + 0x10], 0x200000
jmp 0x40d751
mov eax, dword [0x42a570]
cmp eax, ebx
je 0x40d751
push eax
call fcn.00407af5
pop ecx
test eax, eax
je 0x40d751
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d751
mov eax, dword [0x42a574]
cmp eax, ebx
je 0x40d751
push eax
call fcn.00407af5
pop ecx
test eax, eax
je 0x40d751
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a56c]
call fcn.00407af5
pop ecx
test eax, eax
je 0x40d771
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d773
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407160
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push edi
mov edi, dword [esp + 0xc]
shr edi, 2
test edi, edi
mov ecx, 0xeeeeeeee
je 0x4071bb
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
push ebx
push esi
nop
lea esp, [esp]
mov esi, eax
and esi, 0xff
add ecx, dword [esi*4 + 0x852f20]
mov ebx, dword [edx]
lea esi, [ecx + eax]
imul ecx, ecx, 0x21
xor ebx, esi
mov esi, ebx
lea ecx, [ecx + esi + 3]
mov esi, eax
not esi
shl esi, 0x15
add esi, 0x11111111
shr eax, 0xb
mov dword [edx], ebx
add edx, 4
or eax, esi
dec edi
jne 0x407180
pop esi
pop ebx
pop edi
ret

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

Disassembly:
push edi
mov edi, dword [esp + 0xc]
shr edi, 2
test edi, edi
mov ecx, 0xeeeeeeee
je 0x407219
mov eax, dword [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x10]
nop
lea esp, [esp]
mov edx, dword [esi]
mov ebx, eax
and ebx, 0xff
add ecx, dword [ebx*4 + 0x852f20]
lea ebx, [ecx + eax]
imul ecx, ecx, 0x21
xor ebx, edx
lea ecx, [ecx + edx + 3]
mov edx, eax
not edx
shl edx, 0x15
add edx, 0x11111111
shr eax, 0xb
mov dword [esi], ebx
add esi, 4
or eax, edx
dec edi
jne 0x4071e0
pop esi
pop ebx
pop edi
ret
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40b02c], 0x8088405
inc edx
mov dword [0x40b02c], edx
mul edx
mov eax, edx
ret

Function at 0x40765c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40b55c
mov eax, esi
mov edx, 8
test al, 1
je 0x407678
shr eax, 1
xor eax, 0xedb88320
jmp 0x40767a
shr eax, 1
dec edx
jne 0x40766b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407664
pop esi
ret

Function at 0x4076a7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40b558], 0
jne 0x4076b3
call fcn.0040765c
push 1
push 0x40b558
call fcn.004043fc
mov eax, edi
test esi, esi
je 0x4076de
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40b55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4076b9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x54cd00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xe
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.0054ced0
add esp, 0xc
jbe 0x54cd1b
call fcn.0054cd20

Function at 0x54e620
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0
push 0x546fd0
call fcn.0055acd0
add esp, 0xc
mov byte [0x546fd0], 0x80
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x54f800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xe
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.0054ced0
add esp, 0xc
jle 0x54f81b
lea ebx, [ebx + 0x13de]
lea ebx, [ebx - 0x13de]
push esi
pop esi
je 0x54f840
pushf
jge 0x54f82f
cmp esp, 0x37f9
jl 0x54f837
lea ebx, [ebx]
popf
jge 0x54f83d
jne 0x54f840
mov esi, 0x65b073b1
mov cl, 0x73
mov al, 0x65
mov byte [ebp - 3], 0
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], cl
mov byte [ebp - 6], al
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], cl
mov byte [ebp - 5], 0x78
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x74
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 0xc], al
mov byte [ebp - 7], 0x4e
and edx, edx
nop
je 0x54f895
pushf
shr esp, 0
shl edx, 0
sub esp, 0
test esp, 0x76ac
popf
xchg ebx, eax
xchg ebx, eax
jne 0x54f895
jmp 0x1157f81
call fcn.0055b920
test eax, eax
jne 0x54f8a7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esp, esp
shl edx, 0
shl edx, 0
ja 0x54f8b9
jo 0x54f8b3
lea esp, [esp]
jbe 0x54f8b9
mov ebp, 0x51f04d8d
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00550070
push 0xe
lea edx, [ebp - 0x10]
push 0
push edx
mov edi, eax
call fcn.0054ced0
add esp, 0xc
test edi, edi
jne 0x54f8e4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
not esi
not esi
ror esp, 0
cmc
je 0x54f8fb
pushf
mov eax, eax
popf
mov ebx, ebx
jmp 0x54f8f8
jne 0x54f8fb
sub eax, 0x9dafe857
add dword [eax], eax
push edi
call fcn.005696b0
add esp, 4
test dword [esp], eax
lea esi, [esi + 0x2f2]
sub esi, 0x2f2
mov esp, esp
jno 0x54f924
mov esp, esp
xchg esi, ebx
xchg esi, ebx
jp 0x54f91f
ja 0x54f921
jo 0x54f924
ljmp 0x84d:0x8b0c458b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x561ce0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x549c54]
push esi
push edi
push eax
push 0x5495d1
mov byte [0x5495d0], 0x45
call fcn.0055fce0
mov edx, dword [0x549c54]
mov al, 0x2d
mov byte [0x5495d6], al
mov byte [0x5495d7], al
lea eax, [edx + 0x4ed1567b]
mov cl, 0x20
lea edx, [edx + edx*4]
add esp, 8
mov byte [0x5495d5], cl
mov byte [0x5495d8], cl
mov esi, 0x5495d9
xor ecx, ecx
lea edi, [edx + edx*4]
mov edx, eax
imul eax, eax, 0x1003411d
shr edx, 9
add edx, 0x79d11093
xor eax, edx
mov dl, byte [ecx + edi*8 + 0x52ea69]
xor dl, al
mov byte [esi], dl
inc esi
inc ecx
cmp ecx, 0xc8
jl 0x561d2f
mov byte [esi], 0
pop edi
mov eax, 0x5495d0
pop esi
ret

Function at 0x562830
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0xf
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0054ced0
add esp, 0xc
mov edi, edi
xor ebx, dword [esp + 4]
xor ebx, dword [esp + 4]
shl esp, 0
jp 0x562865
lea esp, [esp]
jmp 0x56285d
lea esp, [esp]
xchg esi, esi
jnp 0x562865
mov edi, 0x72b173b0
mov al, 0x73
mov cl, 0x72
mov byte [ebp - 6], 0
mov byte [ebp - 0x14], 0x50
mov byte [ebp - 0xf], al
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 0x13], cl
mov byte [ebp - 0xe], al
mov byte [ebp - 9], cl
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0xd], 0x33
mov byte [ebp - 8], al
mov byte [ebp - 0x11], 0x63
mov byte [ebp - 0xc], 0x32
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x46
mov byte [ebp - 7], 0x74
call fcn.0055b920
test eax, eax
jne 0x5628b2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00550070
push 0xf
lea edx, [ebp - 0x14]
mov ebx, eax
push 0
push edx
mov dword [ebp - 4], ebx
call fcn.0054ced0
add esp, 0xc
test ebx, ebx
jne 0x5628e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test edx, 0x2e0e
rol ecx, 0x1b
ror ecx, 0x1b
inc esi
dec esi
jno 0x562904
pushf
je 0x5628f4
test dword [esp], edi
jne 0x5628f9
popf
xchg edx, eax
xchg edx, eax
lea edi, [edi]
jle 0x562901
jo 0x562904
ljmp 0:0x6da6e853
push ebx
call fcn.005696b0
add esp, 4
rol esp, 0
or ebx, ebx
push ecx
pop ecx
sub edx, 0
jno 0x56292c
lea edx, [edx + 0x66cd]
lea edx, [edx - 0x66cd]
jp 0x562927
lea ebx, [ebx]
jo 0x56292c
mov esi, 0x8b0c458b
dec ebp
or byte [eax + 0x51], dl
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46bde0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x559f3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0054a146
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x46be62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00546b14
mov eax, dword [eax]
push 0x69e250
push eax
call fcn.00538044
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0054a3d1
test bl, bl
je 0x46be62
push 0x69e250
lea ecx, [esp + 0xc]
call fcn.0054a761
push 0x6a1dd4
lea ecx, [esp + 0xc]
call fcn.0054a761
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x46be9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0054a3d1
jmp 0x46bf69
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x46bf22
lea edx, [esp + 0x7c]
push 0x6a1dd0
push edx
call fcn.00538044
add esp, 8
test eax, eax
je 0x46bf22
lea eax, [esp + 0x7c]
push 0x6a1dcc
push eax
call fcn.00538044
add esp, 8
test eax, eax
je 0x46bf22
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x46beb2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0054a3d1
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x46c780
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x559fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6bbf60]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x46c8b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x46c7e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0054a3d1
xor eax, eax
jmp 0x46c92f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0054a50e
push esi
lea ecx, [esp + 0xc]
call fcn.0054a79d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6a1e0c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x46c90d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x6a1e04
push SysReAllocString
call fcn.0051c1f0
test eax, eax
jne 0x46c90d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x6a1df0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0051c1f0
test eax, eax
jne 0x46c90d
lea eax, [esp + 0x14]
push 0x6a1de8
push eax
call fcn.00539170
mov esi, eax
add esp, 8
test esi, esi
jne 0x46c8ec
lea ecx, [esp + 0x14]
push 0x6a1de4
push ecx
call fcn.005390f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x46c8ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x46c8ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0054a4be
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x46c7fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0054a3d1
xor eax, eax
jmp 0x46c92f
mov byte [esi], 0
push 0x6a1de0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0054a3d1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x482c30
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x482c9e
cmp si, 0x69
ja 0x482c9e
add esi, 0xffd0
cmp si, 0x11
je 0x482c6e
push 0x11
call edi
test ax, ax
jge 0x482c6e
or esi, 0x2000
cmp si, 0x10
je 0x482c83
push 0x10
call edi
test ax, ax
jge 0x482c83
or esi, 0x4000
cmp si, 0x12
je 0x482c98
push 0x12
call edi
test ax, ax
jge 0x482c98
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x482cab
mov esi, 0xbd
jmp 0x482c5f
cmp si, 0x6e
jne 0x482cb8
mov esi, 0xbe
jmp 0x482c5f
cmp si, 0x6f
jne 0x482c59
mov esi, 0xbf
jmp 0x482c5f

Function at 0x485390
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6ccc40]
xor edx, edx
cmp eax, edx
jne 0x4853b6
xor eax, eax
mov byte [eax + 0x6ccb40], al
inc eax
cmp eax, 0x100
jl 0x48539e
mov dword [0x6ccc40], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6ccb40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x485447
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x48541a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4853e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4854c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x485513
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4854fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c370
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x48c508
cmp ebp, ebx
jle 0x48c508
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x48c3ce
dec eax
or eax, 0xfffffff8
inc eax
je 0x48c3d5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x48c3e4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x48c3eb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0054a112
add esp, 4
cmp eax, ebx
je 0x48c40c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0054a112
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x48c4fe
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x48c4e5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x48c4d1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x48c4c6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x48c4d4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x48c4d4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x48c470
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x48c461
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x48f6f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55bca8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x48f729
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.005526ec
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00552774
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0048f7b0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.005527b1
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24