joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ce44
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
mov esi, ecx
push edi
push 0x4c6a94
push dword [esi + 0x34]
call fcn.0042e5eb
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x47ce70
mov dword [esi + 0x18], 0x1f
jmp 0x47ceea
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 8]
call dword [0x49c7bc]
test eax, eax
je 0x47cee3
cmp dword [ebp - 4], 0
je 0x47cebb
push edi
push ebx
push dword [ebp - 4]
lea eax, [ebp - 0x404]
push eax
call fcn.0042dbb3
mov eax, dword [ebp - 4]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x47ce76
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x47cecc
mov dword [esi + 0x18], 0x21
jmp 0x47ceea
and dword [esi + 0x18], 0
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x47cf06
push eax
call dword [0x49c2d4]
jmp 0x47cf06
mov dword [esi + 0x18], 0x20
call dword [0x49c334]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x47cf04
push eax
call dword [0x49c2d4]
xor bl, bl
test edi, edi
je 0x47cf11
push edi
call fcn.0042e678
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x47d208
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0xd0], 0
je 0x47d244
cmp byte [ebp + 8], 0
je 0x47d244
sub esp, 0x10
lea ecx, [esi + 0xd4]
call fcn.0047c118
push esi
push 0
push 0x47d2d8
call fcn.0042d1cc
add esp, 0xc
cmp dword [esi + 0x18], 0
sete al
jmp 0x47d24c
push dword [ebp + 8]
call fcn.0047c364
pop esi
pop ebp
ret 4

Function at 0x49a39a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, esi
call fcn.00492cae
call fcn.0049781e
test byte [0x4d18c0], 1
jne 0x49a3b0
jmp 0x49a391
movzx ecx, word [ebp + 0x14]
movzx eax, word [ebp + 0x10]
shl ecx, 0x10
loope 0x49a3ac
adc cl, al
loope 0x49a3ac
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 0x112
add byte [eax], al
or bh, bh
adc eax, 0x8bc9c578
js 0x49a373
leave
mov ebx, dword [esi - 0xa]
xor edx, dword [eax]
push edi
mov dword [ebp - 0x20], esi
pop esi
div byte [ebx]
adc byte [edi - 0x77], dl
jne 0x49a398
push ecx
push ecx
push ebx
push esi
movzx esi, word [ecx]
push edi
mov edi, edx
test si, si
je 0x49a4f3
mov ebx, 0x57088b95
mov dword [ebp - 4], 0x8760e810
stc
inc ebp
clc
psubsb mm4, qword [eax - 0x79]
cmp si, 0x70
jne 0x49a3ed
movzx eax, word [ecx + 2]
jmp 0x87aa8ce4
cmp si, 0x7c
jne 0x49a405
inc esi
jge 0x49a3fe
add byte [edi], cl
invalid
rol dword [ecx + ebp*8], 0xe2
add byte [ebp + 0x85b8ff], al
push edi
mov dword [esi + 0x3b], esp
invalid
mov eax, 0x89570085
cmp si, ax
je 0xa134efd1
test eax, eax
add eax, 0xff03b66
test byte [edx - 0x475f14b5], dh
xchg byte [eax], al
push edi
mov dword [esi + 0x3b], esp
invalid
dec ecx
rcr byte [edi + 0x5e], 0x5b
leave
ret
Function at 0x402862
Capabilities:
Create directory
Set current directory

Disassembly:
push 0x10
mov eax, 0x45ba54
call fcn.0043f0fa
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
call fcn.00414cb8
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.0041494d
pop ecx
pop ecx
mov byte [ebp - 4], 1
jmp 0x4028a9
push 0x1c
push eax
call fcn.0041494d
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.0041494d
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.0043f1d2
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 0x45acbd
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.00438785
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.004394ed
lea eax, [ebp - 0x78]
push eax
call fcn.00438f62
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.00439b22
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.00439abb
pop ecx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
pop ebx
call fcn.00438785
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.00439a30
pop ecx
mov ebx, eax
jmp 0x4062f2
movzx eax, byte [esi]
push eax
call fcn.0043a41e
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.0043a41e
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, 0x45ab07
call fcn.0043f0fa
lea eax, [ebp - 0x10]
push 0x1c
push eax
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x18]
call fcn.0041494d
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.0043f1d2
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.004149b5
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 0x45aad4
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.004151cb
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.00438f62
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.0043b334
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, 0x45aa81
call fcn.0043f0fa
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.0043b840
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.00438785
add ebp, 0x194
leave
ret

Function at 0x4098f0
Capabilities:
Query or enumerate registry value

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

Disassembly:
push 0x34
mov eax, 0x45b4cd
call fcn.0043f0fa
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.0041d447
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.0041ccf5
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.004394ed
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.0041d447
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.0041ccf5
add esp, 0x14
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040328d
push eax
push ebx
call fcn.004394ed
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.0043f1d2
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.0041592b
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.00415df6
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push edi
push 0x40df56
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
leave
ret

Function at 0x40eaf7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45c96e
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.0041b1a6
xor esi, esi
mov dword [esp + 0x38], esi
call fcn.0041b1d6
lea eax, [esp + 0x10]
push eax
call fcn.0041656b
mov byte [esp + 0x38], 1
cmp dword [0x485274], 1
jl 0x40eb7b
push ecx
mov eax, esp
mov dword [esp + 0x10], esp
push eax
call fcn.0041baad
call fcn.004049f2
cmp eax, 2
jne 0x40eb7b
push ecx
mov eax, esp
mov dword [esp + 0x10], esp
push eax
call fcn.0041baad
lea ecx, [esp + 0x14]
call fcn.0041649c
push esi
push esi
push dword [ebp + 8]
push 0x40e375
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 0x40ebb5
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x45c943
call fcn.0043f0fa
lea eax, [ebp - 0x10]
push eax
call fcn.0041b1a6
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0041b1d6
cmp dword [0x485274], 1
jl 0x40ebf1
push esi
push esi
push dword [ebp + 8]
push 0x40e375
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x40ec04
push str.failed_to_update_URS:__URS_count_is_less_than_zero.
call fcn.004075a0
pop ecx
push dword [ebp + 8]
call fcn.0040e121
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
call fcn.0043f1d2
ret 4