joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14e8bf0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0xa8]
test ecx, ecx
jne 0x14e8c0e
xor al, al
jmp 0x14e8cd4
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0xa0]
test eax, eax
je 0x14e8c23
xor al, al
jmp 0x14e8cd4
call fcn.014e87b0
push 8
call fcn.014c8a50
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x9c], 0
je 0x14e8c66
mov dword [ebp - 4], 4
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0x14e8dd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xa4], 0
je 0x14e8cce
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa0], 1
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x9c], 0
je 0x14e8ccc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x9c]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.014e8b30
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x14e8cd2
xor al, al
jmp 0x14e8cd4
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x14eaf10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0x14eaf29
mov eax, 3
jmp 0x14eaf94
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0152458f
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x14eaf81
cmp dword [ebp + 0xc], 0
jbe 0x14eaf81
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
push eax
call fcn.015242f5
add esp, 4
test eax, eax
je 0x14eaf6b
mov eax, 3
jmp 0x14eaf94
cmp dword [ebp + 0x14], 0
je 0x14eaf7d
call fcn.014caedc
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [ecx], edx
xor eax, eax
jmp 0x14eaf94
cmp dword [ebp + 0x10], 0
je 0x14eaf8f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x14eafa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0x14eafb9
mov eax, 3
jmp 0x14eb00a
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.015239cb
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x14eaff7
cmp dword [ebp + 0xc], 0
jbe 0x14eaff7
cmp dword [ebp + 0x14], 0
je 0x14eaff3
call fcn.014caedc
mov edx, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [edx], eax
xor eax, eax
jmp 0x14eb00a
cmp dword [ebp + 0x10], 0
je 0x14eb005
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x14f5060
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 1], 1
mov ecx, dword [ebp + 8]
call fcn.01387a10
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movzx eax, byte [ebp - 1]
test eax, eax
je 0x14f50bf
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x14f50bf
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0139a780
push eax
mov ecx, dword [ebp + 8]
call fcn.01387a10
push eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
movzx eax, byte [ebp - 1]
test eax, eax
je 0x14f50e2
mov ecx, dword [ebp + 8]
push ecx
push 0x15bd328
call fcn.01389f20
add esp, 8
mov ecx, 0x15bd328
call fcn.01384960
mov esp, ebp
pop ebp
ret
Function at 0x1503d60
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x15a16ec]
xor eax, ebp
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x10], 0
jne 0x1503d7e
or eax, 0xffffffff
jmp 0x1503e49
mov ecx, dword [ebp + 0x10]
call fcn.01504330
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x28], 0x400
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0
mov ecx, dword [ebp + 8]
call fcn.01387a10
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1503de0
mov eax, dword [ebp - 8]
jmp 0x1503e49
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
jmp 0x1503df1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1503e3d
cmp dword [ebp + 0xc], 0
je 0x1503e08
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 0xc]
jne 0x1503e3b
lea ecx, [ebp - 0x44]
call fcn.014f3b90
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.01503310
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1503e33
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.01504230
lea ecx, [ebp - 0x44]
call fcn.01504500
jmp 0x1503de8
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
xor eax, eax
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.014c8a41
mov esp, ebp
pop ebp
ret

Function at 0x1504b20
Capabilities:
Hash data with md5

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

Function at 0x1508540
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
pop ebp
ret
Function at 0x15096e0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x2c]
call eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x70], eax
xor edx, edx
cmp dword [ebp + 0xc], 2
sete dl
mov eax, dword [ebp - 4]
mov byte [eax + 0x75], dl
mov ecx, dword [ebp - 4]
call fcn.0150a6b0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x75]
test edx, edx
je 0x1509733
mov eax, dword [ebp - 4]
mov byte [eax + 0x74], 3
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ecx + 0x70], 0xffffffff
setne al
mov esp, ebp
pop ebp
ret 8

Function at 0x1509750
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x15a16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x194], ecx
xor eax, eax
mov word [ebp - 0x148], ax
push 0x7e
push 0
lea ecx, [ebp - 0x146]
push ecx
call fcn.014ce420
add esp, 0xc
mov dword [ebp - 0x14c], 0x80
lea edx, [ebp - 0x148]
mov dword [ebp - 0x190], edx
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x190]
push ecx
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x18c]
call fcn.014f2a30
cmp dword [ebp - 0x150], 0
jl 0x15097eb
lea ecx, [ebp - 0x18c]
push ecx
lea edx, [ebp - 0x148]
push edx
call fcn.014f39f0
add esp, 8
jmp 0x1509839
xor eax, eax
je 0x1509839
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + 0x70]
push edx
push str.GetLocalAddress:_unable_to_get_local_addr__socket
push 0
push 0
push 0
push 3
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.014f4170
mov ecx, eax
call fcn.014ef550
push eax
call fcn.013816a0
add esp, 8
mov ecx, eax
call fcn.01386860
lea ecx, [ebp - 0xc8]
call fcn.014f4580
jmp 0x15097eb
lea eax, [ebp - 0x18c]
push eax
mov ecx, dword [ebp + 8]
call fcn.014f2b50
lea ecx, [ebp - 0x18c]
call fcn.014f05c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.014c8a41
mov esp, ebp
pop ebp
ret 4
Function at 0x1509bb0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x15a16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x70], 0xffffffff
jne 0x1509c02
push 1
mov ecx, dword [ebp + 8]
call fcn.015002a0
push eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x98]
mov eax, dword [edx + 0x48]
call eax
movzx ecx, al
test ecx, ecx
jne 0x1509c02
or eax, 0xffffffff
jmp 0x1509cc5
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp + 8]
call fcn.014f37c0
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x98]
call fcn.0150a6b0
cmp dword [ebp - 0x90], 0
jne 0x1509c6a
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x7c], 2
jmp 0x1509cad
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.015002f0
add esp, 4
movzx edx, al
test edx, edx
je 0x1509ca8
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x7c], 1
mov ecx, dword [ebp - 0x98]
movzx edx, byte [ecx + 0x74]
or edx, 4
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x74], dl
jmp 0x1509cad
or eax, 0xffffffff
jmp 0x1509cc5
mov ecx, dword [ebp - 0x98]
movzx edx, byte [ecx + 0x74]
or edx, 3
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x74], dl
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.014c8a41
mov esp, ebp
pop ebp
ret 4

Function at 0x1509da0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0150a6d0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1509dc7
or eax, 0xffffffff
jmp 0x1509de2
push 4
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
call fcn.0150a6b0
cmp dword [ebp - 4], 0
jge 0x1509e47
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x78]
push edx
call fcn.015002f0
add esp, 4
movzx eax, al
test eax, eax
je 0x1509e47
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x74]
or edx, 2
mov eax, dword [ebp - 8]
mov byte [eax + 0x74], dl
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x1509e50
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x15a16ec]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x94], ecx
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.014f37c0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x90]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x94]
call fcn.0150a6b0
cmp dword [ebp - 4], 0
jge 0x1509ee3
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0x78]
push edx
call fcn.015002f0
add esp, 4
movzx eax, al
test eax, eax
je 0x1509ee3
mov ecx, dword [ebp - 0x94]
movzx edx, byte [ecx + 0x74]
or edx, 2
mov eax, dword [ebp - 0x94]
mov byte [eax + 0x74], dl
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.014c8a41
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1509f00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x15a16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x194], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jne 0x1509fb0
cmp dword [ebp + 0xc], 0
je 0x1509fb0
xor ecx, ecx
je 0x1509f85
push str.EOF_from_socket__deferring_close_event
push 0
push 0
push 0
push 3
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.014f4170
mov ecx, eax
call fcn.014ef550
push eax
call fcn.013816a0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.014f4580
jmp 0x1509f48
mov edx, dword [ebp - 0x194]
movzx eax, byte [edx + 0x74]
or eax, 1
mov ecx, dword [ebp - 0x194]
mov byte [ecx + 0x74], al
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x78], 0x2733
or eax, 0xffffffff
jmp 0x150a0a9
mov ecx, dword [ebp - 0x194]
call fcn.0150a6b0
cmp dword [ebp - 0x18c], 0
jge 0x1509fe9
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.015002f0
add esp, 4
movzx edx, al
test edx, edx
jne 0x1509fe9
mov dword [ebp - 0x198], 0
jmp 0x1509ff3
mov dword [ebp - 0x198], 1
mov al, byte [ebp - 0x198]
mov byte [ebp - 0x18d], al
mov ecx, dword [ebp - 0x194]
movzx edx, byte [ecx + 0x75]
test edx, edx
jne 0x150a018
movzx eax, byte [ebp - 0x18d]
test eax, eax
je 0x150a02e
mov ecx, dword [ebp - 0x194]
movzx edx, byte [ecx + 0x74]
or edx, 1
mov eax, dword [ebp - 0x194]
mov byte [eax + 0x74], dl
movzx ecx, byte [ebp - 0x18d]
test ecx, ecx
jne 0x150a0a3
xor edx, edx
je 0x150a0a3
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x78]
push ecx
push str.Error_
push 0x1563024
push str.talk_base::PhysicalSocket::Recv
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x188]
call fcn.014f4170
mov ecx, eax
call fcn.014ef550
push eax
call fcn.013816a0
add esp, 8
push eax
call fcn.013816a0
add esp, 8
push eax
call fcn.013816a0
add esp, 8
mov ecx, eax
call fcn.013866a0
lea ecx, [ebp - 0x188]
call fcn.014f4580
jmp 0x150a039
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.014c8a41
mov esp, ebp
pop ebp
ret 8
Function at 0x150a0c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x15a16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0xcc], 0x80
lea eax, [ebp - 0x150]
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x160]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x160]
call fcn.0150a6b0
cmp dword [ebp - 0x154], 0
jl 0x150a14a
cmp dword [ebp + 0x10], 0
je 0x150a14a
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x150]
push edx
call fcn.014f39f0
add esp, 8
cmp dword [ebp - 0x154], 0
jge 0x150a178
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.015002f0
add esp, 4
movzx edx, al
test edx, edx
jne 0x150a178
mov dword [ebp - 0x164], 0
jmp 0x150a182
mov dword [ebp - 0x164], 1
mov al, byte [ebp - 0x164]
mov byte [ebp - 0x155], al
mov ecx, dword [ebp - 0x160]
movzx edx, byte [ecx + 0x75]
test edx, edx
jne 0x150a1a7
movzx eax, byte [ebp - 0x155]
test eax, eax
je 0x150a1bd
mov ecx, dword [ebp - 0x160]
movzx edx, byte [ecx + 0x74]
or edx, 1
mov eax, dword [ebp - 0x160]
mov byte [eax + 0x74], dl
movzx ecx, byte [ebp - 0x155]
test ecx, ecx
jne 0x150a232
xor edx, edx
je 0x150a232
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 0x78]
push ecx
push str.Error_
push 0x1563024
push str.talk_base::PhysicalSocket::RecvFrom
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.014f4170
mov ecx, eax
call fcn.014ef550
push eax
call fcn.013816a0
add esp, 8
push eax
call fcn.013816a0
add esp, 8
push eax
call fcn.013816a0
add esp, 8
mov ecx, eax
call fcn.013866a0
lea ecx, [ebp - 0xc8]
call fcn.014f4580
jmp 0x150a1c8
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.014c8a41
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x8c]
test ecx, ecx
jne 0x150ac7b
xor al, al
jmp 0x150ace2
push 2
push 1
lea edx, [ebp - 1]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x74]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x150ac98
xor al, al
jmp 0x150ace2
mov edx, dword [ebp - 8]
mov dword [edx + 0x80], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x8c], 0
cmp dword [ebp - 8], 0
je 0x150acc0
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 0xc], ecx
jmp 0x150acc7
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x90]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x44
call fcn.01517950
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x151b090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x15a16ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x328]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x151b100
xor ecx, ecx
je 0x151b0f9
push str.SHGetFolderPath_failed
push 0
push 0
push 0
push 4
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.014f4170
mov ecx, eax
call fcn.014ef550
push eax
call fcn.013816a0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.014f4580
jmp 0x151b0bc
xor al, al
jmp 0x151b190
lea edx, [ebp - 0x328]
push edx
call fcn.014d9fc9
add esp, 4
push eax
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.0151a3b0
add esp, 0xc
push eax
mov ecx, dword [ebp + 8]
call fcn.01518f80
lea ecx, [ebp - 0xe4]
call fcn.01440ca0
push str.Mozilla
lea ecx, [ebp - 0x100]
call fcn.01386550
lea edx, [ebp - 0x100]
push edx
mov ecx, dword [ebp + 8]
call fcn.01518fe0
lea ecx, [ebp - 0x100]
call fcn.01440ca0
push str.Firefox
lea ecx, [ebp - 0x11c]
call fcn.01386550
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 8]
call fcn.01518fe0
lea ecx, [ebp - 0x11c]
call fcn.01440ca0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.014c8a41
mov esp, ebp
pop ebp
ret
Function at 0x151bd30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.http_shellopencommand
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x151bd61
xor al, al
jmp 0x151be71
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0x154de40
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 1
je 0x151bd95
mov dword [ebp - 0x18], 5
jmp 0x151bde9
cmp dword [ebp - 0x18], 0
jne 0x151bde9
mov eax, dword [ebp - 0x14]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.014c7a7c
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0x154de44
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0x18], 0
jne 0x151be5c
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov word [eax + edx*2], cx
mov dword [ebp - 0x20], 0
jmp 0x151be1b
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x14]
jae 0x151be42
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + eax*2]
push edx
call fcn.0151cba0
add esp, 4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov word [edx + ecx*2], ax
jmp 0x151be12
push str.firefox.exe
mov eax, dword [ebp - 4]
push eax
call fcn.0151cb80
add esp, 8
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.014c9081
add esp, 4
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x1520ff0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x15a16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], ecx
xor eax, eax
je 0x1521064
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.01518bb0
push eax
push str.Deleting_file
push 0
push 0
push 0
push 2
push 0
push 0
lea ecx, [ebp - 0xe0]
call fcn.014f4170
mov ecx, eax
call fcn.014ef550
push eax
call fcn.013816a0
add esp, 8
push eax
call fcn.01389f20
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.014f4580
lea ecx, [ebp - 0x20]
call fcn.01440ca0
jmp 0x1521009
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x120]
mov eax, dword [edx + 0x34]
call eax
movzx ecx, al
test ecx, ecx
jne 0x1521086
xor al, al
jmp 0x15210db
lea edx, [ebp - 0xfc]
push edx
mov ecx, dword [ebp + 8]
call fcn.01518bb0
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.014ed370
add esp, 8
mov ecx, eax
call fcn.01384c40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x119], al
lea ecx, [ebp - 0x118]
call fcn.01384e90
lea ecx, [ebp - 0xfc]
call fcn.01440ca0
mov al, byte [ebp - 0x119]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.014c8a41
mov esp, ebp
pop ebp
ret 4

Function at 0x15210f0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x15a16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x158], ecx
xor eax, eax
je 0x1521164
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.01518bb0
push eax
push str.Deleting_folder
push 0
push 0
push 0
push 2
push 0
push 0
lea ecx, [ebp - 0xe0]
call fcn.014f4170
mov ecx, eax
call fcn.014ef550
push eax
call fcn.013816a0
add esp, 8
push eax
call fcn.01389f20
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.014f4580
lea ecx, [ebp - 0x20]
call fcn.01440ca0
jmp 0x1521109
lea edx, [ebp - 0xfc]
push edx
mov ecx, dword [ebp + 8]
call fcn.01518bb0
mov ecx, eax
call fcn.0139a780
sub eax, 1
push eax
push 0
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
call fcn.01518bb0
push eax
lea ecx, [ebp - 0x150]
call fcn.01414dd0
lea ecx, [ebp - 0x118]
call fcn.01440ca0
lea ecx, [ebp - 0xfc]
call fcn.01440ca0
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.014ed370
add esp, 8
mov ecx, eax
call fcn.01384c40
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x151], al
lea ecx, [ebp - 0x134]
call fcn.01384e90
lea ecx, [ebp - 0x150]
call fcn.01440ca0
mov al, byte [ebp - 0x151]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.014c8a41
mov esp, ebp
pop ebp
ret 4