joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f9b2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
ja 0x6f9b90
push dword [ebp + 0x10]
push esi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.006f9f80
add esp, 0xc
mov eax, dword [ebp + 0x10]
add dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x18]
xor ecx, ecx
mov dword [edx], ecx
xor eax, eax
jmp 0x6f9cad
cmp esi, edi
jne 0x6f9b9e
mov eax, 0x1001
jmp 0x6f9cad
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
push eax
push esi
mov edx, dword [ebp - 0xc]
add edx, ebx
add edx, 0x28
push edx
call fcn.006f9f80
add esp, 0xc
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
add esi, ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sub dword [ebp + 0x10], eax
lea edx, [ebx + 0x18]
push edx
push dword [ebp - 4]
call fcn.006f6782
add esp, 8
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x2c]
mov dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x20], ecx
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x24], eax
add edi, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
jbe 0x6f9c84
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp - 4]
call fcn.006f6782
add esp, 8
mov eax, dword [ebx + 0x18]
xor eax, dword [esi]
mov dword [edi], eax
mov edx, dword [ebx + 0x1c]
xor edx, dword [esi + 4]
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0x20]
xor ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov eax, dword [ebx + 0x24]
xor eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov edx, dword [esi]
mov dword [ebx + 0x18], edx
mov ecx, dword [esi + 4]
mov dword [ebx + 0x1c], ecx
mov eax, dword [esi + 8]
mov dword [ebx + 0x20], eax
mov edx, dword [esi + 0xc]
mov dword [ebx + 0x24], edx
add esi, dword [ebp - 8]
add edi, dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
ja 0x6f9c28
push dword [ebp + 0x10]
push esi
lea edx, [ebx + 0x28]
push edx
call fcn.006f9f80
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp + 0x10]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6f9e84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov esi, dword [ebx + 0x38]
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
lea ecx, [ebx + 0x18]
push ecx
push eax
call fcn.006f6782
add esp, 8
xor eax, eax
cmp esi, eax
jbe 0x6f9ebe
mov dl, byte [ebx + eax + 0x28]
xor dl, byte [ebx + eax + 0x18]
mov byte [edi + eax], dl
inc eax
cmp esi, eax
ja 0x6f9eae
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x6fa190
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe44
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x1bc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x6fa221
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1b8]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, 0x12
mov eax, esi
call fcn.0040a470
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x14
call fcn.00407aac
push ebx
lea eax, [ebp - 0x28]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x6fa208
lea edx, [ebp - 0x1bc]
lea eax, [ebp - 0x28]
call fcn.00425ebc
mov edx, dword [ebp - 0x1bc]
mov eax, esi
call fcn.0040b6e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6fa228
lea eax, [ebp - 0x1bc]
call fcn.0040a494
ret
Function at 0x70288c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040a554
xor eax, eax
push ebp
push 0x702a47
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax + 0xa020], 3
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa00c]
mov edx, dword [ebp - 4]
call fcn.0040b9b4
je 0x702a31
mov eax, dword [ebp - 8]
add eax, 0xa00c
mov edx, dword [ebp - 4]
call fcn.0040a850
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.007022bc
xor eax, eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x702a05
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x20
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [PeekMessageA]
call fcn.004b3d90
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov ecx, 0xc
mov eax, dword [ebp - 0x14]
call fcn.004b2534
add dword [ebp - 0x10], 0xc
lea edx, [ebp - 0x24]
mov eax, 0x702a58
mov ecx, 7
call fcn.00425cfc
test eax, eax
je 0x70295d
mov ecx, 0x702a6c
mov dl, 1
mov eax, dword [0x41d378]
call fcn.0042ad90
call fcn.00409af0
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jl 0x7029f3
inc eax
mov dword [ebp - 0x18], eax
mov eax, 0x149
call fcn.00406acc
mov ebx, eax
mov edx, ebx
mov ecx, 0x149
mov eax, dword [ebp - 0x14]
call fcn.004b2534
add dword [ebp - 0x10], 0x149
mov edx, ebx
mov eax, 0x149
xor byte [edx], 0x2f
inc edx
dec eax
jne 0x702996
xor eax, eax
mov dword [ebx + 0x145], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x131], eax
mov eax, dword [ebx + 0x1d]
imul dword [ebx + 0x21]
imul dword [ebx + 0x11]
mov edx, eax
add edx, edx
mov cx, 1
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0x1c]
mov eax, dword [ebx + 0x1d]
imul dword [ebx + 0x21]
imul dword [ebx + 0x11]
add eax, eax
add dword [ebp - 0x10], eax
push 0
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa018]
mov ecx, ebx
call fcn.006cefac
dec dword [ebp - 0x18]
jne 0x70296d
mov eax, dword [ebp - 0x14]
call fcn.00408674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x702a2c
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x702a4e
lea eax, [ebp - 4]
call fcn.0040a470
ret
Function at 0x7290f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
dec ecx
test ecx, ecx
jb 0x72911a
inc ecx
movzx esi, byte [edx]
mov ebx, dword [eax]
mov edi, ebx
and edi, 0xff
xor esi, edi
mov esi, dword [esi*4 + 0x8233fc]
shr ebx, 8
xor esi, ebx
mov dword [eax], esi
inc edx
dec ecx
jne 0x7290f9
pop edi
pop esi
pop ebx
ret
Function at 0x772bb4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x772c81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x772c9c
call fcn.0069f184
mov esi, eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x30]
call fcn.0040b71c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00699698
call fcn.0040748c
mov edi, eax
lea edx, [ebp - 0xc]
or eax, 0xffffffff
call fcn.005dec7c
lea eax, [ebp - 0xc]
push eax
push 0x3f800000
mov eax, dword [0x88d67c]
mov edx, dword [ebx + 0x10]
sub edx, dword [eax + 0x1c]
sub edx, 0x10
mov eax, dword [0x88d67c]
push dword [eax + 0x18]
mov eax, dword [ebx + 0xc]
pop ecx
sub eax, ecx
sar edi, 1
jns 0x772c34
adc edi, 0
sub eax, edi
lea ecx, [ebp - 0x1c]
call fcn.005ddff8
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x14]
call fcn.005de464
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebx + 0x30]
call fcn.0040b71c
mov ecx, dword [ebp - 0x20]
mov eax, esi
pop edx
call fcn.00699768
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x772c88
lea eax, [ebp - 0x20]
call fcn.0040a4b8
lea eax, [ebp - 4]
call fcn.0040a4b8
ret

Function at 0x772d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x772db7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00772e6c
lea edx, [ebp - 0x18]
lea eax, [esi + 5]
call fcn.00425ebc
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x30]
call fcn.0040b6e8
mov eax, dword [esi + 1]
mov dword [ebx + 0x1c], eax
movzx eax, word [esi + 0x18]
mov dword [ebx + 0x20], eax
movzx eax, word [esi + 0x1a]
mov dword [ebx + 0x24], eax
movzx eax, word [esi + 0x1c]
mov dword [ebx + 0x28], eax
movzx eax, byte [esi + 0x1e]
mov dword [ebx + 0x2c], eax
lea ecx, [ebp - 0x14]
movzx edx, word [esi + 0x1c]
mov eax, dword [0x824934]
mov eax, dword [eax]
call fcn.006eb4fc
mov eax, dword [ebx + 0x20]
shl eax, 5
add eax, 0x10
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x24]
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax + eax*2]
add eax, 0xc
mov dword [ebx + 0x10], eax
movzx eax, byte [esi + 0x1f]
mov byte [ebx + 0x14], al
mov byte [ebx + 8], 1
mov eax, ebx
call fcn.00772e88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x772dbe
lea eax, [ebp - 0x18]
call fcn.0040a494
ret
Function at 0x773588
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push ebp
push 0x7736da
push dword fs:[ecx]
mov dword fs:[ecx], esp
test al, al
jbe 0x7735ef
mov dword [ebx + 0x34], 7
mov dword [ebx + 0x39], edx
mov dword [ebx + 0x3d], edi
mov ecx, dword [ebp + 0x28]
mov dword [ebx + 0x41], ecx
movzx ecx, word [ebp + 0x18]
mov word [ebx + 0x45], cx
movzx ecx, word [ebp + 0x14]
mov word [ebx + 0x47], cx
mov dword [ebx + 0x49], esi
mov ecx, esi
mov byte [ebx + 0x4d], cl
movzx ecx, byte [ebp + 0x24]
mov byte [ebx + 0x4e], cl
mov byte [ebx + 0x4f], al
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x50], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x54], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
movzx edx, word [ebp + 0x28]
mov word [ebx + 0x2e], dx
movzx edx, word [ebp + 0x24]
mov word [ebx + 0xc], dx
mov edx, dword [ebp + 0x20]
mov dword [ebx + 0x88], edx
mov edx, dword [ebp + 0x1c]
mov dword [ebx + 0x8c], edx
mov edx, dword [ebp + 0x18]
mov dword [ebx + 0x10], edx
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x60], esi
mov byte [ebx + 0x38], al
mov dword [ebx + 0x24], 0x1e
movzx eax, word [ebx + 0x2e]
call fcn.006fa244
mov word [ebx + 0x30], ax
mov ecx, dword [0x824a08]
mov ecx, dword [ecx]
xor edx, edx
mov eax, ebx
call fcn.00773928
xor eax, eax
mov dword [ebx + 0x6c], eax
push 0x7736f8
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x60]
call fcn.00424ba0
push dword [ebp - 8]
push 0x773708
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040b904
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x5c]
call fcn.006fd668
mov dword [ebx + 0x70], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x88]
shl eax, 5
add eax, 0x10
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x8c]
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax + eax*2]
add eax, 0xc
mov dword [ebx + 0x68], eax
mov byte [ebx + 0x58], 1
xor eax, eax
mov dword [ebx + 0x78], eax
mov byte [ebx + 0x7c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7736e1
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a4d0
ret
Function at 0x779fb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebx + 0x18]
cmp eax, 0x3e8
jb 0x77a057
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebx + 0x18], eax
cmp dword [ebx + 4], 0
je 0x77a057
xor edx, edx
mov eax, ebx
call fcn.0077a064
mov byte [ebp - 0xf], 0x15
mov byte [ebp - 0xe], 3
mov eax, dword [ebx + 0xc]
mov ecx, 0xa
xor edx, edx
div ecx
test edx, edx
jne 0x77a008
movzx eax, word [0x77a05c]
mov word [ebp - 2], ax
jmp 0x77a013
movzx eax, word [0x77a060]
mov word [ebp - 2], ax
lea eax, [ebp - 2]
movzx eax, byte [eax]
mov byte [ebp - 0xd], al
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xc], eax
mov eax, 8
call fcn.00406f6c
mov word [ebp - 8], ax
mov eax, dword [ebx + 4]
movzx edx, word [eax + 0x20]
mov word [ebp - 6], dx
movzx eax, word [eax + 0x24]
mov word [ebp - 4], ax
lea ecx, [ebp - 0xf]
mov eax, dword [0x824878]
mov eax, dword [eax]
mov edx, 0xe
call fcn.0077e5a8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x77cca4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd48
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x298], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a554
xor eax, eax
push ebp
push 0x77cde1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a850
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x77cdb9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040b100
mov edx, dword [ebp - 0x298]
lea eax, [ebp - 0x294]
call fcn.00425bb0
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x77cda6
mov edx, dword [eax + 0xc]
test edx, edx
je 0x77cda6
mov esi, dword [edx]
test esi, esi
je 0x77cda6
push ebx
movzx eax, byte [esi]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 0x2b4], 0
movzx eax, byte [esi + 1]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 0x2ac], 0
movzx eax, byte [esi + 2]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 0x2a4], 0
movzx eax, byte [esi + 3]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 0x29c], 0
lea edx, [ebp - 0x2b8]
mov ecx, 3
mov eax, 0x77cdfc
call fcn.004260bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x77cdc0
call sub.wsock32.dll_WSACleanup
ret
Function at 0x793420
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x88dafc], 0
jne 0x793437
call fcn.007933dc
mov eax, edi
dec eax
test eax, eax
jl 0x79345f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x88d6fc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x793441
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x796154
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x7961ee.0
jmp dword [ecx*4 + 0x796187]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x7961b9
sub dl, 8
je 0x7961c8
jmp case.0x7961ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x795e20
jmp case.0x7961ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x795e74
jmp case.0x7961ee.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x7961ee.0
movzx ecx, byte [ecx + 0x7961f5]
jmp dword [ecx*4 + 0x796206]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x795f14
jmp case.0x7961ee.0
cmp dl, 3
jne 0x796233
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x795f6c
jmp case.0x7961ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x795f28
jmp case.0x7961ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x795fb0
jmp case.0x7961ee.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x79625e
sub dl, 8
je 0x79626a
jmp case.0x7961ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x795fdc
jmp case.0x7961ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x796040
jmp case.0x7961ee.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x796289
sub dl, 8
je 0x796295
jmp case.0x7961ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x7960f0
jmp case.0x7961ee.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x796118
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x796337
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00795368
test eax, eax
je 0x796337
mov eax, ebx
call fcn.00796340
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x7962d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x796340
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x796371
dec al
je 0x7963ac
dec al
je 0x7963e9
dec al
je 0x796452
jmp 0x7964dc
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x7964dc
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x796381
jmp 0x7964dc
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x7964dc
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov ecx, eax
xor cl, 1
and ecx, 0x7f
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ecx, byte [ecx + esi]
movzx edx, al
mov edx, dword [ebx + edx*4 + 0x40]
add cl, byte [edx + esi]
and cl, 0xff
mov byte [edx + esi], cl
inc esi
dec edi
jne 0x7963bc
jmp 0x7964dc
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x7964dc
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x796418
xor ebp, ebp
jmp 0x796428
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x796431
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x7963f9
jmp 0x7964dc
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x7964dc
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x7964ab
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00793468
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x796466
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40607b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422274], 0
push esi
jne 0x4060b2
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 0x40608c
mov dword [ecx*4 + 0x422270], eax
inc ecx
cmp ecx, 0x100
jl 0x406087
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4060e3
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 + 0x422270]
xor eax, esi
inc ecx
dec edx
jne 0x4060c5
pop edi
not eax
pop esi
ret 0xc

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 0x10001e9c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001f620]
jne 0x10001ea6
repz ret
jmp fcn.1000214d

