joyce8/EMBER2024-capa huggingface dataset:
Function at 0x614428
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x6144ca
cmp dword [ebx + 0xac], 0
jne 0x6144c4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x614364
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x6144c4
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 0x61448a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x6144c4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.004aed10
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x614499
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x6747c8]
cmp dword [eax + 0x188], 0
je 0x614882
test bl, bl
jne 0x6147cd
cmp dword [esi + 0xb4], 0
jne 0x6147c2
mov eax, esi
call fcn.006176cc
push eax
push 0x6145fc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x614793
mov eax, dword [0x6747c8]
cmp byte [eax + 0xeb], 0
je 0x614793
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x614774
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x614793
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x61477c
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x6147c2
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004aed10
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x6147a2
inc dword [esi + 0xb4]
jmp 0x614882
cmp dword [esi + 0xb4], 0
jle 0x614882
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x614882
cmp dword [esi + 0x58], 0
je 0x614837
mov eax, dword [0x6747c8]
cmp byte [eax + 0xeb], 0
je 0x614837
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x614818
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x614837
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x614820
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x614866
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004aed10
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x614846
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x605dc0]
call fcn.0040b6dc
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x6154dc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x615539
cmp byte [ebx + 0xeb], 0
jne 0x615539
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004096f4
mov eax, dword [esi]
test eax, eax
je 0x615526
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x615546
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040994c
jmp 0x615546
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040994c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x616df8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x616e69
mov eax, esi
call fcn.0054abd4
test al, al
je 0x616e69
mov eax, dword [ebx + 0x98]
call fcn.0054a804
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x616e69
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x114]
test al, al
je 0x616e5a
push 0
mov eax, dword [ebx + 0x98]
call fcn.0054a804
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.005414fc
jmp 0x616e69
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.00616c30
pop esi
pop ebx
ret
Function at 0x61db8c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x61dc06
mov eax, dword [ebx + 8]
call fcn.0054a804
mov ecx, eax
mov dl, 1
mov eax, dword [0x55d8a8]
call fcn.00544bc4
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.0056a068
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x61d484
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0054a804
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0054a804
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x61dc7c
mov eax, dword [ebx + 8]
call fcn.0054a804
mov ecx, eax
mov dl, 1
mov eax, dword [0x55d8a8]
call fcn.00544bc4
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.0056a068
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x61d4d0
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0054a804
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0054a804
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x61dce8
mov eax, dword [ebx + 8]
call fcn.0054a804
mov ecx, eax
mov dl, 1
mov eax, dword [0x55e31c]
call fcn.00544bc4
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x290], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0054a804
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0054a804
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x636e70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409650
xor eax, eax
push ebp
push 0x637017
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040956c
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a13c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x636f0c
xor eax, eax
push ebp
push 0x636f00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004067ec
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x636f0c
test bl, bl
je 0x636ff4
xor eax, eax
push ebp
push 0x636fdf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x637028
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.00423484
mov eax, dword [ebp - 8]
push dword [eax]
push 0x637038
mov eax, dword [ebx + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00423484
push dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.0040a418
mov eax, dword [ebp - 8]
push dword [eax]
push 0x637048
mov eax, dword [ebx + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00423484
push dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.0040a418
mov eax, dword [ebp - 8]
push dword [eax]
push 0x637058
mov eax, dword [ebx + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.00423484
push dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.0040a418
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x636fe9
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00406808
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63701e
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004095cc
lea eax, [ebp - 4]
call fcn.0040956c
ret
Function at 0x637114
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov edx, dword [0x66e5fc]
cmp dword [edx], 2
je 0x637130
mov byte [ebp - 1], 1
jmp 0x6372fe
mov byte [ebp - 1], 0
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0x20
push 2
push 0x66d52c
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x6372fe
xor eax, eax
push ebp
push 0x6372f7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 5
jb 0x637192
push 0x637308
push 0x637334
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00411f00
mov ebx, eax
test ebx, ebx
je 0x6371b9
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x6372e0
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x6372e0
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x63720a
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x3f0
je 0x6371eb
call fcn.00408d5c
jmp 0x6372fe
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x63720a
call fcn.00408d5c
jmp 0x6372fe
xor eax, eax
push ebp
push 0x6372d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x63724d
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x7a
je 0x63724d
call fcn.00408d5c
call fcn.00408d5c
jmp 0x6372fe
mov eax, dword [ebp - 0x14]
call fcn.004067ec
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x63727f
call fcn.00408d5c
call fcn.00408d5c
jmp 0x6372fe
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x6372ba
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x6372b6
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x6372b6
mov byte [ebp - 1], 1
jmp 0x6372ba
inc ebx
dec esi
jne 0x63728c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6372e0
mov eax, dword [ebp - 0x18]
call fcn.00406808
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6372fe
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x639538
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov byte [ebp - 1], 0
mov dword [ebp - 8], 7
xor eax, eax
push ebp
push 0x639578
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 8]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x639582
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x63c460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x63c4d1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x66d560]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x63c4bb
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0063c448
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x63bc3c]
call fcn.0063cc3c
mov dword [0x66d5c4], eax
mov eax, dword [ebp - 4]
call fcn.0063c3f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63c4d8
lea eax, [ebp - 8]
call fcn.0040cca4
ret

Function at 0x63c500
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffd4c
mov esi, 0x4008
test cl, cl
je 0x63c513
or esi, 2
test dl, dl
je 0x63c51c
or esi, 0
jmp 0x63c51f
or esi, 1
push esi
push 0x2b4
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [esp + 4]
add esp, 0x2b4
pop esi
ret

Function at 0x63f100
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040956c
push esp
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x63f13a
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov edx, ebx
lea eax, [esp + 4]
call fcn.00424dcc
add esp, 0x210
pop esi
pop ebx
ret
Function at 0x641a94
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffe8
push 0
push 2
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x641afe
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x641afe
lea eax, [esp + 0xc]
push eax
push 0x641b04
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
je 0x641afe
push 0
push 2
call sub.user32.dll_ExitWindowsEx
add esp, 0x18
ret

Function at 0x64622c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00409650
mov eax, dword [ebp - 8]
call fcn.00409650
xor eax, eax
push ebp
push 0x646366
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040720c
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x40], esi
test bl, bl
je 0x646288
mov dword [ebp - 0x44], 0x540
jmp 0x64628f
mov dword [ebp - 0x44], 0x500
cmp byte [ebp + 8], 0
je 0x64629d
mov eax, 0x646378
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.0040a13c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
call fcn.0040a13c
mov dword [ebp - 0x34], eax
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x48]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
je 0x646341
test bl, bl
je 0x646314
mov eax, dword [0x66e35c]
mov eax, dword [eax]
call fcn.00615b30
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
push 0x64
call sub.kernel32.dll_Sleep_2
cmp dword [ebp - 0xc], 0x103
jne 0x646309
mov eax, dword [0x66e35c]
mov eax, dword [eax]
cmp byte [eax + 0xbc], 0
je 0x6462d0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x646321
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov bl, 1
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c]
call fcn.00423484
mov edx, dword [ebp - 0x4c]
mov eax, 0x6748f4
call fcn.0040994c
jmp 0x646343
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64636d
lea eax, [ebp - 0x4c]
call fcn.0040956c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004095cc
ret
Function at 0x6469f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x646adb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, ebx
call fcn.00424064
test al, al
jne 0x646a72
lea eax, [ebp - 4]
mov ecx, ebx
mov edx, 0x646af4
call fcn.0040a390
mov eax, dword [ebp - 4]
call fcn.00641320
cmp byte [0x6748da], 0
jne 0x646a69
push 0x10
push 0x646b30
lea ecx, [ebp - 8]
mov edx, ebx
mov eax, 0x646b48
call fcn.00641378
mov eax, dword [ebp - 8]
call fcn.0040a13c
push eax
mov eax, dword [0x66e35c]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_MessageBoxW
mov byte [0x6748e0], 1
jmp 0x646ac0
push 1
push 0
lea eax, [ebp - 0xc]
mov ecx, ebx
mov edx, 0x646b80
call fcn.0040a390
mov eax, dword [ebp - 0xc]
call fcn.0040a13c
push eax
push 0x646bbc
push 0x646bd8
mov eax, dword [0x66e35c]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.shell32.dll_ShellExecuteW
cmp byte [0x6748d9], 0
je 0x646ac0
mov edx, ebx
mov eax, 0x646bf0
call fcn.00641b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x646ae2
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004095cc
ret
Function at 0x6515a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409650
xor eax, eax
push ebp
push 0x651632
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040956c
mov eax, dword [ebp - 4]
test eax, eax
je 0x6515df
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
jle 0x65160d
mov esi, 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx edx, word [edx + esi*2 - 2]
xor dx, 2
call fcn.0040a164
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0040a338
inc esi
dec ebx
jne 0x6515ea
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.0040994c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x651639
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004095cc
ret
Function at 0x652690
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x652699
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409650
xor eax, eax
push ebp
push 0x6528b1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00409994
lea eax, [ebp - 0xc]
call fcn.0040956c
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x6528cc
call fcn.0040a710
test eax, eax
jle 0x652768
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x6528e0
call fcn.0040a710
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040a500
movzx eax, byte [0x6528e8]
push eax
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x6528f8
mov eax, dword [ebp - 8]
call fcn.0042b4dc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00409994
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x652908
call fcn.0040a710
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.0040a548
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00409994
cmp byte [ebp - 0xd], 0
je 0x652796
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00424064
test al, al
je 0x652796
push 1
push 1
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0064622c
mov ebx, eax
jmp 0x652879
cmp byte [ebp - 0xe], 0
je 0x6527f7
push 0x30
lea edx, [ebp - 0x18]
mov eax, dword [0x6748a4]
call fcn.005415e0
mov eax, dword [ebp - 0x18]
call fcn.0040a13c
push eax
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x65291c
mov edx, 0x65292c
mov eax, dword [0x6748d0]
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
xor edx, edx
call fcn.00641378
mov eax, dword [ebp - 0x1c]
call fcn.0040a13c
push eax
mov eax, dword [0x66e35c]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_MessageBoxW
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00424064
test al, al
je 0x652852
push 1
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004246e0
mov eax, dword [ebp - 0x24]
call fcn.0040a13c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040a13c
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.00424828
mov eax, dword [ebp - 0x28]
call fcn.0040a13c
push eax
push 0x652940
mov eax, dword [0x66e35c]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.shell32.dll_ShellExecuteW
jmp 0x652879
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040a13c
push eax
push 0x652940
mov eax, dword [0x66e35c]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6528b8
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004095cc
lea eax, [ebp - 0x18]
call fcn.0040956c
lea eax, [ebp - 0x14]
call fcn.0040956c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004095cc
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401fe8
cmp byte [esi + ebx - 1], 0xa
je 0x401fbc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4030f8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret