joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465388
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46552d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.0040330c
cmp word [ebx + 0xa2], 0
je 0x4653d1
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x4653e5
lea esi, [ebp - 0xc]
jmp 0x4653e7
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x4653f4
xor edi, edi
jmp 0x465401
mov eax, dword [ebx + 0x80]
call fcn.00404fe8
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404fe8
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00464a38
mov eax, dword [ebp - 0x14]
call fcn.00404fe8
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404fe8
push eax
mov eax, dword [ebp - 4]
call fcn.00404fe8
push eax
mov eax, ebx
call fcn.00464b78
push eax
mov eax, ebx
call fcn.00464b4c
push eax
mov eax, ebx
call fcn.00464b04
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004648f0
mov eax, dword [ebp - 0x18]
call fcn.00404fe8
push eax
mov eax, dword [ebx + 8]
call fcn.00404fe8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0x10], 0
jne 0x46548a
call fcn.0040e5d8
xor edx, edx
push ebp
push 0x465503
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4654c8
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x4654be
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4654ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46550a
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x46553c
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x465568
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404fe8
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46558d
call fcn.0040e5d8
xor eax, eax
push ebp
push 0x4655c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x4655ad
call fcn.0040e5d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4655cb
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x465ed8
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
test dl, dl
je 0x465ef1
add esp, 0xfffffff0
call fcn.00403f9c
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x465faf
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00403c48
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 8], 0xffffffff
mov byte [ebx + 0xc], 0
cmp dword [ebx + 4], 0xffffffff
jne 0x465f33
push ebx
push 0x466140
call fcn.004216cc
mov dword [ebx + 4], eax
mov byte [ebx + 0xc], 0
push 0
push 2
push 2
call sub.ws2_32.dll_socket
mov esi, eax
mov dword [ebx + 8], esi
cmp esi, 0xffffffff
jne 0x465f62
mov ecx, 0x465fe0
mov dl, 1
mov eax, dword [0x407fd4]
call fcn.0040cd0c
call fcn.004044ec
push 1
push 0x1a5a
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.ws2_32.dll_WSAAsyncSelect
test eax, eax
je 0x465f99
cmp word [ebx + 0x1a], 0
je 0x465f99
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 8]
call fcn.0040c4ec
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465fb6
lea eax, [ebp - 8]
call fcn.00404b58
ret

Function at 0x466024
Capabilities:
Print debug messages
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9a0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x660], edx
mov dword [ebp - 0x65c], edx
mov dword [ebp - 0x658], edx
mov esi, eax
xor eax, eax
push ebp
push 0x466133
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x640
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x654]
push eax
push 0
push ebx
lea eax, [ebp - 0x644]
push eax
mov eax, dword [esi + 8]
push eax
call sub.ws2_32.dll_recvfrom
mov ebx, eax
test ebx, ebx
jl 0x4660cb
cmp word [esi + 0x12], 0
je 0x466115
push dword [ebp - 0x650]
call sub.ws2_32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x658]
call fcn.00404d50
mov eax, dword [ebp - 0x658]
push eax
movzx eax, word [ebp - 0x652]
push eax
call sub.ws2_32.dll_ntohs
push eax
lea edx, [ebp - 0x644]
mov ecx, ebx
mov eax, dword [esi + 0x14]
call dword [esi + 0x10]
jmp 0x466115
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x65c]
call fcn.00409380
mov eax, dword [ebp - 0x65c]
call fcn.00404fe8
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp word [esi + 0x1a], 0
je 0x466115
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x660]
call fcn.0040c4ec
mov ecx, dword [ebp - 0x660]
mov edx, esi
mov eax, dword [esi + 0x1c]
call dword [esi + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46613a
lea eax, [ebp - 0x660]
mov edx, 3
call fcn.00404b7c
ret
Function at 0x4661b4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
call fcn.00404fd8
xor eax, eax
push ebp
push 0x466227
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x10], 2
movzx eax, word [ebp + 8]
push eax
call sub.ws2_32.dll_htons
mov word [ebp - 0xe], ax
mov eax, dword [ebp + 0xc]
call fcn.00404fe8
push eax
call sub.ws2_32.dll_inet_addr
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push esi
mov eax, dword [ebx + 8]
push eax
call sub.ws2_32.dll_sendto
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46622e
lea eax, [ebp + 0xc]
call fcn.00404b58
ret

