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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x14
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov dword [ebp - 0xc], eax
mov eax, 0
mov dword [ebp - 0x18], 0
mov eax, 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x49a418
push 0x64
call fcn.0043e614
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x49a3fb
mov eax, dword [ebp - 0x1c]
cmp eax, 0
je 0x49a34a
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0x3d
jne 0x49a34a
mov esi, dword [ebp - 0x10]
mov al, byte [esi + 1]
cmp al, 0
jne 0x49a34a
jmp 0x49a34e
xor eax, eax
jmp 0x49a351
xor eax, eax
inc eax
cmp eax, 0
je 0x49a3e9
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.00444319
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.00444319
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov edx, eax
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
mov al, byte [esi + 2]
cmp al, 0
jne 0x49a3bf
mov esi, dword [ebp - 0x10]
mov al, byte [esi + 3]
cmp al, 0
jne 0x49a3bf
jmp 0x49a3c3
xor eax, eax
jmp 0x49a3c6
xor eax, eax
inc eax
cmp eax, 0
je 0x49a3d2
jmp 0x49a404
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x14], eax
mov eax, 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
xor eax, eax
inc eax
jne 0x49a328
push dword [ebp - 0x18]
call fcn.0043d996
mov dword [ebp - 0x1c], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x18]
call fcn.0045e912
leave
ret
Function at 0x49a471
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xe4
push 8
call fcn.004876cc
push eax
call fcn.0045446e
mov dword [ebp - 0xc], eax
call fcn.004876cc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax]
add eax, 0x14
mov dword [ebp - 0x10], eax
mov eax, 0x9c
xchg edx, eax
lea eax, [ebp - 0xb4]
mov dword [eax], edx
mov eax, 0
xchg edx, eax
lea eax, [ebp - 0xb4]
mov dword [eax + 0x14], edx
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
lea eax, [ebp - 0xb4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xb4]
mov al, byte [eax + 0x9a]
cmp al, 1
setne al
xor ah, ah
cwde
mov dword [ebp - 0xec], eax
push 0
push dword [ebp - 0x18]
push 8
push str.Windows
call fcn.00444255
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xb4]
mov eax, dword [eax + 4]
cmp eax, 5
je 0x49a5bc
cmp eax, 6
je 0x49a617
mov eax, dword [ebp - 0xec]
cmp eax, 0
je 0x49a589
mov eax, dword [ebp - 0xe8]
cmp eax, 0x4f3d
jl 0x49a559
mov eax, str.Server_2022
jmp 0x49a587
mov eax, dword [ebp - 0xe8]
cmp eax, 0x42ee
jl 0x49a56d
mov eax, str.Server_2019
jmp 0x49a587
xor eax, eax
inc eax
je 0x49a579
mov eax, str.Server_2016
jmp 0x49a587
call fcn.0049a57e
mov eax, dword [ebp - 0xe8]
cmp eax, 0x55f0
jl 0x49a59d
mov eax, 0x54bbec
jmp 0x49a5b7
xor eax, eax
inc eax
je 0x49a5a9
mov eax, 0x54bbef
jmp 0x49a5b7
call fcn.0049a5ae
lea eax, [ebp - 0xb4]
mov eax, dword [eax + 8]
cmp eax, 0
je 0x49a5eb
cmp eax, 1
je 0x49a5f2
cmp eax, 2
je 0x49a5f9
call fcn.0049a5e2
mov eax, 0x54bb66
jmp 0x49a612
mov eax, dword [ebp - 0xec]
cmp eax, 0
je 0x49a60d
mov eax, str.Server_2003_R2
jmp 0x49a612
mov eax, str.Server_2003
lea eax, [ebp - 0xb4]
mov eax, dword [eax + 8]
cmp eax, 0
je 0x49a64d
cmp eax, 1
je 0x49a668
cmp eax, 2
je 0x49a683
cmp eax, 3
je 0x49a69e
call fcn.0049a644
mov eax, dword [ebp - 0xec]
cmp eax, 0
je 0x49a67c
mov eax, str.Server_2008_R1
jmp 0x49a681
mov eax, 0x54bba5
jmp 0x49a6b7
mov eax, dword [ebp - 0xec]
cmp eax, 0
je 0x49a697
mov eax, str.Server_2012
jmp 0x49a69c
mov eax, 0x54bbb3
jmp 0x49a6b7
mov eax, dword [ebp - 0xec]
cmp eax, 0
je 0x49a6b2
mov eax, str.Server_2012_R2
jmp 0x49a6b7
mov eax, 0x54bbc4
Function at 0x49aa66
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x18
mov eax, 0x1000
mov dword [ebp - 0x18], 0x1000
mov eax, 0
mov dword [ebp - 0x20], 0
mov eax, 0
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub eax, edx
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
add eax, edx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0x10]
cmp eax, 0
jle 0x49ab0a
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jne 0x49ab0a
mov eax, 2
push edx
mov edx, dword [ebp - 0x18]
imul edx
pop edx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.MSVCRT.DLL_realloc]
add esp, 8
mov edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
jne 0x49aa88
mov eax, dword [ebp - 0x20]
xchg edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
leave
ret 8
Function at 0x500bfb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.DLL_exit]
add esp, 4
leave
ret 4

