joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8aeed6
Capabilities:
Check for software breakpoints

Disassembly:
mov esi, dword [0x5097c8]
add esi, dword [0x847364]
mov edx, dword [0x5097d0]
sub edx, 8
mov ebx, esi
sub ebx, dword [0x5097c8]
add ebx, dword [0x846fa0]
cmp esi, edx
jae 0x8aef70
cmp dword [ebx], 0
jne 0x8aef69
cmp dword [ebx + 4], 0
jne 0x8aef69
mov al, byte [esi]
cmp al, 0x90
je 0x8aef69
cmp al, 0xcc
je 0x8aef69
cmp al, 0xa4
je 0x8aef69
cmp al, 0xa5
je 0x8aef69
cmp al, 0xc3
je 0x8aef69
cmp byte [esi + 1], al
jne 0x8aef69
cmp byte [esi + 2], al
jne 0x8aef69
cmp byte [esi + 3], al
jne 0x8aef69
cmp byte [esi + 4], al
jne 0x8aef69
cmp byte [esi + 5], al
jne 0x8aef69
cmp byte [esi + 6], al
jne 0x8aef69
cmp byte [esi + 7], al
jne 0x8aef69
cmp al, 0x50
je 0x8aef4d
cmp al, 0x58
jne 0x8aef52
cmp byte [esi + 8], al
jne 0x8aef69
cmp byte [esi], al
jne 0x8aef67
mov byte [ebx], 2
inc esi
inc ebx
cmp esi, edx
jne 0x8aef60
ret
cmp byte [ebx], 0
jne 0x8aef69
jmp 0x8aef52
jmp 0x8aef01
inc esi
inc ebx
jmp 0x8aeef9
ret

Function at 0x8aef71
Capabilities:
Check for software breakpoints

Disassembly:
mov esi, dword [0x5097c8]
add esi, dword [0x847364]
mov edx, dword [0x5097d0]
sub edx, 0xf
mov ebx, esi
sub ebx, dword [0x5097c8]
add ebx, dword [0x846fa0]
cmp esi, edx
jae 0x8aeff9
cmp dword [ebx], 0
jne 0x8aeff2
cmp dword [ebx + 4], 0
jne 0x8aeff2
cmp dword [ebx + 8], 0
jne 0x8aeff2
movzx eax, byte [esi]
cmp al, 0x90
je 0x8aeff2
cmp al, 0xcc
je 0x8aeff2
cmp al, 0xa4
je 0x8aeff2
cmp al, 0xa5
je 0x8aeff2
cmp al, 0xc3
je 0x8aeff2
mov ah, al
mov ecx, eax
shl ecx, 0x10
or ecx, eax
cmp dword [esi], ecx
jne 0x8aeff2
cmp dword [esi + 4], ecx
jne 0x8aeff2
cmp dword [esi + 8], ecx
jne 0x8aeff2
cmp byte [esi], al
jne 0x8aeff0
mov byte [ebx], 2
inc esi
inc ebx
cmp esi, edx
jne 0x8aefe9
ret
cmp byte [ebx], 0
jne 0x8aeff2
jmp 0x8aefdb
jmp 0x8aef9c
inc esi
inc ebx
jmp 0x8aef94
ret
Function at 0x8b17fb
Capabilities:
Write file on windows

Disassembly:
pushal
call fcn.008b1b02
push edi
mov dword [edi], 0x74636553
mov dword [edi + 4], 0x2e6e6f69
mov dword [edi + 8], 0x70616d
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x8478c8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x8b186f
mov dword [0x847858], eax
mov ecx, dword [0x846fa4]
sub ecx, dword [0x846fa0]
push 0
push 0x4319c0
push ecx
push dword [0x846fa0]
push dword [0x847858]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x847858]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
push edi
mov dword [edi], 0x74756f52
mov dword [edi + 4], 0x2e676e69
mov dword [edi + 8], 0x70616d
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x8478c8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x8b18de
mov dword [0x847858], eax
mov ecx, dword [0x846fa4]
sub ecx, dword [0x846fa0]
push 0
push 0x4319c0
push ecx
push dword [0x846fa0]
push dword [0x847858]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x847858]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
push edi
mov dword [edi], 0x657a6953
mov dword [edi + 4], 0x70616d2e
mov byte [edi + 8], 0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x8478c8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x8b194a
mov dword [0x847858], eax
mov ecx, dword [0x846fa4]
sub ecx, dword [0x846fa0]
push 0
push 0x4319c0
push ecx
push dword [0x846fa0]
push dword [0x847858]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x847858]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
popal
ret

