joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x43c065
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x43c07d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x43c0ac
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x43c0ee
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x43c1c2
sub edx, 0x10000
js 0x43c1c2
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x43c0d4
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x43c0d4
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x43c145
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x43c142
add edx, 8
jne 0x43c129
jmp 0x43c1b3
add edx, 4
test eax, 0xffff
jne 0x43c152
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x43c1b3
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x43c186
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x43c0d4
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x43c1c2
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x43c0d4
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x43c1d3
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402862
Capabilities:
Create directory
Set current directory

Disassembly:
push 0x10
mov eax, 0x45b9c4
call fcn.0043f06a
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
call fcn.00414caf
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.00414944
pop ecx
pop ecx
mov byte [ebp - 4], 1
jmp 0x4028a9
push 0x1c
push eax
call fcn.00414944
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.00414944
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.0043f142
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 0x45ac2d
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.004386f5
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.0043945d
lea eax, [ebp - 0x78]
push eax
call fcn.00438ed2
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.00439a92
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.00439a2b
pop ecx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
pop ebx
call fcn.004386f5
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.004399a0
pop ecx
mov ebx, eax
jmp 0x4062f2
movzx eax, byte [esi]
push eax
call fcn.0043a38e
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.0043a38e
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, 0x45aa77
call fcn.0043f06a
lea eax, [ebp - 0x10]
push 0x1c
push eax
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x18]
call fcn.00414944
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.0043f142
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.004149ac
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 0x45aa44
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.004151c2
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.00438ed2
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.0043b2a4
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, 0x45a9f1
call fcn.0043f06a
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.0043b7b0
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.004386f5
add ebp, 0x194
leave
ret

Function at 0x4098f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x78
mov eax, 0x45a9b0
call fcn.0043f0d3
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.0043f156
ret
Function at 0x40a803
Capabilities:
Create http request

Disassembly:
push 0x34
mov eax, 0x45b43d
call fcn.0043f06a
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.0041d3b7
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.0041cc65
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.0043945d
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.0041d3b7
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.0041cc65
add esp, 0x14
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040328d
push eax
push ebx
call fcn.0043945d
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.0043f142
ret 8
Function at 0x40d2c1
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.00415922
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.00415de0
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push edi
push 0x40df6f
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
leave
ret

Function at 0x40eb10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45c8d6
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.0041b190
xor esi, esi
mov dword [esp + 0x38], esi
call fcn.0041b1c0
lea eax, [esp + 0x10]
push eax
call fcn.00416555
mov byte [esp + 0x38], 1
cmp dword [0x485274], 1
jl 0x40eb94
push ecx
mov eax, esp
mov dword [esp + 0x10], esp
push eax
call fcn.0041ba97
call fcn.004049f2
cmp eax, 2
jne 0x40eb94
push ecx
mov eax, esp
mov dword [esp + 0x10], esp
push eax
call fcn.0041ba97
lea ecx, [esp + 0x14]
call fcn.00416486
push esi
push esi
push dword [ebp + 8]
push 0x40e38e
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 0x40ebce
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x45c8ab
call fcn.0043f06a
lea eax, [ebp - 0x10]
push eax
call fcn.0041b190
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0041b1c0
cmp dword [0x485274], 1
jl 0x40ec0a
push esi
push esi
push dword [ebp + 8]
push 0x40e38e
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x40ec1d
push str.failed_to_update_URS:__URS_count_is_less_than_zero.
call fcn.004075a0
pop ecx
push dword [ebp + 8]
call fcn.0040e13a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
call fcn.0043f142
ret 4