joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456738
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00456070
xor eax, eax
push ebp
push 0x4568a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x456893
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x456783
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45678d
call fcn.00403a0c
jmp 0x4568b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004162d4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x456888
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x45683b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x456828
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004033d0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004566f0
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4568bc]
cmp dl, byte [eax + 0x28]
je 0x45688f
call fcn.0040bb48
jmp 0x45688f
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004162f4
jmp 0x45688f
cmp ecx, ebx
jge 0x456857
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004162f4
jmp 0x45678d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004162d4
cmp edx, dword [esp + 4]
jne 0x456877
cmp eax, dword [esp]
pop edx
pop eax
jne 0x45678d
push ebp
call fcn.004566f0
pop ecx
jmp 0x45688f
push ebp
call fcn.004566f0
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4568b0
mov eax, dword [ebp - 4]
call fcn.0045607c
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4568c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4569e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00456070
xor eax, eax
push ebp
push 0x4569c5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x456910
call fcn.00403a0c
jmp 0x4569cc
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4569af
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4569af
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004033d0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4569af
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b33c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4569fc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x487ca4]
mov dl, 1
mov eax, dword [0x455308]
call fcn.0040bc60
call fcn.00403960
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4569cc
mov eax, dword [ebp - 4]
call fcn.0045607c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4569e9
lea eax, [ebp - 0x28]
call fcn.00403f44
ret
Function at 0x456a48
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456b92
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00456070
xor eax, eax
push ebp
push 0x456b75
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x456aad
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x456aad
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x456b5f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x456ac0
call fcn.00403a0c
jmp 0x456b7c
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x456b5f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x456b5f
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004033d0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x456b5f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b33c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x456bac
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x487ca4]
mov dl, 1
mov eax, dword [0x455308]
call fcn.0040bc60
call fcn.00403960
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456b7c
mov eax, dword [ebp - 4]
call fcn.0045607c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456b99
lea eax, [ebp - 0x28]
call fcn.00403f44
ret
Function at 0x460558
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x460561
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x460711
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004608a0
xor eax, eax
push ebp
push 0x4606ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x4605b0
call fcn.00403a0c
jmp 0x4606f6
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x46067e
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x460604
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x460604
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0046050c
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042c4
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x46063d
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046050c
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004042c4
mov eax, dword [ebp - 0x14]
call fcn.00404404
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4606d9
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0046050c
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x46072c
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004042c4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0046052c
jmp 0x4606d9
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4606a0
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4606a0
push ebx
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4606b6
mov eax, ebx
call fcn.00404404
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4606d9
lea eax, [ebp - 0x24]
mov ecx, 0x46072c
mov edx, ebx
call fcn.00404250
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0046052c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4606f6
mov eax, dword [ebp - 4]
call fcn.004608ac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460718
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00403f68
ret

Function at 0x475608
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0047604c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4763f0
Capabilities:
Hash data using sha1

Disassembly:
test eax, eax
jne 0x4763fa
mov eax, 1
ret
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
xor edx, edx
mov dword [eax + 0x1c], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x60], edx
xor edx, edx
mov dword [eax + 0x64], edx
xor eax, eax
ret

Function at 0x47652c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff0c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x49]
xor ecx, ecx
mov edx, 0x41
call fcn.00402ba4
lea eax, [ebp - 0x8a]
xor ecx, ecx
mov edx, 0x41
call fcn.00402ba4
cmp ebx, 0x40
jle 0x4765b5
lea eax, [ebp - 0xf4]
call fcn.004763f0
mov edx, esi
lea eax, [ebp - 0xf4]
mov ecx, ebx
call fcn.004764a4
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xf4]
call fcn.00476438
lea edx, [ebp - 0x49]
mov eax, dword [ebp + 8]
mov ecx, 0x14
call fcn.00402904
lea edx, [ebp - 0x8a]
mov eax, dword [ebp + 8]
mov ecx, 0x14
call fcn.00402904
jmp 0x4765d0
lea edx, [ebp - 0x49]
mov eax, esi
mov ecx, ebx
call fcn.00402904
lea edx, [ebp - 0x8a]
mov eax, esi
mov ecx, ebx
call fcn.00402904
mov ecx, 0x40
lea eax, [ebp - 0x49]
lea edx, [ebp - 0x8a]
xor byte [eax], 0x36
xor byte [edx], 0x5c
inc edx
inc eax
dec ecx
jne 0x4765de
lea eax, [ebp - 0xf4]
call fcn.004763f0
lea edx, [ebp - 0x49]
lea eax, [ebp - 0xf4]
mov ecx, 0x40
call fcn.004764a4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xf4]
mov ecx, dword [ebp - 8]
call fcn.004764a4
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xf4]
call fcn.00476438
lea eax, [ebp - 0xf4]
call fcn.004763f0
lea edx, [ebp - 0x8a]
lea eax, [ebp - 0xf4]
mov ecx, 0x40
call fcn.004764a4
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xf4]
mov ecx, 0x14
call fcn.004764a4
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xf4]
call fcn.00476438
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x476750
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x4872c8
mov ecx, dword [esp]
lea edx, [esp + 0xc]
xor ebx, ebx
mov bl, byte [edi]
mov bl, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x47676f
mov esi, 1
mov edx, 0x4873d0
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
xor ebx, ebx
mov bl, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
xor ebx, ebx
mov bl, byte [esp + eax + 0x11]
add edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4767e9
dec ebx
je 0x47680d
dec ebx
je 0x476831
dec ebx
je 0x476854
jmp 0x47686d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 8
and ebx, 0xff
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x47686d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 4
and ebx, 0xff
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x47686d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 2
and ebx, 0xff
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x47686d
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4767d6
inc esi
add edx, 0x40
cmp esi, 9
jne 0x47678b
mov esi, 0x20
mov eax, 0x4872f8
mov edx, dword [esp + 4]
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x476892
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4768cc
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
xor eax, eax
mov al, dl
mov bl, byte [eax + 0x48737f]
test bl, bl
jbe 0x4768fd
lea eax, [esi + 0x3e0]
call fcn.004768ac
lea eax, [esi + 0x3fc]
call fcn.004768ac
dec bl
jne 0x4768e3
mov cl, 0x30
mov edi, 0x487350
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x47691f
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x47692e
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x476907
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x47693c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004766e4
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x476958
mov bl, 0x1c
mov esi, 0x487318
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004766e4
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004766e4
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x476974
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004768cc
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x47699c
mov bl, 1
mov eax, 0x487248
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4769d5
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4769e2
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4769c1
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x476a0c
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.00476750
jmp 0x476a34
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.00476750
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x476a3c
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4769f4
mov bl, 0x40
mov esi, 0x487288
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x476aa2
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x476ab1
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x476a8a
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.0047670c
inc ebx
inc esi
cmp bl, 0x41
jne 0x476abf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47af0c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
xor ebx, ebx
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
shl edx, 2
mov eax, edi
call fcn.00404590
cmp esi, dword [esp]
jge 0x47b077
inc ebx
mov eax, edi
call fcn.0040445c
mov dl, byte [ebp + esi]
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov dl, byte [edx + 0x48766c]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x47b02f
inc ebx
mov eax, edi
call fcn.0040445c
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov cl, byte [ebp + esi + 1]
and cl, 0xf0
and ecx, 0xff
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x48766c]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x47affe
inc ebx
mov eax, edi
call fcn.0040445c
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov cl, byte [ebp + esi + 2]
and cl, 0xc0
and ecx, 0xff
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x48766c]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040445c
mov dl, byte [ebp + esi + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x48766c]
mov byte [eax + ebx - 1], dl
jmp 0x47b06b
inc ebx
mov eax, edi
call fcn.0040445c
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov dl, byte [edx + 0x48766c]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040445c
mov byte [eax + ebx - 1], 0x3d
jmp 0x47b06b
inc ebx
mov eax, edi
call fcn.0040445c
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov dl, byte [edx + 0x48766c]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040445c
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.0040445c
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x47af3f
mov eax, edi
mov edx, ebx
call fcn.00404590
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47b1c8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404204
mov dword [ebp - 0xc], eax
xor ebx, ebx
mov edx, dword [ebp - 8]
add edx, 3
mov eax, edi
call fcn.00404590
jmp 0x47b385
inc ebx
cmp byte [ebp + 0xc], 0
je 0x47b221
mov edx, dword [esi]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
call fcn.0045a930
sub eax, dword [esi]
lea eax, [eax + eax*2]
add eax, ebx
cmp eax, dword [ebp - 8]
jle 0x47b22c
dec ebx
jmp 0x47b390
cmp ebx, dword [ebp - 8]
jle 0x47b22c
dec ebx
jmp 0x47b390
mov eax, edi
call fcn.0040445c
mov edx, dword [esi]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov dl, byte [edx + 0x48766c]
mov byte [eax + ebx - 1], dl
mov eax, dword [esi]
inc eax
cmp eax, dword [ebp - 0xc]
jg 0x47b341
inc ebx
mov eax, edi
call fcn.0040445c
lea eax, [eax + ebx - 1]
push eax
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax - 1]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [esi]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx]
and dl, 0xf0
and edx, 0xff
shr edx, 4
add eax, edx
mov al, byte [eax + 0x48766c]
pop edx
mov byte [edx], al
mov eax, dword [esi]
add eax, 2
cmp eax, dword [ebp - 0xc]
jg 0x47b30c
inc ebx
mov eax, edi
call fcn.0040445c
lea eax, [eax + ebx - 1]
push eax
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax]
and al, 0xf
and eax, 0xff
shl eax, 2
mov edx, dword [esi]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx + 1]
and dl, 0xc0
and edx, 0xff
shr edx, 6
add eax, edx
mov al, byte [eax + 0x48766c]
pop edx
mov byte [edx], al
inc ebx
mov eax, edi
call fcn.0040445c
mov edx, dword [esi]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx + 1]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x48766c]
mov byte [eax + ebx - 1], dl
jmp 0x47b382
inc ebx
mov eax, edi
call fcn.0040445c
mov edx, dword [esi]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov dl, byte [edx + 0x48766c]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040445c
mov byte [eax + ebx - 1], 0x3d
jmp 0x47b382
inc ebx
mov eax, edi
call fcn.0040445c
mov edx, dword [esi]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
and dl, 3
and edx, 0xff
shl edx, 4
mov dl, byte [edx + 0x48766c]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040445c
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.0040445c
mov byte [eax + ebx - 1], 0x3d
add dword [esi], 3
mov eax, dword [esi]
cmp eax, dword [ebp - 0xc]
jle 0x47b1fb
mov eax, edi
mov edx, ebx
call fcn.00404590
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47c1f4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
mov dl, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
mov dl, byte [esi + 2]
xor ecx, ecx
mov cl, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
mov al, byte [esi + 3]
xor ecx, ecx
mov cl, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
xor edx, edx
mov dl, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
mov al, byte [esi + 4]
shl eax, 3
and al, 0xff
xor edx, edx
mov dl, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
mov al, byte [esi + 5]
shl eax, 2
and al, 0xff
xor edx, edx
mov dl, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
mov al, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x47c2a0
mov dl, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x47c29b
mov eax, ebp
mov edx, 8
call fcn.00404590
push 1
mov eax, ebp
call fcn.0040445c
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.0047693c
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret