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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
lea eax, [ebp - 0xf8]
call fcn.00656904
lea ecx, [ebp - 0xf8]
mov edx, edi
mov eax, esi
call fcn.00656914
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x1a4]
mov ecx, 0xac
call fcn.005c83bc
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp + 0x14]
mov eax, ebx
call fcn.00656984
mov eax, dword [ebp + 8]
xor edx, edx
dec eax
shr eax, 5
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
jae 0x6568f8
lea eax, [ebp - 0x4c]
mov ecx, 0x20
xor edx, edx
call fcn.005c83cc
lea edx, [ebp - 0x1a4]
lea eax, [ebp - 0x250]
mov ecx, 0xac
call fcn.005c83bc
mov eax, dword [ebp - 4]
mov ebx, 4
inc eax
mov edx, eax
mov ecx, eax
shr edx, 0x18
shr ecx, 0x10
mov byte [ebp - 0x2c], dl
shr eax, 8
mov byte [ebp - 0x2b], cl
mov byte [ebp - 0x2a], al
xor edx, edx
mov al, byte [ebp - 4]
inc eax
mov byte [ebp - 0x29], al
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jae 0x6568be
lea ecx, [ebp - 0x250]
lea eax, [ebp - 0x2c]
mov edx, ebx
call fcn.00656984
lea ecx, [ebp - 0x250]
lea eax, [ebp - 0x2c]
mov edx, 0x20
call fcn.00656a18
xor ebx, ebx
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x2c]
mov cl, byte [eax]
xor byte [edx], cl
inc ebx
inc edx
inc eax
cmp ebx, 0x20
jb 0x656891
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x250]
mov ecx, 0xac
call fcn.005c83bc
inc dword [ebp - 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jb 0x656866
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
shl ebx, 5
mov eax, dword [ebp + 0xc]
lea edx, [eax + ebx]
lea eax, [ebp - 0x4c]
jmp 0x6568de
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc ebx
inc dword [ebp - 8]
inc edx
cmp dword [ebp - 8], 0x20
jae 0x6568e9
cmp ebx, dword [ebp + 8]
jb 0x6568d4
inc dword [ebp - 4]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jb 0x65680e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x656984
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
push ecx
mov dword [esp], eax
mov eax, dword [ebx + 0xa8]
mov esi, edx
cmp eax, 0xffffffff
je 0x656a02
cmp eax, 0x40
jbe 0x6569b3
lea edx, [ebx + 0x40]
mov eax, ebx
call fcn.00657c10
mov dword [ebx + 0xa8], 0x20
mov ecx, pe_nt_image_headers32
mov eax, dword [ebx + 0xa8]
sub ecx, dword [ebx + 0xa8]
add eax, ebx
xor edx, edx
call fcn.005c83cc
xor edx, edx
mov eax, ebx
xor dword [eax], 0x36363636
inc edx
add eax, 4
cmp edx, 0x10
jb 0x6569d1
lea edi, [ebx + 0x40]
mov eax, edi
call fcn.00657bf4
mov ecx, edi
mov edx, pe_nt_image_headers32
mov eax, ebx
call fcn.00657a04
mov dword [ebx + 0xa8], 0xffffffff
test esi, esi
je 0x656a13
lea ecx, [ebx + 0x40]
mov edx, esi
mov eax, dword [esp]
call fcn.00657a04
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x656a18
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffdc
mov ebx, ecx
mov esi, edx
mov dword [esp], eax
cmp dword [ebx + 0xa8], 0xffffffff
je 0x656a39
mov ecx, ebx
xor edx, edx
xor eax, eax
call fcn.00656984
lea edx, [ebx + 0x40]
lea eax, [esp + 4]
call fcn.00657c10
xor eax, eax
mov edx, ebx
xor dword [edx], 0x6a6a6a6a
inc eax
add edx, 4
cmp eax, 0x10
jb 0x656a49
lea edi, [ebx + 0x40]
mov eax, edi
call fcn.00657bf4
mov ecx, edi
mov edx, pe_nt_image_headers32
mov eax, ebx
call fcn.00657a04
mov ecx, edi
lea eax, [esp + 4]
mov edx, 0x20
call fcn.00657a04
mov edx, edi
lea eax, [esp + 4]
call fcn.00657c10
xor eax, eax
mov edx, dword [esp]
mov ecx, edx
lea edx, [esp + 4]
cmp esi, eax
jbe 0x656aa5
mov bl, byte [edx]
mov byte [ecx], bl
inc eax
inc ecx
inc edx
cmp esi, eax
ja 0x656a9a
add esp, 0x24
pop edi
pop esi
pop ebx
ret
Function at 0x657bf4
Capabilities:
Hash data using sha256

Disassembly:
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax], edx
mov edx, 0x685db0
add eax, 8
mov ecx, 0x20
call fcn.005c83bc
ret

