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

Disassembly:
mov eax, 0x10
call fcn.005b9970
push ebx
push esi
push edi
lea eax, [esp + 0x14]
xor esi, esi
push eax
lea eax, [esp + 0x10]
xor edi, edi
push eax
push esi
call fcn.005123a0
add esp, 0xc
test eax, eax
je 0x525b69
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
shl eax, 0xa
test ebx, eax
je 0x52599c
inc edi
lea eax, [esp + 0x14]
inc esi
push eax
lea eax, [esp + 0x10]
push eax
push esi
call fcn.005123a0
add esp, 0xc
test eax, eax
jne 0x525990
test edi, edi
je 0x525b69
mov ecx, dword [esp + 0x50]
mov eax, ecx
cdq
idiv edi
push ebp
mov ebp, dword [esp + 0x58]
mov esi, eax
xor eax, eax
mov dword [esp + 0x14], esi
cmp edi, 1
mov edi, dword [esp + 0x60]
push edi
push eax
cmove ecx, eax
push ebp
mov dword [esp + 0x60], ecx
call fcn.005b99a0
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x20]
push eax
push 0
call fcn.005123a0
add esp, 0x18
test eax, eax
je 0x525b34
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
shl eax, 0xa
test dword [esp + 0x24], eax
je 0x525b10
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x525b41
push edi
push ebx
push dword [esp + 0x54]
mov eax, dword [esp + 0x60]
push dword [esp + 0x54]
and eax, 1
push dword [esp + 0x54]
add eax, esi
mov esi, dword [esp + 0x64]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push eax
push esi
push ecx
call fcn.00525b90
add esp, 0x3c
test eax, eax
je 0x525b5f
add esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x50], esi
test edi, edi
jle 0x525b0c
cmp edi, 0x20
jb 0x525af1
lea eax, [ebx - 1]
lea edx, [ebp - 1]
add eax, edi
add edx, edi
cmp ebp, eax
ja 0x525aa0
cmp edx, ebx
jae 0x525af1
mov eax, edi
and eax, 0x8000001f
jns 0x525aae
dec eax
or eax, 0xffffffe0
inc eax
mov edx, edi
mov esi, ebx
sub edx, eax
mov eax, ebp
sub esi, ebp
jmp 0x525ac0
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [ebx + ecx + 0x10]
add ecx, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp ecx, edx
jl 0x525ac0
cmp ecx, edi
jge 0x525b0c
mov esi, ebx
lea eax, [ecx + ebp]
mov edx, edi
sub esi, ebp
sub edx, ecx
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edx
jne 0x525b00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
inc eax
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.005123a0
add esp, 0xc
test eax, eax
jne 0x525a10
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
push 0x114
push str.._ssl_t1_enc.c
push 0x146
push 0x11c
push 0x14
call fcn.0052e7a0
add esp, 0x14
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0x109
push str.._ssl_t1_enc.c
push 0x44
push 0x11c
push 0x14
call fcn.0052e7a0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x52d0c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x52d0e5
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
dec esi
jne 0x52d0d6
pop edi
movzx eax, dl
pop esi
ret

Function at 0x52d380
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.005b9970
mov eax, dword [0x686300]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x52d407
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x52d407
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0x100
push eax
call fcn.005c0c16
add esp, 0x10
lea ecx, [esp + 4]
test eax, eax
push 0
push ecx
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005b7dc4
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0xff
push eax
call fcn.005c0c16
add esp, 0x10
mov byte [esp + 0x107], 0
call fcn.0052d240
test eax, eax
jle 0x52d48b
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x52d49f
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005b7dc4
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.005b7dc4
add esp, 0x108
ret

Function at 0x534de0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov edi, dword [esp + 0xc]
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call fcn.0052f0f0
add esp, 8
test esi, esi
jg 0x534e37
je 0x534e19
cmp esi, 0xffffffff
jne 0x534e37
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00535060
add esp, 4
test eax, eax
je 0x534e37
push 0xa
push edi
call fcn.0052f800
add esp, 8
pop edi
mov eax, esi
pop esi
ret
Function at 0x540500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.005b9970
mov eax, dword [0x686300]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.00537770
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.005375d0
add esp, 0xc
test eax, eax
je 0x540602
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.005372b0
add esp, 0xc
test eax, eax
je 0x540602
lea eax, [esp + 0x20]
push eax
call fcn.00537510
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x540620
push edi
call fcn.005388a0
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.00540ad0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x540602
push esi
call fcn.00541350
add esp, 4
test eax, eax
jle 0x540602
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.00540880
add esp, 0x18
test eax, eax
jle 0x540602
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.00541260
add esp, 0x14
test eax, eax
jle 0x540602
mov ecx, dword [esp + 0x18]
mov ebx, 1
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
push esi
call fcn.00540a70
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005b7dc4
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x540638
cmp dword [edi], edx
je 0x540662
inc eax
add ecx, 4
cmp eax, 4
jl 0x540625
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.0052e7a0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005b7dc4
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x540696
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.0052e7a0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005b7dc4
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x44]
push dword [esp + 0x20]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b7dc4
add esp, 0x6c
ret
Function at 0x5438a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.005b9970
mov eax, dword [0x686300]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
test edi, edi
je 0x543906
cmp edi, dword [esi]
je 0x5438fd
test ebp, ebp
je 0x543980
test ebx, ebx
js 0x543980
mov eax, 1
mov dword [esi], edi
jmp 0x54390c
mov edi, dword [esi]
test edi, edi
je 0x543980
test ebp, ebp
je 0x543a9b
push edi
call fcn.00541d90
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x543940
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.0052d4c0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x54399b
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.00537350
add esp, 0xc
test eax, eax
je 0x543980
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.00537500
add esp, 0xc
test eax, eax
je 0x543980
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.005372b0
add esp, 0xc
test eax, eax
jne 0x5439b7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b7dc4
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x543980
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.005b8230
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x5439da
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.005b99a0
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x5439e0
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.00537350
add esp, 0xc
test eax, eax
je 0x543980
push edi
call fcn.00541d90
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.00537500
add esp, 0x10
test eax, eax
je 0x543980
xor ecx, ecx
jmp 0x543a30
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x543a30
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.00537350
add esp, 0xc
test eax, eax
je 0x543980
push edi
call fcn.00541d90
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.00537500
add esp, 0x10
test eax, eax
je 0x543980
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.005375d0
add esp, 8
test eax, eax
je 0x543980
mov eax, 1
jmp 0x543982
test eax, eax
je 0x543a79
jmp 0x5439de
Function at 0x548060
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.00548160
mov edi, eax
add esp, 8
test edi, edi
jne 0x548106
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.0052e7a0
push 0x61a7d8
push esi
push 0x633f28
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.0052df00
add esp, 0x2c
call fcn.005c10c5
cmp dword [eax], 2
je 0x5480e6
call fcn.005c10c5
cmp dword [eax], 6
je 0x5480e6
push 0xb8
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.0052e7a0
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0xb6
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.0052e7a0
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x681894
call fcn.0052f4d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x548127
push edi
call fcn.005b9633
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.0052f0f0
push edi
push 1
push 0x6a
push esi
call fcn.0052f120
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret
Function at 0x54fbb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.005b9970
mov eax, dword [0x686300]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
mov dword [esp + 0x20], ebp
push esi
push edi
mov edi, dword [esp + 0x50]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
mov dword [esp + 0x14], edi
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [esp + 0x18], ebx
movzx eax, byte [edx + 5]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov byte [esp + 0x2c], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x30], dl
test eax, eax
je 0x54fd73
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea esp, [esp]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x54fd07
push 1
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
call fcn.00402280
mov ebx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
inc ebp
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
mov byte [esp + 0x33], al
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x54fca0
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x54fd5a
mov eax, dword [esp + 0x24]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [ebp], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [ebp + 2], bl
shr eax, 8
mov byte [ebp + 3], dl
mov byte [ebp + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005b7dc4
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b7dc4
add esp, 0x28
ret
Function at 0x550860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.005b9970
mov eax, dword [0x686300]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
push ebx
push ebp
movzx ebx, byte [eax]
push esi
push edi
lea edi, [eax + 1]
mov ebp, dword [esp + 0x60]
mov edx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], edi
mov esi, dword [ebp]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [esp + 0x18], ebx
movzx eax, byte [edx + 5]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x34]
shl ecx, 8
or ecx, eax
mov byte [esp + 0x34], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3b], al
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x38], dl
test eax, eax
je 0x550a3d
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
sub ecx, ebp
mov dword [esp + 0x10], ecx
xor edi, edi
lea ebx, [ebx]
dec eax
mov dword [esp + 0x4c], eax
test esi, esi
jne 0x5509cd
push dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push dword [esp + 0x24]
push dword [esp + 0x30]
push eax
call fcn.004023e0
mov ebx, dword [esp + 0x28]
add esp, 0x10
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x35], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, edx
shr eax, 0x18
inc edi
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], dl
mov byte [esp + 0x3b], al
mov al, byte [esp + esi + 0x34]
inc esi
xor al, byte [ebp]
and esi, 7
mov byte [ecx + ebp], al
inc ebp
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x550960
test edi, edi
mov edi, dword [esp + 0x24]
je 0x550a24
mov eax, dword [esp + 0x30]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 2], bl
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005b7dc4
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b7dc4
add esp, 0x30
ret
Function at 0x551cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.005b9970
mov eax, dword [0x686300]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
push esi
push edi
mov edi, dword [esp + 0x50]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [esp + 0x14], edi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x28], ebp
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x18], ebx
mov eax, ebx
mov byte [esp + 0x2f], bl
shr eax, 0x18
or edx, ecx
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x33], dl
test eax, eax
je 0x551e85
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea esp, [esp]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x551e15
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.005512f0
mov ebx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x551db0
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x551e6c
mov ecx, dword [esp + 0x24]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005b7dc4
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b7dc4
add esp, 0x28
ret
Function at 0x5521e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, 0x80
mov byte [ebx], 0
cmp eax, edi
cmovg eax, edi
test ebp, ebp
jg 0x552208
mov ebp, 0x400
jmp 0x552212
mov ecx, 0x400
cmp ebp, ecx
cmovg ebp, ecx
test eax, eax
jle 0x552232
sub dword [esp + 0x1c], ebx
mov edx, ebx
mov ebx, dword [esp + 0x1c]
mov esi, eax
mov cl, byte [ebx + edx]
lea edx, [edx + 1]
mov byte [edx - 1], cl
dec esi
jne 0x552222
mov ebx, dword [esp + 0x14]
movzx edx, byte [ebx + eax - 1]
cmp eax, 0x80
jge 0x552260
mov esi, ebx
sub esi, eax
movzx ecx, byte [esi + eax]
add ecx, edx
and ecx, 0xff
movzx edx, byte [ecx + 0x63f458]
mov byte [eax + ebx], dl
inc eax
cmp eax, 0x80
jl 0x552242
lea eax, [ebp + 7]
mov edx, 0xff
sar eax, 3
neg ebp
sub edi, eax
mov dword [esp + 0x14], eax
movzx eax, byte [edi + ebx]
lea esi, [edi + ebx]
and ebp, 7
mov ecx, ebp
sar edx, cl
and edx, eax
movzx ecx, byte [edx + 0x63f458]
mov byte [esi], cl
test edi, edi
je 0x5522aa
mov edx, dword [esp + 0x14]
movzx eax, byte [esi + edx - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x63f458]
mov byte [esi], cl
dec edi
jne 0x552294
lea esi, [ebx + 0xfc]
mov edi, 0x40
lea edx, [ebx + 0x7e]
jmp 0x5522c0
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
and ecx, 0xffff
mov dword [esi + 4], ecx
dec edi
jne 0x5522c0
pop edi
pop esi
pop ebp
pop ebx
ret