joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46dabd
Capabilities:
Connect socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
mov eax, 0x47a6c0
call fcn.0044db9c
mov eax, 0x2838
call fcn.0044c0a0
push ebx
push esi
push edi
mov al, byte [ebp + 0x1c]
push 1
pop esi
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
mov byte [ebp - 0x24], al
call fcn.00433aa0
push dword [0x47cb30]
lea eax, [ebp + 0x1c]
lea ecx, [ebp - 0x24]
push ebx
push eax
call fcn.00446f80
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov edi, 0x47cb2c
jne 0x46db16
mov eax, edi
push eax
lea eax, [ebp - 0x2844]
push eax
call fcn.004535a0
mov eax, dword [ebp + 0xc]
pop ecx
cmp eax, ebx
pop ecx
jne 0x46db2e
mov eax, edi
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
push 0x10
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0044e2f0
add esp, 0xc
mov word [ebp - 0x44], 2
push dword [ebp + 0x18]
call dword [sym.imp.WS2_32.dll_htons]
push ebx
push esi
push 2
mov word [ebp - 0x42], ax
mov dword [ebp - 0x40], edi
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push 0x8004667e
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
lea eax, [ebp - 0x44]
push 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x14
call esi
push ebx
lea eax, [ebp - 0x2844]
push dword [ebp - 0x10]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
lea eax, [ebp - 0x2844]
push eax
push dword [ebp - 0x10]
push str.Soap_action__sendLen:_d_r_n__SendBuffer:_s
call fcn.0044ca2f
add esp, 0xc
push 0xc8
call esi
mov esi, 0x2800
lea eax, [ebp - 0x2844]
push esi
push ebx
push eax
call fcn.0044e2f0
add esp, 0xc
lea eax, [ebp - 0x2844]
push ebx
push esi
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
push esi
push str.Soap_action__RrrrrecvLen:_d
call fcn.0044ca2f
lea eax, [ebp - 0x2844]
push eax
call fcn.0044ca2f
add esp, 0xc
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, 0xffffffff
jne 0x46dc15
mov byte [ebp + 0x1b], bl
jmp 0x46dc61
cmp esi, ebx
je 0x46dc10
mov al, byte [ebp + 0x1b]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00433aa0
lea eax, [ebp - 0x2844]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.00442ce0
push dword [0x47cb30]
mov ecx, dword [ebp + 0x2c]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.00446f80
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00433aa0
mov byte [ebp + 0x1b], 1
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00433aa0
push 1
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00433aa0
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp + 0x1c]
call fcn.00433aa0
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0x1b]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x46dc9c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2820
call fcn.0044c0a0
push esi
mov esi, dword [ebp + 0x14]
push 0
lea ecx, [ebp - 0x10]
mov al, byte [esi]
mov byte [ebp - 0x10], al
call fcn.00433aa0
push dword [0x47cb30]
lea ecx, [ebp - 0x10]
push 0
push esi
call fcn.00446f80
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
test eax, eax
jne 0x46dcdc
mov eax, 0x47cb2c
push eax
lea eax, [ebp - 0x2820]
push eax
call fcn.004535a0
push 0x10
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.0044e2f0
add esp, 0x14
mov word [ebp - 0x20], 2
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2820]
push eax
push esi
push str.SSDP_Send__Len:_d__r_n_buffer_s
call fcn.0044ca2f
add esp, 0xc
lea eax, [ebp - 0x20]
push 0x10
push eax
push 0
lea eax, [ebp - 0x2820]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_sendto]
push 1
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00433aa0
mov eax, esi
pop esi
leave
ret

Function at 0x46dff4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x47a7a7
call fcn.0044db9c
push ecx
push ecx
mov al, byte [ebp - 0xd]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], esi
push ebx
mov byte [esi], al
call fcn.00433aa0
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x10]
push ebx
mov dword [ebp - 4], ebx
mov byte [ecx], al
call fcn.00433aa0
mov al, byte [ebp - 0xd]
mov dword [esi + 0x24], ebx
mov byte [esi + 0x20], al
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x30]
push ebx
mov byte [ebp - 4], 2
mov byte [ecx], al
call fcn.00433aa0
mov al, byte [ebp - 0xd]
mov dword [esi + 0x44], ebx
mov byte [esi + 0x40], al
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x50]
push ebx
mov byte [ebp - 4], 4
mov byte [ecx], al
call fcn.00433aa0
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x60]
push ebx
mov byte [ebp - 4], 5
mov byte [ecx], al
call fcn.00433aa0
mov cl, byte [ebp - 0xd]
lea eax, [esi + 0x74]
mov dword [esi + 0x70], 1
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x84]
push ebx
mov byte [ebp - 4], 7
mov byte [ecx], al
call fcn.00433aa0
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x94]
push ebx
mov byte [ebp - 4], 8
mov byte [ecx], al
call fcn.00433aa0
mov ecx, dword [ebp - 0xc]
mov word [esi + 0xa4], bx
mov byte [esi + 0xa6], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4705fc
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov eax, 0x47acb4
call fcn.0044db9c
sub esp, 0x128
push ebx
push esi
push edi
lea eax, [ebp - 0x134]
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
push 0x100
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4706c3
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, ebx
je 0x4706c3
cmp word [esi + 0xa], 4
jne 0x4706c3
mov eax, dword [esi + 0xc]
cmp dword [eax], ebx
je 0x4706c3
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00433aa0
mov eax, dword [esi + 0xc]
push 4
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.0044dbc0
add esp, 0xc
push dword [ebp - 0x18]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
push esi
call fcn.0044db20
pop ecx
push eax
push esi
lea ecx, [edi + 0x84]
call fcn.00442ce0
mov ax, word [ebp - 0x18]
push 1
lea ecx, [ebp - 0x2c]
mov word [edi + 0xa4], ax
mov byte [ebp - 4], bl
call fcn.00433aa0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov esi, 0x492db4
push esi
call fcn.0044db20
pop ecx
push eax
push esi
lea ecx, [edi + 0x84]
call fcn.00442ce0
mov word [edi + 0xa4], bx
jmp 0x4706b4
Function at 0x4714ae
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x47adcc
call fcn.0044db9c
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x260]
cmp eax, 1
jb 0x47160a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x493504]
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x4714fa
mov eax, dword [0x493534]
xor edx, edx
div ecx
add eax, dword [0x493500]
cmp dword [ebp - 0x10], eax
jb 0x47160a
push 0x493548
lea ecx, [ebp - 0x1c]
call fcn.004680a4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004680c7
mov eax, dword [ebx + 0x260]
cmp eax, 1
jb 0x4715fe
test eax, eax
je 0x4715fe
lea esi, [ebx + 0x238]
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x220]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x24]
xor edi, edi
test ecx, ecx
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
jle 0x471565
lea edx, [ebx + 0x120]
cmp dword [edx], eax
je 0x47155f
inc edi
add edx, 4
cmp edi, ecx
jl 0x471551
jmp 0x471565
cmp dword [eax + 0x38], 0
jne 0x47157e
lea ecx, [ebx + 0x234]
call fcn.00471b63
cmp dword [ebx + 0x260], 0
jne 0x47152a
jmp 0x4715fe
mov ecx, dword [ebp - 0x10]
sub ecx, dword [esi + 0x15]
cmp ecx, 0x32c8
jbe 0x4715b2
push eax
add esi, 4
sub esp, 0x14
mov ecx, dword [eax + 0x38]
mov edi, esp
mov dword [ebp - 0x10], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0045e633
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x30]
jmp 0x4715f3
mov edx, dword [eax]
lea ecx, [esi + 4]
push 0x11
push ecx
mov ecx, eax
call dword [edx + 8]
mov ecx, dword [0x493504]
test ecx, ecx
je 0x4715da
mov eax, dword [0x493534]
xor edx, edx
div ecx
add dword [0x493500], eax
jmp 0x4715e5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x493500], eax
push dword [esi + 0x11]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [0x493534], eax
lea ecx, [ebx + 0x234]
call fcn.00471b63
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004680b3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4718cb
Capabilities:
Create thread

