joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422410
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x45a0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 4
mov dx, word [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
je 0x422455
push str.ERROR:_mDNSPlatformTCPConnect___attempt_to_connect_to_an_IPv6_address:_operation_not_supported
push 0
call fcn.00420510
add esp, 8
mov eax, 0xfffeffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f90
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x10], eax
mov ecx, dword [ecx + 4]
xor eax, eax
mov dword [ebp - 0x14], eax
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
mov word [ebp - 0x12], dx
push 0x10
lea edx, [ebp - 0x14]
mov word [ebp - 0x14], ax
mov eax, dword [esi + 4]
push edx
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.WS2_32.dll_connect]
mov edi, eax
test edi, edi
je 0x4224bd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4224bd
pop edi
mov eax, 0xfffeff04
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f90
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [esi + 4]
xor ecx, ecx
test edi, edi
push esi
sete cl
push 0x420930
push 0x31
push edx
mov dword [esi + 8], ecx
call fcn.00425500
test eax, eax
jne 0x4224e9
cmp dword [esi + 8], eax
sete al
lea eax, [eax + eax - 0x100fd]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00439f90
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x422700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x45a0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x104], eax
mov byte [ebp - 0xfc], 0
mov word [ebp - 0xfb], cx
mov dword [ebp - 0xf8], 0x80
mov dword [ebp - 0x100], esi
cmp edi, esi
je 0x4228c3
nop
mov dx, word [edi]
push 0x10
lea eax, [ebp - 0xfc]
push 0
push eax
mov word [ebp - 0xfc], dx
call fcn.0043a787
mov byte [ebp + esi - 0xc], al
inc esi
add esp, 0xc
add edi, 3
cmp esi, 6
jl 0x422750
push 0x66
lea ecx, [ebp - 0x74]
push 0
push ecx
call fcn.00439fd0
mov edx, dword [ebp - 0xc]
or eax, 0xffffffff
mov dword [ebp - 0x74], eax
mov word [ebp - 0x70], ax
mov ax, word [ebp - 8]
mov dword [ebp - 0x6e], edx
mov word [ebp - 0x6a], ax
mov ecx, 0x16
lea esi, [ebp - 0x6e]
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.WS2_32.dll_htons]
test ebx, ebx
je 0x42280d
mov esi, dword [sym.imp.WS2_32.dll_WSAStringToAddressA]
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0xf4]
push edx
push 0
push 2
push ebx
call esi
test eax, eax
jne 0x4228d6
push 9
call edi
push 0
mov word [ebp - 0xf2], ax
mov dword [ebp - 0xf8], 0x10
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [ebp - 0xf0], eax
je 0x42280d
mov dword [ebp - 0x100], 1
cmp dword [ebp + 0x18], 2
jge 0x42283c
cmp dword [ebp - 0x100], 0
je 0x42283c
mov ecx, dword [ebp - 0xf8]
push 0
push 1
lea eax, [ebp - 0x74]
push eax
push ecx
lea edx, [ebp - 0xf4]
push edx
mov esi, 0x66
call fcn.00422180
push 0x8c
call fcn.0043aa67
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4228c3
mov eax, dword [ebp - 0x104]
mov dword [ebx], eax
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov ecx, 2
mov word [ebx + 4], cx
mov edx, dword [0x446458]
push 9
mov dword [ebx + 8], edx
call edi
mov word [ebx + 6], ax
mov dword [ebx + 0x14], 0x10
lea edi, [ebx + 0x18]
mov ecx, 0x19
lea esi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
push ebx
movsw word es:[edi], word [esi]
push 0
push 0x422260
mov dword [ebx + 0x80], 0x66
mov dword [ebx + 0x84], 0x12
mov dword [ebx + 0x88], 0x64
call fcn.0043b638
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439f90
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xf4]
push ecx
push 0
push 0x17
push ebx
call esi
test eax, eax
jne 0x42280d
push 9
call edi
mov word [ebp - 0xf2], ax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x422911
mov edx, dword [eax + 0x84]
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xf8], 0x1c
mov eax, 0x10
xor ecx, ecx
mov edx, dword [ebp + ecx - 0xec]
cmp edx, dword [ecx + 0x457438]
jne 0x422803
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x422922
jmp 0x42280d
Function at 0x422a10
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x45a0b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x508], 0
xor esi, esi
lea ecx, [ecx]
lea eax, [ebp - 0x510]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x422aaf
mov ecx, dword [ebp - 0x510]
push ecx
push edi
call fcn.0043b23d
mov edi, eax
add esp, 8
test edi, edi
je 0x422a8e
inc esi
cmp esi, 0x64
jl 0x422a40
mov esi, dword [ebp - 0x508]
test edi, edi
je 0x422a81
push edi
call fcn.0043aafb
add esp, 4
test esi, esi
je 0x422a8e
push esi
call fcn.0043aafb
add esp, 4
mov eax, dword [ebp - 0x50c]
pop edi
pop esi
test eax, eax
je 0x422aa1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f90
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x422a6e
call fcn.00421590
mov ecx, edi
test edi, edi
je 0x422a8e
mov edi, edi
lea edx, [ecx + 0x1b0]
test edx, edx
je 0x422aea
cmp byte [edx], 0
je 0x422aea
lea edx, [ecx + 0x1d8]
test edx, edx
je 0x422aea
cmp byte [edx], 0
je 0x422aea
test eax, eax
je 0x422af5
cmp dword [ecx + 0x19c], eax
je 0x422af5
mov ecx, dword [ecx]
test ecx, ecx
jne 0x422ac0
jmp 0x422a6e
add ecx, 8
push ecx
push str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces_
push str._s_s
lea edx, [ebp - 0x404]
push 0x400
push edx
call fcn.0043b6df
add esp, 0x14
lea eax, [ebp - 0x50c]
push eax
lea ecx, [ebp - 0x404]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x422a6e
push eax
mov eax, dword [ebp - 0x50c]
lea edx, [ebp - 0x508]
push edx
push str.Domain
push eax
lea esi, [ebp - 0x514]
call fcn.00421760
mov esi, dword [ebp - 0x508]
test esi, esi
je 0x422b79
cmp byte [esi], 0
jne 0x422b9f
push esi
call fcn.0043aafb
add esp, 4
mov dword [ebp - 0x508], 0
mov edx, dword [ebp - 0x50c]
push 0
lea ecx, [ebp - 0x508]
push ecx
push str.DhcpDomain
push edx
lea esi, [ebp - 0x514]
call fcn.00421760
mov esi, dword [ebp - 0x508]
test esi, esi
je 0x422a74
cmp byte [esi], 0
je 0x422a74
push esi
lea eax, [ebp - 0x504]
push eax
call fcn.00401890
test eax, eax
je 0x422a74
cmp byte [ebp - 0x504], 0
je 0x422a74
push 0
lea ecx, [ebp - 0x504]
push ecx
call fcn.0042cd50
jmp 0x422a74
Function at 0x422f50
Capabilities:
Create thread
Enumerate network shares
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00421e80
Function at 0x4233e0
Capabilities:
Get networking parameters

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x45a0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
call fcn.00421590
mov ebx, eax
xor eax, eax
cmp ebx, eax
je 0x42345f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
push ecx
push edi
push ebx
call sub.IPHLPAPI.DLL_GetPerAdapterInfo
cmp eax, 0x6f
jne 0x423452
mov edx, dword [ebp - 0x1c]
push edx
push edi
call fcn.0043b23d
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
je 0x423501
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x64
jl 0x423416
jmp 0x4234e9
test eax, eax
jne 0x4234e9
add edi, 0xc
jmp 0x4234aa
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c], 0x248
xor edi, edi
mov edi, edi
test esi, esi
je 0x42347b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x1c]
push eax
push 0x40
call ebx
mov esi, eax
test esi, esi
je 0x423501
lea ecx, [ebp - 0x1c]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetNetworkParams
cmp eax, 0x6f
jne 0x4234a0
inc edi
cmp edi, 0x64
jl 0x423470
jmp 0x4234f6
test eax, eax
jne 0x4234f6
lea edi, [esi + 0x10c]
test edi, edi
je 0x4234e6
mov edi, edi
lea ecx, [edi + 4]
lea ebx, [ebp - 0x18]
call fcn.00423200
test eax, eax
jne 0x4234e0
movzx edx, word [0x446398]
mov ecx, dword [0x44637c]
push eax
push 0x1e
push eax
push edx
mov edx, dword [ebp - 0x28]
mov eax, ebx
push eax
push ecx
push 0
push edx
call fcn.004285f0
mov edi, dword [edi]
test edi, edi
jne 0x4234b0
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x4234f6
push edi
call fcn.0043aafb
add esp, 4
test esi, esi
je 0x423501
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439f90
mov esp, ebp
pop ebp
ret 4
Function at 0x423520
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [0x446410]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov edx, dword [0x446414]
mov dword [eax + 4], edx
mov ecx, dword [0x446418]
mov dword [eax + 8], ecx
mov edx, dword [0x44641c]
push ebx
push esi
mov dword [eax + 0xc], edx
mov ecx, dword [0x446420]
xor esi, esi
xor ebx, ebx
push edi
mov dword [eax + 0x10], ecx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 4], esi
lea edx, [ebp - 4]
push edx
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov edi, eax
mov dword [ebp - 8], edi
cmp edi, 0x6f
jne 0x4235a5
mov eax, dword [ebp - 4]
push eax
push ebx
call fcn.0043b23d
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x423597
inc esi
mov ebx, eax
cmp esi, 0x64
jl 0x423562
jmp 0x423635
pop edi
pop esi
mov eax, 0xffffe5b8
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
jne 0x423635
call fcn.00421590
mov dword [ebp - 0xc], eax
mov esi, ebx
test ebx, ebx
je 0x42364e
nop
lea ecx, [esi + 0x1b0]
test ecx, ecx
je 0x42360a
cmp byte [ecx], 0
je 0x42360a
lea edi, [esi + 0x1d8]
test edi, edi
je 0x42360a
cmp byte [edi], 0
je 0x42360a
mov ebx, dword [ebp + 0xc]
call fcn.00423200
test eax, eax
jne 0x423607
mov ebx, dword [ebp + 0x14]
mov ecx, edi
call fcn.00423200
test eax, eax
jne 0x423607
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x423612
cmp dword [esi + 0x19c], eax
je 0x423612
mov ebx, dword [ebp + 0x10]
mov esi, dword [esi]
test esi, esi
jne 0x4235c0
jmp 0x423635
cmp dword [esi + 0x190], 6
mov ebx, dword [ebp + 0x10]
jne 0x423635
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x194]
mov dword [eax + 0x1c], ecx
mov dx, word [esi + 0x198]
mov word [eax + 0x20], dx
test ebx, ebx
je 0x423642
push ebx
call fcn.0043aafb
add esp, 4
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4250c0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, eax
push edi
push 0x4612f8
xor esi, esi
call fcn.00408c10
mov edx, 1
add dword [0x461304], edx
mov ecx, 0x40
cmp dword [0x46131c], ecx
jae 0x425116
mov dword [edi + 0x10], 0x461308
mov eax, dword [0x46131c]
mov dword [eax*4 + 0x461320], edi
mov ecx, dword [edi + 4]
mov eax, dword [0x46131c]
mov dword [eax*4 + 0x461420], ecx
add dword [0x46131c], edx
pop edi
mov eax, esi
pop esi
ret
mov eax, dword [0x461528]
test eax, eax
je 0x42512f
nop
cmp dword [eax + 0x14], ecx
jb 0x42514a
mov eax, dword [eax + 0x21c]
test eax, eax
jne 0x425120
push 0x220
call fcn.0043aa67
mov esi, eax
add esp, 4
test esi, esi
jne 0x425169
pop edi
mov eax, 0xfffefffd
pop esi
ret
mov dword [edi + 0x10], eax
mov ecx, dword [eax + 0x14]
mov dword [eax + ecx*4 + 0x18], edi
mov ecx, dword [eax + 0x14]
mov edi, dword [edi + 4]
mov dword [eax + ecx*4 + 0x118], edi
add dword [eax + 0x14], edx
pop edi
mov eax, esi
pop esi
ret
push ebx
push 0x220
push 0
push esi
call fcn.00439fd0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0xc
push 0
push 0
push 0
push 0
call ebx
mov dword [esi + 8], eax
test eax, eax
je 0x425235
push 0
push 0
push 0
push 0
call ebx
mov dword [esi + 0xc], eax
test eax, eax
je 0x425235
call fcn.00424ed0
mov ebx, eax
test ebx, ebx
jne 0x42523a
lea edx, [esi + 4]
push edx
push eax
push esi
push 0x424f30
push eax
push eax
call fcn.0043b3af
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x4251e8
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x42522e
call ebx
mov ebx, eax
test ebx, ebx
jne 0x42523a
push esi
push 0x461528
call fcn.00408c10
mov eax, dword [esi + 0xc]
mov ecx, dword [0x461634]
mov dword [ecx*4 + 0x461534], eax
mov eax, 1
add dword [0x461634], eax
mov dword [edi + 0x10], esi
mov edx, dword [esi + 0x14]
mov dword [esi + edx*4 + 0x18], edi
mov ecx, dword [esi + 0x14]
mov edx, dword [edi + 4]
mov dword [esi + ecx*4 + 0x118], edx
add dword [esi + 0x14], eax
mov eax, ebx
pop ebx
pop edi
pop esi
ret
mov ebx, 0xffffe5d4
jmp 0x42523a
mov ebx, 0xfffefffd
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x425251
push eax
call edi
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x425262
push eax
call edi
mov dword [esi + 0xc], 0
push esi
call fcn.0043aafb
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
ret
Function at 0x425390
Capabilities:
Terminate thread

Disassembly:
push edi
push esi
push 0x461528
call fcn.00408c50
mov ecx, dword [0x461634]
xor eax, eax
lea edi, [eax + 1]
test ecx, ecx
je 0x4253e1
mov edx, dword [esi + 0xc]
mov edi, edi
cmp dword [eax*4 + 0x461534], edx
je 0x4253c1
add eax, edi
cmp eax, ecx
jb 0x4253b0
jmp 0x4253e1
inc eax
sub ecx, eax
add ecx, ecx
add ecx, ecx
push ecx
lea ecx, [eax*4 + 0x461534]
push ecx
lea edx, [eax*4 + 0x461530]
push edx
call fcn.0043b970
add esp, 0xc
mov dword [esi + 0x10], edi
sub dword [0x461634], edi
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x425429
call edi
test eax, eax
je 0x425469
call edi
test eax, eax
je 0x425429
push eax
push str.SetEvent__
push 0x1f0
push str.PollRemoveWorker
push str._s:_d____s_failed:__d_n
push 0
call fcn.00420510
add esp, 0x18
mov ecx, dword [esi]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x425477
call edi
test eax, eax
je 0x425470
call edi
test eax, eax
je 0x42547e
push eax
push str.WaitForSingleObject__
push 0x1f4
push str.PollRemoveWorker
push str._s:_d____s_failed:__d_n
push 0
call fcn.00420510
add esp, 0x18
jmp 0x42547e
mov eax, 0xffffe5d4
jmp 0x42540a
mov eax, 0xffffe5d4
jmp 0x425448
cmp eax, 0x102
jne 0x4254b8
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x4254b8
call edi
test eax, eax
je 0x4254f6
call edi
test eax, eax
je 0x4254b8
push eax
push str.TerminateThread__
push 0x1fa
push str.PollRemoveWorker
push str._s:_d____s_failed:__d_n
push 0
call fcn.00420510
add esp, 0x18
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov eax, dword [esi + 8]
mov dword [esi], 0
test eax, eax
je 0x4254da
push eax
call edi
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4254eb
push eax
call edi
mov dword [esi + 0xc], 0
push esi
call fcn.0043aafb
add esp, 4
pop edi
ret
mov eax, 0xffffe5d4
jmp 0x425499
Function at 0x4256c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x461528]
push edi
xor edi, edi
cmp esi, edi
je 0x42589a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ecx]
cmp dword [esi + 0x14], 1
mov eax, dword [esi + 0x21c]
mov dword [ebp - 4], eax
jne 0x425851
push esi
push 0x461528
call fcn.00408c50
mov ecx, dword [0x461634]
xor eax, eax
cmp ecx, edi
jbe 0x425740
mov edx, dword [esi + 0xc]
lea ecx, [ecx]
cmp dword [eax*4 + 0x461534], edx
je 0x425720
inc eax
cmp eax, ecx
jb 0x425710
jmp 0x425740
inc eax
sub ecx, eax
add ecx, ecx
add ecx, ecx
push ecx
lea ecx, [eax*4 + 0x461534]
push ecx
lea edx, [eax*4 + 0x461530]
push edx
call fcn.0043b970
add esp, 0xc
mov eax, 1
mov dword [esi + 0x10], eax
sub dword [0x461634], eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x425786
call ebx
test eax, eax
je 0x4257c5
call ebx
cmp eax, edi
je 0x425786
push eax
push str.SetEvent__
push 0x1f0
push str.PollRemoveWorker
push str._s:_d____s_failed:__d_n
push edi
call fcn.00420510
add esp, 0x18
mov ecx, dword [esi]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x4257d3
call ebx
test eax, eax
je 0x4257cc
call ebx
cmp eax, edi
je 0x4257da
push eax
push str.WaitForSingleObject__
push 0x1f4
push str.PollRemoveWorker
push str._s:_d____s_failed:__d_n
push edi
call fcn.00420510
add esp, 0x18
jmp 0x4257da
mov eax, 0xffffe5d4
jmp 0x425768
mov eax, 0xffffe5d4
jmp 0x4257a5
cmp eax, 0x102
jne 0x425812
mov edx, dword [esi]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x425812
call ebx
test eax, eax
je 0x42584a
call ebx
cmp eax, edi
je 0x425812
push eax
push str.TerminateThread__
push 0x1fa
push str.PollRemoveWorker
push str._s:_d____s_failed:__d_n
push edi
call fcn.00420510
add esp, 0x18
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
mov dword [esi], edi
cmp eax, edi
je 0x42582e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x42583f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], edi
push esi
call fcn.0043aafb
add esp, 4
jmp 0x42588e
mov eax, 0xffffe5d4
jmp 0x4257f4
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x42588e
call ebx
test eax, eax
je 0x4258a2
call ebx
cmp eax, edi
je 0x42588e
push eax
push str.SetEvent__
push 0x19e
push str.PollStartWorkers
push str._s:_d____s_failed:__d_n
push edi
call fcn.00420510
add esp, 0x18
call fcn.00425390
mov esi, dword [ebp - 4]
cmp esi, edi
jne 0x4256e0
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xffffe5d4
jmp 0x42586b
Function at 0x425e20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push str.SOFTWAREApple_Inc.Bonjour
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x425e93
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push esi
push 0x44f508
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x425e93
mov eax, dword [ebp - 4]
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0
push 0x44f508
push eax
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x425ea1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x425eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push str.SOFTWAREApple_Inc.Bonjour
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x425f3e
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x44f508
push ecx
mov dword [ebp - 8], 4
call esi
test eax, eax
jne 0x425f0f
xor edx, edx
cmp dword [ebp - 0xc], edx
setne dl
mov dword [0x45a06c], edx
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push str.CacheEntryCount
push eax
mov dword [ebp - 8], 4
call esi
mov esi, eax
test esi, esi
jne 0x425f3e
mov ecx, dword [ebp - 0xc]
mov dword [0x479c78], ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x425f4c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426200
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, eax
test esi, esi
jne 0x426246
push 0xf003f
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x426246
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x426239
call ebx
test eax, eax
jne 0x42632f
jmp 0x42624c
pop esi
mov eax, 0xffffe59d
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov dword [ebp - 8], eax
test eax, eax
jne 0x42626e
call ebx
test eax, eax
je 0x426337
call ebx
test eax, eax
jne 0x42632f
mov eax, dword [ebp + 8]
push edi
push 0x12
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x426298
call ebx
test eax, eax
je 0x426344
call ebx
mov esi, eax
test esi, esi
jne 0x42631e
mov ecx, dword [ebp + 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
lea edx, [ebp - 4]
push edx
push 1
push edi
mov dword [ebp - 4], ecx
call ebx
test eax, eax
jne 0x4262c9
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x42634b
call esi
mov esi, eax
test esi, esi
jne 0x426313
xor eax, eax
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, 1
push 2
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0x1f4
mov dword [ebp - 0x10], eax
call ebx
test eax, eax
jne 0x426311
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x42634b
call esi
mov esi, eax
test esi, esi
jne 0x426313
xor esi, esi
test edi, edi
je 0x42631e
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
pop edi
test eax, eax
je 0x42632d
push eax
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop esi
mov eax, 0xffffe5bf
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, 0xffffe5b9
jmp 0x42631e
mov esi, 0xffffe5cf
jmp 0x426313

Function at 0x426360
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x45a0b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x479c28], 0
jne 0x4263f2
cmp dword [0x479c70], 0
je 0x4263d9
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
push ecx
lea edx, [ebp - 0x404]
push edx
call fcn.0043be7f
mov edx, dword [ebp + 8]
add esp, 0xc
push 0
lea ecx, [ebp - 0x408]
push ecx
push 0
push 1
push 0
push 0x64
lea eax, [ebp - 0x404]
push 0
mov dword [ebp - 0x408], eax
mov eax, dword [0x479c70]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f90
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
push ecx
push edx
call fcn.0043af47
add eax, 0x40
push eax
call fcn.0043bddc
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f90
mov esp, ebp
pop ebp
ret