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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x100feaf4]
mov dword [0x100feb00], 0
mov byte [0x100feb04], 0
add edi, 0x2c8
mov dword [0x100feaf4], edi
mov dword [0x100feafc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1003f4f3
xor eax, eax
mov dword [0x100feafc], 0
mov dword [ebp - 0x20], eax
jmp 0x1003f52f
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x100feaf8], 0x32a
mov dword [0x100feaf4], 0x28c
mov eax, dword [0x100feafc]
add eax, 1
mov dword [0x100feafc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1003f4f3
jmp 0x1003f4e2
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x100feb08], 0
mov edi, dword [0x100feb00]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x100feb08], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x100feb00], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x100feb04], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x100feb04]
mov esi, dword [0x100feb00]
mov byte [ebx + esi], cl
mov dword [0x100feaf4], 0x381
mov esi, dword [0x100feafc]
add esi, 1
mov dword [0x100feafc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1003f52f
mov dword [0x100feaf4], 0x214a
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x403a2e
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x419aec
call fcn.004190e0
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41c1f8
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41c2bc
push 4
mov ebx, 0x41c208
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00401c79
mov dword [esi + 0x3c], 0x41c34c
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00401c79
mov dword [edi], 0x41c354
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004021ab
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.004030be
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004021ab
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.004030be
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004021ab
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.004030be
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004021ab
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.004030be
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.004030be
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x406b2b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x419f2b
call fcn.004190e0
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x41c1f8
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x41c220
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.004106da
push dword [esi + 8]
mov ecx, ebx
call fcn.004106da
push dword [esi + 0xc]
mov ecx, edi
call fcn.004106da
push dword [esi + 0xc]
mov ecx, edi
call fcn.004106da
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x406b37
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x419f2b
call fcn.004190e0
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x41c1f8
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x41c220
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.004106da
push dword [esi + 8]
mov ecx, ebx
call fcn.004106da
push dword [esi + 0xc]
mov ecx, edi
call fcn.004106da
push dword [esi + 0xc]
mov ecx, edi
call fcn.004106da
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40e751
Capabilities:
Set file attributes

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret 8

Function at 0x40e78f
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x424a1c], 0
jne 0x40e7c6
push ebx
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.0040e7db
push dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.0040e751
push dword [ebp - 0xc]
mov bl, al
call fcn.00410831
pop ecx
mov al, bl
pop ebx
jmp 0x40e7d7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
leave
ret 8

Function at 0x40e82d
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x424a1c], 0
jne 0x40e860
push ebx
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.0040e7db
push dword [eax]
call fcn.0040e767
push dword [ebp - 0xc]
mov bl, al
call fcn.00410831
pop ecx
mov al, bl
pop ebx
jmp 0x40e86e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
leave
ret 4

Function at 0x40e8fe
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x424a1c], 0
jne 0x40e931
push ebx
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.0040e7db
push dword [eax]
call fcn.0040e8ea
push dword [ebp - 0xc]
mov bl, al
call fcn.00410831
pop ecx
mov al, bl
pop ebx
jmp 0x40e941
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
leave
ret 4

Function at 0x40eb6a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x424a1c], 0
jne 0x40eb9d
push ebx
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.0040e7db
push dword [eax]
call fcn.0040eb49
push dword [ebp - 0xc]
mov bl, al
call fcn.00410831
pop ecx
mov al, bl
pop ebx
jmp 0x40ebb9
push 0
push dword [ebp + 8]
call fcn.0040e78f
test al, al
je 0x40ebb9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
leave
ret 4
Function at 0x40ee51
Capabilities:
Get common file path

Disassembly:
mov eax, 0x41a7fc
call fcn.004190e0
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x424a1c], bl
je 0x40eeb9
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x105
cmp dword [esi + 8], edi
jg 0x40ee80
push edi
mov ecx, esi
call fcn.004027af
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esi]
xor edx, edx
cmp word [ecx], bx
je 0x40ee9c
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x40ee94
mov word [ecx + edx*2], bx
mov dword [esi + 4], edx
pop edi
cmp eax, ebx
pop esi
jbe 0x40eeb5
cmp eax, 0x104
ja 0x40eeb5
push 1
pop eax
jmp 0x40ef0c
xor eax, eax
jmp 0x40ef0c
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0040e369
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
call fcn.0040ee0f
test al, al
je 0x40ef01
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040e6cc
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.0040b311
push dword [ebp - 0x24]
call fcn.00410831
pop ecx
mov bl, 1
push dword [ebp - 0x18]
call fcn.00410831
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40f469
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f48f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40f48f
xor al, al
jmp 0x40f4af
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00419230
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x41005f
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, ecx
push edi
mov eax, dword [esi]
and dword [esi + 4], 0
and byte [eax], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
test edi, edi
jne 0x41008c
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
jmp 0x4100c3
cmp edi, dword [esi + 8]
jl 0x410099
push edi
mov ecx, esi
call fcn.0040e369
mov eax, dword [esi]
inc edi
push edi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, esi
mov edi, eax
call fcn.0040ef98
test edi, edi
jne 0x4100c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
neg eax
jmp 0x4100c3
mov al, 1
pop edi
pop esi
pop ebx
ret 4
Function at 0x4100c9
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x41a9a8
call fcn.004190e0
sub esp, 0x18
cmp byte [0x424a1c], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x41014a
mov esi, dword [ebp + 8]
mov eax, dword [esi]
and dword [esi + 4], 0
and word [eax], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
je 0x410139
cmp edi, dword [esi + 8]
jl 0x41010c
push edi
mov ecx, esi
call fcn.004027af
mov eax, dword [esi]
inc edi
push edi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi]
xor ebx, ebx
xor edx, edx
cmp word [ecx], bx
je 0x41012e
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x410126
mov word [ecx + edx*2], bx
cmp eax, ebx
mov dword [esi + 4], edx
jne 0x410146
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
jmp 0x41019d
mov al, 1
jmp 0x41019d
xor esi, esi
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.0040e369
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov dword [ebp - 4], esi
call fcn.0041005f
mov bl, al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040e6b0
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.0040b311
push dword [ebp - 0x24]
call fcn.00410831
push dword [ebp - 0x18]
call fcn.00410831
pop ecx
mov al, bl
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x415dd6
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 4]
test edx, edx
jbe 0x415e03
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x424a40]
xor eax, esi
inc ecx
dec edx
jne 0x415de4
pop edi
pop esi
ret 4
Function at 0x415f92
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 2
mov eax, ebx
push esi
mov esi, dword [ebp + 8]
and dword [ebp + 8], 0
shr eax, 1
add eax, 3
push edi
mov dword [esi], eax
add esi, 4
lea eax, [eax*8 + 4]
mov dword [ebp + 0x10], ebx
test ebx, ebx
mov dword [ebp - 8], eax
jbe 0x415ff5
mov eax, dword [ebp + 0xc]
mov edi, esi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
movzx edx, byte [eax + 1]
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax]
shl ecx, 8
or ecx, edx
add eax, 4
mov dword [edi], ecx
add edi, 4
dec dword [ebp - 4]
jne 0x415fcf
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
jae 0x4160d2
mov edi, eax
mov ecx, ebx
shl edi, 2
shl ecx, 2
mov dword [ebp - 4], ecx
xor edx, edx
mov ecx, dword [edi + esi - 4]
div ebx
mov dword [ebp + 0xc], ecx
test edx, edx
jne 0x41606c
mov eax, ecx
xor ebx, ebx
and eax, 0xff
mov bh, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
mov bl, byte [eax + str.cw]
xor eax, eax
mov al, byte [ebp + 0xe]
shl ebx, 8
movzx eax, byte [eax + str.cw]
or ebx, eax
xor eax, eax
mov al, ch
shl ebx, 8
movzx ecx, byte [eax + str.cw]
mov eax, dword [ebp + 8]
div dword [ebp + 0x10]
movzx eax, byte [eax + 0x42268c]
xor ecx, eax
or ecx, ebx
mov ebx, dword [ebp + 0x10]
jmp 0x4160b2
cmp ebx, 6
jbe 0x4160b2
cmp edx, 4
jne 0x4160b2
xor eax, eax
xor edx, edx
mov al, byte [ebp + 0xe]
mov dl, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
mov dh, byte [eax + str.cw]
xor eax, eax
mov al, ch
and ecx, 0xff
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, byte [ecx + str.cw]
shl edx, 8
or edx, eax
mov ecx, edx
mov eax, edi
sub eax, dword [ebp - 4]
mov eax, dword [eax + esi]
xor eax, ecx
mov dword [edi + esi], eax
mov eax, dword [ebp + 8]
inc eax
add edi, 4
cmp eax, dword [ebp - 8]
mov dword [ebp + 8], eax
jb 0x41600e
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4160d9
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00415f92
mov eax, dword [esi]
lea ecx, [esi + 0x14]
lea eax, [eax*8 - 4]
test eax, eax
jbe 0x41615a
push ebx
push edi
mov esi, eax
mov eax, dword [ecx]
xor edx, edx
mov dword [ebp + 0x10], eax
xor ebx, ebx
mov dl, byte [ebp + 0x12]
mov bl, ah
movzx edx, byte [edx + str.cw]
movzx edi, byte [ebx + str.cw]
mov edx, dword [edx*4 + 0x423118]
xor edx, dword [edi*4 + 0x422d18]
mov edi, eax
shr edi, 0x18
and eax, 0xff
movzx edi, byte [edi + str.cw]
movzx eax, byte [eax + str.cw]
xor edx, dword [edi*4 + 0x423518]
xor edx, dword [eax*4 + 0x422918]
mov dword [ecx], edx
add ecx, 4
dec esi
jne 0x416100
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x41655e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x416573
xor eax, eax
jmp 0x416604
push 0x10
pop eax
cmp ebx, eax
jb 0x416604
sub ebx, eax
push esi
mov esi, dword [ebp + 8]
add ebx, eax
shr ebx, 4
mov eax, ebx
push edi
mov edi, dword [ebp + 0xc]
shl eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [edi]
push dword [esi + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 4], eax
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041615f
mov eax, dword [esi]
xor eax, dword [ebp - 0x20]
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [ebp - 0x1c]
add edi, 0x10
mov dword [edi - 0xc], eax
mov eax, dword [esi + 8]
xor eax, dword [ebp - 0x18]
mov dword [edi - 8], eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebp - 0x14]
dec ebx
mov dword [edi - 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
jne 0x416595
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41666c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [ecx]
and edx, 7
cmp dword [ebp + 0xc], 5
jb 0x4167bc
add dword [ebp + 0x10], 5
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
mov ecx, dword [ebp + 8]
lea esi, [eax + ecx]
mov eax, dword [ebp + 0xc]
lea edi, [ecx + eax - 4]
cmp esi, edi
jae 0x4166ac
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x4166ac
inc esi
jmp 0x41669d
mov eax, esi
sub eax, ecx
cmp esi, edi
mov dword [ebp - 8], eax
jae 0x41679c
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x4166e1
xor edx, edx
mov cl, byte [esi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x41670e
cmp cl, 0xff
je 0x41670e
and edx, 3
shl edx, 1
or edx, 1
inc eax
jmp 0x416690
dec ecx
shl edx, cl
and edx, 7
je 0x4166c7
movzx ecx, byte [edx + 0x41ca30]
mov edi, esi
sub edi, ecx
cmp byte [edx + 0x41ca28], 0
mov cl, byte [edi + 4]
je 0x416709
test cl, cl
je 0x416709
cmp cl, 0xff
jne 0x4166c7
mov dword [ebp - 4], eax
jmp 0x4166d6
xor ebx, ebx
mov bh, cl
mov bl, byte [esi + 3]
movzx ecx, byte [esi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
cmp dword [ebp + 0x18], 0
je 0x416737
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x41673e
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x416772
movzx edi, byte [edx + 0x41ca30]
push 0x18
mov eax, ebx
shl edi, 3
pop ecx
sub ecx, edi
shr eax, cl
test al, al
je 0x41675d
cmp al, 0xff
jne 0x41676f
push 0x20
mov eax, dword [ebp - 8]
pop ecx
push 1
sub ecx, edi
pop edi
shl edi, cl
dec edi
xor edi, ebx
jmp 0x416729
mov eax, dword [ebp - 8]
mov ecx, ebx
mov byte [esi + 1], bl
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
add eax, 5
jmp 0x416690
mov esi, eax
push 3
sub esi, dword [ebp - 4]
pop edi
lea ecx, [esi - 1]
shl edx, cl
and edx, 7
cmp edi, esi
sbb ecx, ecx
pop edi
not ecx
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
pop ebx
mov dword [edx], ecx
leave
ret 0x14

Function at 0x417fb3
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret 4

Function at 0x41836e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x10]
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]
add esp, 0x18
push eax
mov dword [ecx], eax
call fcn.00418340
pop ebp
ret 0xc
Function at 0x449b50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.text
lea edi, [esi - 0x40000]
push edi
or ebp, 0xffffffff
jmp 0x449b72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x449b79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x449b68
mov eax, 1
add ebx, ebx
jne 0x449b8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x449b80
jne 0x449b9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x449b80
xor ecx, ecx
sub eax, 3
jb 0x449bb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x449c22
mov ebp, eax
add ebx, ebx
jne 0x449bbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x449bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x449bec
inc ecx
add ebx, ebx
jne 0x449bd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x449bcd
jne 0x449be9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x449bcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x449c0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x449bfd
jmp 0x449b6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x449c0c
add edi, ecx
jmp 0x449b6e
pop esi
mov edi, esi
mov ecx, 0x2bb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x449c2a
cmp byte [edi], 5
jne 0x449c2a
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 al, bl
loop 0x449c2f
lea edi, [esi + 0x47000]
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x449c8a
cmp al, 0xef
ja 0x449c7d
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x449c5f
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x449c6c
mov ebp, dword [esi + 0x493d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x449cbe
sub esp, 0xffffff80
jmp 0x4138f9