joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406390
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
call fcn.00404780
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4064a0
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x1c], 0x54
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x1c], 0x57
mov ecx, 1
imul edx, ecx, 0xe
mov byte [ebp + edx - 0x1c], 0
mov eax, 1
imul ecx, eax, 0xb
mov byte [ebp + ecx - 0x1c], 0x78
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0x1c], 0x69
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x1c], 0x74
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x1c], 0x6f
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x1c], 0x77
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x1c], 0x74
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x1c], 0x65
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x1c], 0x6e
mov ecx, 1
imul edx, ecx, 0xd
mov byte [ebp + edx - 0x1c], 0x57
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x1c], 0x65
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x1c], 0x53
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x1c], 0x64
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x406496
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x407f37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041cf3d
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x407f6e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00407f8f
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x417faf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x417ff4
call fcn.0041cf3d
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x417ff4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x418010
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041faf5
mov ebx, eax
test edi, edi
je 0x41800e
test esi, esi
je 0x41800e
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x487f9d
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004fc851
call fcn.0041cf91
cmp dword [eax + 0x14], 0
jne 0x487fb8
mov ecx, esi
pop esi
jmp fcn.004873a3
pop esi
ret

Function at 0x4880be
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041c669
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4880fa
call fcn.004882dd
mov dword [esi + 0xc], 1
jmp 0x4880ff
call fcn.004882dd
cmp dword [esi], 0
je 0x488148
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x488122
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00418067
jmp 0x488133
push 0xff
mov ecx, esi
call fcn.0040a229
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040b014
jmp 0x48816c
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x48816c
push dword [esi]
push dword [ebp - 4]
call fcn.0041d140
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x488232
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004882dd
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x48827a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00418067
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040b014
jmp 0x488285
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041d140
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4fa50f
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004133e0
call fcn.0041cf91
cmp dword [eax + 0x14], 0
jne 0x4fa52a
mov ecx, esi
pop esi
jmp fcn.004f9df8
pop esi
ret
Function at 0x53794c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x59e078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0052c7d2
mov dword [ebp - 0x14], eax
cmp dword [0x5a96cc], esi
jne 0x537a3f
push 0x800
push esi
push 0x57b5f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5379cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x537b1f
push esi
push esi
push 0x57b5f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x537b1f
push 0x57b608
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x537b1f
push eax
call ebx
push 0x57b614
push edi
mov dword [0x5a96cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x57b624
push edi
mov dword [0x5a96d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5a96d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5a96dc], eax
test eax, eax
je 0x537a3c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5a96d8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x537a64
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x537a57
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x537a79
push 4
pop eax
jmp 0x537b21
cmp dword [ebp - 0x14], esi
je 0x537a79
push dword [0x5a96cc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x537a5e
mov eax, dword [0x5a96d8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x537ad7
cmp dword [0x5a96dc], edi
je 0x537ad7
push eax
call ebx
push dword [0x5a96dc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x537ad7
test eax, eax
je 0x537ad7
call ecx
test eax, eax
je 0x537acc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x537acc
test byte [ebp - 8], 1
jne 0x537ad7
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x537b07
mov eax, dword [0x5a96d0]
cmp eax, edi
je 0x537b04
push eax
call ebx
test eax, eax
je 0x537b04
call eax
mov esi, eax
test esi, esi
je 0x537b04
mov eax, dword [0x5a96d4]
cmp eax, edi
je 0x537b04
push eax
call ebx
test eax, eax
je 0x537b04
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5a96cc]
call ebx
test eax, eax
je 0x537b1f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x537b21
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00527adb
mov esp, ebp
pop ebp
ret
Function at 0x40245a
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [ebp + 8], 0
jne 0x40246a
xor eax, eax
leave
ret
test byte [0x41776c], 2
mov dword [ebp - 0x40], 0x40
jne 0x4024bf
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x4024bf
mov ecx, dword [ebp - 0x2c]
xor eax, eax
cmp ecx, eax
ja 0x4024bf
jb 0x40249b
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 8]
jae 0x4024bf
push 0x2b
call fcn.00401f9d
push eax
call fcn.00407717
cmp eax, 1
pop ecx
pop ecx
je 0x4024b8
or dword [0x41776c], 0xffffffff
jmp 0x402466
or dword [0x41776c], 2
xor eax, eax
inc eax
leave
ret

Function at 0x402d7d
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.00401411
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jle 0x402dbb
lea eax, [esi + 1]
push eax
push eax
mov ecx, edi
call fcn.00402535
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi]
and word [eax + esi*2], 0
mov dword [edi + 4], esi
mov eax, edi
pop edi
pop esi
ret

Function at 0x403354
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov eax, 0xb945c6c8
cmpsd dword [esi], dword es:[edi]
call fcn.004030bc
sub al, 0xd
shl dl, cl
lea eax, [ebp - 0x58]
push eax
call fcn.004030cc
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00403081
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4033aa
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004030bc
out dx, al
scasd eax, dword es:[edi]
mov ecx, 0xc0458d14
push eax
call fcn.004030cc
push eax
push esi
push dword [ebp + 8]
call fcn.00403081
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.004030bc
ret 0x474b
Function at 0x403bce
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.004030cc
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403081
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.004030cc
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403081
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.004030bc
insb byte es:[edi], dx
mov ch, 6
std
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.004030cc
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403081
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.004030bc
mov esi, 0x6883fc90
add al, 1

Function at 0x40653f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.00406501
add esp, 0x1c
leave
ret
Function at 0x894af0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x377000]
push edi
or ebp, 0xffffffff
jmp 0x894b12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x894b19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x894b08
mov eax, 1
add ebx, ebx
jne 0x894b2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x894b3c
jne 0x894b4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x894b4c
dec eax
add ebx, ebx
jne 0x894b48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x894b20
xor ecx, ecx
sub eax, 3
jb 0x894b64
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x894bd6
sar eax, 1
mov ebp, eax
jmp 0x894b6f
add ebx, ebx
jne 0x894b6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x894b7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x894ba0
inc ecx
add ebx, ebx
jne 0x894b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x894b81
jne 0x894b9d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x894b81
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x894bc0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x894bb1
jmp 0x894b0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x894bc0
add edi, ecx
jmp 0x894b0e
pop esi
mov edi, esi
mov ecx, 0xdc62
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x894bde
cmp byte [edi], 0x92
jne 0x894bde
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 eax, ebx
loop 0x894be3
lea edi, [esi + 0x490000]
mov eax, dword [edi]
or eax, eax
je 0x894c52
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x496d08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x496e34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x894c10
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x496e38]
or eax, eax
je 0x894c4c
mov dword [ebx], eax
add ebx, 4
jmp 0x894c2d
call dword [esi + 0x496e3c]
popal
jmp 0x5be854
Function at 0x4144a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
jmp 0x4144ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4144c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4144b0
mov eax, 1
add ebx, ebx
jne 0x4144d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4144c8
jne 0x4144e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4144c8
xor ecx, ecx
sub eax, 3
jb 0x4144f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41456a
mov ebp, eax
add ebx, ebx
jne 0x414503
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414510
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414534
inc ecx
add ebx, ebx
jne 0x414520
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414515
jne 0x414531
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414515
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414554
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414545
jmp 0x4144b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414554
add edi, ecx
jmp 0x4144b6
pop esi
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x4145bc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14790]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1484c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414571
mov ecx, edi
jns 0x4145a0
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14854]
or eax, eax
je 0x4145b6
mov dword [ebx], eax
add ebx, 4
jmp 0x41458e
call dword [esi + 0x14850]
mov ebp, dword [esi + 0x14858]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4145f0
sub esp, 0xffffff80
jmp 0x403966
Function at 0x10007c1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10007c2e
pop dword [ebp - 0x48]
mov eax, 0xf43b0f1f
add eax, 0x1bc56d0f
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xa224f538
sub dword [ebp - 0x58], 0x53d2afed
mov dword [ebp - 0x54], 0xddffc470
sub dword [ebp - 0x54], 0xabcc782b
mov dword [ebp - 0x50], 0x1c99bc45
sub dword [ebp - 0x50], 0xd04d7817
mov dword [ebp - 0x4c], 0x7a8436fe
add dword [ebp - 0x4c], 0x857bc902
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xe77073cf
sub dword [ebp - 0x58], 0x72fe0a79
mov dword [ebp - 0x54], 0x46fe3904
sub dword [ebp - 0x54], 0x591d78f
mov dword [ebp - 0x50], 0x1b9d3c82
add dword [ebp - 0x50], 0x47d22fea
mov dword [ebp - 0x4c], 0x2e5f10e8
add dword [ebp - 0x4c], 0xd1a0ef18
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xbf988221
add eax, 0x5067fe2f
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x341de
push 0
call eax
mov ecx, 0x3dcc
mov ebx, eax
mov esi, 0x1000fa00
add esi, dword [ebp - 0x48]
mov edx, 0x45aee008
add dword [ebp - 0x14], 0xecfd8e3f
mov edi, dword [esi]
add dword [ebp - 4], 0x2ec514b6
xor edi, edx
add dword [ebp - 0x3c], 0x4b3a7137
mov dword [ebx], edi
xor dword [ebp - 0x10], ebx
add ebx, 0xbf31e91e
sub ebx, 0xbf31e91a
add esi, 4
loop 0x10007d39
add eax, 0x5ba7c18c
add eax, 0xa4592877
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x10003b3b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10003b4a
pop dword [ebp - 0x20]
mov eax, 0xd42eb395
add eax, 0x3bd187b5
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xdd7ebc8a
add dword [ebp - 0x30], 0x70d388c1
mov dword [ebp - 0x2c], 0x744d3db9
sub dword [ebp - 0x2c], 0x4219f174
mov dword [ebp - 0x28], 0x282da613
sub dword [ebp - 0x28], 0xdbe161e5
mov dword [ebp - 0x24], 0x78a506b
add dword [ebp - 0x24], 0xf875af95
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x225f09a1
add dword [ebp - 0x30], 0x52135fb5
mov dword [ebp - 0x2c], 0x5d3ef0e5
add dword [ebp - 0x2c], 0xe42d7090
mov dword [ebp - 0x28], 0x11c8881e
sub dword [ebp - 0x28], 0xae591bb2
mov dword [ebp - 0x24], 0xa65ff9b7
sub dword [ebp - 0x24], 0xa65ff9b7
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3577a
push 0
call eax
mov ecx, 0xb6ddeafa
sub ecx, 0xb6dda83f
mov esi, eax
mov edi, 0x7558a70c
sub edi, 0x65580f0c
add edi, dword [ebp - 0x20]
mov ebx, 0xa133de19
add ebx, 0xeeae0258
add dword [ebp - 4], esi
mov edx, dword [edi]
sub dword [ebp - 0x10], 0x2773347e
xor edx, ebx
xor dword [ebp - 4], ebx
mov dword [esi], edx
xor dword [ebp - 0x10], edi
add esi, 0x7c51be1c
sub esi, 0x7c51be18
add edi, 4
loop 0x10003c62
add eax, 0xa6e63332
sub eax, 0xa6e53573
mov ebx, eax
add eax, 5
mov ecx, 0x8882eeda
sub ecx, 0x7882eeda
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x4010c0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x42a520]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ecx, ecx
mov al, 1
push edi
lea ebx, [ebx]
movzx edx, al
mov byte [ebp + edx - 0x104], cl
mov dl, al
and dl, 0x80
mov byte [ebp + ecx - 0x204], al
inc ecx
neg dl
sbb dl, dl
mov bl, al
and dl, 0x1b
add bl, bl
xor dl, bl
xor al, dl
cmp ecx, 0x100
jl 0x4010e0
mov al, 1
mov ecx, 0x46dea0
movzx edx, al
shl edx, 0x18
mov dword [ecx], edx
mov dl, al
and dl, 0x80
add ecx, 4
neg dl
sbb dl, dl
and dl, 0x1b
add al, al
xor al, dl
cmp ecx, 0x46dec8
jl 0x401115
mov dword [0x46d2a0], 0x63
mov dword [0x47046c], 0
mov edx, 1
jmp 0x401160
movzx eax, byte [ebp + edx - 0x104]
lea ecx, [ebp - 0x105]
sub ecx, eax
mov cl, byte [ecx]
mov al, cl
rol al, 1
xor cl, al
rol al, 1
xor cl, al
rol al, 1
xor cl, al
rol al, 1
xor al, cl
xor al, 0x63
movzx eax, al
mov dword [edx*4 + 0x46d2a0], eax
mov dword [eax*4 + 0x4702e0], edx
inc edx
cmp edx, 0x100
jl 0x401160
xor ecx, ecx
mov dl, byte [ecx + 0x46d2a0]
mov al, dl
and al, 0x80
neg al
sbb al, al
and al, 0x1b
mov bl, dl
add bl, bl
xor al, bl
movzx esi, al
movzx edx, dl
mov eax, esi
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, esi
xor eax, edx
mov dword [ecx + 0x46fee0], eax
ror eax, 8
mov dword [ecx + 0x46fae0], eax
ror eax, 8
mov dword [ecx + 0x46f6e0], eax
ror eax, 8
mov dword [ecx + 0x46f2e0], eax
mov al, byte [ecx + 0x4702e0]
test al, al
je 0x40126f
movzx edx, al
movzx esi, byte [ebp + edx - 0x104]
movzx eax, byte [ebp - 0xf9]
add eax, esi
cdq
mov edi, 0xff
idiv edi
movzx eax, byte [ebp + edx - 0x204]
mov dword [ebp - 0x208], eax
movzx eax, byte [ebp - 0xf7]
add eax, esi
cdq
idiv edi
movzx eax, byte [ebp - 0xfb]
add eax, esi
movzx ebx, byte [ebp + edx - 0x204]
cdq
idiv edi
movzx eax, byte [ebp - 0xf6]
add eax, esi
mov esi, 0xff
movzx edi, byte [ebp + edx - 0x204]
cdq
idiv esi
movzx eax, byte [ebp + edx - 0x204]
mov edx, dword [ebp - 0x208]
jmp 0x401277
xor edx, edx
xor ebx, ebx
xor edi, edi
xor eax, eax
shl eax, 8
xor eax, edi
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, edx
mov dword [ecx + 0x46eee0], eax
ror eax, 8
mov dword [ecx + 0x46eae0], eax
ror eax, 8
mov dword [ecx + 0x46daa0], eax
ror eax, 8
mov dword [ecx + 0x46d6a0], eax
add ecx, 4
cmp ecx, 0x400
jl 0x4011a2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x41071c
mov esp, ebp
pop ebp
ret