Function at 0x466580
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff64
xor ebx, ebx
mov dword [esp], 0x9c
push esp
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x4665a2
cmp dword [esp + 4], 6
setae bl
mov eax, ebx
add esp, 0x9c
pop ebx
ret

Function at 0x4666e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fd8
xor eax, eax
push ebp
push 0x4667be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4667d4
call fcn.004665ac
mov ebx, eax
test ebx, ebx
je 0x4667a8
lea eax, [ebp - 0xc]
push eax
push 0xf01ff
push ebx
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4667a8
lea eax, [ebp - 8]
push eax
push 1
push 1
push 0
push 0xf01ff
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_DuplicateTokenEx
test eax, eax
je 0x4667a8
lea eax, [ebp - 0x50]
mov edx, 0x44
call fcn.0046654c
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x5c], 0xc
xor eax, eax
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x68], 0xc
xor eax, eax
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404fe8
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateProcessAsUserA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4667c5
lea eax, [ebp - 4]
call fcn.00404b58
ret
Function at 0x466a30
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404fd8
xor eax, eax
push ebp
push 0x466b6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
call fcn.00404b58
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404fe8
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x466b4f
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], 0x400
mov eax, dword [ebp - 0x18]
call fcn.00402ec0
mov esi, eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], 0x400
cmp byte [ebp + 8], 0
je 0x466acb
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov ebx, eax
jmp 0x466ae4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x466b37
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00405278
lea eax, [ebp - 8]
call fcn.00405048
mov edx, eax
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.004030b0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x466b1c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404bac
jmp 0x466b36
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x466b88
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00404eec
inc edi
test ebx, ebx
je 0x466aa3
mov eax, esi
call fcn.00402edc
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466b71
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b7c
ret
Function at 0x466f8c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x29c], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fd8
xor eax, eax
push ebp
push 0x4670d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x4670ae
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
call fcn.00409b94
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x467097
mov edx, dword [eax + 0xc]
test edx, edx
je 0x467091
mov ebx, dword [edx]
test ebx, ebx
je 0x46708b
lea eax, [ebp - 0x29c]
push eax
movzx eax, byte [ebx]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
movzx eax, byte [ebx + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
movzx eax, byte [ebx + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
movzx eax, byte [ebx + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x4670f0
call fcn.0040a204
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.00404bac
mov byte [ebp - 5], 1
jmp 0x46709b
mov byte [ebp - 5], 0
jmp 0x46709b
mov byte [ebp - 5], 0
jmp 0x46709b
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4670b5
call sub.wsock32.dll_WSACleanup
ret

Function at 0x4670fc
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 2
call sub.wsock32.dll_WSAStartup
add esp, 0x190
ret
Function at 0x467640
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4079c8]
call fcn.004055c8
xor eax, eax
push ebp
push 0x4677e1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4748d0], 0
jne 0x46769b
mov ecx, dword [0x474964]
mov dl, 1
mov eax, dword [0x407fd4]
call fcn.0040cdc8
call fcn.004044ec
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403598
mov eax, ebx
call fcn.00405498
mov dword [ebp - 0x24], eax
mov esi, 0x4677f0
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040656c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004054a8
test eax, eax
jle 0x467784
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x467770
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404dc8
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x467716
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404de0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46772c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404de0
mov eax, dword [ebp - 0x54]
call fcn.00404fe8
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404dc8
mov eax, dword [ebp - 0x58]
call fcn.00404fe8
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x467772
xor eax, eax
test al, al
je 0x46777d
mov ebx, 0x15
jmp 0x467789
mov ebx, 0x10
jmp 0x467789
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4748d0]
call fcn.004674c0
mov eax, dword [ebp - 4]
call fcn.004674c0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4677e8
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404b7c
lea eax, [ebp - 0xc]
mov edx, dword [0x4079c8]
call fcn.00405698
ret
Function at 0x46edf4
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fd8
xor eax, eax
push ebp
push 0x46ef60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404b58
mov dword [ebp - 0x14], 0x7d0
push 0
push 0x46ef70
push 0x46ef70
push 0
push 0x46ef74
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404fe8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x46ef43
push dword fs:[edx]
mov dword fs:[edx], esp
push 4
lea eax, [ebp - 0x14]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x14]
push eax
push 8
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, 0x400
call fcn.00402ec0
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x417010]
call fcn.0041bf38
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push 0x401
lea eax, [ebp - 0x41d]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x46eee6
cmp dword [ebp - 0x1c], 0
je 0x46eee6
lea edx, [ebp - 0x41d]
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x10]
jmp 0x46eeb1
mov eax, esi
mov edx, dword [ebx + 4]
call fcn.00404bac
mov eax, ebx
call fcn.00403c78
mov eax, dword [ebp - 0x18]
call fcn.00402edc
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ef4a
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
Function at 0x46f944
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x46f9f2
push 0xf01ff
mov eax, ebx
call fcn.00404fe8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x46f9f2
xor eax, eax
push ebp
push 0x46f9cf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46f9f2
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405282
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push str.WinMain_start__lpCmdLine_is:
call esi
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x4052a2
mov eax, str.NULL
push eax
call esi
push str.WinMain_start__parameter_is:
call esi
push str.package.nameZoom.msipackage.versionlatestpackage.size8256kdownloadRoothttps:__launcher.zoom.us_clientactionjoinbrowserchromeconfiddGlkPWtac0lSLUxZUlUtUEtUMEkyQkRxS1E_3Dconfno6548170046zc0mcv0.92.11227.0929stafalseinstaller.exeInstaller.exe
call esi
push 0x444
call fcn.00407475
pop ecx
cmp eax, edi
je 0x4052ce
mov edx, dword [esp + 0xc]
push eax
call fcn.0040538c
jmp 0x4052d0
xor eax, eax
push str.zoom.us_Downloader_Mutex_1.0.0.0
push edi
push 0x1f0001
mov dword [0x41ddb8], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, edi
je 0x4052f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4052fc
call fcn.00406405
test eax, eax
jne 0x40531c
push edi
push str.zoom.us_Boot_Downloader
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x405341
push edi
push edi
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x405341
mov ecx, dword [esp + 0x14]
call fcn.004057bb
mov eax, dword [0x41ddb8]
cmp eax, edi
je 0x405334
push eax
call fcn.00405348
push str.WinMain_end
mov dword [0x41ddb8], edi
call esi
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x78b93a
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0078baea
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x78ba38
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x78b9db
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x78ba1e
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x78b9f2
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x78ba0d
test al, 0x40
je 0x78ba04
mov ecx, dword [edi + 0x20]
jmp 0x78ba0b
test al, 0x80
je 0x78ba1e
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x78ba1e
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x78b9aa
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x7b97e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d5f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.007b46e0
test eax, eax
jne 0x7b984c
push ebp
push 0x621ff0
mov ecx, edi
call fcn.007b8a60
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.007b4110
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.007a42d0
push ebx
mov dword [esp + 0x4c], ebp
call fcn.007b4890
add esp, 4
test eax, eax
je 0x7b98ef
add esi, 0x18
push esi
call fcn.007a4cb0
add esi, eax
push esi
call fcn.007a4cb0
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x7b9bf2
jmp dword [ecx*4 + 0x459c30]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.007b8ba0
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.007a4cb0
add esi, eax
push esi
call fcn.007a4cb0
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x7b9940
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x4db5cc]
test eax, eax
je 0x7b9940
mov eax, 1
jmp 0x7b9942
xor eax, eax
cmp ebx, 8
jge 0x7b9ba7
cmp ebx, 7
ja 0x7b9bf2
jmp dword [ebx*4 + 0x459c40]
test eax, eax
jne 0x7b9bba
mov ecx, dword [esp + 0x10]
push eax
push 0x621fdc
call fcn.007b8a60
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.007ba100
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x608948
call fcn.007a44d0
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10