Function at 0x8b238e
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push 0x8478c8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x8479cc], eax
cmp eax, 0xffffffff
je 0x8b2435
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x8479d4], eax
add eax, 0xa
mov ebx, 0x8479d0
mov edx, eax
call fcn.0084b515
push 0
push 0x4319c0
push dword [0x8479d4]
push dword [0x8479d0]
push dword [0x8479cc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [0x8479cc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
sub eax, dword [0x847334]
add eax, dword [0x8479d0]
movzx eax, byte [eax]
push eax
cmp dword [0x8479d0], 0
je 0x8b2434
mov eax, dword [0x8479d0]
call fcn.0084b661
mov dword [0x8479d0], 0
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x8b243b
Capabilities:
Get file size
Read file on windows

Disassembly:
cmp dword [0x8479d8], 0
je 0x8b2458
mov eax, dword [0x8479d8]
call fcn.0084b661
mov dword [0x8479d8], 0
call fcn.008b1b02
mov dword [edi], 0x63726f46
mov dword [edi + 4], 0x6d2e6465
mov dword [edi + 8], 0x7061
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push 0x8478c8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x8b24e7
mov dword [0x8479cc], eax
push 0
push dword [0x8479cc]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x8479dc], eax
add eax, 0x10
mov ebx, 0x8479d8
mov edx, eax
call fcn.0084b515
push 0
push 0x4319c0
push dword [0x8479dc]
push dword [0x8479d8]
push dword [0x8479cc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [0x8479cc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x8b24f1
mov dword [0x8479d8], 0
ret

Function at 0x8b2678
Capabilities:
Write file on windows

Disassembly:
call fcn.008b1b02
mov dword [edi], 0x63726f46
mov dword [edi + 4], 0x6d2e6465
mov dword [edi + 8], 0x7061
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push 0x8478c8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x8479cc], eax
cmp eax, 0xffffffff
je 0x8b26f8
mov esi, dword [0x8479d8]
mov ecx, 4
add esi, ecx
cmp dword [esi], 0
je 0x8b26d2
add esi, 0xc
add ecx, 0xc
jmp 0x8b26c5
push 0
push 0x4319c0
push ecx
push dword [0x8479d8]
push dword [0x8479cc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x8479cc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x8b2ea1
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [0x847b64]
mov esi, dword [ebp + 8]
cmp byte [esi], 0
je 0x8b2eb5
movsb byte es:[edi], byte [esi]
jmp 0x8b2ead
cmp dword [ebp + 0xc], 0
je 0x8b2ec3
push dword [ebp + 0xc]
pop dword [edi]
add edi, 4
mov byte [edi], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x847a50
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x8b2f4c
mov dword [0x847b54], eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x847b58], eax
add eax, 0xa
mov ebx, 0x847b5c
mov edx, eax
call fcn.0084b515
add dword [0x847b5c], 0xa
push 0
push 0x4319c0
push dword [0x847b58]
push dword [0x847b5c]
push dword [0x847b54]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [0x847b54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x847b60], 1
jmp 0x8b2f53
mov byte [0x847b60], 0
mov esp, ebp
pop ebp
ret 8
Function at 0x8b35b8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push 0x84801c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x84883c], eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x848840], eax
push dword [ebp + 8]
call fcn.008c86e9
cmp eax, 0
jne 0x8b3618
push 0
call fcn.008c8459
push 0x1030
push 0x496f84
push str.Dumping_process_aborted_____r_n_r_nThe_file_you_are_trying_to_load_is_empty__The_size_of_the_file_is_Zero_.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x8b3669
add eax, 0xa
mov ebx, 0x848844
mov edx, eax
call fcn.0084b515
add dword [0x848844], 0xa
push 0
push 0x4319c0
push dword [0x848840]
push dword [0x848844]
push dword [0x84883c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [0x84883c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x848844]
add eax, dword [0x848840]
mov dword [0x848848], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x8c7167
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov dword [0x491088], 6
mov dword [0x491094], 0x490ff4
push 0x491088
push 0
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x490ffa
push 0x491088
push 1
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x491004
push 0x491088
push 2
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x49100e
push 0x491088
push 3
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x49101c
push 0x491088
push 4
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x491021
push 0x491088
push 5
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x491028
push 0x491088
push 6
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x49102d
push 0x491088
push 7
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x491039
push 0x491088
push 8
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x49104b
push 0x491088
push 9
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x491058
push 0x491088
push 0xa
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x491061
push 0x491088
push 0xb
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x49106f
push 0x491088
push 0xc
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x491088], 1
mov dword [0x491094], 0x491077
push 0x491088
push 0xd
push 0x101b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x103f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x848a74], eax
push 0xfffffffffffffff0
push dword [0x848a74]
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor eax, 2
push eax
push 0xfffffffffffffff0
push dword [0x848a74]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x133
push 0
push 0x1036
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x2630ba
push 0
push 0x1024
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffff
push 0
push 0x1001
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xa6f7f0
push 0
push 0x1026
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esp, ebp
pop ebp
ret 4
Function at 0x8c820d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
pushal
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x84883c], eax
cmp eax, 0xffffffff
jne 0x8c8242
mov eax, dword [str.Unable_to_open:_System_mangling_destination_file]
call fcn.0084a000
popal
ret
mov dword [0x4319b8], eax
mov dword [0x4319c0], 0
push 0
push 0x4319c0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x4319b8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x4319b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4319b8], 0
popal
mov esp, ebp
pop ebp
ret 0xc

