joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cae5
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push 0x48
mov eax, 0x4fb012
call fcn.004cb630
mov ebx, ecx
mov eax, 0x10000
push eax
mov dword [ebx + 0x34], eax
call fcn.004cac2b
push 0
mov dword [ebx + 0x30], eax
call fcn.004d1554
pop ecx
pop ecx
and dword [ebp - 0x50], 0
mov ecx, dword [ebx + 0x80]
mov dword [ebp - 0x54], 1
call fcn.0045a51a
mov ecx, eax
test ecx, ecx
je 0x45cb9f
cmp ecx, 0xfffffffd
jne 0x45cb40
mov eax, dword [ebx + 0x80]
cmp byte [eax + 0x70], 0
jne 0x45cb25
call fcn.004cb5da
ret
mov esi, dword [ebx + 0x80]
cmp dword [esi + 0x68], 0
jle 0x45cb64
call fcn.0043de46
mov ecx, eax
call fcn.0043df93
xor edx, edx
mov edi, dword [esi + 0x64]
div dword [esi + 0x68]
add edi, edx
jmp 0x45cb67
mov edi, dword [esi + 0x64]
xor eax, eax
mov dword [ebp - 0x4c], eax
test edi, edi
jle 0x45cb92
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebx + 0x80]
mov ecx, esi
add dword [ebp - 0x4c], 0x64
call fcn.0045a51a
test eax, eax
je 0x45cb9f
cmp dword [ebp - 0x4c], edi
jl 0x45cb70
push 1
push 0
mov ecx, esi
call fcn.00459c34
jmp 0x45cb23
mov eax, dword [ebx + 0x80]
mov ecx, dword [eax + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebx + 0x38]
call fcn.00455b08
cmp dword [ebx + 0x48], 1
jg 0x45cbcb
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45cb0d
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push dword [ebx + 0x44]
push dword [ebx + 0x48]
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x45cb0d
call fcn.0042961e
mov edx, dword [ebx + 0x80]
mov ecx, dword [edx + 0x7c]
cmp byte [ecx + 4], 0
je 0x45cc10
mov eax, dword [ecx]
push dword [edx + 0xa0]
call dword [eax + 8]
test eax, eax
je 0x45cb0d
jmp 0x45cc66
push 0
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push dword [edx + 0xa0]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x45cc4f
mov esi, dword [ebx + 0x80]
cdq
push edx
push eax
mov ecx, dword [esi + 0x7c]
push dword [ebx + 0x30]
push dword [esi + 0xa0]
mov edi, dword [ecx]
call dword [edi + 0xc]
test eax, eax
je 0x45cb0d
cmp eax, 0xfffffff7
jmp 0x45cc08
jns 0x45cc5e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jmp 0x45cc08
test eax, eax
jne 0x45cb0d
cmp dword [0x5417b4], 3
jl 0x45ccbe
push 0x521d38
lea ecx, [ebp - 0x48]
call fcn.004408c6
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push str.recv_check_error_set_connect_state
call fcn.004407ec
push 3
push 0xc9
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x5417b4
push eax
call fcn.00459632
lea ecx, [ebp - 0x2c]
call fcn.00440d6c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00440d6c
mov eax, dword [ebx + 0x80]
mov byte [eax + 0xa9], 0
jmp 0x45cb0d
Function at 0x468b06
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x5c], edx
push ebx
mov dword [ebp - 0x60], eax
mov ecx, edx
push esi
movzx eax, byte [eax + edx - 1]
xor ebx, ebx
sub edx, eax
mov dword [ebp - 0x58], 0x14
push edi
mov edi, dword [ebp + 8]
mov esi, ebx
sub ecx, edi
mov dword [ebp - 0x54], esi
sub ecx, 0x100
dec edx
mov eax, ecx
mov dword [ebp - 0x64], edx
shr eax, 0x1f
sub edx, edi
dec eax
and ecx, eax
mov eax, edx
shr eax, 0x1f
dec eax
mov dword [ebp - 0x50], ecx
and edx, eax
lea eax, [edi - 1]
mov dword [ebp - 0x4c], eax
and dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x6c], eax
jne 0x468b77
mov esi, edi
sub esi, ecx
add esi, edx
and esi, eax
jmp 0x468b89
cmp edi, dword [ebp - 0x58]
jne 0x468b8e
mov eax, edx
sub eax, ecx
add eax, dword [ebp - 0x58]
cdq
idiv dword [ebp - 0x58]
mov esi, edx
mov dword [ebp - 0x54], esi
jmp 0x468ba3
cmp edi, 0x30
jne 0x468ba3
mov eax, edx
sub eax, ecx
push edi
pop ecx
add eax, ecx
cdq
idiv ecx
mov esi, edx
mov dword [ebp - 0x54], edx
push edi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.004cd420
mov edx, dword [ebp - 0x50]
add esp, 0xc
cmp edx, dword [ebp - 0x5c]
jge 0x468c37
lea ecx, [ebp - 0x44]
mov eax, edx
sub eax, ecx
mov esi, ecx
mov ecx, dword [ebp - 0x60]
sub esi, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x68], esi
lea ecx, [ebp + ecx - 0x44]
mov dword [ebp - 0x60], ecx
mov ecx, ebx
mov dword [ebp - 0x48], ecx
test edi, edi
jle 0x468c28
mov ebx, dword [ebp - 0x50]
lea eax, [ebp - 0x44]
add eax, ecx
add eax, ebx
cmp eax, dword [ebp - 0x5c]
jge 0x468c23
mov ecx, dword [ebp - 0x64]
lea eax, [esi + ebx]
sub ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x48]
sub ecx, edx
dec ecx
add eax, esi
shr ecx, 0x1f
dec cl
shr eax, 0x1f
dec al
and cl, al
mov eax, dword [ebp - 0x60]
add eax, ebx
and cl, byte [eax + esi]
or byte [ebp + esi - 0x44], cl
mov ecx, esi
mov esi, dword [ebp - 0x68]
inc ecx
mov dword [ebp - 0x48], ecx
cmp ecx, edi
jl 0x468be1
mov eax, dword [ebp - 0x50]
xor ebx, ebx
add edx, edi
add eax, edi
mov dword [ebp - 0x50], eax
cmp edx, dword [ebp - 0x5c]
jl 0x468bd5
mov esi, dword [ebp - 0x54]
cmp dword [ebp - 0x4c], 0
jne 0x468c5e
test edi, edi
jle 0x468caa
mov ecx, dword [ebp + 0xc]
sub esi, ecx
mov edx, dword [ebp - 0x6c]
lea eax, [esi + ecx]
and eax, edx
mov al, byte [ebp + eax - 0x44]
xor al, byte [ecx]
or bl, al
inc ecx
sub edi, 1
jne 0x468c49
jmp 0x468caa
mov eax, dword [ebp - 0x58]
cmp edi, eax
jne 0x468c83
mov ecx, dword [ebp + 0xc]
mov edi, eax
sub esi, ecx
lea eax, [ecx + esi]
cdq
idiv dword [ebp - 0x58]
mov al, byte [ebp + edx - 0x44]
xor al, byte [ecx]
or bl, al
inc ecx
sub edi, 1
jne 0x468c6c
jmp 0x468caa
push 0x30
pop ecx
cmp edi, ecx
jne 0x468caa
mov edi, dword [ebp + 0xc]
sub esi, edi
mov dword [ebp - 0x4c], ecx
lea eax, [edi + esi]
cdq
idiv ecx
push 0x30
mov cl, byte [ebp + edx - 0x44]
xor cl, byte [edi]
or bl, cl
inc edi
sub dword [ebp - 0x4c], 1
pop ecx
jne 0x468c92
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret
Function at 0x468cbb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
lea esi, [edx - 1]
mov dword [ebp - 0x54], ecx
add esi, eax
mov dword [ebp - 0x4c], edx
push edi
mov edx, 0xff
lea edi, [eax - 1]
mov cl, byte [esi]
mov byte [ebp - 0x45], cl
movzx ecx, cl
mov ebx, ecx
mov dword [ebp - 0x50], ecx
sub ebx, eax
add ebx, dword [ebp + 0xc]
shr ebx, 0x1f
dec bl
cmp edi, edx
cmovg edi, edx
xor edx, edx
test edi, edi
jle 0x468d24
mov ah, byte [ebp - 0x45]
mov al, byte [esi]
sub ecx, edx
shr ecx, 0x1f
xor al, ah
dec cl
and cl, al
or bl, cl
mov ecx, dword [ebp - 0x50]
inc edx
dec esi
cmp edx, edi
jl 0x468d09
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
sub eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x54]
dec eax
push 1
push 1
push dword [ebp + 0x14]
push dword [ebp + 8]
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push eax
push esi
call dword [esi + 0x1b8]
movzx esi, byte [esi + 0x2dd]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x4c]
lea edi, [eax - 1]
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00468b06
or al, bl
add esp, 0x28
not al
mov cl, al
shr cl, 4
and al, cl
movzx eax, al
mov ecx, eax
shr ecx, 2
and ecx, eax
mov eax, ecx
shr eax, 1
and eax, ecx
mov ecx, 0xfffffecf
add eax, edi
pop edi
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret
Function at 0x469055
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x70], eax
xor esi, esi
mov dword [ebp - 0x50], edx
mov ecx, esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x54], esi
mov al, byte [edi + 0x2d9]
movzx edx, byte [edi + 0x2dd]
cmp al, 1
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x58], edx
jne 0x46918e
test byte [edi + 0x40e], 1
je 0x4690b7
movzx ecx, word [edi + 0x2d4]
mov dword [ebp - 0x54], ecx
mov ecx, ebx
mov dword [ebp - 0x6c], 1
sub ecx, dword [ebp - 0x54]
movzx eax, byte [ecx + eax - 1]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], eax
cmp word [edi + 0x40c], si
jge 0x469114
push dword [ebp + 0xc]
push ecx
push edx
mov edx, dword [ebp - 0x50]
mov ecx, edi
push eax
call fcn.00468cbb
add esp, 0x10
test eax, eax
jne 0x4691fa
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x4c]
cmp byte [edi + 0x2d9], 2
jne 0x4691ec
movzx eax, word [edi + 0x2d6]
jmp 0x4691f3
sub ebx, edx
xor ecx, ecx
push 1
push 1
push dword [ebp + 0xc]
lea edx, [ebx - 1]
cmp eax, edx
mov dword [ebp - 0x64], edx
cmova eax, ecx
cmp dword [ebp - 0x54], edx
mov dword [ebp - 0x4c], eax
mov eax, ebx
cmovbe ecx, dword [ebp - 0x5c]
push ecx
sub eax, ecx
dec eax
push eax
push dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push eax
push edi
call dword [edi + 0x1b8]
mov edx, dword [ebp - 0x58]
add esp, 0x20
mov dword [ebp - 0x60], eax
test edx, edx
je 0x46917d
mov eax, dword [ebp - 0x50]
mov edi, esi
sub ebx, dword [ebp - 0x4c]
dec eax
add ebx, eax
movzx ecx, byte [ebp + edi - 0x44]
movzx eax, byte [ebx]
xor ecx, eax
or esi, ecx
inc edi
inc ebx
cmp edi, edx
jl 0x469161
mov edi, dword [ebp - 0x68]
test esi, esi
jne 0x4691e5
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4691e5
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x54], eax
ja 0x4691e5
jmp 0x4690f8
cmp byte [ebp - 0x45], cl
jne 0x4690fb
push 1
push 1
push dword [ebp + 0xc]
sub ebx, edx
push 0xffffffffffffffff
push ebx
push eax
lea eax, [ebp - 0x44]
push eax
push edi
call dword [edi + 0x1b8]
mov edx, dword [ebp - 0x58]
add esp, 0x20
mov dword [ebp - 0x60], eax
test edx, edx
je 0x4691dd
add ebx, dword [ebp - 0x50]
mov edi, esi
movzx ecx, byte [ebp + edi - 0x44]
movzx eax, byte [ebx]
xor ecx, eax
or esi, ecx
inc edi
inc ebx
cmp edi, edx
jl 0x4691c1
mov edi, dword [ebp - 0x68]
test esi, esi
jne 0x4691e5
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4690f8
mov eax, 0xfffffecf
jmp 0x4691fa
mov eax, dword [ebp - 0x6c]
add eax, edx
add eax, ecx
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret
Function at 0x47562d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x414], 0
mov eax, edx
mov dword [ebp - 0x410], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x40c], ecx
push ebx
push esi
push edi
lea edi, [ebp - 0x408]
test eax, eax
je 0x475768
mov edx, 0x51bd7c
mov ecx, eax
call fcn.00407285
mov esi, eax
test esi, esi
je 0x475768
push 2
push 0
push esi
call fcn.004d80ff
add esp, 0xc
test eax, eax
jne 0x475761
push esi
call fcn.004dc9c0
pop ecx
push esi
mov ebx, eax
call fcn.004df992
lea eax, [ebx - 1]
pop ecx
cmp eax, 0x3fffff
ja 0x475761
cmp ebx, 0x400
jle 0x4756d5
mov ecx, ebx
call fcn.004993ca
mov edi, eax
test edi, edi
je 0x475761
mov dword [ebp - 0x414], 1
push esi
push ebx
push 1
push edi
call fcn.004d82e6
add esp, 0x10
cmp eax, ebx
je 0x4756eb
push 0xfffffffffffffffc
pop ebx
jmp 0x475742
mov eax, dword [ebp + 0xc]
cmp eax, 5
je 0x4756f8
cmp eax, 0xf
jne 0x47571d
cmp dword [ebp + 8], 1
jne 0x47571d
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x410]
mov edx, edi
push dword [ebp - 0x40c]
push eax
push 1
push ebx
call fcn.0047544e
add esp, 0x14
jmp 0x475740
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x410]
mov edx, edi
push dword [ebp + 0x14]
push 0
push dword [ebp - 0x40c]
push eax
push dword [ebp + 8]
push ebx
call fcn.00474b3e
add esp, 0x1c
mov ebx, eax
push esi
call fcn.004cfe4f
cmp dword [ebp - 0x414], 0
pop ecx
je 0x47575d
test edi, edi
je 0x47575d
mov ecx, edi
call fcn.004993df
mov eax, ebx
jmp 0x47576b
push esi
call fcn.004cfe4f
pop ecx
push 0xfffffffffffffffc
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret
Function at 0x4797da
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], ecx
mov edi, ecx
xor edx, edx
xor esi, esi
mov dword [ebp - 8], edx
test edi, edi
je 0x479a04
lea eax, [edi + 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
test eax, eax
je 0x479823
push 1
push edx
push dword [ebp + 8]
push ebx
push 2
push edi
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jle 0x479a06
mov edx, dword [ebp - 8]
mov ecx, edi
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4799df
cmp byte [edi + 0x4c], 3
je 0x4799df
mov edi, eax
test edi, edi
jne 0x479823
jmp 0x4799df
test esi, esi
js 0x4799e7
mov eax, dword [edi + 4]
test eax, eax
je 0x47986b
mov eax, dword [eax + 0x108]
test eax, eax
je 0x47986b
push dword [ebp + 8]
push ebx
push edi
call eax
add esp, 0xc
jmp 0x4799c6
movzx eax, byte [edi + 0x4c]
dec eax
sub eax, 1
je 0x4799b7
sub eax, 1
je 0x47996d
sub eax, 1
je 0x47995e
sub eax, 1
je 0x47993b
sub eax, 1
je 0x479915
sub eax, 1
je 0x4798ec
sub eax, 1
jne 0x4799cb
mov ecx, dword [edi + 0x18]
call fcn.00473297
mov edx, ebx
push esi
cmp eax, 0x357
jne 0x4798d0
call fcn.00473266
pop ecx
cmp eax, 1
je 0x4799c8
or eax, 0xffffffff
jmp 0x4799c6
call fcn.004733af
pop ecx
mov ecx, dword [ebp - 4]
cmp eax, 1
je 0x4799cb
or eax, 0xffffffff
mov esi, eax
jmp 0x4799cb
test edx, edx
jle 0x4799cb
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edx
push eax
push ebx
mov ecx, ebx
call fcn.0048f4e2
mov esi, dword [ebp - 0xc]
test eax, eax
pop ecx
pop ecx
push 0xffffffffffffffff
pop eax
cmovne esi, eax
jmp 0x4799c8
cmp dword [edi + 0x18], 0
je 0x479931
push dword [edi + 0x18]
push dword [ebp + 8]
push 1
push ebx
call fcn.004d82e6
add esp, 0x10
jmp 0x4799c6
mov esi, 0xffffff52
jmp 0x4799cb
push dword [ebp + 8]
lea edx, [ebp - 0x10]
mov ecx, edi
call fcn.00479e31
mov esi, eax
pop ecx
test esi, esi
jle 0x4799c8
push esi
push dword [ebp - 0x10]
push ebx
call fcn.004cc920
add esp, 0xc
jmp 0x4799c8
push dword [ebp + 8]
mov edx, ebx
mov ecx, edi
call fcn.00479700
pop ecx
jmp 0x4799c6
cmp dword [ecx + 0x44], 0
jne 0x4798e2
push dword [ebp + 8]
mov ecx, dword [edi + 0x18]
mov edx, ebx
and dword [edi + 0x48], 0xffffffef
call fcn.00473c91
mov esi, eax
pop ecx
test esi, esi
je 0x4799ab
jns 0x4799c8
mov ecx, dword [edi + 0x18]
xor edx, edx
call fcn.00473f79
cmp eax, 2
je 0x4799a5
cmp eax, 3
jne 0x4799ab
or dword [edi + 0x48], 0x10
jmp 0x4799c8
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], 1
jmp 0x4799c8
push 0
push dword [ebp + 8]
push ebx
push dword [edi + 0x40]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
mov ecx, dword [ebp - 4]
cmp edi, ecx
je 0x4799e7
mov edi, dword [edi + 8]
test esi, esi
mov eax, esi
cmovle eax, dword [ebp - 8]
mov edx, eax
mov dword [ebp - 8], eax
test edi, edi
jne 0x479843
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x479a04
push esi
push 0
push dword [ebp + 8]
push ebx
push 0x82
push ecx
call eax
add esp, 0x18
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x481010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, edx
mov edx, dword [ebp + 0xc]
lea esi, [edi + 4]
push esi
call fcn.00480f87
mov edx, dword [ebp + 8]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x48102c
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x48103a
pop edi
pop esi
pop ebp
ret

