joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418d50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420b80], ecx
inc edx
cmp edx, 0x100
jb 0x418d52
cmp edx, 0x800
jae 0x418e29
lea esp, [esp]
mov eax, dword [edx*4 + 0x420780]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420b80]
inc edx
mov dword [edx*4 + 0x420b7c], eax
cmp edx, 0x800
jb 0x418e00
mov eax, 0x419630
mov dword [0x420b74], eax
mov dword [0x422b80], eax
mov dword [0x420b70], 0x419550
call fcn.00419060
test eax, eax
jne 0x418e55
mov dword [0x422b80], 0x419550
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x438c97
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
mov ebx, dword [esp]
add esp, 4
sub esp, 4
mov dword [esp], 0x5b999404
pop ecx
sub ecx, 1
call fcn.00438ce3
mov esi, 0xb3b0703f
sub ecx, 1
xor dword [edx], ebx
dec ecx
add ecx, esi
inc edx
push 0x37edb14f
pop esi
sub esi, 1
cmp edx, edi
jne fcn.00438c97
mov esi, 0xba7c2bff
ret
Function at 0x40b801
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x411a00
cmp edx, dword [eax]
je 0x40b823
add eax, 8
inc ecx
cmp eax, 0x411a90
jl 0x40b814
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x411a00]
jne 0x40b951
mov eax, dword [0x41911c]
cmp eax, 1
je 0x40b92b
test eax, eax
jne 0x40b854
cmp dword [0x411488], 1
je 0x40b92b
cmp edx, 0xfc
je 0x40b951
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b88b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408740
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408910
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b8ce
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408910
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41050c
push edi
call fcn.00408fa0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408740
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408750
lea eax, [ebp - 0xa0]
push 0x4104ec
push eax
call fcn.00408750
push dword [esi + 0x411a04]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408750
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040e2c6
add esp, 0x2c
pop edi
jmp 0x40b951
lea eax, [ebp + 8]
lea esi, [esi + 0x411a04]
push 0
push eax
push dword [esi]
call fcn.00408910
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5bed7130
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6df92607
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x407c40
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42843c]
jne 0x407c4a
repz ret
jmp fcn.00414880
Function at 0x41d500
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
cmp dword [0x444b90], 0x37
jne 0x41d577
push 0x425f38
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
push 0
push 0
push 0
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0x425da4
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [0x444b94]
add dword [ebp - 4], eax
mov eax, 0x12336
add dword [ebp - 4], eax
mov edx, dword [0x43c5dc]
add edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
add eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [edx], cl
mov esp, ebp
pop ebp
ret 4
Function at 0x41dc60
Capabilities:
Copy file
Read .ini file
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [0x444b90], 0x516
jne 0x41dc84
push 0
push 0
call sub.KERNEL32.dll_Process32NextW
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shr edx, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
jmp 0x41dca5
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jae 0x41dd64
cmp dword [0x444b90], 0x29
jne 0x41dcdf
push 0
push 0
push 0
push 0
push 0x425cfc
push 0x425d0c
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
push 0
push 0x425d2c
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
cmp dword [0x444b90], 0xe1b
jne 0x41dcfb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x10]
shl eax, 1
mov dword [ebp - 0x10], eax
cmp dword [0x444b90], 0x1c
jne 0x41dd4c
push 0x425d38
push 0
lea ecx, [ebp - 0x828]
push ecx
push 0x425de0
push 0x425e9c
push 0x425ed8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x28], 0
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
push 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*4]
push eax
call fcn.0041d850
jmp 0x41dc9c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41dd70
Capabilities:
Accept command line arguments
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1698
call fcn.00410990
mov dword [ebp - 4], 0
jmp 0x41dd8f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x32d05d76
jge 0x41de29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x444b90], 0xfc
jne 0x41ddc5
push 0x426000
push 0
push 0x4260b8
push 0x426100
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x444b90], 0x5e4
jne 0x41de19
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
lea ecx, [ebp - 0x458]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea edx, [ebp - 0x678]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMemoryResourceNotification]
cmp dword [ebp - 4], 0x9be51dc
jle 0x41de24
jmp 0x41de29
jmp 0x41dd86
push 0x428fd0
mov ecx, dword [0x444b90]
push ecx
mov edx, dword [0x43c5dc]
push edx
call fcn.0041dc60
mov dword [ebp - 0x67c], 0
jmp 0x41de5c
mov eax, dword [ebp - 0x67c]
add eax, 1
mov dword [ebp - 0x67c], eax
cmp dword [ebp - 0x67c], 0x3e79e
jge 0x41de91
cmp dword [0x444b90], 0x10
jne 0x41de7e
lea ecx, [ebp - 0x680]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebp - 0x67c], 0x1e673
jne 0x41de8f
call fcn.0041d4e0
jmp 0x41de4d
mov dword [ebp - 0x684], 0
jmp 0x41deac
mov edx, dword [ebp - 0x684]
add edx, 1
mov dword [ebp - 0x684], edx
cmp dword [ebp - 0x684], 0xdd9a7
jge 0x41ded4
cmp dword [0x444b90], 0xc01
jne 0x41ded2
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
jmp 0x41de9d
jmp dword [0x43c5dc]
Function at 0x40a0c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40a0da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a0e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a0d0
mov eax, 1
add ebx, ebx
jne 0x40a0f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a0e8
jne 0x40a104
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a0e8
xor ecx, ecx
sub eax, 3
jb 0x40a118
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a18a
mov ebp, eax
add ebx, ebx
jne 0x40a123
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a130
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a154
inc ecx
add ebx, ebx
jne 0x40a140
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a135
jne 0x40a151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a135
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a165
jmp 0x40a0d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a174
add edi, ecx
jmp 0x40a0d6
pop esi
mov edi, esi
mov ecx, 0xc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a192
cmp byte [edi], 0
jne 0x40a192
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 0x40a197
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a206
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a1c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa09c]
or eax, eax
je 0x40a200
mov dword [ebx], eax
add ebx, 4
jmp 0x40a1e1
call dword [esi + 0xa098]
mov ebp, dword [esi + 0xa0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x40a23a
sub esp, 0xffffff80
jmp section.UPX0

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0xad92a2b
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x3c9673d0
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402000
Capabilities:
Terminate process

Disassembly:
call fcn.00402089
push 0
push 2
push 0x404059
push 0x404044
call dword [0x4060ec]
cmp eax, 0x122
jne 0x402054
mov word [0x40406f], ax
call fcn.00403460
push edx
mov eax, eax
push 0
push 2
push 0x404059
push 0x40405b
call dword [0x4060ec]
pop edx
add edx, eax
xor ebx, ebx
mov bx, word [0x40406f]
add edx, ebx
call edx
xor eax, eax
add esp, 0x18
pop edi
pop esi
pop ebx
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x402089
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
push 0x40407d
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
sub esp, 0xe
mov byte [esp], 0x6d
mov byte [esp + 1], 0x63
mov byte [esp + 2], 0x69
mov byte [esp + 3], 0x53
mov byte [esp + 4], 0x65
mov byte [esp + 5], 0x6e
mov byte [esp + 6], 0x64
mov byte [esp + 7], 0x53
mov byte [esp + 8], 0x74
mov byte [esp + 9], 0x72
mov byte [esp + 0xa], 0x69
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xc], 0x67
mov byte [esp + 0xd], 0x41
mov byte [esp + 0xe], 0
lea eax, [esp]
push eax
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x4060ec], eax
leave
ret

Function at 0x40349b
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push ebx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
ret
Function at 0x468407
Capabilities:
Encode data using xor

Disassembly:
jle 0x46832f
fstpnce st(4), st(0)
push edi
inc eax
add dl, bh
cld
pop ebp
push 0x72
inc ebp
inc ebp
push edx
pop ds
mov dl, 0xed
in eax, 0xe9
mov dh, 0xbd
cmp al, 0x5a
mov ebx, 0x7c8a08
and dl, byte [ebp - 0x2f313a25]
ljmp 0x8f58
fisub dword [esp + edi]
fsubr qword [eax - 0x642584b7]
or bl, byte [edi]
popfd
mov dword [eax], esi
mov byte [0x89062764], al
rcr bh, 0x4e
mov eax, eax
fisttp word [esi - 0x78]
push ds
mov byte [esi], bl
ja 0x468365
xchg ebx, eax
ja 0x468355
dec edi
outsd dx, dword [esi]
inc ebx
push ebp
inc edx
jns 0x4682ff
pop edx
mov al, byte [0x62550fd1]
aam 0xde
wait
invalid
ror dword [edi], 1
push ebp
invalid
fsubr dword [eax + ebx*4]
sub al, 0xf9
xor ecx, ebx
xor esp, eax
sub dword [ebp + 0x19d268d2], edx
sahf
push eax
jae 0x4683cd
scasb al, byte es:[edi]
jecxz 0x468345
pop es
xchg ebx, eax
lds eax, [ecx - 0x68bcc997]
push cs
sub cl, 0x57
dec esi
mov ch, 0x73
or byte [edx + 0x74], ch
int 0x66
fsub st(5)
dec esi
mov dword [eax - 0x40b8123], eax
stc
pop esi
sbb dword [ebx], esi
std
adc dword [ecx - 0x62], ecx
jle 0x468341
test byte [ebx - 0x66f1655c], al
cdq
loope 0x4683dc
adc bh, byte [ecx + 0x40]
add dword [edx - 0x50], ebp
sub ecx, dword [edi + 0x73]
cmp ebx, dword [eax + 0xe2d164e]
leave
stosb byte es:[edi], al
push cs
fsub dword [edx - 0x2c4a618d]
in al, dx
dec esi
or byte [ebx - 0x2ff25420], dh
imul eax, ebx, 0xc37a8316
or dword [esi - 0x69], ecx
lcall 0x1965, 0x70f12319
sub esp, dword [ebx + eax*2]
and esi, ecx
jo 0x468441
sbb dword [ebx], ebp
and al, 0x43
xor ah, al
scasd eax, dword es:[edi]
cmp dword [eax + 0x47604f8b], esi
and al, 0xcc
mov bh, 0x93
sub eax, 0x7be32ef3
ror dword [edx + esi*4 - 0x212b9e44], cl
cld
jge 0x4683d8
pop ds
cmpsb byte [esi], byte es:[edi]
addps xmm1, xmmword [ebx - 0x2a]
add eax, 0xaea7184b
jne 0x46839d
stc
or eax, 0xcc791bb9
pop eax
out 0xaf, al
or ebp, 0xffffff96
push edi
into
wait
pushfd
sbb dh, bl
and ah, byte [ebp - 0x76be8653]
jmp 0x25370bf7
xchg byte [edi + 0x4d601e05], ah
aaa
in eax, dx
pop ss
sbb dword [esi + 0x682fa807], ebp
push ecx
adc al, 0x57
call 0xdc0e96b2
jmp 0x4d5f5119

Function at 0x480224
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
lahf
bnd jle 0x48027e
pop esp
xor ecx, dword [eax]
inc ecx
push 0xffffffffffffffc0
or dword [esp], edx
enter 0x4546, 0x3d
invalid
and byte [edi + 0x5de98cd6], al
inc ecx
lcall 0xda1, 0x8ce6fdfa
movsd dword es:[edi], dword fs:[esi]
pushfd
or byte [ebp + 0x5d], dh
inc edx
cli
rcr byte [edi + edi*4 - 0x53], 0x93
enter 0xffffffffffff8c53, 0x13
or ecx, edi
invalid
Function at 0x627d31
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6313d0
cmp edx, dword [eax]
je 0x627d53
add eax, 8
inc ecx
cmp eax, 0x631460
jl 0x627d44
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6313d0]
jne 0x627e81
mov eax, dword [0x639d78]
cmp eax, 1
je 0x627e5b
test eax, eax
jne 0x627d84
cmp dword [0x6312f8], 1
je 0x627e5b
cmp edx, 0xfc
je 0x627e81
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x627dbb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00628710
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00628ba0
or eax, 0x59400000
lea eax, [ebp + 8]
lea esi, [esi + 0x6313d4]
push 0
push eax
push dword [esi]
call fcn.00628ba0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
Function at 0x408769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40c190
cmp edx, dword [eax]
je 0x40878b
add eax, 8
inc ecx
cmp eax, 0x40c220
jl 0x40877c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40c190]
jne 0x4088b9
mov eax, dword [0x40cbb0]
cmp eax, 1
je 0x408893
test eax, eax
jne 0x4087bc
cmp dword [0x40c0e4], 1
je 0x408893
cmp edx, 0xfc
je 0x4088b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4087f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00409670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00409490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x408836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00409490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b45c
push edi
call fcn.00409f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00409670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00409680
lea eax, [ebp - 0xa0]
push 0x40b43c
push eax
call fcn.00409680
push dword [esi + 0x40c194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00409680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00409e75
add esp, 0x2c
pop edi
jmp 0x4088b9
lea eax, [ebp + 8]
lea esi, [esi + 0x40c194]
push 0
push eax
push dword [esi]
call fcn.00409490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x40d058], 1
mov dword [0x40d054], 1
mov dword [0x40d050], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40d00c], eax
mov eax, dword [0x40d064]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x40d078]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x40d060]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x409018], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x40152c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x24
call dbg.__main
mov dword [esp], str.Please_come_down__n
call sym._printf
mov eax, dword [0x409004]
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x1000
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [0x409004]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40a060
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0xc]
call eax
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret

Function at 0x401810
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
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 sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]