joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419890
Capabilities:
Create process on windows
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x49c
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.cmd__c_mklink__J__]
mov eax, dword [0x4712b8]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
mov ax, word [0x4712bc]
movups xmmword [ebp - 0x444], xmm0
push 0x418
movups xmm0, xmmword [0x4712a8]
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push 0
push eax
mov dword [ebp - 0x448], esi
movups xmmword [ebp - 0x434], xmm0
call fcn.00447700
push 0x40
lea eax, [ebp - 0x498]
mov dword [ebp - 0x49c], 0x44
push 0
push eax
call fcn.00447700
add esp, 0x18
xorps xmm0, xmm0
cmp word [ebx], 0
movups xmmword [ebp - 0x458], xmm0
je 0x419a44
cmp word [esi], 0
je 0x419a44
mov edx, esi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x419935
push edi
lea edi, [ebp - 0x444]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x419950
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x444]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x419973
mov eax, dword [0x4712c0]
mov esi, ebx
mov dword [ecx], eax
mov eax, dword [0x4712c4]
mov dword [ecx + 4], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x419990
lea edi, [ebp - 0x444]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4199a6
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x444]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4199d0
mov eax, dword [0x4712c8]
push dword [ebp - 0x448]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x49c]
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
lea eax, [ebp - 0x444]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x419a44
push 0xffffffffffffffff
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x458]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x454]
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 8
Function at 0x419a60
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00447700
add esp, 0xc
mov dword [ebp - 0xd4], 0xc8
cmp word [0x540400], 0
jne 0x419bbf
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xd0]
push edi
push eax
push 0x20019
push 0
push str.SOFTWAREWOW6432NodeMicrosoftEdgeUpdateClients56EB18F8_B008_4CBD_B6D2_8C97FE7E9062
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419af0
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0x471384
push dword [ebp - 0xd0]
call edi
test eax, eax
je 0x419b35
lea eax, [ebp - 0xd0]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftEdgeUpdateClients56EB18F8_B008_4CBD_B6D2_8C97FE7E9062
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x419baa
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0x471384
push dword [ebp - 0xd0]
call edi
test eax, eax
jne 0x419baa
push 0
push 0x2a
push 0x540400
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, 0x540400
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x419b50
mov ecx, 0xe
lea edx, [ebp - 0xcc]
mov esi, str.MicrosoftEdgeApplication_
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x419b72
mov edi, 0x540400
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x419b90
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, 0x540400
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444ab5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x540400
xor ecx, ebp
call fcn.00444ab5
mov esp, ebp
pop ebp
ret
Function at 0x42a260
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a8dd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x200
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0x200
call fcn.0044aaff
add esp, 4
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x42a33f
push edi
push 0x47566c
push dword [0x504e50]
call fcn.00440eb0
add esp, 0xc
test edi, edi
je 0x42a32b
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
lea ecx, [ebx - 1]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x42a32d
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x42a32d
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a332
jmp 0x42a3ab
push 0x475690
push dword [0x504e50]
call fcn.00440eb0
add esp, 8
push 0
push 0
push 0xffffffffffffffff
push 0x46d520
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
lea ecx, [ebx - 1]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x42a39b
push ebx
push esi
push 0xffffffffffffffff
push 0x46d520
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x42a39b
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a3a0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00409630
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x30]
push edi
mov dword [ecx], eax
call fcn.0044aae4
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x42a40f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a405
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a42f
push edx
push ecx
call fcn.00444ae6
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 8
call fcn.0044f710
int3
Function at 0x42a440
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a8dd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x200
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0x200
call fcn.0044aaff
add esp, 4
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x42a51f
push edi
push 0x4756b4
push dword [0x504e50]
call fcn.00440eb0
add esp, 0xc
test edi, edi
je 0x42a50b
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
lea ecx, [ebx - 1]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x42a50d
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x42a50d
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a512
jmp 0x42a58b
push 0x4756d8
push dword [0x504e50]
call fcn.00440eb0
add esp, 8
push 0
push 0
push 0xffffffffffffffff
push 0x46d520
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
lea ecx, [ebx - 1]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x42a57b
push ebx
push esi
push 0xffffffffffffffff
push 0x46d520
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x42a57b
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a580
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00409630
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x30]
push edi
mov dword [ecx], eax
call fcn.0044aae4
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x42a5ef
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a5e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a60f
push edx
push ecx
call fcn.00444ae6
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 8
call fcn.0044f710
int3
Function at 0x42b790
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov ecx, 0x511bf0
call fcn.004148c0
test eax, eax
je 0x42b7ec
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
shrd ecx, eax, 0x14
push ecx
push 0x475718
push dword [0x504e50]
call fcn.00440eb0
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
shrd ecx, eax, 0x14
mov dword [esi], ecx
jmp 0x42b81c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
shr eax, 0x14
push eax
push 0x475718
push dword [0x504e50]
call fcn.00440eb0
mov eax, dword [ebp - 0x1c]
shr eax, 0x14
mov dword [esi], eax
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 8

Function at 0x42c6b0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x511bf0
push esi
push dword [eax]
call fcn.00411350
cmp dword [0x50ce80], 0
mov esi, eax
je 0x42c700
push 0x53e414
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x53e414
mov ecx, 0x511bf0
call fcn.00411ec0
push esi
push 0x53e414
jmp 0x42c76d
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x42c77b
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0044a958
push 0x475cf8
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0044a9b2
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x108]
mov ecx, 0x511bf0
push eax
call fcn.00411ec0
push esi
lea eax, [ebp - 0x108]
push eax
push dword [0x504e50]
call fcn.00440ee0
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 8
Function at 0x43ef70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x43efa1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x43ef90
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x43f790
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x1505
push esi
movsx esi, byte [edx]
test esi, esi
je 0x43f7b6
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, esi
movsx esi, byte [edx]
add eax, ecx
test esi, esi
jne 0x43f7a3
pop esi
pop ebp
ret

Function at 0x43f840
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
test ebx, ebx
je 0x43f897
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x43f897
movsx edx, byte [edi]
mov eax, 0x1505
push esi
mov esi, edi
test edx, edx
je 0x43f875
mov ecx, eax
lea esi, [esi + 1]
shl eax, 5
add eax, edx
movsx edx, byte [esi]
add eax, ecx
test edx, edx
jne 0x43f862
xor edx, edx
div dword [ebx]
mov eax, dword [ebx + 4]
push edi
lea eax, [eax + edx*8]
push eax
call fcn.0043f740
add esp, 8
pop esi
test eax, eax
je 0x43f897
pop edi
mov eax, 1
pop ebx
pop ebp
ret
pop edi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x43f8a0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x43f955
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x43f955
movsx edx, byte [edi]
mov esi, edi
mov eax, 0x1505
test edx, edx
je 0x43f8e3
nop word [eax + eax]
mov ecx, eax
lea esi, [esi + 1]
shl eax, 5
add eax, edx
movsx edx, byte [esi]
add eax, ecx
test edx, edx
jne 0x43f8d0
xor edx, edx
div dword [ebx]
mov eax, dword [ebx + 4]
push edi
lea eax, [eax + edx*8]
push eax
call fcn.0043f740
add esp, 8
test eax, eax
je 0x43f955
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x43f921
cmp dword [ebp + 0x14], edx
jne 0x43f955
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f910
sub ecx, edx
pop edi
pop esi
pop ebx
lea eax, [ecx + 1]
pop ebp
ret
mov esi, dword [eax + 4]
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f930
mov eax, dword [ebp + 0x14]
sub ecx, edi
cmp ecx, eax
jae 0x43f955
push esi
push eax
push edx
call fcn.0044a958
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x3c2b71e4
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x5d355e0
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
cmp dword [edi], 0
je 0x4011a1
pop edi
pop esi
mov eax, 0xfffffffb
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 8]
test eax, eax
je 0x4011b6
pop edi
pop esi
mov eax, 0xfffffffb
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
test esi, esi
je 0x401322
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x401322
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
mov ebx, eax
mov eax, dword [edi + 4]
sar ebx, 4
sub eax, 0
je 0x4012b2
dec eax
je 0x4011f4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test ebx, ebx
lea eax, [edi + 0xc]
jle 0x40124f
mov dword [ebp + 8], ebx
mov ecx, dword [esi]
mov edx, dword [eax]
mov edi, dword [esi + 4]
xor ecx, edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
xor edx, edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov edx, dword [esi + 8]
push edi
xor ecx, edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x18]
xor edx, ecx
mov ecx, dword [ebp - 4]
push eax
mov dword [ebp - 0xc], edx
call fcn.00401330
mov ecx, dword [ebp + 8]
mov eax, edi
add esi, 0x10
add edi, 0x10
dec ecx
mov dword [ebp + 0x10], edi
mov dword [ebp + 8], ecx
jne 0x4011fe
mov ecx, dword [ebp + 0xc]
inc ebx
mov edi, 0x10
shl ebx, 4
mov edx, ebx
sub edx, ecx
sub edi, edx
mov dword [ebp - 8], edx
test edi, edi
jle 0x40128f
mov edx, eax
lea ecx, [ebp - 0x18]
sub edx, esi
sub ecx, esi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
jmp 0x401279
mov edx, dword [ebp + 8]
mov dl, byte [edx + esi]
xor dl, byte [esi]
inc esi
mov byte [ecx + esi - 1], dl
mov edx, dword [ebp + 0xc]
dec edx
mov dword [ebp + 0xc], edx
jne 0x401276
mov edx, dword [ebp - 8]
mov esi, edi
cmp esi, 0x10
jge 0x401307
mov edi, eax
lea eax, [ebp - 0x18]
sub edi, eax
lea ecx, [edi + esi]
mov al, byte [ebp + ecx - 0x18]
xor al, dl
mov byte [ebp + esi - 0x18], al
inc esi
cmp esi, 0x10
jl 0x40129d
jmp 0x401307
test ebx, ebx
jle 0x4012dd
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 0x10]
mov ecx, edi
push eax
push esi
call fcn.00401330
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
add esi, 0x10
add ecx, 0x10
dec eax
mov dword [ebp + 0x10], ecx
mov dword [ebp + 8], eax
jne 0x4012b9
mov ecx, dword [ebp + 0xc]
inc ebx
lea edx, [ebp - 0x18]
shl ebx, 4
mov edi, ebx
sub edi, ecx
mov ecx, 0x10
sub ecx, edi
push ecx
push esi
push edx
call fcn.00428c60
lea eax, [ebp - 8]
push edi
sub eax, edi
push edi
push eax
call fcn.00428c00
add esp, 0x18
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 4]
push edx
call fcn.00401330
pop edi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402020
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov edx, 1
cmp dword [esi + 0x1c], edx
jbe 0x40212b
push ebx
push edi
lea eax, [esi + 0x32]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [eax - 1]
mov cl, byte [eax + 1]
add eax, 0x10
mov edi, dword [ebx*4 + 0x453690]
mov ecx, dword [ecx*4 + 0x453e90]
xor ebx, ebx
xor ecx, edi
mov bl, byte [eax - 0x10]
mov edi, dword [ebx*4 + 0x453a90]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor ecx, edi
mov edi, dword [ebx*4 + 0x453290]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0x12], ecx
mov bl, byte [eax - 0xc]
xor ecx, ecx
mov cl, byte [eax - 0xb]
mov edi, dword [ebx*4 + 0x453a90]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x453e90]
mov bl, byte [eax - 0xd]
xor ecx, edi
mov edi, dword [ebx*4 + 0x453690]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor ecx, edi
mov edi, dword [ebx*4 + 0x453290]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xe], ecx
mov bl, byte [eax - 8]
xor ecx, ecx
mov cl, byte [eax - 7]
mov edi, dword [ebx*4 + 0x453a90]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x453e90]
mov bl, byte [eax - 9]
xor ecx, edi
mov edi, dword [ebx*4 + 0x453690]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor ecx, edi
mov edi, dword [ebx*4 + 0x453290]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xa], ecx
mov bl, byte [eax - 4]
xor ecx, ecx
mov cl, byte [eax - 3]
mov edi, dword [ebx*4 + 0x453a90]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x453e90]
mov bl, byte [eax - 5]
xor ecx, edi
mov edi, dword [ebx*4 + 0x453690]
xor ebx, ebx
mov bl, byte [eax - 6]
xor ecx, edi
mov edi, dword [ebx*4 + 0x453290]
xor ecx, edi
inc edx
mov dword [eax - 6], ecx
mov ecx, dword [esi + 0x1c]
cmp edx, ecx
jb 0x402036
pop edi
pop ebx
pop esi
ret