Function at 0x48570d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
or eax, edx
push esi
mov esi, dword [ebp + 8]
or eax, esi
push edi
mov edi, dword [ebp + 0xc]
or eax, edi
test al, 3
jne 0x485741
shr edi, 2
test edi, edi
je 0x485757
sub edx, esi
sub ecx, esi
mov eax, dword [edx + esi]
xor eax, dword [esi]
mov dword [ecx + esi], eax
lea esi, [esi + 4]
sub edi, 1
jne 0x48572f
jmp 0x485757
test edi, edi
je 0x485757
sub esi, edx
sub ecx, edx
mov al, byte [esi + edx]
xor al, byte [edx]
mov byte [ecx + edx], al
inc edx
sub edi, 1
jne 0x485749
pop edi
pop esi
pop ebp
ret

Function at 0x48575b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
or eax, edx
push esi
mov esi, dword [ebp + 8]
or eax, esi
test al, 3
jne 0x485784
shr esi, 2
test esi, esi
je 0x485795
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x485775
jmp 0x485795
test esi, esi
je 0x485795
sub edx, ecx
mov al, byte [ecx + edx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x48578a
pop esi
pop ebp
ret
Function at 0x488467
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x53b070]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
push 0xf
shr edi, 4
pop ebx
and eax, ebx
mov dword [esp + 0x10], edx
cmp dword [ebp + 0x14], 0xc
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
lea edi, [esp + 0x24]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
jne 0x4884c6
mov esi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], 0x1000000
jmp 0x4884f0
mov esi, dword [ecx + 0x144]
xor eax, eax
push 0x10
push edi
push dword [ebp + 0x14]
mov dword [ecx + 0x144], eax
push edx
push eax
xor edx, edx
call fcn.00487f95
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov dword [ecx + 0x144], esi
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
mov edi, dword [esp + 0x14]
push 0x10
push eax
push dword [ebp + 0xc]
push dword [esp + 0x18]
push dword [ebp + 0x24]
call fcn.00487f95
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x58]
add esp, 0x14
lea edx, [esp + 0x24]
mov ecx, esi
push eax
call fcn.00485798
pop ecx
test eax, eax
jne 0x488622
push 0x10
lea edx, [esp + 0x48]
lea ecx, [esp + 0x38]
call fcn.0048575b
cmp dword [esp + 0x14], 0
pop ecx
jne 0x48854e
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x144], eax
xor edx, edx
cmp dword [ebp + 0x1c], edx
jle 0x4885d1
mov esi, dword [ebp + 0x18]
lea eax, [esp + 0x34]
sub esi, eax
mov edi, edx
lea eax, [esp + 0x34]
add eax, edi
movzx ecx, byte [esi + eax]
movzx eax, byte [eax]
xor ecx, eax
or edx, ecx
inc edi
cmp edi, dword [ebp + 0x1c]
jl 0x488560
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test edx, edx
je 0x4885d1
mov eax, 0xffffff4c
jmp 0x488622
dec edi
mov eax, ebx
add byte [esp + eax + 0x24], 1
jne 0x48859d
dec eax
cmp eax, 0xc
jge 0x488590
lea eax, [esp + 0x34]
mov ecx, esi
push eax
lea edx, [esp + 0x28]
call fcn.00485798
pop ecx
test eax, eax
jne 0x488622
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x34]
push 0x10
push dword [esp + 0x10]
call fcn.0048570d
add dword [esp + 0x18], 0x10
add dword [esp + 0x14], 0x10
pop ecx
pop ecx
test edi, edi
jne 0x48858d
mov edi, dword [esp + 0x20]
test edi, edi
je 0x488620
add byte [esp + ebx + 0x24], 1
jne 0x4885ea
dec ebx
cmp ebx, 0xc
jge 0x4885dd
lea eax, [esp + 0x34]
mov ecx, esi
push eax
lea edx, [esp + 0x28]
call fcn.00485798
pop ecx
test eax, eax
jne 0x488622
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x34]
push edi
call fcn.0048575b
pop ecx
push edi
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x18]
call fcn.004cc920
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ca9dc
mov esp, ebp
pop ebp
ret
Function at 0x48f4e2
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [edx + 0x3f]
push esi
shr eax, 6
mov esi, edx
sub esi, eax
mov dword [ebp - 8], edx
push edi
xor edi, edi
mov dword [ebp - 0x10], ecx
and dword [ebp - 0xc], edi
inc esi
imul eax, esi, 3
shr eax, 2
cmp eax, dword [ebx]
ja 0x48f6ea
mov esi, dword [ebp + 8]
cmp edx, 3
jbe 0x48f6d8
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
call fcn.0048f469
add esp, 4
test eax, eax
jne 0x48f6ce
mov eax, dword [ebp - 0xc]
mov bl, byte [eax + ecx]
inc eax
mov dword [ebp - 0xc], eax
test bl, bl
je 0x48f6d5
dec dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0048f469
add esp, 4
test eax, eax
jne 0x48f6ef
mov eax, dword [ebp - 0xc]
mov dl, byte [eax + ecx]
inc eax
dec dword [ebp - 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov byte [ebp - 2], dl
lea edx, [ebp - 8]
push eax
call fcn.0048f469
add esp, 4
test eax, eax
jne 0x48f6ef
mov eax, dword [ebp - 0xc]
mov dh, byte [eax + ecx]
inc eax
dec dword [ebp - 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov byte [ebp - 1], dh
lea edx, [ebp - 8]
push eax
call fcn.0048f469
add esp, 4
test eax, eax
jne 0x48f6ef
mov eax, dword [ebp - 0xc]
mov bh, byte [eax + ecx]
inc eax
mov cl, byte [ebp - 1]
dec dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp cl, 0x3d
jne 0x48f5c9
cmp bh, cl
jne 0x48f6c7
cmp bl, 0x2b
jb 0x48f6c7
mov al, byte [ebp - 2]
cmp al, 0x2b
jb 0x48f6c7
cmp cl, 0x2b
jb 0x48f6c7
cmp bh, 0x2b
jb 0x48f6c7
cmp bl, 0x7a
ja 0x48f6c7
cmp al, 0x7a
ja 0x48f6c7
cmp cl, 0x7a
ja 0x48f6c7
cmp bh, 0x7a
ja 0x48f6c7
xor edx, edx
cmp bh, 0x3d
setne dl
xor eax, eax
cmp cl, 0x3d
mov ecx, dword [ebp + 0xc]
setne al
add edx, edi
inc eax
add eax, edx
cmp eax, dword [ecx]
ja 0x48f6ea
mov cl, bl
call fcn.0048f436
mov dl, byte [ebp - 2]
mov cl, dl
mov byte [ebp - 3], al
call fcn.0048f436
mov byte [ebp - 2], al
mov al, byte [ebp - 1]
cmp al, 0x3d
jne 0x48f654
xor bl, bl
jmp 0x48f65d
mov cl, al
call fcn.0048f436
mov bl, al
cmp bh, 0x3d
jne 0x48f666
xor al, al
jmp 0x48f66d
mov cl, bh
call fcn.0048f436
mov ah, byte [ebp - 3]
cmp ah, 0xff
je 0x48f6c7
mov dl, byte [ebp - 2]
cmp dl, 0xff
je 0x48f6c7
cmp bl, 0xff
je 0x48f6c7
cmp al, 0xff
je 0x48f6c7
mov dh, byte [ebp - 1]
mov cl, bl
shl cl, 6
or cl, al
shl ah, 2
mov al, dl
shr al, 4
or al, ah
mov byte [edi + esi], al
inc edi
cmp dh, 0x3d
je 0x48f6af
shr bl, 2
shl dl, 4
or bl, dl
mov byte [edi + esi], bl
inc edi
cmp bh, 0x3d
je 0x48f6d5
mov byte [edi + esi], cl
inc edi
cmp dword [ebp - 8], 3
mov ecx, dword [ebp - 0x10]
ja 0x48f51e
jmp 0x48f6d5
mov eax, 0xffffff66
jmp 0x48f6ef
cmp eax, 0xffffff7c
jne 0x48f6ef
mov ebx, dword [ebp + 0xc]
test esi, esi
je 0x48f6e4
cmp dword [ebx], edi
jbe 0x48f6e4
mov byte [edi + esi], 0
mov dword [ebx], edi
xor eax, eax
jmp 0x48f6ef
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
leave
ret