joyce8/EMBER2024-capa huggingface dataset:
Function at 0x529100
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
mov edi, edx
push esi
push ebx
lea ebx, [ecx - 1]
mov ecx, 0x66666667
sub esp, 0x2c
mov dword [esp + 0x1c], eax
mov eax, ebx
mov dword [esp + 0x10], ebx
sar eax, 0x1f
mov esi, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, ebx
sar ebx, 0x1f
imul ecx
mov ecx, edx
sar ecx, 2
sub ecx, ebx
mov ebx, 1
je 0x529153
mov ebp, 0x66666667
mov eax, ecx
sar ecx, 0x1f
add ebx, 1
imul ebp
sar edx, 2
sub edx, ecx
mov ecx, edx
jne 0x529140
mov edx, dword [esi + 0x28]
cmp edx, 0xffffffff
je 0x5291d0
mov ecx, dword [esi + 8]
cmp ebx, edx
cmovl ebx, edx
lea edx, [ebx + 2]
mov eax, ecx
sub eax, edx
cmp ecx, edx
mov edx, 0xffffffff
cmovle eax, edx
mov ecx, 1
mov edx, edi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
add ebx, 1
mov dword [esp], esi
call fcn.005289b0
mov eax, dword [esi + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
mov edx, eax
and eax, 0x20
or edx, 0x1c0
or eax, 0x45
mov dword [esi + 4], edx
mov edx, esi
call fcn.00528580
add dword [esi + 8], ebx
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x14]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00528df0
mov eax, dword [0x536424]
cmp eax, 0xffffffff
je 0x529205
test eax, eax
je 0x5291f5
mov edx, 2
mov dword [esi + 0x28], edx
jmp 0x52915b
mov dword [0x536424], 0
call fcn.0052d390
test al, 1
mov edx, 3
jne 0x5291de
jmp 0x5291e3
mov dword [esp], str.PRINTF_EXPONENT_DIGITS
call sub.msvcrt.dll_getenv
test eax, eax
je 0x5291eb
movsx eax, byte [eax]
sub eax, 0x30
cmp eax, 2
ja 0x5291eb
mov dword [0x536424], 1
jmp 0x5291de
Function at 0x532c20
Capabilities:
Write file on windows

Disassembly:
inc dword [ecx + 0xdc1fa]
add byte [ebp + 2], dh
mov ch, 0x67
xor ebp, 0xaf09
not cl
add ebp, 0x646
imul ecx, ebx, 0x2432b459
add ebp, esi
test bl, 0xf8
push ebp
pop ebx
test dh, bl
bswap esi
push ebx
pop eax
imul ecx, edi
cmp ebx, ebp
jae 0x401515
sub cl, dl
jae 0x40151b
mov ecx, ecx
neg dl
movsx ebp, dl
mov edi, 0x53
mov ecx, eax
xor edi, 0x53
mov dl, dl
lea ebx, [0xd852e15f]
xor edi, eax
mov edx, edi
mov edi, eax
xchg dl, al
ja 0x401543
bswap eax
adc al, 0x3e
mov ah, al
mov ebp, 2
imul ebp, ebp, 0x285
mov bh, bl
bswap edx
jb 0x40155c
test ebx, 0x1cd9b19c
xor al, 0x9b
sub ebp, 0xfffffd84
mov al, bl
sub ebp, 0x27d
imul esi, edi, 0x4d808d23
movzx eax, ch
bswap ecx
cmp ebp, 0x253
jae 0x40154e
pop ecx
dec edx
lea esi, [0xe5646]
jo 0x40158a
test bh, 0xcf
xor esi, 0xe5646
test al, dh
cmp dh, dh
xchg edx, eax
add esi, 0xfffff766
bswap edi
add esi, 0x89b
xchg eax, ebp
jb 0x4015ab
imul edx, edi
cmp esi, 0x456
jb 0x401590
movd mm3, ecx
movd esi, mm3
and bl, ch
dec eax
neg ch
add esi, 0x2457c1
xchg edx, edi
add esi, 0x854
not ecx
push edx
jmp 0x4015d7
mov ebp, edi
dec edi
sbb edi, 0x62cf3f0b
mov edx, 0x7159
lea edi, [0x6178f491]
xor edx, 0xa563
bswap eax
push edx
test dl, cl
pop ebp
xchg edi, edi
xor ebp, 0x9ea
movsx eax, al
push ebp
pop ebx
xchg edx, edi
xor ebx, 0x499
add ebp, ebx
xor ecx, ebx
add eax, 0xf37ee52c
lea ebx, [0xa411adf7]
mov bh, 0x8b
cmp edx, 0x55bb
je 0x401627
inc eax
dec edi
lea ecx, [0xe9d44]
cmp ah, 0xfb
sub ecx, 0xe9d44
inc ecx
mov edx, ebx
cmp ecx, 0x5b6
jb 0x401637
push 0xcb7b8
push 0xd77334
bswap ebp
push esi
mov cl, 0xb1
mov cl, 0xc3
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0052d2a0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.0052d2a0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
pop ebp
jmp 0x4014e0
Function at 0x401cf6
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
cmp dword [esi + 0x94], ebx
lea edi, [esi + 0x94]
je 0x401d1e
mov eax, dword [esi + 0x98]
cmp eax, ebx
je 0x401d1c
push eax
call dword [sym.imp.WINMM.dll_timeKillEvent]
mov dword [edi], ebx
mov eax, dword [esi + 0x90]
lea edi, [esi + 0x90]
cmp eax, ebx
je 0x401d36
push eax
call sub.AVIFIL32.dll_AVIStreamGetFrameClose
mov dword [edi], ebx
mov eax, dword [esi + 0x9c]
cmp eax, ebx
je 0x401d46
push eax
call sub.AVIFIL32.dll_AVIStreamRelease
mov eax, dword [esi + 0x60]
cmp eax, ebx
je 0x401d5f
jne 0x401d53
xor eax, eax
jmp 0x401d56
mov eax, dword [eax + 4]
push eax
push dword [esi + 0x70]
call sub.MFC42.DLL_CDC::SelectGdiObject
cmp dword [esi + 0x70], ebx
je 0x401d6c
lea ecx, [esi + 0x6c]
call sub.MFC42.DLL_CDC::DeleteDC
cmp dword [esi + 0x68], ebx
je 0x401d79
lea ecx, [esi + 0x64]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esi + 0x44]
add esi, 0x44
cmp dword [eax - 8], ebx
je 0x401d92
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
pop edi
pop esi
pop ebx
ret

Function at 0x401f26
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor eax, eax
push dword [ebp + 0xc]
push eax
push eax
push dword [ebp + 8]
push 0x411068
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, eax
cmp ebx, 0x20
ja 0x40200f
lea eax, [ebp - 0x208]
mov esi, 0x80000000
push eax
push str..htm
push esi
call fcn.00402016
add esp, 0xc
test eax, eax
jne 0x40200f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x208]
push str._shellopencommand
push eax
call edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00402016
add esp, 0xc
test eax, eax
jne 0x40200f
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp - 0x208]
push str.__1_
push eax
call ebx
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x401fec
lea eax, [ebp - 0x208]
push 0x411094
push eax
call ebx
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x401fec
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x209]
jmp 0x401fef
and byte [esi], 0
push 0x411098
push esi
call edi
push dword [ebp + 8]
push esi
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ebx, eax
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x402016
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40206f
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x406c35
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, dword [ebx]
mov ecx, ebx
call dword [edi + 0x14]
mov ebp, dword [sym.imp.MSVCRT.dll_malloc]
push 0x10
mov dword [esp + 0x1c], eax
call ebp
mov esi, eax
pop ecx
test esi, esi
jne 0x406c63
push eax
push eax
push 0x411154
jmp 0x406cbf
mov eax, dword [edi + 0x3c]
push 0xc
push esi
mov ecx, ebx
mov dword [esp + 0x18], eax
call eax
cmp dword [esi], 0x46464952
je 0x406c84
push 0
push 0
push 0x411168
jmp 0x406c96
cmp dword [esi + 8], 0x45564157
je 0x406c9d
push 0
push 0
push str.Wrong_wave_format
call sub.MFC42.DLL_AfxMessageBox
jmp 0x406cd6
mov eax, dword [esi + 4]
add eax, 8
push eax
call ebp
xor ebp, ebp
pop ecx
cmp eax, ebp
mov dword [esi + 0xc], eax
jne 0x406cc6
push esi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push ebp
push ebp
push str.error_allocating
call sub.MFC42.DLL_AfxMessageBox
jmp 0x406cde
push ebp
mov ecx, ebx
push dword [esp + 0x1c]
call dword [edi + 0x30]
cmp eax, dword [esp + 0x18]
je 0x406ce2
push esi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
jmp 0x406d07
mov eax, dword [esi + 4]
mov ecx, ebx
add eax, 8
push eax
push dword [esi + 0xc]
call dword [esp + 0x18]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
mov edi, eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x406dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
push 0xfffffffffffffffe
mov ecx, dword [esi + 0x48]
pop edi
mov eax, ecx
cdq
idiv edi
mov dword [ebp - 8], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 8], eax
jge 0x406f06
mov ecx, dword [esi + 0x44]
push 0xfffffffffffffffe
mov eax, ecx
pop edi
cdq
idiv edi
mov dword [ebp - 4], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
jge 0x406efb
fild dword [ebp - 8]
mov eax, dword [esi + 0xb98]
fild dword [ebp - 4]
lea edi, [esi + eax*4 + 0x5f8]
lea ebx, [esi + eax*4 + 0x58]
fld st(1)
fmul dword [edi]
fld st(1)
fmul dword [ebx]
faddp st(1)
fmul dword [esi + 0xb9c]
call sub.MSVCRT.dll__ftol
add eax, 0x10
cdq
fmul dword [edi]
idiv dword [esi + 0xbe0]
fld st(1)
fmul dword [ebx]
fsubp st(1)
fmul dword [esi + 0xb9c]
mov eax, edx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
imul ecx, dword [esi + 0xbdc]
mov dword [ebp - 0x10], ecx
call sub.MSVCRT.dll__ftol
add eax, 0x10
mov ecx, dword [ebp - 0x10]
cdq
idiv dword [esi + 0xbe0]
mov edi, dword [esi + 0xba8]
mov eax, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov eax, dword [esi + 0x48]
cdq
sub eax, edx
mov edx, dword [esi + 0xbe8]
sar eax, 1
add eax, dword [ebp - 8]
mov ecx, dword [edi + ecx*4]
imul eax, dword [esi + 0x44]
add eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
inc dword [ebp - 4]
mov dword [edx + eax*4], ecx
mov eax, dword [esi + 0x44]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
jl 0x406e4c
fstp st(0)
inc dword [ebp - 8]
mov eax, dword [esi + 0x48]
jmp 0x406e1a
mov ecx, dword [esi + 0xc74]
lea eax, [esi + 0xb98]
add dword [eax], ecx
mov ecx, dword [eax]
cmp ecx, 0x168
jl 0x406f21
and dword [eax], 0
fld dword [esi + 0xba0]
fadd dword [esi + 0xb9c]
lea eax, [esi + 0xb9c]
fcom dword [esi + 0xc7c]
fst dword [eax]
fnstsw ax
sahf
jb 0x406f52
fstp st(0)
fld dword [esi + 0xc80]
fchs
fstp dword [esi + 0xba0]
jmp 0x406f69
fcomp qword [0x40fea0]
fnstsw ax
sahf
ja 0x406f69
mov eax, dword [esi + 0xc80]
mov dword [esi + 0xba0], eax
cmp dword [esi + 0x50], 0
je 0x406f91
push dword [esi + 0xc78]
lea edi, [esi + 0xc24]
lea ebx, [esi + 0xbe4]
push edi
mov ecx, ebx
call fcn.00404a8a
push edi
mov ecx, ebx
call fcn.004049fe
push 0x105
push 0
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b969
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea ecx, [ebp - 8]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0xc]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 4]
call sub.MFC42.DLL_CString::CString_1
push 0x105
lea ecx, [ebp - 8]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0xc]
push str.AVC_X.AVI
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 4]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push 0
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll__access]
pop ecx
test eax, eax
pop ecx
je 0x40b9aa
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.0040e1fe
lea ecx, [ebp - 4]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x40d73f
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
jne 0x40d813
push 0x24
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x94]
mov dword [ebp - 0x98], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push dword [0x411df8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x88]
dec eax
je 0x40d7ad
dec eax
jne 0x40d862
mov esi, 0x40d255
mov eax, 0x40d5e4
jmp 0x40d7b7
mov esi, 0x40d12f
mov eax, 0x40d5e0
call eax
push 0x100
push 0x418100
call esi
pop ecx
mov dword [0x42d508], eax
test eax, eax
pop ecx
jbe 0x40d813
mov esi, 0x418110
mov eax, dword [ebp - 4]
cmp eax, dword [esi - 0x10]
je 0x40d804
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call dword [sym.imp.MSVCRT.dll__strupr]
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x40d869
inc ebx
add esi, 0x154
cmp ebx, dword [0x42d508]
jb 0x40d7d5
cmp byte [ebp + 0xc], 1
jne 0x40d862
xor eax, eax
push 0x42d504
push str.program_manager
push eax
mov dword [0x42d50c], eax
mov dword [0x42d504], eax
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp + 8]
mov ecx, 0x42d500
call sub.MFC42.DLL_CString::operator
push dword [0x411df8]
push 0x40d877
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x42d50c]
jmp 0x40d864
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
imul ebx, ebx, 0x154
mov eax, dword [ebx + 0x418100]
jmp 0x40d864
Function at 0x40e520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410b98
push 0x40e730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x42d540], 0xffffffff
mov dword [0x42d544], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x42d534]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x42d530]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x42d53c], ecx
call fcn.0040e720
mov eax, dword [0x411670]
test eax, eax
jne 0x40e5b1
push 0x40e710
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.0040e6f0
push 0x411058
push 0x411054
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x42d52c]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x42d528]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x411050
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x40e6bf
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x40e625
cmp al, 0x22
jne 0x40e617
cmp byte [esi], 0x22
jne 0x40e62e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x40e63e
cmp al, 0x20
ja 0x40e63e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40e62e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x40e65f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x40e664
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x40e6a4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40e62e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40e6bf
Function at 0x425a70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
or ebp, 0xffffffff
jmp 0x425a92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425a88
mov eax, 1
add ebx, ebx
jne 0x425aab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425aa0
jne 0x425abc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425aa0
xor ecx, ecx
sub eax, 3
jb 0x425ad0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x425b42
mov ebp, eax
add ebx, ebx
jne 0x425adb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x425ae8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x425b0c
inc ecx
add ebx, ebx
jne 0x425af8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x425aed
jne 0x425b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425aed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x425b2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x425b1d
jmp 0x425a8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x425b2c
add edi, ecx
jmp 0x425a8e
pop esi
mov edi, esi
mov ecx, 0x3f4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425b4a
cmp byte [edi], 3
jne 0x425b4a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x425b4f
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x425bc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3951c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x39558]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425b7c
mov ecx, edi
jns 0x425bab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x39560]
or eax, eax
je 0x425bc1
mov dword [ebx], eax
add ebx, 4
jmp 0x425b99
call dword [esi + 0x3955c]
mov ebp, dword [esi + 0x39564]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x425bfb
sub esp, 0xffffff80
jmp 0x40152c
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5050400c
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..pdata_1
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6c1a472a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401c60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x408040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x401ce5
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
call edi
cmp eax, 1
jne 0x401ce5
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call ebx
add esp, 8
test eax, eax
je 0x401cff
lea eax, [ebp - 0x230]
push eax
push esi
call edi
cmp eax, 1
je 0x401cc0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004037da
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004037da
mov esp, ebp
pop ebp
ret
Function at 0x4026a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4026cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4026f4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4026fa
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x402784
jg 0x402711
test esi, esi
je 0x402784
test ecx, ecx
jl 0x402767
jg 0x40271b
test eax, eax
je 0x402767
cmp edi, ecx
jg 0x40272f
jl 0x402725
cmp esi, eax
jae 0x40272f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x402784
jg 0x40276a
test esi, esi
je 0x402784
jmp 0x40276a
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x402784
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc