joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5426a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0xeba1f0e
push eax
call fcn.00544960
lea ecx, [esp]
mov dword [esp], 0xcd09b400
push ecx
call fcn.00544960
lea edx, [esp]
mov dword [esp], 0x4c01b821
push edx
call fcn.00544960
lea eax, [esp]
mov dword [esp], 0x687421cd
push eax
call fcn.00544960
lea ecx, [esp]
mov dword [esp], 0x70207369
push ecx
call fcn.00544960
lea edx, [esp]
mov dword [esp], 0x72676f72
push edx
call fcn.00544960
lea eax, [esp]
mov dword [esp], 0x63206d61
push eax
call fcn.00544960
lea ecx, [esp]
mov dword [esp], 0x6f6e6e61
push ecx
call fcn.00544960
lea edx, [esp]
mov dword [esp], 0x65622074
push edx
call fcn.00544960
lea eax, [esp]
mov dword [esp], 0x6e757220
push eax
call fcn.00544960
lea ecx, [esp]
mov dword [esp], 0x206e6920
push ecx
call fcn.00544960
lea edx, [esp]
mov dword [esp], 0x20534f44
push edx
call fcn.00544960
lea eax, [esp]
mov dword [esp], 0x65646f6d
push eax
call fcn.00544960
lea ecx, [esp]
mov dword [esp], 0x240a0d2e
push ecx
call fcn.00544960
lea edx, [esp]
mov dword [esp], 0
push edx
call fcn.00544960
lea eax, [esp]
mov dword [esp], 0
push eax
call fcn.00544960
pop ecx
ret
Function at 0x40288d
Capabilities:
Create directory
Set current directory