Function at 0x657dcc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x657ddb
test al, 0x10
je 0x657dde
xor eax, eax
ret
mov al, 1
ret

Function at 0x65fdc8
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, eax
push 0
push 0x80
push 3
push 0
push 3
push 0x100
mov eax, ebx
call fcn.00409eb8
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x65fe67
xor eax, eax
push ebp
push 0x65fe60
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
call fcn.00426e24
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
test eax, eax
jne 0x65fe2d
call fcn.00408958
jmp 0x65fe67
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetFileTime
test eax, eax
jne 0x65fe49
call fcn.00408958
jmp 0x65fe67
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65fe67
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0xdc4a50
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x14b6840]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0xdc4c20
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.00e31030
jmp fcn.00dc4a50
Function at 0xdd9df0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x14b6840]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0xdd9fee
sub esp, 0x18
mov eax, dword [0x14b673c]
test eax, eax
jne 0xdd9fd7
nop
nop
lea eax, [0x14b672c]
mov dword [esp], eax
call fcn.00dccf60
mov eax, dword [0x14b6730]
test eax, eax
je 0xdd9e38
cmp dword [eax + 8], 0xcc
jne 0xdd9eae
mov edx, dword [0x14b6734]
test edx, edx
jne 0xdd9e90
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x14bbb90]
mov dword [esp + 8], eax
call fcn.00dcf690
mov eax, dword [esp + 0xc]
mov dword [0x14b6734], eax
mov ecx, dword [0x14b6738]
mov dword [eax], ecx
mov eax, dword [0x14b6734]
mov dword [0x14b6738], eax
movzx eax, byte [0x14b6ea0]
test al, al
jne 0xdd9e90
xor eax, eax
jmp 0xdd9fa8
mov edx, dword [0x14b6734]
mov ebx, dword [edx + 4]
mov dword [0x14b6734], ebx
mov ebx, dword [0x14b6730]
mov dword [edx + 4], ebx
mov dword [0x14b6730], edx
mov edx, dword [0x14b6730]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0xdd9f87
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00dc4120
mov eax, dword [0x14b6978]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0xdd9f00
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0xdd9f40
call fcn.00e32480
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0x14b672c]
mov dword [esp], eax
call fcn.00dcd180
nop
lea eax, [0x14b6728]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00dc42a0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00e324a0
lea edx, [0x11854ac]
movzx ebx, byte [edx + eax]
lea ebp, [0x14b6ea0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0xdd9e90
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0xdd9f91
mov ecx, 5
call fcn.00e32490
lea eax, [0x1230d8e]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00dfd1b0
nop
call fcn.00e31030
jmp fcn.00dd9df0
Function at 0xdef270
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x14b6840]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0xdef3e0
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0xdef370
cmp cl, 1
je 0xdef302
cmp cl, 2
jne 0xdef3c9
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00df4860
nop
nop
lea eax, [0x1482aa0]
mov dword [esp], eax
call fcn.00dccf60
mov eax, dword [0x1482a44]
sub eax, dword [0x1482a28]
nop
mov dword [0x1482a44], eax
mov eax, dword [0x1482a34]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1482a34], ecx
nop
lea eax, [0x1482aa0]
mov dword [esp], eax
call fcn.00dcd180
jmp 0xdef3c5
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00dd9df0
nop
nop
lea eax, [0x1482aa0]
mov dword [esp], eax
call fcn.00dccf60
mov eax, dword [0x1482a1c]
sub eax, dword [0x1482a00]
nop
mov dword [0x1482a1c], eax
mov eax, dword [0x1482a0c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1482a0c], ecx
nop
lea eax, [0x1482aa0]
mov dword [esp], eax
call fcn.00dcd180
jmp 0xdef3c5
cmp cl, 3
jne 0xdef37b
mov byte [eax + 8], 1
jmp 0xdef3c5
cmp cl, 4
jne 0xdef3c9
nop
nop
lea eax, [0x1482aa0]
mov dword [esp], eax
call fcn.00dccf60
mov eax, dword [0x1482a94]
sub eax, dword [0x1482a78]
nop
mov dword [0x1482a94], eax
mov eax, dword [0x1482a84]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1482a84], ecx
nop
nop
lea eax, [0x1482aa0]
mov dword [esp], eax
call fcn.00dcd180
add esp, 0x14
ret
lea eax, [0x122bb9b]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00dfd1b0
nop
call fcn.00e31030
jmp fcn.00def270
Function at 0xdf50d0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x14b6840]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0xdf51b6
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0x14b6e50]
mov dword [esp], ecx
call fcn.00dc4090
mov eax, dword [esp + 4]
test eax, eax
je 0xdf5192
mov dword [esp + 8], 0
mov ecx, dword [0x14b6840]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
xor eax, eax
call fcn.00e326b9
lea ecx, [0xdf45c0]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x10]
mov dword [esp], edx
call fcn.00e30f40
mov eax, dword [esp + 8]
cmp eax, 0x20
jge 0xdf518e
jae 0xdf51ab
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 8], 0
add esp, 0x2c
ret
lea eax, [0xe09a80]
inc eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
add esp, 0x2c
ret
mov ecx, 0x20
call fcn.00e32490
nop
call fcn.00e31030
jmp fcn.00df50d0
Function at 0xe08760
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x2c
call fcn.00e21af0
mov eax, dword [0x14b6840]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [esp]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0xc], ebx
inc dword [ecx + 0x7c]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6b], 1
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
call fcn.00e08700
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.00e021a0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0xe087e5
cmp dword [eax + 4], ecx
jae 0xe08813
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [0xe07dc0]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp], ecx
call fcn.00e30f40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0xe08869
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [0xe07d70]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call fcn.00e30f40
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00e08700
lea eax, [0x1478bc0]
mov dword [esp], eax
call fcn.00dc3f20
movzx eax, byte [esp + 4]
test al, al
je 0xe088a2
lea eax, [0x1247530]
mov dword [esp], eax
call fcn.00e30f40
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00e08700
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
test byte [ecx], al
mov ecx, dword [ecx + 0x11a0]
test ecx, ecx
je 0xe088de
lea eax, [0x12476dc]
mov dword [esp], eax
call fcn.00e30f40
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00e08700
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x1f8], edx
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
lea edx, [ecx + 4]
mov dword [ecx + 0x2c], 0
mov ebx, dword [eax + 0x18]
mov dword [ebx + 0x60], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x58], 0
mov dword [esp], edx
mov dword [esp + 4], 2
call fcn.00dc41f0
lea eax, [0x1478bb4]
mov dword [esp], eax
call fcn.00dc3f20
movzx eax, byte [esp + 4]
test al, al
je 0xe08956
lea eax, [0x124752c]
mov dword [esp], eax
call fcn.00e30f40
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00e08700
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x7c]
add esp, 0x2c
ret
Function at 0xe1d8b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x14b6840]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0xe1da2a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0xe1da20
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0xe1d90a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0xe1d90a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0xe1d91d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0xe1d9f7
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0xe1d9eb
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0xe1d9e2
movzx edx, byte [edx + eax]
test edx, 0x80
je 0xe1d970
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0xe1d9b3
mov eax, 1
cmp eax, ecx
ja 0xe1d9a7
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00e32500
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0xe1d9dd
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0xe1d9ac
mov ecx, dword [esp + 0xc]
jmp 0xe1d975
call fcn.00e324a0
xor eax, eax
mov ecx, eax
call fcn.00e32490
call fcn.00e32500
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0xe1da1b
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0xe1d9f0
mov ecx, dword [esp + 0x18]
jmp 0xe1d922
call fcn.00e324a0
xor eax, eax
mov ecx, eax
call fcn.00e32490
nop
call fcn.00e31030
jmp fcn.00e1d8b0
Function at 0xe22c20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x14b6840]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0xe22e0d
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov word [esp + 8], 0x102
call fcn.00e21010
mov eax, dword [esp + 0x74]
test byte [eax], al
mov ecx, eax
mov eax, 0xaaaaaaab
mov edx, dword [esp + 0x70]
mov ebx, edx
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub ebx, eax
lea eax, [ecx + ebx*4 + 0xe0]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], esi
mov dword [esp], eax
call fcn.00dc3fb0
mov eax, dword [esp + 4]
test eax, eax
je 0xe22cae
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0xe22d36
mov eax, dword [esp + 0x74]
lea ecx, [eax + 0xe0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.00e23bc0
movzx eax, byte [esp + 8]
test al, al
jne 0xe22cdf
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0xe22d36
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x54]
movzx ebx, byte [eax + 0x6e]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov byte [esp + 0x1c], 4
mov byte [esp + 0x1d], bl
call fcn.00e238d0
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x60], ebx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x70]
mov ecx, eax
and eax, 1
mov edx, dword [esp + 0x74]
lea eax, [edx + eax*8 + 0xec]
mov edi, dword [eax]
mov esi, dword [eax + 4]
add edi, 1
mov dword [esp + 0x3c], edi
mov dword [eax], edi
adc esi, 0
mov dword [eax + 4], esi
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x78]
mov dword [esp], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
call fcn.00e23660
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x48]
mov edx, eax
xor eax, eax
call fcn.00e326ba
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x15
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.00e21230
add esp, 0x68
ret
call fcn.00e31030
jmp fcn.00e22c20
Function at 0xe26b40
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x14b6840]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0xe26bdb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x14b6840]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00e326b7
lea ecx, [0xe25ff0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00e30f40
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00e31030
jmp fcn.00e26b40