Disassembly:
lea eax, [ecx + 0x264]
xor edx, edx
cmp dword [eax], edx
je 0x4718e8
push ecx
push edx
push 0x4718e9
mov dword [eax], edx
call fcn.00474899
add esp, 0xc
ret
Function at 0x4728ed
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x47292c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Could_not_create_a_UDP_socket:
push 0x4938e8
call fcn.0046626f
pop ecx
pop ecx
mov ecx, eax
call fcn.00465ed2
jmp 0x472a51
push ebx
push 0x10
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0044e2f0
mov esi, dword [sym.imp.WS2_32.dll_htonl]
add esp, 0xc
mov word [ebp - 0x14], 2
push 0
call esi
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov ebx, dword [ebp + 0xc]
mov word [ebp - 0x12], ax
test ebx, ebx
je 0x4729db
cmp ebx, 0x100007f
je 0x4729db
push ebx
call esi
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x10], eax
je 0x4729db
push edi
push str.Binding_to_interface
push 0x493730
call fcn.0046626f
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x472997
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
call fcn.00465ec1
pop ecx
push ebx
call esi
push eax
push 0x48ffa0
push edi
call fcn.0046626f
pop ecx
pop ecx
mov ecx, eax
call fcn.00472d31
mov esi, eax
pop edi
test esi, esi
je 0x4729c4
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call fcn.00465eb0
pop ecx
push 0xa
mov ecx, esi
call fcn.0046610c
mov ecx, esi
call fcn.004661d3
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
pop ebx
je 0x472aa6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
sub eax, 0
je 0x472a9a
sub eax, 0x2740
je 0x472a78
dec eax
je 0x472a6b
push esi
call fcn.0044e930
pop ecx
push eax
push 0x490714
push esi
push str.Error
push str.Could_not_bind_UDP_receive_port
push 0x4938e8
call fcn.0046626f
pop ecx
pop ecx
push eax
call fcn.0046626f
pop ecx
pop ecx
mov ecx, eax
call fcn.00465ed2
push eax
call fcn.0046626f
pop ecx
pop ecx
push eax
call fcn.0046626f
pop ecx
pop ecx
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0046610c
mov ecx, esi
call fcn.004661d3
or eax, 0xffffffff
jmp 0x472af3
cmp byte [ebp + 0x10], 0
je 0x472a63
push str.Cannot_assign_requested_address
jmp 0x472a9f
push str._for_receiving_UDP_is_in_use
push dword [ebp + 8]
push str.Port
push 0x4938e8
call fcn.0046626f
pop ecx
pop ecx
mov ecx, eax
call fcn.0046d577
jmp 0x472a49
push str.Could_not_bind_socket
push 0x4938e8
jmp 0x472a4a
cmp byte [ebp + 0x10], 0
je 0x472af0
push dword [ebp - 4]
push str._with_fd
push dword [ebp + 8]
push str.Opened_port
push 0x493730
call fcn.0046626f
pop ecx
pop ecx
mov ecx, eax
call fcn.0046d577
push eax
call fcn.0046626f
pop ecx
pop ecx
mov ecx, eax
call fcn.00465ff9
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0046610c
mov ecx, esi
call fcn.004661d3
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x472af6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push edi
mov edi, dword [esi]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp + 0x10], 0x10
push eax
push 0
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x472b6b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2736
je 0x472b5f
sub ecx, 0x10
je 0x472b58
push eax
push str.Socket_Error
push 0x4938e8
call fcn.0046626f
pop ecx
pop ecx
mov ecx, eax
call fcn.00465ed2
jmp 0x472bbc
push str.Error_connection_reset___host_not_reachable
jmp 0x472b64
push str.Error_fd_not_a_socket
push 0x4938e8
jmp 0x472bb5
test eax, eax
jge 0x472b76
push str.socket_closed__negative_len
jmp 0x472bb0
jne 0x472b7f
push str.socket_closed__zero_len
jmp 0x472bb0
push dword [ebp - 0xe]
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp + 0x18]
push dword [ebp - 0xc]
mov word [ecx], ax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov esi, dword [esi]
lea eax, [esi + 1]
cmp eax, edi
jl 0x472bd2
cmp byte [ebp + 0x1c], 0
je 0x472bce
push str.Received_a_message_that_was_too_large
push 0x493730
call fcn.0046626f
pop ecx
pop ecx
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0046610c
mov ecx, esi
call fcn.004661d3
xor al, al
jmp 0x472bdb
mov eax, dword [ebp + 0xc]
and byte [esi + eax], 0
mov al, 1
pop edi
pop esi
leave
ret
Function at 0x472bdf
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp word [ebp + 0x18], bx
push esi
jne 0x472c01
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x472c45
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0044e2f0
add esp, 0xc
mov word [ebp - 0x10], 2
push dword [ebp + 0x18]
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 0x14]
mov word [ebp - 0xe], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x472cbe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x273f
je 0x472cb7
cmp esi, 0x274d
je 0x472d27
cmp esi, 0x274f
jle 0x472c7a
cmp esi, 0x2751
jle 0x472d27
push str._in_send
push esi
call fcn.0044e930
pop ecx
push eax
push 0x490714
push esi
push str.err
push 0x4938e8
call fcn.0046626f
pop ecx
pop ecx
mov ecx, eax
call fcn.00465ed2
push eax
call fcn.0046626f
pop ecx
pop ecx
push eax
call fcn.0046626f
pop ecx
pop ecx
jmp 0x472d0d
push str.err_EAFNOSUPPORT_in_send
jmp 0x472cc7
cmp eax, ebx
jne 0x472cce
push str.no_data_sent_in_send
push 0x4938e8
jmp 0x472d0e
cmp eax, dword [ebp + 0x10]
je 0x472d2b
cmp byte [ebp + 0x1c], bl
je 0x472d27
push str._bytes_sent
push dword [ebp + 0x10]
push str._out_of
push eax
push str.only
push 0x4938e8
call fcn.0046626f
pop ecx
pop ecx
mov ecx, eax
call fcn.00465ed2
push eax
call fcn.0046626f
pop ecx
pop ecx
mov ecx, eax
call fcn.00465ed2
push eax
call fcn.0046626f
pop ecx
mov esi, eax
pop ecx
push 0xa
mov ecx, esi
call fcn.0046610c
mov ecx, esi
call fcn.004661d3
xor al, al
jmp 0x472d2d
mov al, 1
pop esi
pop ebx
leave
ret
Function at 0x49bf68
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x41b1d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49816b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048c1f7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41b252
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00489d23
mov eax, dword [eax]
push 0x4d7240
push eax
call fcn.0047b694
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048c482
test bl, bl
je 0x41b252
push 0x4d7240
lea ecx, [esp + 0xc]
call fcn.0048c812
push 0x4dadc4
lea ecx, [esp + 0xc]
call fcn.0048c812
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41b28e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048c482
jmp 0x41b359
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41b312
lea edx, [esp + 0x7c]
push 0x4dadc0
push edx
call fcn.0047b694
add esp, 8
test eax, eax
je 0x41b312
lea eax, [esp + 0x7c]
push 0x4dadbc
push eax
call fcn.0047b694
add esp, 8
test eax, eax
je 0x41b312
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41b2a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048c482
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x41bb50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4981eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e380c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41bc88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41bbb6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048c482
xor eax, eax
jmp 0x41bcff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048c5bf
push esi
lea ecx, [esp + 0xc]
call fcn.0048c84e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4dadfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41bcdd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4dadf4
push accept
call fcn.00465f20
test eax, eax
jne 0x41bcdd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4dade0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00465f20
test eax, eax
jne 0x41bcdd
lea eax, [esp + 0x14]
push 0x4dadd8
push eax
call fcn.0047c6d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41bcbc
lea ecx, [esp + 0x14]
push 0x4dadd4
push ecx
call fcn.0047c650
mov esi, eax
add esp, 8
test esi, esi
jne 0x41bcbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41bcbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048c56f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41bbce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048c482
xor eax, eax
jmp 0x41bcff
mov byte [esi], 0
push 0x4dadd0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048c482
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x42c2d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42c33e
cmp si, 0x69
ja 0x42c33e
add esi, 0xffd0
cmp si, 0x11
je 0x42c30e
push 0x11
call edi
test ax, ax
jge 0x42c30e
or esi, 0x2000
cmp si, 0x10
je 0x42c323
push 0x10
call edi
test ax, ax
jge 0x42c323
or esi, 0x4000
cmp si, 0x12
je 0x42c338
push 0x12
call edi
test ax, ax
jge 0x42c338
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42c34b
mov esi, 0xbd
jmp 0x42c2ff
cmp si, 0x6e
jne 0x42c358
mov esi, 0xbe
jmp 0x42c2ff
cmp si, 0x6f
jne 0x42c2f9
mov esi, 0xbf
jmp 0x42c2ff

Function at 0x42dda0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f4138]
xor edx, edx
cmp eax, edx
jne 0x42ddc6
xor eax, eax
mov byte [eax + 0x4f4038], al
inc eax
cmp eax, 0x100
jl 0x42ddae
mov dword [0x4f4138], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4f4038
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42de57
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42de2a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x42ddf8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42ded0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x42df23
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42df0a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret