joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402862
Capabilities:
Create directory
Set current directory

Disassembly:
push 0x10
mov eax, 0x45ba64
call fcn.0043f10a
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
call fcn.00414cce
mov dword [ebp - 0x1c], eax
test eax, eax
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x14]
lea eax, [ebp - 0x10]
je 0x40289b
push 0x26
push eax
call fcn.00414963
pop ecx
pop ecx
mov byte [ebp - 4], 1
jmp 0x4028a9
push 0x1c
push eax
call fcn.00414963
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ebx, 0x4852bc
push eax
mov ecx, ebx
call fcn.0040317c
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp eax, 4
jle 0x40292c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040315e
push 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040328d
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push str.ZohoMeeting
lea ecx, [ebp - 0x10]
call fcn.004030af
test eax, eax
jne 0x402912
push eax
lea ecx, [ebp + 8]
call fcn.0040328d
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.0040317c
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.ZohoMeeting
call fcn.00402eb5
push 0x485290
call fcn.00403a88
push 0
push dword [0x4852b8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
push esi
push dword [0x4852b8]
push str.Create_Dir_:_s_Res:_d
call fcn.004075a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x402a01
cmp dword [ebp - 0x1c], 1
jne 0x402a0e
cmp eax, 0xb7
je 0x402a0e
lea eax, [ebp - 0x1c]
push 0x1c
push eax
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x14]
call fcn.00414963
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.0040317c
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401109
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ZohoMeeting
call fcn.00402eb5
push 0x485290
call fcn.00403a88
push 0
push dword [0x4852b8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [0x4852b8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test esi, esi
jne 0x402a0e
push str.Unable_to_create_directory
call fcn.0040750a
jmp 0x402a0d
push eax
push str.Unable_to_create_folder_:Error:_d
call fcn.004075a0
pop ecx
pop ecx
push dword [0x4852bc]
push str.Path_is_:_s
call fcn.004075a0
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401109
call fcn.0043f1e2
ret 4
Function at 0x4048b2
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45accd
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x4809a0]
xor eax, esp
mov dword [esp + 0x5a0], eax
push esi
mov eax, dword [0x4809a0]
xor eax, esp
push eax
lea eax, [esp + 0x5b0]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
push 0x202
xor esi, esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x400
lea eax, [esp + 0x1a8]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, esi
jne 0x4049b5
lea eax, [esp + 0x1a4]
push eax
lea ecx, [esp + 0x14]
call fcn.00402ef9
mov dword [esp + 0x5b8], esi
push dword [eax]
push str.Hostname_is__:__s
call fcn.0040750a
or dword [esp + 0x5c0], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401109
lea eax, [esp + 0x1a4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
je 0x4049a9
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
push esi
lea ecx, [esp + 0x10]
call fcn.00402ef9
mov dword [esp + 0x5b8], 1
push dword [eax]
push str.IP_address_is:__s
call fcn.0040750a
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.00401109
jmp 0x4049c8
push str.Could_not_get_IP_address_
call fcn.0040750a
jmp 0x4049c7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Could_not_get_hostname___d_
call fcn.0040750a
pop ecx
pop ecx
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
mov ecx, dword [esp + 0x5b0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x5a0]
xor ecx, esp
call fcn.0043879b
mov esp, ebp
pop ebp
ret

Function at 0x4051e1
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x43c]
sub esp, 0x4bc
mov eax, dword [0x4809a0]
xor eax, ebp
mov dword [ebp + 0x438], eax
mov eax, dword [ebp + 0x444]
push ebx
push eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push eax
call fcn.00439503
lea eax, [ebp - 0x78]
push eax
call fcn.00438f78
add esp, 0xc
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x80], eax
jle 0x40527a
push esi
push edi
lea esi, [ebp + 0x1e0]
lea edi, [ebp + ebx*2 - 0x78]
movzx eax, word [edi]
cmp ax, 0x5c
je 0x405240
cmp ax, 0x2f
jne 0x40526d
and word [esi], 0
push 0
lea eax, [ebp + 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40526a
lea eax, [ebp + 0x1e0]
push eax
push 0x4684e4
call fcn.00439b32
pop ecx
pop ecx
mov ax, word [edi]
mov word [esi], ax
inc esi
inc esi
inc ebx
cmp ebx, dword [ebp - 0x80]
jl 0x40522d
pop edi
pop esi
push dword [ebp - 0x7c]
call fcn.00439acb
pop ecx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
pop ebx
call fcn.0043879b
add ebp, 0x43c
leave
ret 4
Function at 0x4062c2
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebx
push esi
mov esi, ecx
test esi, esi
mov ebx, eax
jne 0x4062d3
xor eax, eax
jmp 0x4063fc
test ebx, ebx
jge 0x4062f4
push esi
call fcn.00439a40
pop ecx
mov ebx, eax
jmp 0x4062f2
movzx eax, byte [esi]
push eax
call fcn.0043a42e
test eax, eax
pop ecx
je 0x4062f6
inc esi
dec ebx
test ebx, ebx
jg 0x4062e2
push edi
lea edi, [esi + ebx - 1]
jmp 0x40630d
movzx eax, byte [edi]
push eax
call fcn.0043a42e
test eax, eax
pop ecx
je 0x406311
dec edi
dec ebx
cmp edi, esi
jae 0x4062fd
mov eax, ebx
and eax, 0x80000003
jns 0x40631f
dec eax
or eax, 0xfffffffc
inc eax
jne 0x4063ff
mov eax, ebx
cdq
and edx, 3
add eax, edx
sar eax, 2
imul eax, eax, 3
inc eax
cmp eax, dword [esp + 0x14]
jg 0x4063ff
test ebx, ebx
mov edi, dword [esp + 0x10]
jle 0x4063f5
or eax, 0xffffffff
mov cl, byte [esi]
sub ebx, 4
cmp cl, 0x80
jae 0x4063fb
movzx ecx, cl
movsx ecx, byte [ecx + 0x467a80]
inc esi
cmp ecx, eax
je 0x4063fb
mov dl, byte [esi]
cmp dl, 0x80
jae 0x4063fb
movzx edx, dl
movsx edx, byte [edx + 0x467a80]
inc esi
cmp edx, eax
je 0x4063fb
mov eax, edx
sar eax, 4
shl cl, 2
and al, 3
or al, cl
mov byte [edi], al
mov cl, byte [esi]
inc edi
cmp cl, 0x3d
jne 0x4063a3
cmp byte [esi + 1], cl
je 0x4063f5
cmp cl, 0x80
jae 0x4063ff
movzx eax, cl
movsx ecx, byte [eax + 0x467a80]
inc esi
cmp ecx, 0xffffffff
je 0x4063ff
mov eax, ecx
sar eax, 2
shl dl, 4
and al, 0xf
or al, dl
mov byte [edi], al
mov dl, byte [esi]
inc edi
cmp dl, 0x3d
je 0x4063f5
cmp dl, 0x80
jae 0x4063ff
movzx eax, dl
movsx edx, byte [eax + 0x467a80]
or eax, 0xffffffff
inc esi
cmp edx, eax
je 0x4063ff
shl cl, 6
or cl, dl
mov byte [edi], cl
inc edi
test ebx, ebx
jg 0x40634d
mov eax, edi
sub eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
ret
or eax, 0xffffffff
jmp 0x4063fb
Function at 0x406404
Capabilities:
Encode data using base64

Disassembly:
push esi
mov esi, ecx
test esi, esi
mov ecx, dword [esp + 8]
push edi
mov edi, eax
jne 0x406419
xor eax, eax
jmp 0x4064d0
push ebx
lea eax, [edi + 2]
cdq
push 3
pop ebx
idiv ebx
lea eax, [eax*4 + 1]
cmp dword [esp + 0x14], eax
jge 0x40649f
or eax, 0xffffffff
jmp 0x4064cf
mov al, byte [esi]
movzx edx, al
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
and al, 3
dec edi
mov byte [ecx], dl
shl al, 4
inc ecx
test edi, edi
mov dl, al
jle 0x4064a5
mov al, byte [esi]
movzx ebx, al
movzx edx, dl
shr ebx, 4
or ebx, edx
mov dl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
and al, 0xf
dec edi
mov byte [ecx], dl
shl al, 2
inc ecx
test edi, edi
mov dl, al
jle 0x4064b6
mov al, byte [esi]
movzx eax, al
mov ebx, eax
movzx edx, dl
shr ebx, 6
or ebx, edx
mov dl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [ecx], dl
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
dec edi
inc ecx
mov byte [ecx], al
inc ecx
test edi, edi
jg 0x406438
jmp 0x4064c6
movzx eax, dl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
jmp 0x4064c1
movzx eax, dl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, ecx
sub eax, dword [esp + 0x10]
mov byte [ecx], 0
pop ebx
pop edi
pop esi
ret

Function at 0x4067db
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x10
mov eax, 0x45ab17
call fcn.0043f10a
lea eax, [ebp - 0x10]
push 0x1c
push eax
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x18]
call fcn.00414963
pop ecx
pop ecx
xor esi, esi
push str.VirtualStoreProgramData_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0040341f
push str.ZohoMeeting
lea ecx, [ebp - 0x10]
call fcn.0040341f
push str.log_
lea ecx, [ebp - 0x10]
call fcn.0040341f
mov eax, dword [0x485394]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.0040364f
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jne 0x406857
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
mov eax, esi
call fcn.0043f1e2
ret
push 0x48538c
lea ecx, [ebp - 0x14]
call fcn.0040315e
mov byte [ebp - 4], 1
mov eax, dword [0x485394]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.0040364f
lea eax, [ebp - 0x18]
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.0040315e
push ecx
mov dword [ebp - 0x1c], esp
mov ecx, esp
push 0x485394
mov byte [ebp - 4], 2
call fcn.0040315e
mov byte [ebp - 4], 1
call fcn.004149cb
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401109
xor esi, esi
inc esi
jmp 0x406844
Function at 0x407294
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45aae4
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4809a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
push 0x464fb4
lea ecx, [esp + 0x14]
call fcn.00402eb5
xor esi, esi
push edi
mov dword [esp + 0x3c], esi
call fcn.004151e1
test al, al
pop ecx
je 0x407304
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401109
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.00438f78
cmp eax, esi
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], esi
jle 0x407499
lea esi, [ebx - 4]
add ebx, 0xfffffff8
push 4
mov dword [esp + 0x1c], ebx
pop ebx
test edi, edi
je 0x407499
movzx eax, word [edi]
cmp ax, 0x25
je 0x407354
movzx eax, ax
push eax
push 0x468960
lea eax, [esp + 0x18]
push eax
call fcn.0040384d
add esp, 0xc
jmp 0x407478
lea eax, [edi + 2]
movzx ecx, word [eax]
sub ecx, 0x63
je 0x407451
dec ecx
je 0x407439
dec ecx
dec ecx
je 0x40741f
sub ecx, 6
je 0x4073fc
sub ecx, 7
je 0x4073cb
dec ecx
dec ecx
je 0x4073b3
sub ecx, 3
je 0x40739e
push 0x25
call fcn.0043b344
movzx eax, word [edi]
push eax
push 0x468960
jmp 0x40746b
inc dword [esp + 0x14]
add dword [esp + 0x18], ebx
add esi, ebx
push dword [esi]
mov edi, eax
push 0x468dcc
jmp 0x407342
inc dword [esp + 0x14]
add dword [esp + 0x18], ebx
add esi, ebx
push dword [esi]
mov edi, eax
push 0x468dbc
jmp 0x407342
inc dword [esp + 0x14]
add dword [esp + 0x18], ebx
mov edi, eax
add esi, ebx
mov eax, dword [esi]
push 2
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x407485
push dword [esp + 0x1c]
push 0x468d64
jmp 0x407342
inc dword [esp + 0x14]
mov edi, eax
lea eax, [edi + 2]
cmp word [eax], 0x64
jne 0x407485
add dword [esp + 0x18], ebx
add esi, ebx
push dword [esi]
mov edi, eax
push 0x468dd4
jmp 0x407342
add dword [esp + 0x18], 8
inc dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
fld qword [eax]
add esi, 8
fstp qword [esp + 0x24]
jmp 0x40745d
inc dword [esp + 0x14]
add dword [esp + 0x18], ebx
add esi, ebx
push dword [esi]
mov edi, eax
push 0x4660f4
jmp 0x407342
inc dword [esp + 0x14]
add dword [esp + 0x18], ebx
mov edi, eax
add esi, ebx
fld qword [esp + 0x24]
push ecx
push ecx
fstp qword [esp]
push 0x468dc4
lea eax, [esp + 0x1c]
push eax
call fcn.0040384d
add esp, 0x10
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
call fcn.004031c9
inc edi
inc edi
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x20]
jl 0x407328
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
jmp 0x4072e3
Function at 0x409850
Capabilities:
Get session user name

Disassembly:
push ebp
sub esp, 0x190
lea ebp, [esp - 4]
mov eax, dword [0x4809a0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0xc
mov eax, 0x45aa91
call fcn.0043f10a
xor esi, esi
push 0x18e
mov dword [ebp - 4], esi
lea eax, [ebp + 2]
push esi
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0x18], edi
mov word [ebp], si
call fcn.0043b850
add esp, 0xc
push 0x464fb4
mov ecx, edi
call fcn.00402eb5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0xc8
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.0040341f
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.0043879b
add ebp, 0x194
leave
ret

Function at 0x4098f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x78
mov eax, 0x45aa50
call fcn.0043f173
xor esi, esi
mov dword [ebp - 4], esi
push str.IE_Version:
mov ecx, edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], esi
call fcn.00402eb5
xor eax, eax
lea ecx, [ebp - 0x78]
push ecx
inc eax
push eax
push esi
push str.SoftwareMicrosoftInternet_Explorer
mov dword [ebp - 4], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40996f
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push esi
push str.Version
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409966
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.00402f87
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0043f1f6
ret
Function at 0x40a803
Capabilities:
Create http request

Disassembly:
push 0x34
mov eax, 0x45b4dd
call fcn.0043f10a
xor esi, esi
push esi
push esi
push esi
push esi
push dword [0x48539c]
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, esi
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa0], eax
jne 0x40a848
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Internet_Open_error_:__d
call fcn.0040750a
pop ecx
pop ecx
xor eax, eax
jmp 0x40a9f2
xor edi, edi
push 2
inc edi
cmp dword [ebp + 0xc], 0xffffffff
mov ebx, 0x1f4
pop esi
jne 0x40a8d4
push str.Connection_type_is_proxy
call fcn.0040750a
pop ecx
call fcn.0041d45d
push eax
lea ecx, [ebp - 0x10]
call fcn.00403139
and dword [ebp - 4], 0
push dword [0x4853ac]
mov ecx, 0x4853a8
call fcn.00402fee
push eax
lea eax, [ebp - 0x10]
push str._s:_d
push eax
call fcn.0040384d
push ebx
call fcn.0041cd0b
add esp, 0x14
push 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.0040328d
push eax
push dword [ebp - 0x14]
call fcn.00439503
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
call fcn.00401109
cmp dword [ebp + 0xc], edi
jne 0x40a8f9
push 0
mov ecx, 0x4853e4
mov dword [ebp - 0x40], 4
call fcn.0040328d
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 4
cmp dword [ebp + 0xc], 3
jne 0x40a973
push str.Connection_type_is_proxy
call fcn.0040750a
pop ecx
call fcn.0041d45d
push eax
lea ecx, [ebp - 0x10]
call fcn.00403139
mov dword [ebp - 4], edi
push dword [0x4853d8]
mov ecx, 0x4853d0
call fcn.00402fee
push eax
lea eax, [ebp - 0x10]
push str._s:_d
push eax
call fcn.0040384d
push ebx
call fcn.0041cd0b
add esp, 0x14
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040328d
push eax
push ebx
call fcn.00439503
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
call fcn.00401109
xor ebx, ebx
cmp dword [ebp + 0xc], edi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x28], 0x14
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
je 0x40a996
cmp dword [ebp + 0xc], 3
jne 0x40a9e9
push str.Setting_IE_option
call fcn.0040750a
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
pop ecx
push 0x14
lea eax, [ebp - 0x28]
push eax
push 0x4b
push dword [edi + 0xa0]
call esi
test eax, eax
jne 0x40a9d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Set_Option_Failed_:__d
call fcn.0040750a
pop ecx
pop ecx
push ebx
push ebx
push 0x27
push dword [edi + 0xa0]
call esi
push ebx
push ebx
push 0x25
push dword [edi + 0xa0]
call esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xa0]
call fcn.0043f1e2
ret 8
Function at 0x40d29f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.Stoping_services
mov byte [edi + 0x32c], 1
call fcn.0040750a
mov ecx, esp
mov dword [ebp - 4], esp
push str.Zoho_Assist_Remote_Support
call fcn.00402eb5
push 0x86
call fcn.00415941
push str.Closing_tray_exe
call fcn.0040750a
add esp, 0xc
push 0x1f5
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
push str.Zoho_Assist
mov esi, 0x464fb4
call fcn.00402eb5
call fcn.00415e0c
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push edi
push 0x40df6c
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
leave
ret

Function at 0x40eb0d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45c97e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4809a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.0041b1bc
xor esi, esi
mov dword [esp + 0x38], esi
call fcn.0041b1ec
lea eax, [esp + 0x10]
push eax
call fcn.00416581
mov byte [esp + 0x38], 1
cmp dword [0x485274], 1
jl 0x40eb91
push ecx
mov eax, esp
mov dword [esp + 0x10], esp
push eax
call fcn.0041bac3
call fcn.004049f2
cmp eax, 2
jne 0x40eb91
push ecx
mov eax, esp
mov dword [esp + 0x10], esp
push eax
call fcn.0041bac3
lea ecx, [esp + 0x14]
call fcn.004164b2
push esi
push esi
push dword [ebp + 8]
push 0x40e38b
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea esi, [esp + 0x10]
call fcn.00405c4f
mov ecx, dword [esp + 8]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40ebcb
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x45c953
call fcn.0043f10a
lea eax, [ebp - 0x10]
push eax
call fcn.0041b1bc
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0041b1ec
cmp dword [0x485274], 1
jl 0x40ec07
push esi
push esi
push dword [ebp + 8]
push 0x40e38b
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x40ec1a
push str.failed_to_update_URS:__URS_count_is_less_than_zero.
call fcn.004075a0
pop ecx
push dword [ebp + 8]
call fcn.0040e137
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
call fcn.0043f1e2
ret 4
Function at 0x412914
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, edx
jne 0x41291f
xor eax, eax
pop esi
ret
cmp eax, 8
push ebx
not esi
mov edx, 0xff
jb 0x4129d1
push edi
mov edi, eax
shr edi, 3
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x467608]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x467608]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x467608]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x467608]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x467608]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x467608]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x467608]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x467608]
inc ecx
sub eax, 8
dec edi
jne 0x412936
pop edi
test eax, eax
je 0x4129ea
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x467608]
inc ecx
dec eax
jne 0x4129d5
mov eax, esi
pop ebx
not eax
pop esi
ret

Function at 0x4129f1
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x467608]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x467608]
pop esi
mov dword [ecx + 8], eax
ret

Function at 0x4130ed
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x41311d
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x413118
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x413145
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x41312e
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0043ba60
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret