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

Disassembly:
push esi
push edi
push ebx
mov esi, ecx
mov edi, edx
mov ecx, 0x80
shr ecx, 3
mov eax, 0
mov ebx, 0
xor dword [esi], eax
xor dword [esi + 4], ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
call fcn.005f0954
mov dword [esi], eax
mov dword [esi + 4], ebx
add esi, 8
loop 0x5848c5
pop ebx
pop edi
pop esi
ret
Function at 0x584d34
Capabilities:
Inspect section memory permissions

Disassembly:
sub eax, eax
sub ebx, ebx
bt ecx, 0xa
jae 0x584d43
or eax, 0x80
bt ecx, 0x17
jae 0x584d4c
or eax, 0x40
bt ecx, 0xd
jae 0x584d55
or eax, 0x20
bt ecx, 0x10
jae 0x584d5e
or eax, 0x10
bt ecx, 7
jae 0x584d67
or eax, 8
bt ecx, 3
jae 0x584d70
or eax, 4
bt ecx, 5
jae 0x584d79
or eax, 2
bt ecx, 0x1c
jae 0x584d82
or eax, 1
bt ecx, 9
jae 0x584d8d
or eax, 0x8000
bt ecx, 2
jae 0x584d98
or eax, 0x4000
bt ecx, 0x13
jae 0x584da3
or eax, 0x2000
bt ecx, 0xe
jae 0x584dae
or eax, 0x1000
bt ecx, 0x11
jae 0x584db9
or eax, 0x800
bt ecx, 0x15
jae 0x584dc4
or eax, 0x400
bt ecx, 0xc
jae 0x584dcf
or eax, 0x200
bt ecx, 4
jae 0x584dda
or eax, 0x100
bt ecx, 0x1e
jae 0x584de5
or eax, 0x800000
bt ecx, 0
jae 0x584df0
or eax, 0x400000
bt ecx, 8
jae 0x584dfb
or eax, 0x200000
bt ecx, 1
jae 0x584e06
or eax, 0x100000
bt ecx, 0x1d
jae 0x584e11
or eax, 0x80000
bt ecx, 0x14
jae 0x584e1c
or eax, 0x40000
bt ecx, 0xb
jae 0x584e27
or eax, 0x20000
bt ecx, 6
jae 0x584e32
or eax, 0x10000
bt edx, 0xf
jae 0x584e3d
or eax, 0x80000000
bt edx, 0x14
jae 0x584e48
or eax, 0x40000000
bt edx, 0x19
jae 0x584e53
or eax, 0x20000000
bt edx, 3
jae 0x584e5e
or eax, 0x10000000
bt edx, 9
jae 0x584e69
or eax, 0x8000000
bt edx, 0x11
jae 0x584e74
or eax, 0x4000000
bt edx, 0x1a
jae 0x584e7f
or eax, 0x2000000
bt edx, 0
jae 0x584e8a
or eax, 0x1000000
bt edx, 0x15
jae 0x584e96
or ebx, 0x80
bt edx, 0xb
jae 0x584e9f
or ebx, 0x40
bt edx, 7
jae 0x584ea8
or ebx, 0x20
bt edx, 8
jae 0x584eb1
or ebx, 0x10
bt edx, 0xc
jae 0x584eba
or ebx, 8
bt edx, 0x17
jae 0x584ec3
or ebx, 4
bt edx, 1
jae 0x584ecc
or ebx, 2
bt edx, 0x10
jae 0x584ed5
or ebx, 1
bt edx, 6
jae 0x584ee1
or ebx, 0x8000
bt edx, 0x13
jae 0x584eed
or ebx, 0x4000
bt edx, 0xa
jae 0x584ef9
or ebx, 0x2000
bt edx, 0xe
jae 0x584f05
or ebx, 0x1000
bt edx, 0x16
jae 0x584f11
or ebx, 0x800
bt edx, 4
jae 0x584f1d
or ebx, 0x400
bt edx, 0x1b
jae 0x584f29
or ebx, 0x200
bt edx, 0x18
jae 0x584f35
or ebx, 0x100
ret
Function at 0x5a6d38
Capabilities:
Encode data using xor

Disassembly:
test dword [0x7eeab0], 0xfffffe00
jne 0x5a6d70
test dword [0x7eeab0], 0xffffff80
jne 0x5a6e20
test dword [0x7eeab0], 0xffffffff
jne 0x5a6e98
call fcn.006a7b4c
jmp fcn.005a6d38
push ebx
mov ebx, dword [ecx + 0x25]
test ebx, ebx
jle 0x5a6e14
mov eax, dword [ecx + 0x29]
mov edx, dword [eax]
mov ecx, dword [edx]
cmp ebx, 4
jl 0x5a6e18
mov edx, ebx
and edx, 3
neg edx
add edx, ebx
pxor xmm1, xmm1
xor eax, eax
movd xmm0, ecx
punpckldq xmm0, xmm0
punpckldq xmm0, xmm0
movdqa xmm3, xmm0
pcmpgtd xmm3, xmm1
movdqa xmm2, xmm0
pxor xmm2, xmm1
pand xmm3, xmm2
pxor xmm1, xmm3
add eax, 4
cmp eax, edx
jb 0x5a6da7
movdqa xmm0, xmm1
psrldq xmm0, 8
movdqa xmm2, xmm1
pcmpgtd xmm2, xmm0
pxor xmm1, xmm0
pand xmm2, xmm1
pxor xmm2, xmm0
movdqa xmm1, xmm2
psrldq xmm1, 4
movdqa xmm3, xmm2
pcmpgtd xmm3, xmm1
pxor xmm2, xmm1
pand xmm3, xmm2
pxor xmm3, xmm1
movd eax, xmm3
cmp edx, ebx
jae 0x5a6e16
cmp ecx, eax
cmovge eax, ecx
inc edx
cmp edx, ebx
jb 0x5a6e08
jmp 0x5a6e16
xor eax, eax
pop ebx
ret
xor eax, eax
xor edx, edx
jmp 0x5a6e04
push ebx
mov ebx, dword [ecx + 0x25]
test ebx, ebx
jle 0x5a6e8c
mov eax, dword [ecx + 0x29]
mov edx, dword [eax]
mov ecx, dword [edx]
cmp ebx, 2
jl 0x5a6e90
mov edx, ebx
and edx, 1
neg edx
add edx, ebx
pxor mm1, mm1
xor eax, eax
movd mm0, ecx
punpckldq mm0, mm0
movq mm3, mm0
pcmpgtd mm3, mm1
movq mm2, mm0
pxor mm2, mm1
pand mm3, mm2
pxor mm1, mm3
add eax, 2
cmp eax, edx
jb 0x5a6e48
movq mm0, mm1
psrlq mm0, 0x20
movq mm2, mm1
pcmpgtd mm2, mm0
pxor mm1, mm0
pand mm2, mm1
pxor mm2, mm0
movd eax, mm2
emms
cmp edx, ebx
jae 0x5a6e8e
cmp ecx, eax
cmovge eax, ecx
inc edx
cmp edx, ebx
jb 0x5a6e80
jmp 0x5a6e8e
xor eax, eax
pop ebx
ret
xor eax, eax
xor edx, edx
jmp 0x5a6e7c
push esi
mov edx, dword [ecx + 0x25]
test edx, edx
jle 0x5a6eb8
mov eax, dword [ecx + 0x29]
mov ecx, dword [eax]
mov esi, dword [ecx]
xor eax, eax
xor ecx, ecx
cmp esi, eax
jl 0x5a6eb1
mov eax, esi
inc ecx
cmp ecx, edx
jl 0x5a6eab
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x5a6ebc
Capabilities:
Encode data using xor

Disassembly:
test dword [0x7eeab0], 0xfffffe00
jne 0x5a6ef4
test dword [0x7eeab0], 0xffffff80
jne 0x5a6fac
test dword [0x7eeab0], 0xffffffff
jne 0x5a702c
call fcn.006a7b4c
jmp fcn.005a6ebc
push ebx
mov ebx, dword [ecx + 0x25]
test ebx, ebx
jle 0x5a6f9c
mov eax, dword [ecx + 0x29]
mov edx, dword [eax]
mov ecx, dword [edx]
cmp ebx, 4
jl 0x5a6fa3
mov edx, ebx
and edx, 3
neg edx
add edx, ebx
movdqa xmm1, xmmword [0x6d52f0]
xor eax, eax
movd xmm0, ecx
punpckldq xmm0, xmm0
punpckldq xmm0, xmm0
movdqa xmm2, xmm0
pcmpgtd xmm2, xmm1
pxor xmm1, xmm0
pand xmm2, xmm1
movdqa xmm1, xmm0
pxor xmm1, xmm2
add eax, 4
cmp eax, edx
jb 0x5a6f2f
movdqa xmm0, xmm1
psrldq xmm0, 8
movdqa xmm2, xmm1
pcmpgtd xmm2, xmm0
pxor xmm0, xmm1
pand xmm2, xmm0
pxor xmm2, xmm1
movdqa xmm1, xmm2
psrldq xmm1, 4
movdqa xmm3, xmm2
pcmpgtd xmm3, xmm1
pxor xmm1, xmm2
pand xmm3, xmm1
pxor xmm3, xmm2
movd eax, xmm3
cmp edx, ebx
jae 0x5a6fa1
cmp ecx, eax
cmovl eax, ecx
inc edx
cmp edx, ebx
jb 0x5a6f90
jmp 0x5a6fa1
mov eax, 0x11bed
pop ebx
ret
mov eax, 0x11bed
xor edx, edx
jmp 0x5a6f8c
push ebx
mov ebx, dword [ecx + 0x25]
test ebx, ebx
jle 0x5a701c
mov eax, dword [ecx + 0x29]
mov edx, dword [eax]
mov ecx, dword [edx]
cmp ebx, 2
jl 0x5a7023
mov edx, ebx
and edx, 1
neg edx
add edx, ebx
movq mm1, qword [0x6d5300]
xor eax, eax
movd mm0, ecx
punpckldq mm0, mm0
movq mm2, mm0
pcmpgtd mm2, mm1
pxor mm1, mm0
pand mm2, mm1
movq mm1, mm0
pxor mm1, mm2
add eax, 2
cmp eax, edx
jb 0x5a6fd8
movq mm0, mm1
psrlq mm0, 0x20
movq mm2, mm1
pcmpgtd mm2, mm0
pxor mm0, mm1
pand mm2, mm0
pxor mm2, mm1
movd eax, mm2
emms
cmp edx, ebx
jae 0x5a7021
cmp ecx, eax
cmovl eax, ecx
inc edx
cmp edx, ebx
jb 0x5a7010
jmp 0x5a7021
mov eax, 0x11bed
pop ebx
ret
mov eax, 0x11bed
xor edx, edx
jmp 0x5a700c
push esi
mov edx, dword [ecx + 0x25]
test edx, edx
jle 0x5a704f
mov eax, dword [ecx + 0x29]
mov ecx, dword [eax]
mov esi, dword [ecx]
mov eax, 0x11bed
xor ecx, ecx
cmp esi, eax
jge 0x5a7048
mov eax, esi
inc ecx
cmp ecx, edx
jl 0x5a7042
pop esi
ret
mov eax, 0x11bed
pop esi
ret
Function at 0x5b0b68
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push edi
push esi
push ebp
mov edi, dword [ecx + 0x31]
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b0b87
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b0b72
dec eax
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x5b0bf5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b0bb9
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b0ba4
dec eax
push eax
push edi
push ebp
call fcn.006a7d10
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x5b0be0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x5b0bf5
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop ebp
pop esi
pop edi
ret

Function at 0x5b0bfc
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
push esi
push ebp
push esi
mov edi, ecx
xor eax, eax
mov dword [esp], eax
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5b0c87
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x5b0c4d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
mov ecx, ebp
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b0c42
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b0c2d
dec eax
test eax, eax
jne 0x5b0c55
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x5b0c87
lea ecx, [esp]
mov edx, ebp
call fcn.004f5c14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [esp]
test esi, esi
je 0x5b0c87
push esi
mov ecx, edi
call fcn.005b0cac
cmp eax, 0xffffffff
je 0x5b0c98
mov ecx, esi
call fcn.004db4f8
push 0x8002f
mov ecx, edi
call fcn.005b01bc
pop ecx
pop ebp
pop esi
pop edi
ret
mov ecx, esi
call fcn.004db4f8
mov eax, 0xffffffff
pop ecx
pop ebp
pop esi
pop edi
ret
Function at 0x5b3264
Capabilities:
Parse url

Disassembly:
push edi
push ebp
push ebx
push ecx
mov eax, 0x40
call fcn.00697340
mov ecx, dword [esp + 0x40]
mov edi, ecx
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x3c], 1
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp], 0x3c
mov eax, 1
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x40]
lea edx, [esp + 0x3c]
push 0
push edx
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
mov ecx, dword [esp + 0x3c]
cmp ecx, 1
ja 0x5b3316
add edi, 0x14
mov ecx, edi
mov edx, ebp
call fcn.004f5c14
add esp, 0x44
pop ebx
pop ebp
pop edi
ret 4
inc ecx
call fcn.004dbe28
mov dword [edi + 0x14], eax
lea edx, [esp + 0x3c]
push 0
push edx
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
mov edx, dword [esp + 0x3c]
mov eax, dword [edi + 0x14]
xor ebx, ebx
mov byte [eax + edx], bl
mov ecx, dword [edi + 0x14]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b3354
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b333f
dec eax
lea edx, [esp]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x5b33f5
mov eax, dword [esp + 8]
test eax, eax
je 0x5b337e
lea ecx, [edi + 0x18]
push eax
mov edx, dword [esp + 8]
call fcn.004f73ec
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5b3393
lea ecx, [edi + 0x1c]
push eax
mov edx, dword [esp + 0x14]
call fcn.004f73ec
movzx eax, word [esp + 0x18]
test eax, eax
jne 0x5b33a7
mov eax, 0x15
mov word [edi + 0x20], ax
jmp 0x5b33ab
mov word [edi + 0x20], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5b33c0
lea ecx, [edi + 0x22]
push eax
mov edx, dword [esp + 0x20]
call fcn.004f73ec
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5b33d5
lea ecx, [edi + 0x26]
push eax
mov edx, dword [esp + 0x28]
call fcn.004f73ec
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5b3410
add edi, 0x2a
push eax
mov ecx, edi
mov edx, dword [esp + 0x30]
call fcn.004f73ec
add esp, 0x44
pop ebx
pop ebp
pop edi
ret 4
mov ecx, dword [edi + 0x14]
call fcn.004db4f8
mov dword [edi + 0x14], 0
add edi, 0x14
mov ecx, edi
mov edx, ebp
call fcn.004f5c14
add esp, 0x44
pop ebx
pop ebp
pop edi
ret 4
Function at 0x5b3c04
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push edi
push ecx
mov eax, 0x1c
call fcn.00697340
mov ecx, dword [esp + 0x1c]
mov edi, ecx
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, 2
mov word [esp], ax
movzx edx, word [edi + 0x30]
push edx
call sub.WSOCK32.dll_htons
mov word [esp + 2], ax
push dword [edi + 0x24]
lea ecx, [esp + 0x14]
call fcn.004e55ec
lea ecx, [esp + 0x10]
call fcn.004e5460
push eax
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x5b3c79
lea ecx, [esp + 0x10]
call fcn.004e5460
push eax
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x5b3cd9
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [edx]
mov dword [esp + 4], eax
push 6
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [edi + 8], eax
cmp eax, 0xffffffff
jne 0x5b3cb8
call sub.WSOCK32.dll_WSACleanup
mov eax, dword [edi + 0x60]
mov edx, dword [eax]
push str.Failed_to_connect_nto_Mail_Socket_
push eax
call dword [edx + 0x48]
add esp, 8
mov edi, eax
lea ecx, [esp + 0x10]
call fcn.004e56ec
mov eax, edi
add esp, 0x20
pop edi
ret
lea edx, [esp]
push 0x10
push edx
push eax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
je 0x5b3d04
lea ecx, [esp + 0x10]
call fcn.004e56ec
xor eax, eax
add esp, 0x20
pop edi
ret
call sub.WSOCK32.dll_WSACleanup
mov eax, dword [edi + 0x60]
mov edx, dword [eax]
push dword [edi + 0x24]
push str.Unknown_Mail_Server_n_s_
push eax
call dword [edx + 0x48]
add esp, 0xc
mov edi, eax
lea ecx, [esp + 0x10]
call fcn.004e56ec
mov eax, edi
add esp, 0x20
pop edi
ret
call sub.WSOCK32.dll_WSACleanup
mov eax, dword [edi + 0x60]
mov edx, dword [eax]
push str.Failed_to_connect_nto_Mail_Server_
push eax
call dword [edx + 0x48]
add esp, 8
mov edi, eax
lea ecx, [esp + 0x10]
call fcn.004e56ec
mov eax, edi
add esp, 0x20
pop edi
ret
Function at 0x5b5798
Capabilities:
Send data
Send data on socket

Disassembly:
test dword [0x7eeab0], 0xffffff80
jne 0x5b57c0
test dword [0x7eeab0], 0xffffffff
jne 0x5b57c0
call fcn.006a7b4c
jmp fcn.005b5798
push esi
push ebx
sub esp, 0x14
mov ebx, ecx
push dword [esp + 0x20]
lea ecx, [esp + 4]
call fcn.004e55ec
lea ecx, [esp]
call fcn.004e5460
mov esi, eax
lea ecx, [esp]
call fcn.004e545c
test eax, eax
jbe 0x5b580f
mov dword [esp + 0x10], edi
mov edi, ebx
mov ebx, eax
push 0
push ebx
push esi
push dword [edi + 8]
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
je 0x5b5821
sub ebx, eax
add esi, eax
test ebx, ebx
jne 0x5b57f2
mov edi, dword [esp + 0x10]
lea ecx, [esp]
call fcn.004e56ec
xor eax, eax
add esp, 0x14
pop ebx
pop esi
ret 8
mov edi, dword [esp + 0x10]
lea ecx, [esp]
call fcn.004e56ec
mov eax, 1
add esp, 0x14
pop ebx
pop esi
ret 8

Function at 0x5b8228
Capabilities:
Initialize winsock library

Disassembly:
push esi
push ecx
mov eax, 0x18c
call fcn.00697340
mov ecx, dword [esp + 0x18c]
mov esi, ecx
lea eax, [esp]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x5b8287
movzx edx, word [esp]
movzx eax, dl
cmp eax, 1
jne 0x5b8269
and edx, 0xffffff00
cmp edx, 0x100
je 0x5b82a0
call sub.WSOCK32.dll_WSACleanup
mov eax, dword [esi + 0x60]
mov edx, dword [eax]
push str.WinSock_1.1_failed_
push eax
call dword [edx + 0x48]
add esp, 8
add esp, 0x190
pop esi
ret
mov eax, dword [esi + 0x60]
mov edx, dword [eax]
push str.WinSock_failed_nto_initialize_
push eax
call dword [edx + 0x48]
add esp, 8
add esp, 0x190
pop esi
ret
xor eax, eax
add esp, 0x190
pop esi
ret

Function at 0x5b8358
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push edi
push esi
sub esp, 0xc
mov edi, ecx
push dword [esp + 0x18]
mov ecx, edi
call fcn.00552718
mov dword [edi], 0x7f2440
lea ecx, [esp]
call fcn.0052bf8c
push 0x3a
push dword [esp + 0x20]
lea ecx, [esp + 8]
call fcn.0052bc0c
push 0x3a
push dword [esp + 0xc]
lea ecx, [esp + 8]
call fcn.0052bc0c
push dword [esp + 8]
push dword [esp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x5b83d6
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5b83d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [edi + 8], eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
lea ecx, [esp]
call fcn.0052bf78
mov eax, edi
add esp, 0xc
pop esi
pop edi
ret 8
Function at 0x64c7d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, edx
mov edx, dword [esp + 8]
sub esp, 0x58
cmp edx, 0x10
jge 0x64c7e7
or eax, 0xffffffff
add esp, 0x58
ret 8
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov edx, ecx
push eax
lea ecx, [esp + 4]
mov dword [esp + 4], 0x67452301
mov dword [esp + 8], 0xefcdab89
mov dword [esp + 0xc], 0x98badcfe
mov dword [esp + 0x10], 0x10325476
call fcn.0064c620
mov ecx, dword [esp + 0x5c]
lea edx, [esp]
call fcn.0064c6e0
xor eax, eax
add esp, 0x58
ret 8
Function at 0x654450
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
test ecx, ecx
mov dword [esp + 0x14], edx
je 0x654579
test edx, edx
je 0x654579
cmp dword [esp + 0x2c], 0x27
jl 0x654579
mov edx, 0x6f2c08
sub edx, ecx
mov dword [esp], edx
mov edx, 0x6f2bf8
sub edx, ecx
mov dword [esp + 4], edx
mov edx, 0x6f2c19
sub edx, ecx
xor eax, eax
mov dword [esp + 8], edx
push ebx
mov dword [esp + 0x1c], eax
mov edx, 0x6f2c09
sub edx, ecx
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
push esi
mov dword [esp + 0x2c], eax
mov edx, 0x6f2bf9
mov ebp, ecx
mov ebx, 0x6f2c18
sub edx, ecx
mov esi, 0xfffffffe
push edi
mov dword [esp + 0x34], eax
sub ebp, 0x6f2c18
sub ebx, ecx
lea eax, [ecx + 2]
lea edi, [esp + 0x36]
mov dword [esp + 0x20], edx
sub esi, ecx
jmp 0x6544e0
lea ecx, [esi + eax + 0x6f2c18]
mov dl, byte [ecx + ebp]
add dl, byte [ecx]
xor dl, byte [esi + eax + 0x6f2c08]
sub dl, byte [esi + eax + 0x6f2bf8]
mov cl, byte [esi + eax + 0x6f2c19]
mov byte [edi + 1], dl
add cl, byte [eax - 1]
xor cl, byte [esi + eax + 0x6f2c09]
sub cl, byte [esi + eax + 0x6f2bf9]
mov dl, byte [ebx + eax]
mov byte [edi], cl
add dl, byte [eax]
mov ecx, dword [esp + 0x10]
xor dl, byte [ecx + eax]
mov ecx, dword [esp + 0x14]
sub dl, byte [ecx + eax]
add eax, 4
mov byte [edi - 1], dl
mov edx, dword [esp + 0x18]
mov cl, byte [edx + eax - 4]
mov dl, byte [eax - 3]
add cl, dl
mov edx, dword [esp + 0x1c]
xor cl, byte [edx + eax - 4]
mov edx, dword [esp + 0x20]
sub cl, byte [edx + eax - 4]
sub edi, 4
mov byte [edi + 2], cl
lea ecx, [esi + eax]
cmp ecx, 0x10
jl 0x6544e0
mov edx, dword [esp + 0x3c]
push 1
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
call fcn.0065fd80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
mov eax, 0x325
add esp, 0x28
ret 4
Function at 0x654fb0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x28
push esi
push edi
mov edi, ecx
test edi, edi
mov esi, edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
je 0x655104
test esi, esi
je 0x655104
mov eax, dword [esp + 0x34]
test eax, eax
je 0x655104
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x654ff0
sub eax, edx
cmp eax, 1
jb 0x655104
push 1
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x655030
push 0
push 0
push 1
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x65503d
pop edi
mov eax, 0x382
pop esi
add esp, 0x28
ret 8
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
call fcn.00654e60
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push 0
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x6550f2
mov eax, dword [esp + 8]
test eax, eax
je 0x6550f7
mov ecx, dword [esp + 0x14]
push ecx
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
je 0x6550c8
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
mov eax, 0x35d
pop esi
add esp, 0x28
ret 8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x6550e8
mov ecx, dword [esp + 0xc]
xor edx, edx
cmp ecx, 1
sete dl
mov dword [eax], edx
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret 8
cmp eax, 5
je 0x6550bb
pop edi
mov eax, 0x35f
pop esi
add esp, 0x28
ret 8
pop edi
mov eax, 0x325
pop esi
add esp, 0x28
ret 8
Function at 0x6558c0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x12c
push ebx
mov ebx, ecx
test ebx, ebx
push esi
mov esi, edx
je 0x65593e
test esi, esi
je 0x65593e
push edi
mov edx, 0x64
lea ecx, [esp + 0x70]
call fcn.00651e70
mov edx, 0x64
lea ecx, [esp + 0xc]
call fcn.00652370
mov edx, 0x64
lea ecx, [esp + 0xd4]
call fcn.00651f40
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 0x70]
push eax
push esi
call edi
lea ecx, [esp + 0xc]
push ecx
push esi
call edi
lea edx, [esp + 0xd4]
push edx
push esi
call edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push closesocket
call edi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x12c
ret
pop esi
mov eax, 0x325
pop ebx
add esp, 0x12c
ret

Function at 0x655950
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x200
push esi
push edi
xor edi, edi
cmp ecx, edi
mov esi, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
je 0x655a8a
cmp esi, edi
je 0x655a8a
push ebx
push ebp
mov edx, 0x64
lea ecx, [esp + 0x80]
call fcn.00652420
mov edx, 0x64
lea ecx, [esp + 0x1c]
call fcn.00652490
mov edx, 0x64
lea ecx, [esp + 0xe4]
call fcn.006524d0
mov edx, 0x64
lea ecx, [esp + 0x148]
call fcn.00652570
mov edx, 0x64
lea ecx, [esp + 0x1ac]
call fcn.00652610
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0x2001f
push edi
lea ecx, [esp + 0x8c]
push ecx
push esi
call ebx
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x655a63
mov eax, dword [esp + 0x10]
test eax, eax
je 0x655a63
lea edx, [esp + 0x14]
push edx
push 0x2001f
push 0
lea ecx, [esp + 0x28]
push ecx
push eax
call ebx
test eax, eax
jne 0x655a32
mov eax, dword [esp + 0x14]
test eax, eax
je 0x655a32
lea edx, [esp + 0xe4]
push edx
push eax
call edi
mov eax, dword [esp + 0x14]
push eax
call ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x148]
push eax
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1ac]
push edx
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x80]
push edx
push esi
call edi
push esi
call ebp
mov eax, dword [esp + 0x18]
push eax
push closesocket
call edi
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x200
ret
pop edi
mov eax, 0x325
pop esi
add esp, 0x200
ret