Disassembly:
push 0x10
mov eax, 0x459b92
call fcn.0043d49a
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
call fcn.004147dc
mov dword [ebp - 0x1c], eax
test eax, eax
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x14]
lea eax, [ebp - 0x10]
je 0x4028c6
push 0x26
push eax
call fcn.00414494
pop ecx
pop ecx
mov byte [ebp - 4], 1
jmp 0x4028d4
push 0x1c
push eax
call fcn.00414494
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ebx, 0x4822bc
push eax
mov ecx, ebx
call fcn.00403190
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010ea
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp eax, 4
jle 0x402957
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403172
push 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004032a1
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push str.ZohoMeeting
lea ecx, [ebp - 0x10]
call fcn.004030e8
test eax, eax
jne 0x40293d
push eax
lea ecx, [ebp + 8]
call fcn.004032a1
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00403190
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010ea
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.ZohoMeeting
call fcn.00402eee
push 0x482290
call fcn.00403a87
push 0
push dword [0x4822b8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
push esi
push dword [0x4822b8]
push str.Create_Dir_:_s_Res:_d
call fcn.00407571
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x402a2c
cmp dword [ebp - 0x1c], 1
jne 0x402a39
cmp eax, 0xb7
je 0x402a39
lea eax, [ebp - 0x1c]
push 0x1c
push eax
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x14]
call fcn.00414494
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00403190
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004010ea
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ZohoMeeting
call fcn.00402eee
push 0x482290
call fcn.00403a87
push 0
push dword [0x4822b8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [0x4822b8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test esi, esi
jne 0x402a39
push str.Unable_to_create_directory
call fcn.004074db
jmp 0x402a38
push eax
push str.Unable_to_create_folder_:Error:_d
call fcn.00407571
pop ecx
pop ecx
push dword [0x4822bc]
push str.Path_is_:_s
call fcn.00407571
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010ea
call fcn.0043d572
ret 4
Function at 0x4047e0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x458f3a
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x47d9a0]
xor eax, esp
mov dword [esp + 0x5a0], eax
push esi
mov eax, dword [0x47d9a0]
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 0x4048e3
lea eax, [esp + 0x1a4]
push eax
lea ecx, [esp + 0x14]
call fcn.00402f32
mov dword [esp + 0x5b8], esi
push dword [eax]
push str.Hostname_is__:__s
call fcn.004074db
or dword [esp + 0x5c0], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004010ea
lea eax, [esp + 0x1a4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
je 0x4048d7
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.00402f32
mov dword [esp + 0x5b8], 1
push dword [eax]
push str.IP_address_is:__s
call fcn.004074db
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.004010ea
jmp 0x4048f6
push str.Could_not_get_IP_address_
call fcn.004074db
jmp 0x4048f5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Could_not_get_hostname___d_
call fcn.004074db
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.00436e5a
mov esp, ebp
pop ebp
ret

Function at 0x405126
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x43c]
sub esp, 0x4bc
mov eax, dword [0x47d9a0]
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.00437bc2
lea eax, [ebp - 0x78]
push eax
call fcn.00437637
add esp, 0xc
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x80], eax
jle 0x4051bf
push esi
push edi
lea esi, [ebp + 0x1e0]
lea edi, [ebp + ebx*2 - 0x78]
movzx eax, word [edi]
cmp ax, 0x5c
je 0x405185
cmp ax, 0x2f
jne 0x4051b2
and word [esi], 0
push 0
lea eax, [ebp + 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4051af
lea eax, [ebp + 0x1e0]
push eax
push 0x46646c
call fcn.004381f2
pop ecx
pop ecx
mov ax, word [edi]
mov word [esi], ax
inc esi
inc esi
inc ebx
cmp ebx, dword [ebp - 0x80]
jl 0x405172
pop edi
pop esi
push dword [ebp - 0x7c]
call fcn.0043818b
pop ecx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
pop ebx
call fcn.00436e5a
add ebp, 0x43c
leave
ret 4
Function at 0x40628e
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebx
push esi
mov esi, ecx
test esi, esi
mov ebx, eax
jne 0x40629f
xor eax, eax
jmp 0x4063c8
test ebx, ebx
jge 0x4062c0
push esi
call fcn.00438100
pop ecx
mov ebx, eax
jmp 0x4062be
movzx eax, byte [esi]
push eax
call fcn.0043896e
test eax, eax
pop ecx
je 0x4062c2
inc esi
dec ebx
test ebx, ebx
jg 0x4062ae
push edi
lea edi, [esi + ebx - 1]
jmp 0x4062d9
movzx eax, byte [edi]
push eax
call fcn.0043896e
test eax, eax
pop ecx
je 0x4062dd
dec edi
dec ebx
cmp edi, esi
jae 0x4062c9
mov eax, ebx
and eax, 0x80000003
jns 0x4062eb
dec eax
or eax, 0xfffffffc
inc eax
jne 0x4063cb
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 0x4063cb
test ebx, ebx
mov edi, dword [esp + 0x10]
jle 0x4063c1
or eax, 0xffffffff
mov cl, byte [esi]
sub ebx, 4
cmp cl, 0x80
jae 0x4063c7
movzx ecx, cl
movsx ecx, byte [ecx + 0x465978]
inc esi
cmp ecx, eax
je 0x4063c7
mov dl, byte [esi]
cmp dl, 0x80
jae 0x4063c7
movzx edx, dl
movsx edx, byte [edx + 0x465978]
inc esi
cmp edx, eax
je 0x4063c7
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 0x40636f
cmp byte [esi + 1], cl
je 0x4063c1
cmp cl, 0x80
jae 0x4063cb
movzx eax, cl
movsx ecx, byte [eax + 0x465978]
inc esi
cmp ecx, 0xffffffff
je 0x4063cb
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 0x4063c1
cmp dl, 0x80
jae 0x4063cb
movzx eax, dl
movsx edx, byte [eax + 0x465978]
or eax, 0xffffffff
inc esi
cmp edx, eax
je 0x4063cb
shl cl, 6
or cl, dl
mov byte [edi], cl
inc edi
test ebx, ebx
jg 0x406319
mov eax, edi
sub eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
ret
or eax, 0xffffffff
jmp 0x4063c7
Function at 0x4063d0
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 0x4063e5
xor eax, eax
jmp 0x40649c
push ebx
lea eax, [edi + 2]
cdq
push 3
pop ebx
idiv ebx
lea eax, [eax*4 + 1]
cmp dword [esp + 0x14], eax
jge 0x40646b
or eax, 0xffffffff
jmp 0x40649b
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 0x406471
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 0x406482
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 0x406404
jmp 0x406492
movzx eax, dl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
jmp 0x40648d
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 0x4067ac
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x10
mov eax, 0x458da4
call fcn.0043d49a
lea eax, [ebp - 0x10]
push 0x1c
push eax
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x18]
call fcn.00414494
pop ecx
pop ecx
xor esi, esi
push str.VirtualStoreProgramData_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00403433
push str.ZohoMeeting
lea ecx, [ebp - 0x10]
call fcn.00403433
push str.log_
lea ecx, [ebp - 0x10]
call fcn.00403433
mov eax, dword [0x482394]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.00403682
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jne 0x406828
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010ea
mov eax, esi
call fcn.0043d572
ret
push 0x48238c
lea ecx, [ebp - 0x14]
call fcn.00403172
mov byte [ebp - 4], 1
mov eax, dword [0x482394]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00403682
lea eax, [ebp - 0x18]
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00403172
push ecx
mov dword [ebp - 0x1c], esp
mov ecx, esp
push 0x482394
mov byte [ebp - 4], 2
call fcn.00403172
mov byte [ebp - 4], 1
call fcn.004144fc
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010ea
xor esi, esi
inc esi
jmp 0x406815
Function at 0x407265
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x458d71
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x47d9a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
push 0x462fac
lea ecx, [esp + 0x14]
call fcn.00402eee
xor esi, esi
push edi
mov dword [esp + 0x3c], esi
call fcn.00414c8a
test al, al
pop ecx
je 0x4072d5
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004010ea
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.00437637
cmp eax, esi
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], esi
jle 0x40746a
lea esi, [ebx - 4]
add ebx, 0xfffffff8
push 4
mov dword [esp + 0x1c], ebx
pop ebx
test edi, edi
je 0x40746a
movzx eax, word [edi]
cmp ax, 0x25
je 0x407325
movzx eax, ax
push eax
push 0x466898
lea eax, [esp + 0x18]
push eax
call fcn.00403880
add esp, 0xc
jmp 0x407449
lea eax, [edi + 2]
movzx ecx, word [eax]
sub ecx, 0x63
je 0x407422
dec ecx
je 0x40740a
dec ecx
dec ecx
je 0x4073f0
sub ecx, 6
je 0x4073cd
sub ecx, 7
je 0x40739c
dec ecx
dec ecx
je 0x407384
sub ecx, 3
je 0x40736f
push 0x25
call fcn.00439884
movzx eax, word [edi]
push eax
push 0x466898
jmp 0x40743c
inc dword [esp + 0x14]
add dword [esp + 0x18], ebx
add esi, ebx
push dword [esi]
mov edi, eax
push 0x466d04
jmp 0x407313
inc dword [esp + 0x14]
add dword [esp + 0x18], ebx
add esi, ebx
push dword [esi]
mov edi, eax
push 0x466cf4
jmp 0x407313
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 0x407456
push dword [esp + 0x1c]
push 0x466c9c
jmp 0x407313
inc dword [esp + 0x14]
mov edi, eax
lea eax, [edi + 2]
cmp word [eax], 0x64
jne 0x407456
add dword [esp + 0x18], ebx
add esi, ebx
push dword [esi]
mov edi, eax
push 0x466d0c
jmp 0x407313
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 0x40742e
inc dword [esp + 0x14]
add dword [esp + 0x18], ebx
add esi, ebx
push dword [esi]
mov edi, eax
push 0x4640e4
jmp 0x407313
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 0x466cfc
lea eax, [esp + 0x1c]
push eax
call fcn.00403880
add esp, 0x10
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
call fcn.004031dd
inc edi
inc edi
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x20]
jl 0x4072f9
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
jmp 0x4072b4
Function at 0x409826
Capabilities:
Get session user name

Disassembly:
push ebp
sub esp, 0x190
lea ebp, [esp - 4]
mov eax, dword [0x47d9a0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0xc
mov eax, 0x458d1e
call fcn.0043d49a
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.00439d90
add esp, 0xc
push 0x462fac
mov ecx, edi
call fcn.00402eee
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.00403433
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.00436e5a
add ebp, 0x194
leave
ret

Function at 0x4098c6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x78
mov eax, 0x458cdd
call fcn.0043d503
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.00402eee
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 0x409945
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 0x40993c
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.00402fc0
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0043d586
ret
Function at 0x40a7fd
Capabilities:
Create http request

Disassembly:
push 0x34
mov eax, 0x459605
call fcn.0043d49a
xor esi, esi
push esi
push esi
push esi
push esi
push dword [0x48239c]
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, esi
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa0], eax
jne 0x40a842
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Internet_Open_error_:__d
call fcn.004074db
pop ecx
pop ecx
xor eax, eax
jmp 0x40a9ec
xor edi, edi
push 2
inc edi
cmp dword [ebp + 0xc], 0xffffffff
mov ebx, 0x1f4
pop esi
jne 0x40a8ce
push str.Connection_type_is_proxy
call fcn.004074db
pop ecx
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x10]
call fcn.00405f08
and dword [ebp - 4], 0
push dword [0x4823ac]
mov ecx, 0x4823a8
call fcn.00403027
push eax
lea eax, [ebp - 0x10]
push str._s:_d
push eax
call fcn.00403880
push ebx
call fcn.0041b3e9
add esp, 0x14
push 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.004032a1
push eax
push dword [ebp - 0x14]
call fcn.00437bc2
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.004010ea
cmp dword [ebp + 0xc], edi
jne 0x40a8f3
push 0
mov ecx, 0x4823e4
mov dword [ebp - 0x40], 4
call fcn.004032a1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 4
cmp dword [ebp + 0xc], 3
jne 0x40a96d
push str.Connection_type_is_proxy
call fcn.004074db
pop ecx
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x10]
call fcn.00405f08
mov dword [ebp - 4], edi
push dword [0x4823d8]
mov ecx, 0x4823d0
call fcn.00403027
push eax
lea eax, [ebp - 0x10]
push str._s:_d
push eax
call fcn.00403880
push ebx
call fcn.0041b3e9
add esp, 0x14
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004032a1
push eax
push ebx
call fcn.00437bc2
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.004010ea
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 0x40a990
cmp dword [ebp + 0xc], 3
jne 0x40a9e3
push str.Setting_IE_option
call fcn.004074db
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 0x40a9cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Set_Option_Failed_:__d
call fcn.004074db
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.0043d572
ret 8
Function at 0x40d075
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.Stoping_services
mov byte [edi + 0x32c], 1
call fcn.004074db
mov ecx, esp
mov dword [ebp - 4], esp
push str.Zoho_Assist_Remote_Support
call fcn.00402eee
push 0x86
call fcn.0041537e
push str.Closing_tray_exe
call fcn.004074db
add esp, 0xc
push 0x1f5
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
push str.Zoho_Assist
mov esi, 0x462fac
call fcn.00402eee
call fcn.0041584c
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push edi
push 0x40dba0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
leave
ret

Function at 0x40e741
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x45a908
call fcn.0043d49a
lea eax, [ebp - 0x14]
push eax
call fcn.0041ab3c
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0041ab6c
cmp dword [0x482274], 1
jl 0x40e7a8
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x10]
call fcn.00405f08
lea eax, [ebp - 0x10]
push str.Unattended_Remote_Support_is_allready_configured.
push eax
mov byte [ebp - 4], 1
call fcn.00403880
pop ecx
pop ecx
push esi
push esi
mov esi, dword [ebp - 0x10]
push esi
call fcn.0041d048
push dword [ebp + 8]
call fcn.0040dd6b
lea ecx, [esi - 0x10]
call fcn.004010ea
jmp 0x40e7ba
push esi
push esi
push dword [ebp + 8]
push 0x40dfbf
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010ea
call fcn.0043d572
ret 4

Function at 0x40e7cd
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x45a8dd
call fcn.0043d49a
lea eax, [ebp - 0x10]
push eax
call fcn.0041ab3c
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0041ab6c
cmp dword [0x482274], 1
jl 0x40e809
push esi
push esi
push dword [ebp + 8]
push 0x40dfbf
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x40e81c
push str.failed_to_update_URS:__URS_count_is_less_than_zero.
call fcn.00407571
pop ecx
push dword [ebp + 8]
call fcn.0040dd6b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010ea
call fcn.0043d572
ret 4
Function at 0x412445
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, edx
jne 0x412450
xor eax, eax
pop esi
ret
cmp eax, 8
push ebx
not esi
mov edx, 0xff
jb 0x412502
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 + 0x465500]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x465500]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x465500]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x465500]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x465500]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x465500]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x465500]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x465500]
inc ecx
sub eax, 8
dec edi
jne 0x412467
pop edi
test eax, eax
je 0x41251b
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x465500]
inc ecx
dec eax
jne 0x412506
mov eax, esi
pop ebx
not eax
pop esi
ret

Function at 0x412522
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 + 0x465500]
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 + 0x465500]
pop esi
mov dword [ecx + 8], eax
ret

Function at 0x412c1e
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 0x412c4e
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 0x412c49
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x412c76
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x412c5f
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00439fa0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret