joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409590
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418082
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x42613c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40963f
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_4464]
cmp al, 0x5c
jne 0x4095f1
mov edx, dword [ebp + 8]
mov eax, dword [edx - 0xc]
dec eax
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_11439]
push 0x5c
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_11744]
test eax, eax
jle 0x40963f
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_7487]
push ecx
lea edx, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.00409590
mov eax, dword [ebp + 8]
add esp, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x409880
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41804b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x42613c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_423]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push str.__.
push eax
lea ecx, [ebp - 0x10]
push str._s_s
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
mov edx, dword [ebp - 0x10]
add esp, 0x10
push 0
push edx
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_4188]
test eax, eax
je 0x40995a
mov edi, dword [sym.imp.mfc100.dll_Ordinal_4939]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_4207]
lea ecx, [ebp - 0x34]
mov esi, eax
call dword [sym.imp.mfc100.dll_Ordinal_7317]
test eax, eax
jne 0x409956
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x40]
push 0x10
lea ecx, [ebp - 0x34]
call edx
test eax, eax
je 0x40993f
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
lea ecx, [ebp - 0x34]
call edi
call fcn.00409880
add esp, 4
jmp 0x409956
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x34]
call edi
mov eax, dword [eax]
push eax
call ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
test esi, esi
jne 0x409900
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_2525]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_979]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4099a0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418005
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x42613c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ac], 0
push 0x41e904
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea eax, [ebp - 0x1a4]
push eax
push 0x101
mov byte [ebp - 4], 1
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x409a10
lea ecx, [ebp - 0x1a8]
push ecx
jmp 0x409a5f
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x409a52
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [ebp - 0x1ac]
push ecx
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0x1ac]
add esp, 0xc
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [ebp - 0x1a8]
push eax
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_300]
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00414976
mov esp, ebp
pop ebp
ret
Function at 0x409bc0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2078
call fcn.00417e90
mov eax, dword [0x42613c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
lea eax, [ebp - 0x201c]
mov esi, ecx
push eax
lea ecx, [ebp - 0x2010]
mov edi, edx
push ecx
lea edx, [ebp - 0x200c]
push edx
mov dword [ebp - 0x201c], 0xc
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x409cca
cmp dword [esi + 0x14], 0x10
jb 0x409c2a
mov eax, dword [esi]
jmp 0x409c2c
mov eax, esi
lea edx, [ebp - 0x2008]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x409c34
lea eax, [ebp - 0x2068]
push eax
mov dword [ebp - 0x2068], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [ebp - 0x2010]
xor ecx, ecx
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x2028], eax
mov dword [ebp - 0x202c], eax
mov word [ebp - 0x2038], cx
mov dword [ebp - 0x203c], 0x101
jb 0x409c84
mov eax, dword [edi]
jmp 0x409c86
mov eax, edi
lea edx, [ebp - 0x2078]
push edx
lea ecx, [ebp - 0x2068]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [ebp - 0x2008]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x409cdc
mov eax, dword [ebp - 0x2010]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x200c]
push ecx
call esi
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414976
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x2010]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
push 0xfff
lea eax, [ebp - 0x1007]
push 0
push eax
mov byte [ebp - 0x1008], 0
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
mov edi, edi
mov eax, dword [ebp - 0x200c]
push 0
lea ecx, [ebp - 0x2020]
push ecx
push 0xfff
lea edx, [ebp - 0x1008]
push edx
push eax
call esi
test eax, eax
jne 0x409d10
mov ecx, dword [ebp - 0x200c]
push ecx
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00414976
mov esp, ebp
pop ebp
ret
Function at 0x409d50
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x42613c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.MSVCR100.dll__access]
xor ebx, ebx
push ebx
push esi
call edi
add esp, 8
test eax, eax
jne 0x409d84
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp + 0xc], ebx
je 0x409df7
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp byte [esi], bl
je 0x409dd3
lea edi, [ebp - 0x108]
sub edi, esi
jmp 0x409db0
cmp byte [esi], 0x5c
jne 0x409dc8
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.00409d50
add esp, 8
add ebx, eax
mov dl, byte [esi]
mov byte [edi + esi], dl
inc esi
cmp byte [esi], 0
jne 0x409db0
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00409d50
add esp, 8
pop edi
pop esi
add eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414976
mov esp, ebp
pop ebp
ret
push 0
push esi
call edi
add esp, 8
test eax, eax
je 0x409e15
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
mov eax, 1
je 0x409e17
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414976
mov esp, ebp
pop ebp
ret
Function at 0x40a4a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4192fc
mov eax, dword fs:[0]
push eax
sub esp, 0x6b0
mov eax, dword [0x42613c]
xor eax, esp
mov dword [esp + 0x6a8], eax
push ebx
push esi
push edi
mov eax, dword [0x42613c]
xor eax, esp
push eax
lea eax, [esp + 0x6c0]
mov dword fs:[0], eax
push str.querytool_2017_04_24
push 0
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x40a510
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40a510
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a676
lea esi, [esp + 0x14]
call fcn.00409000
mov ebx, eax
lea esi, [esp + 0x18]
mov dword [esp + 0x6c8], 0
call fcn.00409000
mov esi, eax
push 0x5c
mov ecx, ebx
mov byte [esp + 0x6cc], 1
call dword [sym.imp.mfc100.dll_Ordinal_11744]
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_7487]
push eax
mov ecx, 0x426af0
mov byte [esp + 0x6cc], 2
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c8], 0xffffffff
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 8
mov dword [esp + 0x28], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_7141]
xor ebx, ebx
push ebx
call dword [sym.imp.mfc100.dll_Ordinal_1890]
add esp, 4
call dword [sym.imp.mfc100.dll_Ordinal_1952]
push 0xc
call dword [sym.imp.mfc100.dll_Ordinal_1294]
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x6c8], 3
cmp eax, ebx
je 0x40a5ed
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_849]
mov esi, eax
jmp 0x40a5ef
xor esi, esi
push 0x420448
mov ecx, edi
mov dword [esp + 0x6cc], 0xffffffff
call dword [sym.imp.mfc100.dll_Ordinal_12672]
push ebx
lea edx, [esp + 0x2c]
push edx
lea eax, [edi + 0xb8]
push eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
lea ecx, [esp + 0x3c]
push ecx
call fcn.0040a870
lea edx, [esp + 0x3c]
mov dword [esp + 0x6c8], 4
mov ecx, edx
mov dword [edi + 0x20], edx
call dword [sym.imp.mfc100.dll_Ordinal_3620]
cmp esi, ebx
je 0x40a661
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x6cc], 0xffffffff
call fcn.0040a6a0
xor eax, eax
mov ecx, dword [esp + 0x6c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6a8]
xor ecx, esp
call fcn.00414976
mov esp, ebp
pop ebp
ret
Function at 0x412200
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x42613c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov eax, 2
push ecx
mov edi, edx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [edi]
mov ecx, dword [esi]
mov edi, dword [sym.imp.WS2_32.dll_ioctlsocket]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x130]
push eax
push 0x8004667e
xor ebx, ebx
push ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x128], ebx
call edi
mov eax, dword [esi]
push 0x10
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0x12c], 4
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x412307
mov eax, dword [esi]
lea ecx, [ebp - 0x138]
push ecx
push ebx
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x11c], eax
push ebx
inc eax
push eax
mov dword [ebp - 0x138], 2
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x120], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x412303
mov ecx, dword [esi]
lea eax, [ebp - 0x120]
push eax
push ecx
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x412309
mov ecx, dword [esi]
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x124]
push eax
push 0x1007
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp dword [ebp - 0x124], ebx
sete bl
jmp 0x412309
xor bl, bl
jmp 0x412309
mov bl, 1
mov eax, dword [esi]
lea edx, [ebp - 0x128]
push edx
push 0x8004667e
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00414976
mov esp, ebp
pop ebp
ret