Function at 0x100026a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1001f600], 0
mov byte [0x1001f604], 0
mov dword [0x1001f5f4], 0x7e8
mov dword [0x1001f5fc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100026ef
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1001f5f8], 0x126
mov eax, dword [0x1001f5fc]
add eax, 1
mov dword [0x1001f5fc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100026ef
mov dword [0x1001f5fc], 0
mov eax, 0x100
mov dword [0x1001f608], 0
mov ecx, dword [0x1001f600]
mov edx, dword [0x1001f5fc]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x1001f608], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x1001f600], edx
mov dword [0x1001f5f4], 0x1c92
mov ecx, dword [0x1001f5fc]
mov bl, byte [esi + ecx]
mov byte [0x1001f604], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1001f604]
mov ecx, dword [0x1001f600]
mov byte [esi + ecx], bl
mov ecx, dword [0x1001f5fc]
add ecx, 1
mov dword [0x1001f5fc], ecx
cmp ecx, 0x100
jl 0x10002729
jmp 0x100026e7

Function at 0x10002ba0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.10002ba0]
mov ecx, 0x20fb
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x10002bd3
mov eax, 0x207e
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [ecx], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
jne 0x10002bb9
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10002bb9
mov eax, dword [ebp - 0x10]
mov dword [0x1001f5f4], eax
mov eax, dword [ebp - 0xc]
add esp, 0x10
pop ebp
ret