joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a30b4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a30cb
add esp, 0xfffffff0
call fcn.004052c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ad50
mov eax, dword [0x4aeea4]
cmp byte [eax], 0
jne 0x4a30f8
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4af0e4]
cmp word [eax + 2], 0
jne 0x4a3112
mov eax, dword [0x4af0e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a51ac
mov eax, dword [0x4af1b8]
cmp word [eax + 2], 0
jne 0x4a312c
mov eax, dword [0x4af1b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a53bc
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x445588]
call fcn.0044a590
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a596c
mov dl, 1
mov eax, dword [0x4243d0]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4243d0]
call fcn.00404d78
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x448c20]
call fcn.00451388
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a330c
mov eax, dword [0x4aefe0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045181c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a5c54
mov dl, 1
mov eax, dword [0x4243d0]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4aefe0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004117d8
test eax, eax
je 0x4a323d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004115bc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004117bc
test eax, eax
je 0x4a3255
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004069ec
push ebx
push 0x4a4b7c
call fcn.00498dc4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4aeea4]
cmp byte [eax], 0
jne 0x4a32a6
mov eax, ebx
call fcn.004a3480
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a5e80
mov eax, ebx
call fcn.004a6ab4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a3303
call fcn.0040531c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a3754
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a37f6
cmp dword [ebx + 0x94], 0
jne 0x4a37f0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a36a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a37f0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a37b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a37f0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0042f1a4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a37c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a3a14
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b5280]
cmp dword [eax + 0x170], 0
je 0x4a3b79
test bl, bl
jne 0x4a3ac7
cmp dword [esi + 0x9c], 0
jne 0x4a3abc
mov eax, esi
call fcn.004a6904
push eax
push 0x4a3920
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a3a8d
mov eax, dword [0x4b5280]
cmp byte [eax + 0xd3], 0
je 0x4a3a8d
mov eax, dword [esi + 0xd8]
call fcn.00407e08
mov edi, eax
cmp edi, 0
jl 0x4a3a8d
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a3a76
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a3abc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f1a4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a3a9c
inc dword [esi + 0x9c]
jmp 0x4a3b79
cmp dword [esi + 0x9c], 0
jle 0x4a3b79
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a3b79
cmp dword [esi + 0x44], 0
je 0x4a3b24
mov eax, dword [0x4b5280]
cmp byte [eax + 0xd3], 0
je 0x4a3b24
mov eax, dword [esi + 0xd8]
call fcn.00407e08
mov edi, eax
cmp edi, 0
jl 0x4a3b24
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a3b0d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a3b53
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f1a4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a3b33
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x496c9c]
call fcn.00407fc8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a47c8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a4833
cmp byte [ebx + 0xd3], 0
jne 0x4a4833
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406940
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a4820
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a4840
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406804
jmp 0x4a4840
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406804
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a6068
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a60d6
mov eax, esi
call fcn.0047e6f0
test al, al
je 0x4a60d6
mov eax, dword [ebx + 0x84]
call fcn.0047e344
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a60d6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a60ca
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047e344
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00475318
jmp 0x4a60d6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a5ea0
pop esi
pop ebx
ret
Function at 0x4501d0
Capabilities:
Check mutex on windows
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x6a8c7c]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
push str.0236C3B2_E90F_47DC_969C_19707030D2C3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45022c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.005d584c
mov esp, ebp
pop ebp
ret 0x10
push ecx
call fcn.0046e3e0
mov ecx, eax
call fcn.0046e460
call fcn.0045b4a0
push 0x20a
mov edi, eax
lea eax, [esp + 0x74]
push 0
push eax
call fcn.005ed310
add esp, 0xc
lea eax, [esp + 0x70]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x685d44
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x70]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450294
sub eax, edx
lea ecx, [edi + 8]
sar eax, 1
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0044e430
push ecx
push str.MainUI
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0x685028
mov dword [esp + 0x6c], vtable.nbase::SupportWeakCallback.0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call fcn.004da3a0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CMarchApp.0
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x20], vtable.CMarchApp.1.0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x28], 1
mov byte [esp + 0x24], 1
mov dword [esp + 0x38], 0
call dword [eax + 4]
lea ecx, [esp + 0x10]
call fcn.00450160
call fcn.0045b4a0
mov ebx, eax
mov ecx, ebx
call fcn.0045c110
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x45035d
push eax
call edi
mov dword [ebx + 4], 0
call fcn.0046e3e0
test esi, esi
je 0x450369
push esi
call edi
mov ecx, dword [esp + 0x284]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005d584c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x462020
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61903b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x6a8c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x234]
mov esi, dword [ebp + 8]
push edi
push esi
push str.__s___s
push eax
call fcn.004db460
add esp, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x278], 0x44
push ecx
push 0
push 0
xor eax, eax
mov dword [ebp - 0x24c], 0x101
cmp dword [ebp - 0x220], 8
xorps xmm0, xmm0
push 0
mov word [ebp - 0x236], ax
mov eax, 1
push 0
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push 0
push 0
push eax
push 0
movlpd qword [ebp - 0x274], xmm0
movlpd qword [ebp - 0x26c], xmm0
movlpd qword [ebp - 0x264], xmm0
movlpd qword [ebp - 0x25c], xmm0
movlpd qword [ebp - 0x254], xmm0
movlpd qword [ebp - 0x246], xmm0
movlpd qword [ebp - 0x23e], xmm0
movups xmmword [ebp - 0x288], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x462131
push dword [ebp - 0x284]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x288]
call esi
jmp 0x4621fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x4621fb
call fcn.0046e3e0
cmp dword [eax], 5
jle 0x4621e7
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005ed310
push esi
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.005f6a7e
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x38
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x2c4], 0x3c
push 0
push eax
call fcn.005ed310
add esp, 0xc
mov dword [ebp - 0x2c0], 0x40
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2b8], str.runas
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2b4], esi
push eax
mov dword [ebp - 0x2b0], edi
mov dword [ebp - 0x2a8], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x4621fb
push 0xa
push esi
push 0
push 0
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x462237
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46222d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462254
push edx
push ecx
call fcn.005d588d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d584c
mov esp, ebp
pop ebp
ret 8
call fcn.005f564e
int3
Function at 0x468f70
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 4]
push edi
xor edi, edi
mov ax, word [esi + 0xc]
mov word [esi - 0x838], di
mov word [esi - 0x844], ax
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
jne 0x468f97
mov dword [esi - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esi - 0x834]
mov dword [esi - 0x89c], 0x3c
cmp dword [eax - 4], 1
jbe 0x468fe2
mov eax, dword [esi - 0x83c]
lea ecx, [esi - 0x858]
lea edx, [esi - 0x828]
push ecx
push edx
mov edx, dword [esi - 0x82c]
lea ecx, [esi - 0x810]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi - 0x834]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 8]
mov dword [esi - 0x88c], eax
mov eax, dword [esi + 8]
mov dword [esi - 0x898], 0x40
mov dword [esi - 0x824], eax
mov dword [esi - 0x818], ecx
mov dword [esi - 0x858], edi
mov dword [esi - 0x820], edx
mov dword [esi - 0x854], edi
mov dword [esi - 0x850], edi
mov dword [esi - 0x84c], edi
mov dword [esi - 0x848], edi
mov eax, dword [esi - 0x818]
add eax, 0x14
mov dword [esi - 0x830], edi
mov dword [esi - 0x83c], eax
mov eax, dword [esi - 0x864]
cmp eax, edi
mov dword [esi - 0x840], edi
je 0x469058
lea eax, [esi*8]
pop edi
pop esi
pop ecx
ret

