joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401901
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
test esi, esi
push edi
mov edi, 0x40a248
je 0x40194d
push ebx
xor ebx, ebx
mov eax, 0x1000000
cmp esi, eax
ja 0x401920
mov eax, esi
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
add edi, ecx
sub esi, ecx
add ebx, ecx
test eax, eax
je 0x40194a
test ecx, ecx
je 0x40194a
test esi, esi
ja 0x401915
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x4019ec
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x401a8b
push 0x206
lea eax, [ebp - 0x206]
push ebx
push eax
mov word [ebp - 0x208], bx
call fcn.004062a0
add esp, 0xc
cmp word [esi], bx
je 0x401a6c
push edi
lea edi, [ebp - 0x208]
sub edi, esi
cmp word [esi], 0x5c
jne 0x401a59
cmp word [esi - 2], 0x3a
je 0x401a59
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x401a59
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ax, word [esi]
mov word [edi + esi], ax
inc esi
inc esi
cmp word [esi], bx
mov word [edi + esi], bx
jne 0x401a2d
pop edi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x401a8b
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
pop ebx
leave
ret
Function at 0x403897
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x40389f
mov dword [ecx*4 + 0x40b248], eax
inc ecx
cmp ecx, 0x100
jb 0x40389a
pop esi
ret

Function at 0x4059c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
push edi
mov edi, dword [ebp + 8]
jb 0x405b0c
or dword [ebp - 4], 0xffffffff
lea ecx, [edi + ecx - 4]
push ebx
mov dword [ebp - 8], ecx
push esi
lea esi, [eax + edi]
jmp 0x4059fc
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x405a01
inc esi
cmp esi, dword [ebp - 8]
jb 0x4059f3
mov eax, esi
sub eax, edi
cmp esi, dword [ebp - 8]
jae 0x405aed
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x405a80
xor edx, edx
mov cl, byte [esi + 4]
test cl, cl
mov dword [ebp - 4], eax
je 0x405a2d
cmp cl, 0xff
jne 0x405aaf
xor ebx, ebx
mov bh, cl
movzx ecx, byte [esi + 2]
mov bl, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
sub edi, eax
sub edi, 5
test edx, edx
mov ebx, edi
mov dword [ebp - 0xc], ebx
je 0x405ac0
movzx edi, byte [edx + 0x401858]
push 0x18
shl edi, 3
pop ecx
sub ecx, edi
shr ebx, cl
test bl, bl
je 0x405a70
cmp bl, 0xff
jne 0x405abd
push 0x20
pop ecx
sub ecx, edi
xor edi, edi
inc edi
shl edi, cl
dec edi
xor edi, dword [ebp - 0xc]
jmp 0x405a48
dec ecx
shl edx, cl
and edx, 7
je 0x405a1a
movzx ecx, byte [edx + 0x401858]
mov ebx, esi
sub ebx, ecx
cmp byte [edx + 0x401850], 0
mov cl, byte [ebx + 4]
je 0x405aac
test cl, cl
je 0x405aac
cmp cl, 0xff
jne 0x405a1a
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x4059ee
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 1], bl
add eax, 5
jmp 0x4059ee
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
and ecx, edx
mov edx, dword [ebp + 0xc]
pop esi
mov dword [edx], ecx
pop ebx
pop edi
leave
ret

Function at 0x4065d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0
mov esi, ecx
push esi
push 0x4064e3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 4], eax
pop esi
jne 0x4065ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
leave
ret
mov al, 1
leave
ret
Function at 0x40795d
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
cmp eax, ebx
jne 0x407981
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x4079c2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x407977
push edi
mov ecx, esi
call fcn.00407951
push ebx
push 0x80
push 2
push ebx
push 7
push 0x40000000
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4079c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp - 8]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4079f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x4079c1
mov bl, 1
jmp 0x4079e5

Function at 0x407b65
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push 0x118
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004062a0
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x407bb9
cmp dword [ebp - 0x118], 6
jne 0x407bb9
cmp dword [ebp - 0x114], 0
jne 0x407bb9
xor eax, eax
inc eax
cmp byte [ebp - 2], al
je 0x407bbb
xor eax, eax
leave
ret

Function at 0x407de5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
cmp dword [section..SPLASH], edi
mov esi, ecx
je 0x407dfc
call fcn.00407bc0
push 0x104
push dword [ebp + 8]
push esi
call fcn.004080be
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0x208], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [esi + 0x20c], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [esi + 0x210], eax
mov eax, dword [ebp + 0x18]
push edi
push edi
mov dword [esi + 0x214], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x21c], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x407c2d
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 0x21c]
mov dword [esi + 0x218], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x218], edi
jne 0x407e7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x407e88
push dword [esi + 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
leave
ret 0x14

Function at 0x407eb2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x407eec
cmp dword [ebp - 0x104], 2
jne 0x407eec
cmp dword [ebp - 0x110], 6
jae 0x407eec
xor al, al
leave
ret
mov al, 1
leave
ret
Function at 0x407ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407f37
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407f37
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
leave
ret
xor al, al
leave
ret
Function at 0x408498
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push edi
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
call fcn.004080be
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor edx, edx
lea eax, [ebp + eax*2 - 0x228]
mov word [eax], dx
mov word [eax - 2], dx
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], edx
mov word [ebp - 0x10], 0x14
mov dword [ebp - 0xe], edx
mov dword [ebp - 6], edx
mov dword [ebp - 0xa], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
pop edi
je 0x408520
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
leave
ret
mov al, 1
leave
ret

Function at 0x408524
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x408589
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x40853d
sub eax, edx
sar eax, 1
lea esi, [edi + eax*2 - 2]
jmp 0x408557
dec esi
dec esi
cmp esi, edi
je 0x408585
cmp word [esi], 0x5c
jne 0x408551
and word [esi], 0
push edi
call fcn.00408524
test al, al
pop ecx
mov word [esi], 0x5c
je 0x408589
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
je 0x408589
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x40858b
mov al, 1
pop edi
pop esi
pop ebp
ret
Function at 0x401480
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Parse pe header

Disassembly:
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
mov esi, dword [esp + 0x58]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x58]
test ebp, ebp
mov byte [esp + 0x10], 0x72
mov byte [esp + 0x11], 0x77
mov byte [esp + 0x12], 0x51
mov byte [esp + 0x13], 0x45
mov byte [esp + 0x14], 0x6b
mov byte [esp + 0x15], 0x52
mov byte [esp + 0x16], 0x70
mov byte [esp + 0x17], 0x4a
mov byte [esp + 0x18], 0x53
mov byte [esp + 0x19], 0x58
mov byte [esp + 0x1a], 0x44
mov byte [esp + 0x1b], 0x78
mov byte [esp + 0x1c], 0x6c
mov byte [esp + 0x1d], 0x4d
mov byte [esp + 0x1e], 0x6d
mov byte [esp + 0x1f], 0x64
mov byte [esp + 0x20], 0x47
mov byte [esp + 0x21], 0x48
mov byte [esp + 0x22], 0x34
mov byte [esp + 0x23], 0x49
mov byte [esp + 0x24], 0x68
mov byte [esp + 0x25], 0x75
mov byte [esp + 0x26], 0x7a
mov byte [esp + 0x27], 0x2b
mov byte [esp + 0x28], 0x69
mov byte [esp + 0x29], 0x57
mov byte [esp + 0x2a], 0x6a
mov byte [esp + 0x2b], 0x3d
mov byte [esp + 0x2c], 0x46
mov byte [esp + 0x2d], 0x2d
mov byte [esp + 0x2e], 0x74
mov byte [esp + 0x2f], 0x36
mov byte [esp + 0x30], 0x73
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], 0x71
mov byte [esp + 0x33], 0x59
mov byte [esp + 0x34], 0x63
mov byte [esp + 0x35], 0x67
mov byte [esp + 0x36], 0x4f
mov byte [esp + 0x37], 0x4c
mov byte [esp + 0x38], 0x6e
mov byte [esp + 0x39], 0x4b
mov byte [esp + 0x3a], 0x35
mov byte [esp + 0x3b], 0x43
mov byte [esp + 0x3c], 0x62
mov byte [esp + 0x3d], 0x55
mov byte [esp + 0x3e], 0x61
mov byte [esp + 0x3f], 0x66
mov byte [esp + 0x40], 0x32
mov byte [esp + 0x41], 0x37
mov byte [esp + 0x42], 0x38
mov byte [esp + 0x43], 0x54
mov byte [esp + 0x44], 0x65
mov byte [esp + 0x45], 0x6f
mov byte [esp + 0x46], 0x30
mov byte [esp + 0x47], 0x79
mov byte [esp + 0x48], 0x42
mov byte [esp + 0x49], 0x76
mov byte [esp + 0x4a], 0x31
mov byte [esp + 0x4b], 0x50
mov byte [esp + 0x4c], 0x56
mov byte [esp + 0x4d], 0x4e
mov byte [esp + 0x4e], 0x33
mov byte [esp + 0x4f], 0x39
mov byte [esp + 0x50], 0x5a
jbe 0x401607
cmp byte [ebx + esi], 0x3d
jne 0x4015ec
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov cl, byte [ebx + esi]
xor eax, eax
cmp cl, byte [esp + eax + 0x10]
je 0x4015ff
inc eax
cmp eax, 0x41
jl 0x4015f1
jmp 0x401602
mov byte [ebx + esi], al
inc ebx
cmp ebx, ebp
jb 0x4015de
cmp ebp, 4
jb 0x40164f
shr ebp, 2
mov eax, ebp
mov cl, byte [esi + 1]
mov dl, byte [esi]
sar cl, 4
and cl, 3
add esi, 4
shl dl, 2
or cl, dl
mov byte [edi], cl
mov cl, byte [esi - 2]
mov dl, byte [esi - 3]
inc edi
sar cl, 2
and cl, 0xf
shl dl, 4
or cl, dl
mov byte [edi], cl
mov cl, byte [esi - 1]
mov dl, byte [esi - 2]
and cl, 0x3f
shl dl, 6
inc edi
or cl, dl
mov byte [edi], cl
inc edi
dec eax
jne 0x401611
mov byte [edi], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x402df1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407538
cmp edx, dword [eax]
je 0x402e13
add eax, 8
inc ecx
cmp eax, 0x4075c8
jl 0x402e04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407538]
jne 0x402f41
mov eax, dword [0x407928]
cmp eax, 1
je 0x402f1b
test eax, eax
jne 0x402e44
cmp dword [0x407098], 1
je 0x402f1b
cmp edx, 0xfc
je 0x402f41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402e7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403660
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004030f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402ebe
lea eax, [ebp - 0x1a4]
push eax
call fcn.004030f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40640c
push edi
call fcn.00404740
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403660
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403670
lea eax, [ebp - 0xa0]
push 0x4063ec
push eax
call fcn.00403670
push dword [esi + 0x40753c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403670
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004046ae
add esp, 0x2c
pop edi
jmp 0x402f41
lea eax, [ebp + 8]
lea esi, [esi + 0x40753c]
push 0
push eax
push dword [esi]
call fcn.004030f0
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 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
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
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x45eb40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x49c014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm1, xmmword [0x48e0a0]
xor al, al
push ebx
push esi
mov byte [ebp - 0x412], al
lea esi, [ebp - 0x3fc]
push edi
mov edi, dword [ebp + 8]
mov al, 0x36
mov dword [ebp - 0x420], edx
mov ah, 1
mov dword [ebp - 0x424], ecx
mov edx, 8
mov dword [ebp - 0x41c], edi
mov byte [ebp - 0x411], al
mov dword [ebp - 0x410], 0
mov dword [ebp - 0xc], 0
lea ecx, [edx - 8]
movd xmm0, ecx
lea esi, [esi + 0x40]
pshufd xmm0, xmm0, 0
lea ecx, [edx - 4]
paddd xmm0, xmm1
movups xmmword [esi - 0x50], xmm0
movd xmm0, ecx
lea ecx, [edx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esi - 0x40], xmm0
movd xmm0, edx
add edx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esi - 0x30], xmm0
movd xmm0, ecx
lea ecx, [edx - 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esi - 0x20], xmm0
cmp ecx, 0x100
jl 0x45eba0
xor esi, esi
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x418], edx
nop word [eax + eax]
mov cl, al
shr al, 1
shl cl, 7
add al, cl
test ah, ah
je 0x45ec45
movzx edx, byte [esi + edi]
mov cl, al
and cl, 1
add cl, 2
movzx ecx, cl
imul edx, ecx
mov ch, byte [ebp - 0x411]
add ch, dl
mov edx, dword [ebp - 0x418]
mov byte [ebp - 0x411], ch
jmp 0x45ec4b
mov ch, byte [ebp - 0x411]
mov cl, byte [esi + edi]
xor cl, al
jne 0x45ec6b
test ah, ah
je 0x45ec61
cmp ch, byte [esi + edi + 1]
sete byte [ebp - 0x412]
mov cl, byte [edi]
mov al, 0x1b
xor ah, ah
xor esi, esi
xor cl, al
mov edx, dword [ebp + edx*4 - 0x40c]
inc esi
mov edi, dword [ebp - 0x418]
add bl, dl
add bl, cl
movzx ebx, bl
mov ecx, dword [ebp + ebx*4 - 0x40c]
mov dword [ebp + edi*4 - 0x40c], ecx
mov dword [ebp + ebx*4 - 0x40c], edx
mov edx, edi
mov edi, dword [ebp - 0x41c]
inc edx
mov dword [ebp - 0x418], edx
cmp edx, 0x100
jl 0x45ec10
cmp byte [ebp - 0x412], 0
je 0x45ed28
mov edi, dword [ebp - 0x420]
xor esi, esi
mov edx, dword [ebp - 0x410]
mov ebx, dword [ebp - 0xc]
test edi, edi
jle 0x45ed12
nop
inc dl
movzx edx, dl
mov ecx, dword [ebp + edx*4 - 0x40c]
mov al, cl
add al, bl
movzx ebx, al
mov eax, dword [ebp + ebx*4 - 0x40c]
mov dword [ebp + edx*4 - 0x40c], eax
mov dword [ebp + ebx*4 - 0x40c], ecx
add cl, al
movzx eax, cl
mov ecx, dword [ebp - 0x424]
mov al, byte [ebp + eax*4 - 0x40c]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x45ecd0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461195
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00461195
mov esp, ebp
pop ebp
ret

Function at 0x4663cc
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00466243

Function at 0x401661
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
push ecx
mov ecx, dword [eax + 2]
mov dword [ebp - 4], ecx
pop ecx
add esp, 4
pop ebp
ret
Function at 0x42c190
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10f4
call fcn.004ce8b0
mov eax, dword [0x5256c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp dword [esi + 0x14], 0x10
jb 0x42c1b7
mov eax, dword [esi]
jmp 0x42c1b9
mov eax, esi
push eax
call dword [0x4f4190]
cmp eax, 0xffffffff
je 0x42c33d
test al, 0x10
jne 0x42c33d
cmp dword [esi + 0x14], 0x10
jb 0x42c1d9
mov esi, dword [esi]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push esi
call dword [0x4f4368]
mov esi, eax
cmp esi, 0xffffffff
je 0x42c325
push edi
push 0xfff
lea eax, [ebp - 0x1053]
mov dword [ebp - 0x10f4], 0x67452301
push 0
push eax
mov dword [ebp - 0x10f0], 0xefcdab89
mov dword [ebp - 0x10ec], 0x98badcfe
mov dword [ebp - 0x10e8], 0x10325476
mov dword [ebp - 0x10e4], 0
mov dword [ebp - 0x10e0], 0
mov dword [ebp - 0x10dc], 0
mov byte [ebp - 0x1054], 0
call int.004ce260
mov edi, dword [0x4f41a0]
add esp, 0xc
push 0
lea eax, [ebp - 0x1058]
push eax
push 0x1000
lea eax, [ebp - 0x1054]
push eax
push esi
call edi
test eax, eax
je 0x42c2a8
mov eax, dword [ebp - 0x1058]
test eax, eax
je 0x42c2a8
push eax
lea edx, [ebp - 0x1054]
lea ecx, [ebp - 0x10f4]
call fcn.00431500
add esp, 4
cmp dword [ebp - 0x1058], 0
ja 0x42c264
push esi
call dword [0x4f4300]
xorps xmm0, xmm0
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x14]
movq qword [ebp - 0x13], xmm0
lea ecx, [ebp - 0x10f4]
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
call fcn.004315e0
push 0x3f
lea eax, [ebp - 0x53]
mov byte [ebp - 0x54], 0
push 0
push eax
call int.004ce260
add esp, 8
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x14]
call fcn.00431690
add esp, 4
cmp byte [ebp - 0x54], 0
pop edi
jne 0x42c307
xor ecx, ecx
jmp 0x42c319
lea ecx, [ebp - 0x54]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c310
sub ecx, edx
push ecx
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.00401ed0
xor eax, eax
cmp dword [ebx + 0x10], eax
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c93a9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004c93a9
mov esp, ebp
pop ebp
ret
Function at 0x42c350
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x5256c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x42c454
test edx, edx
je 0x42c454
push edx
mov edx, ecx
mov dword [ebp - 0xf0], 0x67452301
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xec], 0xefcdab89
mov dword [ebp - 0xe8], 0x98badcfe
mov dword [ebp - 0xe4], 0x10325476
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
call fcn.00431500
xorps xmm0, xmm0
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x14]
movq qword [ebp - 0x13], xmm0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
call fcn.004315e0
push 0x3f
lea eax, [ebp - 0x53]
mov byte [ebp - 0x54], 0
push 0
push eax
call int.004ce260
add esp, 0xc
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x14]
call fcn.00431690
add esp, 4
cmp byte [ebp - 0x54], 0
jne 0x42c422
xor ecx, ecx
jmp 0x42c431
lea ecx, [ebp - 0x54]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c428
sub ecx, edx
push ecx
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call fcn.00401ed0
xor eax, eax
cmp dword [esi + 0x10], eax
pop esi
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c93a9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004c93a9
mov esp, ebp
pop ebp
ret