Function at 0x8c9828
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
lea edi, [ebp + 0xc]
mov edi, dword [edi]
cmp eax, 0xfffffdd9
jne 0x8c987e
push 0
push 0
push 0x130b
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, dword [edi]
je 0x8c987e
push eax
mov eax, dword [edi]
push 0
push dword [eax*4 + 0x491e20]
call dword [sym.imp.USER32.dll_ShowWindow]
pop eax
mov dword [edi], eax
push 0xa
push dword [eax*4 + 0x491e20]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100029ba
Capabilities:
Delete file

Disassembly:
mov eax, 0x10005dd0
call fcn.10005b70
sub esp, 0x164
push ebx
push esi
push edi
push 1
pop edi
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call sub.gdiplus.dll_GdiplusStartup
push dword [ebp + 8]
lea eax, [ebp - 0x170]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x170]
pop ecx
push 0x1000894c
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea ecx, [ebp - 0x170]
sub ecx, 3
add eax, ecx
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
pop ecx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call esi
mov dword [ebp - 0x10], eax
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call esi
push ebx
push ebx
lea eax, [ebp - 0x170]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
mov dword [ebp - 0x10], eax
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x170]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 0x10006248
mov dword [ebp - 0x24], ebx
push eax
push dword [ebp - 0x14]
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], ebx
push eax
push str.image_jpeg
call fcn.10002b2d
mov dword [ebp - 0x5c], edi
mov esi, 0x10006250
lea edi, [ebp - 0x58]
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
lea eax, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
push 1
mov dword [ebp - 0x40], eax
pop esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x44], 4
push dword [ebp - 0x18]
mov dword [ebp - 0x48], esi
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipSaveImageToFile
cmp eax, ebx
je 0x10002aea
mov dword [ebp - 0x20], eax
push dword [ebp - 0x14]
call fcn.10005b3a
push dword [ebp - 0x18]
call fcn.10005b3a
pop ecx
mov dword [ebp - 0x28], 0x10006248
pop ecx
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipDisposeImage
push dword [ebp - 0x2c]
call sub.gdiplus.dll_GdiplusShutdown
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100031b6
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push esi
push esi
push 0x10003063
push esi
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
call dword [sym.imp.MSVCRT.dll__getpid]
push eax
push 0x100026cf
call dword [sym.imp.USER32.dll_EnumWindows]
push esi
push esi
push esi
push 0x1000315e
push esi
push esi
call edi
push eax
call ebx
push 1
pop eax
pop edi
pop esi
pop ebx
ret