Function at 0x412330
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x42613c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.WS2_32.dll_select]
lea ecx, [ebp - 0x220]
push ecx
push 0
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x10c], eax
push ecx
inc eax
push eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x220], 2
mov dword [ebp - 0x21c], 0
call edi
cmp eax, 0xffffffff
jne 0x4123cd
lea ebx, [ebx]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 4
jne 0x41241d
lea edx, [ebp - 0x220]
push edx
mov edx, dword [esi]
push 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x110]
push ecx
inc edx
push edx
call edi
cmp eax, 0xffffffff
je 0x4123a0
test eax, eax
je 0x41241d
mov ecx, dword [esi]
mov edi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea eax, [ebp - 0x110]
push eax
push ecx
call edi
test eax, eax
je 0x4123fb
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414976
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
lea edx, [ebp - 0x218]
push edx
push eax
call edi
neg eax
sbb eax, eax
and eax, 2
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414976
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00414976
mov esp, ebp
pop ebp
ret
Function at 0x412e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4224e8
push 0x414d90
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x42613c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov byte [ebp - 0x80], 0xb
mov byte [ebp - 0x7f], 0xcd
xor ebx, ebx
mov byte [ebp - 0x7e], bl
mov byte [ebp - 0x7d], 0x10
push 0x40
push ebx
lea eax, [ebp - 0x7c]
push eax
call sub.MSVCR100.dll_memset
push ebx
call sub.MSVCR100.dll__time64
push eax
call sub.MSVCR100.dll_srand
add esp, 0x14
xor esi, esi
call sub.MSVCR100.dll_rand
mov dword [ebp - 0x84], eax
fild dword [ebp - 0x84]
fmul qword [0x41a7c8]
fmul qword [0x41a7c0]
fnstcw word [ebp - 0x82]
movzx eax, word [ebp - 0x82]
or eax, 0xc00
mov dword [ebp - 0x88], eax
fldcw word [ebp - 0x88]
fistp dword [ebp - 0x88]
fldcw word [ebp - 0x82]
mov cl, byte [ebp - 0x88]
mov byte [ebp + esi - 0x2c], cl
add esi, 1
cmp esi, 0x10
jl 0x412e76
and byte [ebp - 0x2b], 0x7f
wait
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x2c]
mov dword [edi + 0x10], edx
wait
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x412ef0
mov cl, byte [eax + str.p_NMs]
xor cl, 0x5b
mov byte [ebp + eax - 0x3c], cl
add eax, 1
cmp eax, 0x10
jl 0x412ef0
lea edx, [ebp - 0x3c]
push edx
call fcn.00414590
lea eax, [ebp - 0x2c]
push eax
call fcn.00414080
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x80]
mov edx, edi
call fcn.00412cc0
jmp 0x412f54
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00414976
mov esp, ebp
pop ebp
ret
Function at 0x414590
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
movzx edx, word [ecx]
mov word [eax], dx
movzx edx, word [ecx + 2]
mov word [eax + 2], dx
movzx edx, word [ecx + 4]
mov word [eax + 4], dx
movzx edx, word [ecx + 6]
mov word [eax + 6], dx
movzx edx, word [ecx + 8]
mov word [eax + 8], dx
movzx edx, word [ecx + 0xa]
mov word [eax + 0xa], dx
movzx edx, word [ecx + 0xc]
push ebx
push ebp
mov word [eax + 0xc], dx
movzx ecx, word [ecx + 0xe]
push esi
push edi
mov word [eax + 0xe], cx
mov esi, 0x426110
mov word [esp + 0x10], dx
mov word [esp + 0x12], cx
add eax, 0x10
mov edi, 0x10
mov ebp, 0x28
nop
mov ebx, edi
and ebx, 0x8000000f
jns 0x4144ff
dec ebx
or ebx, 0xfffffff0
inc ebx
jne 0x414553
movzx edx, byte [esp + 0x11]
movzx edx, byte [edx + str.cw]
mov cl, byte [esp + 0x10]
mov byte [esp + 0x10], dl
movzx edx, byte [esp + 0x12]
movzx edx, byte [edx + str.cw]
mov byte [esp + 0x11], dl
movzx edx, byte [esp + 0x13]
movzx edx, byte [edx + str.cw]
movzx ecx, cl
mov byte [esp + 0x12], dl
movzx edx, byte [ecx + str.cw]
mov byte [esp + 0x13], dl
mov dx, word [esp + 0x10]
xor dx, word [esi]
mov cx, word [esp + 0x12]
add esi, 2
xor dx, word [eax - 0x10]
xor cx, word [eax - 0xe]
mov word [eax], dx
mov word [eax + 2], cx
add eax, 4
add edi, 4
sub ebp, 1
mov word [esp + 0x10], dx
mov word [esp + 0x12], cx
jne 0x4144f0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 4]
mov eax, 0x426668
jmp 0x414490