Function at 0x50201f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xf
je 0x50204d
cmp eax, 5
je 0x502084
mov dword [ebp - 0x20], 0
jmp 0x502139
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0044b2fa
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0044b2fa
pop edx
xchg edx, eax
cmp eax, edx
sete al
xor ah, ah
cwde
mov dword [ebp - 0x20], eax
jmp 0x502139
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
call fcn.0043da6a
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call fcn.0043daa0
mov dword [ebp - 0x14], eax
jmp 0x50210f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
je 0x5020c8
mov eax, dword [ebp - 0x1c]
cmp eax, 0x11
je 0x5020c8
xor eax, eax
jmp 0x5020cb
xor eax, eax
inc eax
cmp eax, 0
je 0x502104
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0044b2fa
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0044b2fa
pop edx
xchg edx, eax
cmp eax, edx
sete al
xor ah, ah
cwde
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
xor al, 1
cmp eax, 0
je 0x502127
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
cmp eax, edx
jae 0x502127
jmp 0x50212b
xor eax, eax
jmp 0x50212e
xor eax, eax
inc eax
cmp eax, 0
jne 0x5020a3
mov eax, dword [0x53ee2c]
mov dword [ebp - 0x18], eax
mov eax, 4
xchg edx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
xchg edx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], edx
leave
ret 8