Function at 0x4ae150
Capabilities:
Delete file
Read data from internet
Receive data

Disassembly:
mov ecx, dword [0x51f438]
mov edx, dword [esp - 4]
sub esp, 8
cmp ecx, 0xbb40e64e
push ebx
mov ebx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0xc]
je 0x4ae187
test ecx, 0xffff0000
je 0x4ae187
mov esi, dword [esp + 0xc]
mov eax, ecx
not eax
mov dword [0x51f43c], eax
jmp 0x4ae1b3
mov esi, edi
xor esi, edx
xor esi, ebx
cmp esi, 0xbb40e64e
je 0x4ae19d
test ecx, 0xffff0000
jne 0x4ae1a2
mov esi, 0xbb40e64f
mov eax, esi
mov ecx, esi
not eax
mov dword [0x51f438], ecx
mov dword [0x51f43c], eax
cmp ecx, 0xbb40e64e
je 0x4ae1f4
test ecx, 0xffff0000
je 0x4ae1f4
push 0x51f242
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x4ae1d7
call fcn.00469060
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x51f438]
not ecx
mov dword [0x51f43c], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
jmp 0x4ae21a
mov eax, edi
xor eax, edx
xor eax, ebx
cmp eax, 0xbb40e64e
je 0x4ae209
test ecx, 0xffff0000
jne 0x4ae20e
mov eax, 0xbb40e64f
mov dword [0x51f438], eax
not eax
mov dword [0x51f43c], eax
push 0
push 0
push 5
push 1
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x51f438]
cmp edx, 0xbb40e64e
je 0x4ae259
test edx, 0xffff0000
je 0x4ae259
mov esi, edx
not esi
mov dword [0x51f43c], esi
jmp 0x4ae28c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
xor edi, eax
mov esi, eax
xor edi, ecx
xor esi, ecx
cmp edi, 0xbb40e64e
je 0x4ae279
test edx, 0xffff0000
jne 0x4ae27e
mov edi, 0xbb40e64f
mov dword [0x51f438], edi
not edi
mov dword [0x51f43c], edi
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4d1000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x7b0
push ebx
push ebp
push esi
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x10]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov al, 0x61
push ebx
mov byte [esp + 0x44], al
mov byte [esp + 0x54], al
mov byte [esp + 0x94], 0x6e
mov dword [esp + 0x45], 0x65687070
call fcn.004ae150
mov ecx, dword [0x51f298]
add esp, 4
mov al, 0x6c
cmp ecx, 0x12563414
mov dword [esp + 0x51], 0x642e6c74
mov byte [esp + 0x55], al
mov byte [esp + 0x56], al
mov esi, 0x6c6c642e
jne 0x4d1094
mov dword [0x51f298], 1
call fcn.004ae3d0
mov eax, dword [0x51f938]
mov ecx, dword fs:[0x2c]
push ebx
mov edx, dword [ecx + eax*4]
mov dword [edx + 8], 0xffffffff
call fcn.004ae140
add esp, 4
jmp 0x4d10d2
mov dword [esp + 0x45], 0x642e706c
mov dword [0x51f424], 0x61427349
mov dword [0x51f428], 0x61655264
mov dword [0x51f42c], 0x72745064
mov byte [esp + 0x49], al
mov byte [esp + 0x4a], al
mov dword [0x51f414], 0x48777361
mov dword [0x51f41c], esi
mov ebp, dword [esp + 0x7c4]
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x51b118], esi
lea eax, [esp + 0x90]
mov esi, 0x446020
push 0x51f3d8
mov dword [esp + 0x2c], 0x4d1290
mov dword [esp + 0x20], fcn.00469060
mov dword [esp + 0x64], 0x50746547
mov dword [esp + 0x74], 0x416c7441
mov dword [esp + 0x28], 0x401000
mov dword [esp + 0x34], 0x4f3aa0
mov dword [esp + 0x24], 0x48b930
mov dword [esp + 0x30], 0x4ae7f0
mov dword [esp + 0x3c], 0x446020
mov dword [esp + 0x78], 0x73697664
mov dword [esp + 0x14], ebp
mov byte [esp + 0x7c], 0x65
mov dword [esp + 0x68], 0x4c6d7265
mov dword [0x51b110], 0x61766461
mov dword [0x51b114], 0x32336970
mov dword [esp + 0x6c], 0x72657961
mov dword [esp + 0x1c], 0x423810
mov dword [0x51f418], 0x786b6f6f
mov dword [esp + 0x38], 0x446760
mov dword [esp + 0x40], 0x51b030
mov dword [esp + 0x8c], 0x4ae3f0
mov dword [0x51f0d4], ebx
mov dword [0x51f0d8], ebx
mov dword [0x51f8e8], eax
mov byte [0x51f3d4], bl
mov byte [0x51f3e1], bl
mov byte [esp + 0x70], 0x73
add esi, 0x10
mov dword [esp + 0x18], ecx
call edi
push 0x51f3c8
mov dword [0x51f4c0], eax
call edi
push 0x51f320
mov dword [esp + 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4d122a
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], 0x423810
mov dword [esp + 0x34], 0x446760
call fcn.004ae2b0
push ebp
call fcn.004d1000
lea edx, [esp + 0x28]
push edx
call fcn.00446040
add esp, 0x1c
jmp 0x4d1252
push 0x51b110
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x51b124
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [esp + 0x90]
push esi
push eax
call fcn.004ae7b0
add esp, 8
mov ecx, dword [esp + 0x84]
push 0x51f424
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x10]
mov dword [esp + 0x80], eax
push edx
lea eax, [esp + 0x94]
call eax
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7b0
ret
Function at 0x408931
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x4085d8
pop ecx
sub edx, ebx
inc ebx
call fcn.0040895e
add edx, 0xa1298708
mov edx, 0x238c6c64
xor dword [edi], ecx
and ebx, edx
and edx, ebx
inc edi
cmp edi, eax
jne fcn.00408931
add edx, 1
sub edx, ebx
ret
Function at 0x407912
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407951
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407951
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407951
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407951
cmp dword [ecx + 0x74], 0xe
jbe 0x407951
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
mov ecx, 0x59330376
nop
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x2498386e
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219