Function at 0x414976
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42613c]
jne 0x414980
repz ret
jmp fcn.00414e89
Function at 0x3ebd2a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3a5a000]
push edi
jmp 0x3ebd2ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x3ebd2c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3ebd2b0
mov eax, 1
add ebx, ebx
jne 0x3ebd2d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x3ebd2e4
jne 0x3ebd303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3ebd303
dec eax
add ebx, ebx
jne 0x3ebd2f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x3ebd2c8
add ebx, ebx
jne 0x3ebd2ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x3ebd355
xor ecx, ecx
sub eax, 3
jb 0x3ebd31b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x3ebd38a
sar eax, 1
mov ebp, eax
jmp 0x3ebd326
add ebx, ebx
jne 0x3ebd326
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3ebd2f4
inc ecx
add ebx, ebx
jne 0x3ebd334
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3ebd2f4
add ebx, ebx
jne 0x3ebd341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x3ebd336
jne 0x3ebd352
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x3ebd336
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x3ebd374
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x3ebd366
jmp 0x3ebd2b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x3ebd374
add edi, ecx
jmp 0x3ebd2b6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x3ebd392
cmp byte [edi], 0x11
jne 0x3ebd392
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x3ebd397
lea edi, [esi + 0x3ab6000]
mov eax, dword [edi]
or eax, eax
je 0x3ebd40f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7495a8c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7495c08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x3ebd3c4
mov ecx, edi
jns 0x3ebd3f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7495c0c]
or eax, eax
je 0x3ebd409
mov dword [ebx], eax
add ebx, 4
jmp 0x3ebd3e1
call dword [esi + 0x7495c1c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x3ebd440
cmp al, 0xef
ja 0x3ebd433
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x3ebd415
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x3ebd422
mov ebp, dword [esi + 0x7495c10]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x3ebd474
sub esp, 0xffffff80
jmp 0x420577
Function at 0x402277
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
jae 0x40223f
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.00401da1
movsd dword es:[edi], dword [esi]
pushal
fmul st(7), st(0)
lea eax, [ebp - 0x84]
push eax
call fcn.00401db1
push eax
push esi
push dword [ebp + 8]
call fcn.00401d66
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x40259a
jae 0x40223f
inc ebp
invalid
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.00401d12
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x402311
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.00401d12
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x4022de
call fcn.00401da1
mov bh, 0xf
push ss
push 0x33c7e8b
dec byte [ecx - 0x8743]
dec dword [ebx + 0x8087]
add byte [ebx], bh
ret
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40653a
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
xor esi, esi
xor eax, eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
stosd dword es:[edi], eax
pop ecx
xor eax, eax
push dword [ebp + 0xc]
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x406572
test al, 0x10
jne 0x406575
mov dword [ebp + 0xc], esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0xc]
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4065a4
cmp dword [ebp - 0xc], esi
je 0x4065a1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret 8
Function at 0x4065db
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004066e2
test eax, eax
je 0x40662a
cmp dword [ebp + 0xc], 0
push esi
je 0x406624
and dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 3
call sub.KERNEL32.dll_lstrlenA
and byte [eax + esi + 1], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], esi
push eax
mov word [ebp - 0x10], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
jmp 0x40662a
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
push 0xffffffffffffffef
call fcn.00405f97
pop esi
leave
ret 8