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

Disassembly:
jmp 0x40c450
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x40c5d7
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xf3
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x2d
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xa3
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x9f
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x45
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x49
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x32
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xa1
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xef
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x1b
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x27
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x7e
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x60
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x38
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xdb
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb6
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x39
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x2f
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xbc
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x9c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x4a
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x8f
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x35
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x13
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x5d
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xa
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xc6
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x22
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xac
inc edi
cmp edi, ebx
jb 0x40c470
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x402883
Capabilities:
Terminate process

Disassembly:
jmp 0x41e9e2
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x41e9f3
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00403ee5
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x402928
Capabilities:
Query environment variable

Disassembly:
jmp 0x44fc27
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x44fc38
pop esi
ret
push ebx
push edi
push esi
call fcn.0044fb0e
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00402ef5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x44fc60
push ebx
push esi
push edi
call fcn.00403d91
add esp, 0xc
push 0
call fcn.004044b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x403e0e
Capabilities:
Parse pe header

Disassembly:
jmp 0x4115ab
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4115ea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4115ea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4115ea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4115ea
cmp dword [ecx + 0x74], 0xe
jbe 0x4115ea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x44dae8
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47f020]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x44db33
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0044e0a9
test al, al
jne 0x44db2d
sub edx, 2
cmp edx, edi
jne 0x44db13
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x44db55
lea eax, [edi + 2]
cmp edx, eax
je 0x44db55
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0044d6e1
add esp, 0x10
jmp 0x44dc4f
push esi
lea ecx, [ebp - 0x255]
call fcn.0044e0a9
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44db98
push dword [ebp - 0x25c]
jmp 0x44db45
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x44dbd5
cmp word [ebp - 0x226], 0
je 0x44dbf6
cmp word [ebp - 0x226], ax
jne 0x44dbd5
cmp word [ebp - 0x224], 0
je 0x44dbf6
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0044d6e1
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x44dc42
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x44dbaf
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x44dc2a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x44dc4f
push 0x44cfc7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00403c83
add esp, 0x10
jmp 0x44dc1f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402509
leave
ret
Function at 0x462e52
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4818b8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x462e92
cmp byte [ebx], 0xa
jne 0x462e92
or byte [eax + edi + 0x28], 4
jmp 0x462e97
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x462f95
mov al, byte [edx]
cmp al, 0x1a
je 0x462f77
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x462ec6
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x462eeb
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x462ef5
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x462ea8
jmp 0x462f95
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x462f72
cmp dword [ebp - 0xc], 0
je 0x462f72
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4818b8]
test byte [eax + edi + 0x28], 0x48
je 0x462f4c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x462f37
mov byte [esi], dl
jmp 0x462f48
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4818b8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x462f95
cmp byte [ebp - 1], 0xa
jne 0x462f5b
cmp esi, ebx
jne 0x462f5b
mov byte [esi], 0xa
jmp 0x462f94
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004015dc
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x462f95
mov byte [esi], 0xd
jmp 0x462f94
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4818b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x462f91
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x462f95
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x462ff1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4818b8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x463034
cmp word [esi], dx
jne 0x463034
or byte [edi + eax + 0x28], 4
jmp 0x463039
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x46318c
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x46316c
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x46307b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4630b1
cmp eax, edx
jae 0x4630bd
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x463053
jmp 0x46318c
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x463168
cmp dword [ebp - 0x14], 0
je 0x463168
mov eax, dword [ebx*4 + 0x4818b8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x463140
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x463109
mov word [esi], cx
jmp 0x46313c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4818b8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4818b8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4818b8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x46318c
pop ebx
cmp word [ebp - 4], bx
jne 0x463151
cmp esi, dword [ebp + 0xc]
jne 0x463151
mov word [esi], bx
jmp 0x463189
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004015dc
add esp, 0x10
cmp word [ebp - 4], bx
je 0x46318c
push 0xd
jmp 0x463185
mov ecx, dword [ebx*4 + 0x4818b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x463183
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46318c
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test dword [edi + 0x74], eax
xor ecx, dword [ebx + 0x5051ef4d]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test dword [ecx + 0x75], ebp
push ds
mov ecx, 0xc0f5dd9e
sbb al, byte [edi + edi*8 + 0x75e485d6]
add eax, 0x8c25d5e
add bh, bh
salc
add eax, 0xbc5b80
pop esi
cmpeqps xmm1, xmmword [eax]
xor eax, eax
pop ebp
ret 8
Function at 0x409764
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
jmp 0x40980d
cmp dword [esi + 0x10], 0x1000
jne 0x4097f9
test byte [esi + 0x15], 1
jne 0x4097f9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4097b8
cmp eax, 2
je 0x4097b8
cmp eax, 0x10
je 0x4097b8
cmp eax, 0x20
jne 0x4097cd
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4097cd
mov bl, 1
xor ebp, ebp
jmp 0x4097de
mov eax, dword [esi]
add eax, ebp
call fcn.0040975c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4097d1
test bl, bl
je 0x4097f9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409790
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x442c2b
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov edx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xd4]
mov dword [esp + 4], eax
test edx, edx
je 0x442ce1
imul eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
neg eax
add ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push ebp
push edi
lea edi, [ecx + eax*4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0xcc]
mov ebp, edi
imul ecx, ebx
add ecx, dword [esi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x442cc1
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 4]
xor byte [ecx], al
add ecx, esi
dec edx
jne 0x442c9c
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec edx
inc ebx
cmp dword [esi + 0xe8], 0
mov dword [esp + 0x3c], edx
jne 0x442cd6
add edi, dword [esp + 0x14]
jmp 0x442cda
add edi, dword [esp + 0x24]
test edx, edx
jne 0x442c7a
pop edi
pop ebp
pop ebx
pop esi
pop ecx
pop ecx
ret 0x24

Function at 0x442fec
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ecx
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], edx
test ebx, ebx
je 0x4430c6
imul eax, dword [esp + 0x1c], 3
mov ecx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x24]
neg ecx
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
imul eax, dword [esp + 0x30]
push edi
imul edi, dword [esp + 0x30], 3
mov dword [esp + 0x10], ecx
add eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov esi, dword [eax + 0xcc]
imul esi, ebp
mov dword [esp + 0x34], edi
add esi, dword [eax + 0xc8]
add esi, dword [esp + 0x28]
test edx, edx
jle 0x44309c
mov ebp, dword [esp + 0x34]
mov ebx, 0xff
sub ebx, dword [esp + 0x40]
mov edi, edx
movzx eax, byte [esi]
movzx ecx, byte [ebp]
imul ecx, dword [esp + 0x40]
imul eax, ebx
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
inc ebp
mov byte [esi], al
inc esi
dec edi
jne 0x443064
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
dec ebx
inc ebp
cmp dword [eax + 0xe8], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebp
jne 0x4430b3
add edi, ecx
jmp 0x4430b7
add edi, dword [esp + 0x24]
mov dword [esp + 0x38], edi
test ebx, ebx
jne 0x44303a
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0x28
Function at 0x4436e6
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xd4]
mov dword [esp + 8], eax
test esi, esi
je 0x44379b
imul eax, dword [esp + 0x20]
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
neg eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x34]
add eax, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0xcc]
mov ebp, edx
imul ecx, ebx
add ecx, dword [edi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x44377c
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 3]
xor byte [ecx], al
add ecx, edi
dec esi
jne 0x443757
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec esi
inc ebx
cmp dword [edi + 0xe8], 0
mov dword [esp + 0x3c], esi
jne 0x443791
add edx, dword [esp + 0x14]
jmp 0x443795
add edx, dword [esp + 0x24]
test esi, esi
jne 0x443735
pop ebp
pop ebx
pop edi
pop esi
pop ecx
pop ecx
ret 0x24
Function at 0x448eef
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x3c]
xor ebx, ebx
cmp esi, 1
je 0x448f1f
cmp esi, 2
je 0x448f1f
cmp esi, 4
je 0x448f1f
cmp esi, 8
je 0x448f1f
cmp esi, 0x18
je 0x448f1f
cmp esi, 0x20
je 0x448f1f
xor eax, eax
jmp 0x4490e9
mov ecx, dword [0x42a3a6c]
push ebp
push edi
xor edi, edi
mov dword [esp + 0x10], edi
test ecx, ecx
jle 0x4490e5
mov edx, dword [esp + 0x28]
mov eax, dword [edi*4 + 0x42a3fc4]
cmp dword [eax], edx
je 0x448f52
inc edi
mov dword [esp + 0x10], edi
cmp edi, ecx
jl 0x448f39
jmp 0x4490e5
cmp dword [esp + 0x38], 0x20
jne 0x4490bc
mov eax, dword [eax + 8]
test eax, eax
je 0x448f92
cmp esi, 0x20
je 0x448f6e
cmp esi, 0xffffffff
jne 0x448f92
push esi
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call eax
jmp 0x4490e3
mov eax, dword [esp + 0x2c]
inc eax
imul ebp, eax, 3
and ebp, 0xfffffffc
mov eax, ebp
mov dword [esp + 0x14], ebp
imul eax, dword [esp + 0x30]
push eax
push 0
push dword [0x42a2658]
call dword [0x42a0028]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4490e5
mov ebx, dword [esp + 0x30]
test ebx, ebx
jle 0x449087
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov esi, edx
test eax, eax
jle 0x449067
mov ebp, ecx
mov edi, eax
mov ecx, 0xff
movzx eax, byte [esi + 2]
sub eax, ecx
movzx ecx, byte [esi + 3]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp + 2], al
movzx eax, byte [esi + 1]
sub eax, ecx
movzx ecx, byte [esi + 3]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp + 1], al
movzx eax, byte [esi]
lea esi, [esi + 4]
sub eax, ecx
movzx ecx, byte [esi - 1]
imul eax, ecx
mov ecx, 0xff
add eax, 0xfe01
cdq
idiv ecx
mov byte [ebp], al
lea ebp, [ebp + 3]
dec edi
jne 0x448ff8
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x34]
add ecx, ebp
dec dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
jne 0x448fe5
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov eax, dword [edi*4 + 0x42a3fc4]
push esi
push dword [esp + 0x44]
mov esi, dword [esp + 0x20]
push dword [esp + 0x44]
push ebp
push ebx
push dword [esp + 0x40]
push esi
push dword [esp + 0x3c]
call dword [eax + 4]
push esi
push 0
push dword [0x42a2658]
mov ebx, eax
call dword [0x42a002c]
jmp 0x4490e5
cmp dword [esp + 0x38], 0x18
jne 0x4490e5
push esi
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call dword [eax + 4]
mov ebx, eax
pop edi
mov eax, ebx
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0x28
Function at 0x4738ad
Capabilities:
Encode data using xor

Disassembly:
push 0x4735cc
pop ebx
and edi, edi
sub edi, edx
call fcn.004738f5
add edx, 0x3a819fa8
mov edx, 0x6274fffe
xor dword [esi], ebx
push 0xafe1db47
pop edx
add edi, edi
mov edi, 0xd81b9fe1
add esi, 2
add edx, 0x8fb3228d
and edx, edx
dec edx
cmp esi, ecx
jl fcn.004738ad
sub edi, edi
sub edi, 0xbf88ed6d
add edi, edi
ret
Function at 0x4056f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x409170]
cmp ax, 0xcb
je 0x4057ec
cmp ax, 0xcc
je 0x4057ec
mov edx, dword [0x418590]
test edx, edx
je 0x405722
mov eax, dword [0x418430]
call edx
mov ebx, eax
jmp 0x405727
mov ebx, 0x418434
cmp word [0x418420], 0
jle 0x40574a
mov eax, 0x418400
call fcn.00405960
mov eax, ebx
call fcn.004052d0
mov eax, ebx
call fcn.00405340
mov edi, dword [ebx]
jmp 0x40576a
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x405765
mov edx, edi
mov eax, ebx
call fcn.004047a0
jmp 0x405768
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x405750
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x418420], 0
jle 0x4057ec
mov edx, 0x418340
mov eax, ebx
call fcn.004048d0
mov edi, eax
test edi, edi
je 0x4057bf
mov eax, dword [0x4183d4]
mov dword [edi + 0xc], eax
cmp dword [0x4183d4], 0
je 0x4057b4
mov eax, dword [0x4183d4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x4183d4], eax
sub word [0x418420], 1
cmp word [0x418420], 0
sete bl
mov eax, 0x418400
call fcn.00405970
test bl, bl
je 0x4057ec
mov eax, 0x418400
call fcn.00405950
pop edi
pop esi
pop ebx
ret

Function at 0x408670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
mov esi, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004085e0
test al, al
jne 0x40869f
jmp 0x4086a1
jmp 0x4086ab
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x408688
mov eax, dword [ebp - 4]
leave
ret