Function at 0x10003362
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1000339f
cmp byte [ebp - 0x190], 2
jne 0x10003399
mov al, byte [ebp - 0x18f]
cmp al, 2
jne 0x10003399
push 1
pop eax
leave
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
leave
ret

Function at 0x10003459
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100034a0
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx]
test ecx, ecx
je 0x100034a0
movsx eax, word [eax + 0xa]
push eax
lea eax, [ebp - 0xc]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
pop eax
leave
ret
xor eax, eax
leave
ret

Function at 0x100034a4
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100034c2
xor eax, eax
jmp 0x10003501
push dword [ebp + 8]
mov word [ebp - 0x10], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x10]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100034ff
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x10003501
mov eax, esi
pop esi
leave
ret
Function at 0x1000373a
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x10003a85
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x10003e03
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x10003df1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x10003fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
jle 0x10003ff0
push esi
inc cl
movzx ecx, cl
mov edx, dword [eax + ecx*4 + 8]
mov dword [ebp + 8], ecx
lea esi, [eax + ecx*4 + 8]
mov cl, dl
add cl, bl
movzx ebx, cl
mov ecx, dword [eax + ebx*4 + 8]
mov dword [esi], ecx
mov esi, dword [ebp + 0xc]
add cl, dl
mov dword [eax + ebx*4 + 8], edx
movzx ecx, cl
add esi, edi
mov cl, byte [eax + ecx*4 + 8]
xor byte [esi], cl
mov ecx, dword [ebp + 8]
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x10003fb5
pop esi
mov dword [eax + 4], ebx
pop edi
mov dword [eax], ecx
pop ebx
pop ebp
ret 0xc
Function at 0x1000471f
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
mov esi, 0x104
push edi
push esi
push 0x10092cc0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
push 0x10092bbc
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x10092ab8
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, 0x10092dc4
push esi
push ebx
push 0
call edi
mov eax, dword [0x100930d0]
mov ebp, dword [sym.imp.MSVCRT.dll__strlwr]
test eax, eax
je 0x1000477a
push esi
mov esi, 0x10092fcc
push esi
push eax
call edi
push esi
call ebp
pop ecx
push ebx
call ebp
push ebx
call fcn.10004796
push eax
push 0x10092ec8
call sub.MSVCRT.dll_strcpy
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x100047ab
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x128]
push eax
push esi
mov dword [ebp - 0x128], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000480a
lea eax, [ebp - 0x128]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1000480a
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x100047db
mov eax, dword [ebp - 0x120]
jmp 0x1000480c
xor eax, eax
pop esi
leave
ret

Function at 0x100048f6
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
je 0x100049a6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
je 0x100049a6
push ebx
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x207]
mov byte [ebp - 0x208], bl
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.100048a1
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push ebx
lea eax, [ebp - 0x208]
push str.TEMP
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x104]
push 1
push eax
push dword [ebp + 8]
call esi
push 4
lea eax, [ebp - 0x104]
push ebx
push eax
call esi
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100049a9
Capabilities:
Terminate process

Disassembly:
push esi
push dword [esp + 8]
call fcn.100047ab
pop ecx
mov esi, eax
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x100049e3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x100049e3
test esi, esi
je 0x100049e7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100049aa
xor eax, eax
pop esi
ret
push 1
pop eax
pop esi
ret
Function at 0x10004bce
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x58], eax
ret
Function at 0x100058d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and byte [ebp - 0x104], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], eax
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
leave
ret 8

Function at 0x1000594a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 0x10], 0
push edi
xor eax, eax
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
push dword [ebp + 8]
stosd dword es:[edi], eax
push dword [ebp + 0xc]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
pop edi
jne 0x10005999
mov eax, dword [ebp + 8]
shr eax, 0x10
test ax, ax
jne 0x10005991
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0x100087d8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret 8

Function at 0x10005ab2
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x10005ae5
mov eax, dword [esp + 4]
mov dword [0x100930d0], eax
call fcn.1000471f
call fcn.1000599d
xor eax, eax
push eax
push eax
push eax
push 0x10005a7a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
ret 0xc