joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4745a0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0xa64
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0xa5c], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x7fe
push eax
mov word [esp + 0x270], ax
xor esi, esi
lea eax, [esp + 0x272]
mov dword [esp + 0x18], ebx
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x268]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4ad34c
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x26c]
push eax
lea edi, [esi + 1]
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov ecx, eax
mov dword [esp + 0x14], ecx
cmp ecx, 0xffffffff
jne 0x47462a
xor eax, eax
jmp 0x4746e8
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
test edi, edi
je 0x4746d5
push 0x4ad2d0
lea eax, [esp + 0x48]
push eax
call ebp
test eax, eax
je 0x4746bf
push 0x4ad2d4
lea eax, [esp + 0x48]
push eax
call ebp
test eax, eax
je 0x4746bf
test byte [esp + 0x18], 0x10
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x270]
push 0x4ada50
push 0x400
push eax
je 0x474691
call fcn.0040a370
add esp, 0x14
push 0
push 0x2000010
jmp 0x47469d
call fcn.0040a370
add esp, 0x14
push 0
push 0
push 3
push 0
push 4
push 0x10000000
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4746bf
push eax
inc esi
call ebx
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call dword [sym.imp.kernel32.dll_FindNextFileW]
mov edi, eax
jmp 0x474636
push dword [esp + 0x14]
call dword [sym.imp.kernel32.dll_FindClose]
cmp esi, 2
lea eax, [esi - 2]
cmovl eax, esi
mov ecx, dword [esp + 0xa6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0xa64
ret
Function at 0x474710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80c
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x808], eax
push esi
xor eax, eax
xor esi, esi
push 0x7fe
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x400
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
je 0x4747a9
push 0x400
lea eax, [esp + 0xc]
push eax
push eax
call dword [sym.imp.kernel32.dll_GetLongPathNameW]
test eax, eax
je 0x4747a9
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474777
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 6], 0x5c
je 0x47479e
push 0x4ad2c8
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea ecx, [esp + 8]
call fcn.004745a0
mov esi, eax
push 0x400
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4747d8
push 0x4bf5b8
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea ecx, [esp + 8]
call fcn.004745a0
add esi, eax
xor eax, eax
mov edx, 4
cmp esi, 5
mov ecx, 1
cmovg eax, edx
cmovg eax, ecx
cmp esi, 0x19
mov ecx, 2
cmovge eax, ecx
cmp esi, 0x32
mov ecx, 3
cmovge eax, ecx
mov ecx, dword [esp + 0x80c]
cmp esi, 0x64
pop esi
cmovge eax, edx
xor ecx, esp
call fcn.0048d815
mov esp, ebp
pop ebp
ret
Function at 0x475710
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
sub esp, 0x24c
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x244], eax
xor eax, eax
push 0xfe
push eax
mov word [esp + 0x48], ax
lea eax, [esp + 0x4a]
push eax
call fcn.0048e770
xor eax, eax
push 0xfe
push eax
mov word [esp + 0x154], ax
lea eax, [esp + 0x156]
push eax
call fcn.0048e770
add esp, 0x18
mov edx, 0x4ae458
mov ecx, 0x4ad81c
call fcn.004773a0
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0x20019
push 0
push 0x4bf6c0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47584c
mov dword [esp + 8], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x64
push eax
push 0
push 0
push 0x4bf714
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0
push eax
call fcn.004955b1
add esp, 8
test eax, eax
jne 0x47587e
lea eax, [esp + 0x1c]
push eax
push 0x4bf724
lea eax, [esp + 0x148]
push 0x80
push eax
call fcn.00496bfc
add esp, 0x10
mov edx, 0x4ae450
mov ecx, 0x4ad81c
call fcn.004773a0
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x40]
push eax
push 0x29bc
push dword [0x4de740]
call dword [sym.imp.user32.dll_GetDlgItem]
push eax
call dword [sym.imp.user32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0048d815
add esp, 0x24c
ret
push 1
call fcn.00495871
int3
Function at 0x475c40
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov eax, 0x1840
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x183c], eax
push ebx
push esi
push 0x7fc
lea eax, [esp + 0x84c]
mov dword [esp + 0x848], 0
push 0
push eax
mov ebx, ecx
call fcn.0048e770
push 0x7fc
lea eax, [esp + 0x58]
mov dword [esp + 0x54], 0
push 0
push eax
call fcn.0048e770
add esp, 0x18
push 2
push 0xffffffffffffffff
push 0x100c
push ebx
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
push eax
call esi
lea ecx, [esp + 0x844]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 8]
push ecx
xor ecx, ecx
mov dword [esp + 0x24], 0x400
cmp eax, 0xffffffff
cmovne ecx, eax
push ecx
push 0x1073
push ebx
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
push eax
call esi
lea eax, [esp + 0x844]
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x104c], ax
lea eax, [esp + 0x104e]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x1044]
push eax
push 0x400
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov esi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
je 0x475d57
lea eax, [esp + 0x1044]
push eax
call esi
jmp 0x475d75
push 0x5c
push 0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
lea ecx, [esp + 0x44]
sub eax, ecx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x44], cx
mov eax, dword [0x4def88]
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x844]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x20], eax
lea eax, [esp + 8]
push eax
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x4c
mov dword [esp + 0x18], 0x4af6a8
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 5
mov dword [esp + 0x2c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x1844]
pop esi
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x1840
ret

Function at 0x4761b0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x260
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x258], eax
push edi
push ecx
call fcn.00492273
add esp, 4
lea eax, [esp + 8]
push eax
push 0x4ad34c
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x476240
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
push edi
test eax, eax
jne 0x47622d
call dword [sym.imp.kernel32.dll_FindClose]
push 0x4deb78
call fcn.00492273
add esp, 4
xor eax, eax
pop edi
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0048d815
add esp, 0x260
ret
call dword [sym.imp.kernel32.dll_FindClose]
push 0x4deb78
call fcn.00492273
add esp, 4
mov ecx, dword [esp + 0x25c]
mov eax, 1
pop edi
xor ecx, esp
call fcn.0048d815
add esp, 0x260
ret
Function at 0x4771c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [0x4def88]
xorps xmm0, xmm0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
lea eax, [esp]
push eax
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 4], 0x3c
mov dword [esp + 8], 0x4c
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 5
mov dword [esp + 0x24], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
add esp, 0x3c
ret

Function at 0x477230
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x8a8
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x8a0], eax
push esi
push 0x800
lea eax, [esp + 0xa4]
mov esi, ecx
push 0
push eax
call fcn.0048e770
push 0x58
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0048e770
mov eax, dword [InitializeSListHead]
add esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [0x4def88]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x24], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x58
mov dword [esp + 0x40], 0x81824
mov dword [esp + 0x18], 0x4af8d0
mov dword [esp + 0x3c], 0x4bfa6c
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0x400
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], 0
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test esi, esi
je 0x47736a
cmp word [esp + 0xa0], 0
je 0x477386
mov eax, dword [0x4def88]
xorps xmm0, xmm0
mov dword [esp + 0x6c], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x64]
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
movaps xmm0, xmmword [0x4c1390]
push eax
mov dword [esp + 0x68], 0x3c
mov dword [esp + 0x6c], 0x4c
mov dword [esp + 0x74], 0
movups xmmword [esp + 0x7c], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
mov ecx, dword [esp + 0x8a0]
xor ecx, esp
call fcn.0048d815
add esp, 0x8a8
ret
push dword [esp + 0x24]
push 0x272f
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
push eax
call dword [sym.imp.user32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x8a4]
pop esi
xor ecx, esp
call fcn.0048d815
add esp, 0x8a8
ret
Function at 0x4775f0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
lea eax, [esp + 8]
mov esi, ecx
push eax
push 0x28
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x47767a
lea eax, [esp + 0x10]
push eax
push 0x4bfaa8
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 1
push eax
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x47767a
push eax
push esi
call dword [sym.imp.user32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0048d815
add esp, 0x20
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0048d815
add esp, 0x20
ret
Function at 0x4785b0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
sub esp, 0x7dc
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x7d8], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x7ce
push eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1e]
push eax
mov dword [esp + 0x1c], ebx
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x14]
push 0x3e8
push eax
push ebx
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x14]
push eax
call edi
test eax, eax
jne 0x47876f
push 0x4c0878
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x47864e
mov ecx, eax
lea edx, [esp + 0x14]
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x7d0
jae 0x478789
add eax, 0xc
xor edx, edx
push eax
lea eax, [esp + 0x18]
mov word [esp + ecx + 0x18], dx
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x14]
push eax
call edi
test eax, eax
jne 0x47876f
push 0x4bf544
mov dword [esp + 0x10], eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.kernel32.dll_FreeLibrary]
mov esi, eax
test esi, esi
jne 0x478689
push 0x4bf544
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4786a3
push 0x4c0888
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x4786a0
lea ecx, [esp + 0xc]
push ecx
call eax
push esi
call ebx
push 0x3e8
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x14]
push eax
call edi
test eax, eax
jne 0x47876f
push 0x4c0878
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x478707
mov ecx, eax
lea edx, [esp + 0x14]
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x7d0
jae 0x478789
add eax, 0xc
xor edx, edx
push eax
lea eax, [esp + 0x18]
mov word [esp + ecx + 0x18], dx
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x14]
push eax
call edi
test eax, eax
jne 0x47876f
mov edi, dword [esp + 0xc]
test edi, edi
je 0x478752
push 0x4bf544
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x47873c
push 0x4bf544
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x478752
push 0x4c08a8
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x47874f
push edi
call eax
push esi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x7d8]
xor ecx, esp
call fcn.0048d815
add esp, 0x7dc
ret
mov ecx, dword [esp + 0x7e4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x7dc
ret
call fcn.0048d945
int3
Function at 0x47b450
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
push 0
push 0
push 0x31
push dword [reloc.kernel32.dll_InitializeSListHead]
call dword [sym.imp.user32.dll_SendMessageW]
push dword [reloc.kernel32.dll_InitializeSListHead]
mov dword [0x4deb60], eax
call dword [sym.imp.user32.dll_GetDC]
push dword [0x4deb60]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x34
push 0x4bf638
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea eax, [esp + 0x10]
push eax
push 0x104
push ebx
call dword [sym.imp.GDI32.dll_GetTextFaceW]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push dword [reloc.kernel32.dll_InitializeSListHead]
call dword [sym.imp.user32.dll_ReleaseDC]
mov esi, dword [sym.imp.GDI32.dll_CreateFontW]
lea eax, [esp + 0x10]
push eax
push 0x22
push 5
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push dword [esp + 0x40]
call esi
mov dword [0x4deb60], eax
lea eax, [esp + 0x10]
push eax
push 0x22
push 5
push 0
push 0
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push dword [esp + 0x40]
call esi
mov dword [SHFileOperationW], eax
lea eax, [esp + 0x10]
push eax
push 0x22
push 5
push 0
push 0
push 1
push 0
push 0
push 1
push 0x190
push 0
push 0
push 0
push dword [esp + 0x40]
call esi
push 0x4ded80
push 1
push 0x4ba724
push 0x4af780
mov dword [0x4df1a0], eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x47b5e6
push 0x4bf6a4
push eax
push eax
push eax
push eax
push 1
push eax
push eax
push eax
push 0x190
push eax
push eax
push eax
push 6
call esi
push 0x4bf6a4
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 6
mov dword [0x4deb60], eax
call esi
push 0x4bf6a4
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 1
push 0x190
push 0
push 0
push 0
push 6
mov dword [SHFileOperationW], eax
call esi
mov dword [0x4df1a0], eax
push 1
push dword [0x4deb60]
push 0x30
push dword [reloc.kernel32.dll_InitializeSListHead]
call dword [sym.imp.user32.dll_SendMessageW]
mov ecx, dword [esp + 0x21c]
pop esi
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x21c
ret
Function at 0x47b620
Capabilities:
Read .ini file

Disassembly:
push 0x4ded80
push 1
push 0x4ba738
push 0x4af780
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x47b6da
mov eax, dword [0x4def88]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4c0b2c
push reloc.user32.dll_DrawTextExW
mov dword [0x4df3d0], 0x3bc
mov dword [0x4df3dc], 0x17
mov dword [DrawTextExW], 0x411
mov dword [0x4df3d4], eax
mov dword [OffsetRect], 0x6e5769
call esi
push 0x4c0b2c
push ScreenToClient
call esi
push 0x6c
push dword [InitializeSListHead]
call dword [sym.imp.user32.dll_LoadIconW]
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0x4df3d0
push 0
mov dword [DrawTextExW], eax
call esi
push 0x6c
push dword [InitializeSListHead]
mov dword [0x4df3dc], 2
call dword [sym.imp.user32.dll_LoadIconW]
push 0x4df3d0
push 1
mov dword [DrawTextExW], eax
call esi
pop esi
ret
push 0x4df3d0
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
ret
Function at 0x48e120
Capabilities:
Parse pe header

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

Function at 0x492273
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049210e

Function at 0x49d7e8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049d667

Function at 0x49fb35
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049f7f5

Function at 0x4a5810
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4a583d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a583d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x3c0f6015
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x15fb180e
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x405240
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x405391
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
nop dword [eax]
call esi
add byte [edi + ebp], 0x29
call esi
add byte [edi + ebp], 0xe7
call esi
xor byte [edi + ebp], 0x83
call esi
add byte [edi + ebp], 0x50
call esi
add byte [edi + ebp], 0x6c
call esi
add byte [edi + ebp], 0x9b
call esi
add byte [edi + ebp], 0x49
call esi
xor byte [edi + ebp], 0x9e
call esi
add byte [edi + ebp], 0x2a
call esi
add byte [edi + ebp], 0xf4
call esi
xor byte [edi + ebp], 0xb3
call esi
add byte [edi + ebp], 0x47
call esi
add byte [edi + ebp], 0x9e
call esi
add byte [edi + ebp], 0x88
call esi
add byte [edi + ebp], 0x7b
call esi
add byte [edi + ebp], 0x78
call esi
xor byte [edi + ebp], 3
call esi
add byte [edi + ebp], 0x10
call esi
add byte [edi + ebp], 0x4e
call esi
add byte [edi + ebp], 0x61
call esi
add byte [edi + ebp], 0x9a
call esi
add byte [edi + ebp], 0x3d
call esi
add byte [edi + ebp], 0x6c
call esi
add byte [edi + ebp], 0xef
call esi
add byte [edi + ebp], 0xac
call esi
xor byte [edi + ebp], 0x3a
call esi
add byte [edi + ebp], 0x94
call esi
add byte [edi + ebp], 0x2a
call esi
add byte [edi + ebp], 0xc9
call esi
add byte [edi + ebp], 0xd6
call esi
add byte [edi + ebp], 0xab
call esi
xor byte [edi + ebp], 0x9e
call esi
xor byte [edi + ebp], 0xe0
call esi
xor byte [edi + ebp], 0x7a
call esi
add byte [edi + ebp], 0x7e
call esi
add byte [edi + ebp], 0x6d
call esi
xor byte [edi + ebp], 0xc0
call esi
add byte [edi + ebp], 0x7e
call esi
add byte [edi + ebp], 0x96
call esi
xor byte [edi + ebp], 0x48
call esi
add byte [edi + ebp], 0x88
call esi
xor byte [edi + ebp], 0xc3
call esi
add byte [edi + ebp], 0xa1
call esi
xor byte [edi + ebp], 0x98
call esi
add byte [edi + ebp], 0x4e
call esi
xor byte [edi + ebp], 0xc
call esi
add byte [edi + ebp], 0x60
call esi
add byte [edi + ebp], 0xcb
call esi
add byte [edi + ebp], 0xe2
inc edi
cmp edi, ebx
jb 0x405260
pop esi
pop ebp
pop edi
pop ebx
ret