Function at 0x502b2c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x14
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 5
je 0x502b5a
cmp eax, 0xf
je 0x502b88
mov eax, 0
jmp 0x502dcf
push dword [ebp + 8]
call fcn.0043da6a
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call fcn.0043d996
mov dword [ebp - 0x10], eax
mov eax, 0
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x502b86
mov eax, 0
jmp 0x502dcf
jmp 0x502b9a
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, 1
mov dword [ebp - 0x10], 1
mov eax, 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
cmp eax, 0
jle 0x502dcc
Function at 0x504e70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x28
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xc], 0
mov eax, 1
mov dword [ebp - 0x28], 1
mov eax, 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [0x549b38]
dec eax
mov edx, eax
mov eax, dword [0x549b34]
add eax, edx
mov dword [ebp - 0x30], eax
jmp 0x50502e
call fcn.005049d4
xor al, 1
cmp eax, 0
je 0x504ed0
jmp 0x505037
mov eax, dword [0x549b34]
mov edi, dword [0x549b38]
dec edi
mov al, byte [eax + edi]
mov byte [ebp - 0x2c], al
mov al, byte [ebp - 0x2c]
cmp al, 0x3c
jne 0x504ef5
mov dword [ebp - 0xc], 1
jmp 0x50502e
mov al, byte [ebp - 0x2c]
cmp al, 0x30
jb 0x504f05
mov al, byte [ebp - 0x2c]
cmp al, 0x39
ja 0x504f05
jmp 0x504f09
xor eax, eax
jmp 0x504f0c
xor eax, eax
inc eax
cmp eax, 0
je 0x504f3e
mov eax, dword [ebp - 0x10]
push edx
mov edx, 0xa
mov ecx, edx
imul ecx
pop edx
mov dword [ebp - 0x10], eax
mov al, byte [ebp - 0x2c]
sub al, 0x30
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
jmp 0x50502e
mov al, byte [ebp - 0x2c]
cmp al, 0x3b
jne 0x504f66
mov eax, dword [ebp - 0x10]
xchg edx, eax
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
dec edi
mov dword [eax + edi*4], edx
mov eax, 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov al, byte [ebp - 0x2c]
cmp al, 0x40
jb 0x504f84
mov al, byte [ebp - 0x2c]
cmp al, 0x7e
ja 0x504f84
mov al, byte [ebp - 0x2c]
cmp al, 0x3c
je 0x504f84
mov al, byte [ebp - 0x2c]
cmp al, 0x5b
je 0x504f84
jmp 0x504f88
xor eax, eax
jmp 0x504f8b
xor eax, eax
inc eax
cmp eax, 0
je 0x505022
mov eax, dword [ebp - 0x10]
xchg edx, eax
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
dec edi
mov dword [eax + edi*4], edx
mov eax, 0
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x2c]
cmp al, 0x4d
je 0x504fd9
cmp al, 0x6d
je 0x504ff2
cmp al, 0x52
je 0x50500b
mov eax, dword [0x549b38]
dec eax
mov edx, eax
mov eax, dword [0x549b34]
add eax, edx
push eax
push dword [ebp - 0x30]
call fcn.00504c0f
jmp 0x50501d
mov eax, dword [ebp - 0x28]
cmp eax, 3
jne 0x504ff0
push dword [ebp - 0x24]
push 0
push dword [ebp - 0xc]
call fcn.00504a05
jmp 0x50501d
mov eax, dword [ebp - 0x28]
cmp eax, 3
jne 0x505009
push dword [ebp - 0x24]
push 1
push dword [ebp - 0xc]
call fcn.00504a05
jmp 0x50501d
mov eax, dword [ebp - 0x28]
cmp eax, 2
jne 0x50501d
push dword [ebp - 0x24]
call fcn.00504bea
jmp 0x505037
mov al, byte [ebp - 0x2c]
cmp al, 0x1b
jne 0x50502e
jmp 0x505037
xor eax, eax
inc eax
jne 0x504ebd
leave
ret
Function at 0x50840b
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x24
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add eax, edx
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00442a81
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and edx, 0xff
cmp eax, 0x5b
je 0x508448
mov eax, 0
jmp 0x508d3b
mov eax, 1
mov dword [ebp - 0x10], 1
mov eax, 1
mov dword [ebp - 0x14], 1
mov eax, 0
mov dword [ebp - 0x18], 0
mov eax, 0
mov dword [ebp - 0x1c], 0
mov eax, 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add eax, edx
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
Function at 0x51383a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
mov eax, 0
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push 1
push dword [0x549f78]
push dword [0x516008]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x51387f
mov eax, 0xffffffff
jmp 0x5139c1
mov eax, dword [0x549f78]
mov al, byte [eax]
and eax, 0xff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and eax, 0x80
cmp eax, 0
jne 0x5138ab
mov eax, 1
mov dword [ebp - 0x14], 1
jmp 0x513910
mov eax, dword [ebp - 0x10]
and eax, 0xe0
cmp eax, 0xc0
jne 0x5138c8
mov eax, 2
mov dword [ebp - 0x14], 2
jmp 0x513910
mov eax, dword [ebp - 0x10]
and eax, 0xf0
cmp eax, 0xe0
jne 0x5138e5
mov eax, 3
mov dword [ebp - 0x14], 3
jmp 0x513910
mov eax, dword [ebp - 0x10]
and eax, 0xf8
cmp eax, 0xf0
jne 0x513902
mov eax, 4
mov dword [ebp - 0x14], 4
jmp 0x513910
call fcn.00513907
Function at 0x513deb
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x18
push 0
call dword [sym.imp.MSVCRT.DLL_fflush]
add esp, 4
mov eax, dword [ebp + 0xc]
push edx
mov edx, dword [0x549fd0]
mov ecx, edx
cdq
idiv ecx
pop edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push edx
mov edx, dword [0x549fd0]
mov ecx, edx
cdq
idiv ecx
mov eax, edx
bt eax, 0x1f
jae 0x513e34
bt ecx, 0x1f
jae 0x513e32
neg ecx
add eax, ecx
pop edx
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call fcn.005140ca
cmp eax, 0
je 0x513e5a
mov eax, dword [0x549fd0]
mov edx, dword [ebp - 0xc]
sub eax, edx
cmp eax, 1
jne 0x513e5a
jmp 0x513e5e
xor eax, eax
jmp 0x513e61
xor eax, eax
inc eax
cmp eax, 0
je 0x513e7b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, 0
mov dword [ebp - 0xc], 0
mov eax, 0
mov edx, dword [ebp - 0xc]
cmp eax, edx
jne 0x513e93
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jne 0x513e93
jmp 0x513e97
xor eax, eax
jmp 0x513e9a
xor eax, eax
inc eax
cmp eax, 0
je 0x513ec6
mov eax, 0
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push 0x54c030
push dword [0x516004]
call dword [sym.imp.KERNEL32.DLL_WriteConsoleW]
mov eax, dword [0x549fe8]
and eax, 0xffff
mov dword [ebp - 0x1c], eax
mov eax, dword [0x549fe8]
shr eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
add eax, edx
shl eax, 0x10
mov edx, dword [ebp - 0xc]
or eax, edx
push eax
push dword [0x516004]
call dword [sym.imp.KERNEL32.DLL_SetConsoleCursorPosition]
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [0x549fd0]
mov ecx, edx
cdq
idiv ecx
pop edx
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [0x549fd4]
mov edx, dword [ebp - 0x18]
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x20]
sub eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0
jle 0x513f5e
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0
jge 0x513f4e
mov eax, 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
shl eax, 0x10
mov edx, dword [ebp - 0x1c]
or eax, edx
mov dword [0x549fe8], eax
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [0x549fd0]
mov ecx, edx
cdq
idiv ecx
pop edx
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [0x549f7c], eax
leave
ret 0xc
Function at 0x514447
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0x1f
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 2
jge 0x514482
mov eax, 2
mov dword [ebp - 0xc], 2
push dword [ebp + 8]
call fcn.0044267b
push eax
push dword [ebp + 0xc]
call fcn.0044267b
pop edx
xchg edx, eax
add eax, edx
push eax
push dword [ebp - 0xc]
pop eax
bsr eax, eax
pop edx
xchg edx, eax
mov cl, dl
shl eax, cl
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [0x549fcc]
cmp eax, edx
jle 0x514524
mov eax, dword [ebp - 0x14]
shl eax, 1
mov dword [0x549fcc], eax
push dword [0x549f84]
call dword [sym.imp.MSVCRT.DLL_free]
add esp, 4
push dword [0x549fcc]
call dword [sym.imp.MSVCRT.DLL_malloc]
add esp, 4
mov dword [0x549f84], eax
mov eax, 0
mov edx, dword [0x549f84]
cmp eax, edx
jne 0x514524
push 0
push dword [ebp - 0x14]
push 2
push 0
push str.Cannot_allocate_memory:_init_buffer:
push 6
push 0x18
lea esi, [esp + 4]
push esi
push 2
call fcn.00421a4a
push 0
call dword [sym.imp.MSVCRT.DLL_exit]
add esp, 4
mov eax, dword [0x549f84]
mov dword [0x549f88], eax
leave
ret 8

Function at 0x515402
Capabilities:
Set console window title
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 8
push dword [ebp + 8]
call fcn.004426bd
push eax
call dword [sym.imp.KERNEL32.DLL_SetConsoleTitleA]
mov dword [ebp - 0xc], eax
mov eax, 0
mov edx, dword [ebp - 0xc]
cmp eax, edx
jne 0x51544c
push 0
push str.SetConsoleTitle_failed_
push 6
push 0xc
lea esi, [esp + 4]
push esi
push 1
call fcn.00421a4a
push 0
call dword [sym.imp.MSVCRT.DLL_exit]
add esp, 4
call fcn.00513fe6
call fcn.005140a9
push 5
push dword [0x548acc]
call fcn.0044c523
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, eax
mov eax, 0
cmp eax, edx
je 0x515492
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov edx, eax
mov eax, 0
cmp eax, edx
je 0x515492
xor eax, eax
jmp 0x515495
xor eax, eax
inc eax
cmp eax, 0
je 0x5154ba
mov eax, 0x50
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov eax, 0x32
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
leave
ret 4
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
pcmpeqw mm7, mm7
push ecx
pxor mm6, mm6
push esi
psllw mm7, 0xf
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, 4
jl 0x401083
jmp 0x401030
movq mm0, qword [esi]
pxor mm0, mm7
movq mm3, mm0
movq mm1, qword [ebx + esi]
punpcklwd mm0, mm6
pxor mm1, mm7
movq mm2, qword [esi + ebx*2]
movq mm4, mm1
pxor mm2, mm7
add edi, 0x10
prefetcht0 byte [esi + ebx*2 + 0x40]
punpcklwd mm1, mm6
movq mm5, mm2
punpcklwd mm2, mm6
paddd mm0, mm1
punpckhwd mm3, mm6
paddd mm0, mm2
punpckhwd mm4, mm6
paddd mm3, mm4
punpckhwd mm5, mm6
movq qword [edi - 0x10], mm0
paddd mm3, mm5
add esi, 8
movq qword [edi - 8], mm3
sub eax, 4
jge 0x401030
add eax, 4
jle 0x4010b6
push edx
movzx ecx, word [esi]
xor ecx, 0x8000
movzx edx, word [ebx + esi]
xor edx, 0x8000
add ecx, edx
movzx edx, word [esi + ebx*2]
xor edx, 0x8000
add ecx, edx
add esi, 2
mov dword [edi], ecx
add edi, 4
dec eax
jg 0x401089
pop edx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x6294a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x632378
cmp edx, dword [eax]
je 0x6294c7
add eax, 8
inc ecx
cmp eax, 0x632408
jl 0x6294b8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x632378]
jne 0x6295f5
mov eax, dword [0x63bd04]
cmp eax, 1
je 0x6295cf
test eax, eax
jne 0x6294f8
cmp dword [0x6322a4], 1
je 0x6295cf
cmp edx, 0xfc
je 0x6295f5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62952f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629e90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a2c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x629572
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a2c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62ec1c
push edi
call fcn.0062be60
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629e90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629ea0
lea eax, [ebp - 0xa0]
push 0x62ebfc
push eax
call fcn.00629ea0
push dword [esi + 0x63237c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629ea0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062bdd4
add esp, 0x2c
pop edi
jmp 0x6295f5
lea eax, [ebp + 8]
lea esi, [esi + 0x63237c]
push 0
push eax
push dword [esi]
call fcn.0062a2c0
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 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x34f63438
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..tls
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1c94058a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x43b633
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
dec edi
sub edi, esi
call fcn.0043b676
and edi, edi
add edi, 0x778d8232
sub edi, edi
xor dword [eax], edx
sub esi, 0x5f0ef0a7
mov esi, edi
add eax, 1
inc esi
sub edi, 1
add edi, esi
cmp eax, ecx
jne fcn.0043b633
mov esi, edi
sub edi, edi
sub esi, esi
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4304a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x4304a1
lcall 0x5de5, 0x8b10c483
jmp loc.009697cc