joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414f10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push str.SOFTWAREApple_Inc.Bonjour
push reloc.WS2_32.dll_bind
mov dword [esp + 0x18], 4
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x414f8a
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push esi
push 0x42fdb8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x414f8a
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x42fdb8
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x414f99
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x4152c0
Capabilities:
Modify service

Disassembly:
sub esp, 0x24
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, eax
test edi, edi
jne 0x4152fa
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x4152fa
call ebp
test eax, eax
je 0x4153e6
call ebp
test eax, eax
jne 0x4153e0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x415320
call ebp
test eax, eax
je 0x4153f1
call ebp
mov esi, eax
test esi, esi
jne 0x4153ce
mov eax, dword [esp + 0x34]
push 0x12
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x415346
call ebp
test eax, eax
je 0x4153f8
call ebp
mov esi, eax
test esi, esi
jne 0x4153c3
mov ecx, dword [esp + 0x38]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
lea edx, [esp + 0x10]
push edx
push 1
push edi
mov dword [esp + 0x1c], ecx
call ebx
test eax, eax
jne 0x415375
call ebp
test eax, eax
je 0x4153ff
call ebp
mov esi, eax
test esi, esi
jne 0x4153c2
xor eax, eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, 1
push 2
lea ecx, [esp + 0x20]
push edi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 0x1f4
mov dword [esp + 0x24], eax
call ebx
test eax, eax
jne 0x4153c0
call ebp
test eax, eax
je 0x4153ff
call ebp
mov esi, eax
test esi, esi
jne 0x4153c2
xor esi, esi
pop ebx
test edi, edi
je 0x4153ce
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4153dd
push eax
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
mov eax, esi
pop esi
pop edi
pop ebp
add esp, 0x24
ret
pop edi
mov eax, 0xffffe59d
pop ebp
add esp, 0x24
ret
mov esi, 0xffffe5bf
jmp 0x4153ce
mov esi, 0xffffe5b9
jmp 0x4153c3
mov esi, 0xffffe5cf
jmp 0x4153c2

Function at 0x415410
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x408
mov eax, dword [0x437070]
xor eax, esp
mov dword [esp + 0x404], eax
cmp dword [0x44cb38], 0
mov eax, dword [esp + 0x410]
jne 0x4154a9
cmp dword [0x44cb40], 0
lea ecx, [esp + 0x414]
push ecx
push eax
je 0x415498
lea edx, [esp + 0xc]
push edx
call fcn.00424d18
mov edx, dword [esp + 0x418]
add esp, 0xc
push 0
lea ecx, [esp + 4]
push ecx
push 0
push 1
push 0
push 0x20000001
lea eax, [esp + 0x1c]
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [0x44cb40]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.00423888
add esp, 0x408
ret
call fcn.0042405e
add eax, 0x40
push eax
call fcn.00424c80
add esp, 0xc
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.00423888
add esp, 0x408
ret
Function at 0x415660
Capabilities:
Get routing table

Disassembly:
push ecx
push esi
push edi
xor esi, esi
mov edi, eax
push esi
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], esi
call sub.IPHLPAPI.DLL_GetIpForwardTable
cmp eax, 0x7a
jne 0x415708
mov ecx, dword [esp + 8]
push ebx
push ecx
call fcn.004236b5
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x415701
push esi
lea edx, [esp + 0x10]
push edx
push ebx
call sub.IPHLPAPI.DLL_GetIpForwardTable
test eax, eax
jne 0x4156f8
mov edx, dword [ebx]
cmp edx, esi
jbe 0x4156f8
push ebp
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 0x28]
cmp dword [ecx - 0x24], ebp
jne 0x4156bf
test edi, edi
je 0x4156da
cmp dword [ecx], edi
je 0x4156da
add eax, 1
add ecx, 0x38
cmp eax, edx
jb 0x4156b2
pop ebp
push ebx
call fcn.004237fa
add esp, 4
pop ebx
pop edi
mov eax, esi
pop esi
pop ecx
ret
mov edi, dword [esp + 0x18]
lea ecx, [eax*8]
sub ecx, eax
lea esi, [ebx + ecx*8 + 4]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov esi, 1
pop ebp
push ebx
call fcn.004237fa
add esp, 4
pop ebx
pop edi
mov eax, esi
pop esi
pop ecx
ret
pop edi
mov eax, esi
pop esi
pop ecx
ret
Function at 0x415990
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
sub esp, 0x21c
mov eax, dword [0x437070]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebp
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push eax
push 0x104
push ebx
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
ja 0x4159e8
call ebp
test eax, eax
je 0x415aef
call ebp
test eax, eax
jne 0x415ad9
push esi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
mov dword [esp + 8], esi
jne 0x415a1c
call ebp
test eax, eax
je 0x415b0a
call ebp
mov esi, eax
test esi, esi
jne 0x415ac7
mov esi, dword [esp + 8]
mov edx, dword [esp + 0xc]
push 0
push 0
push str.Tcpip
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push 1
push 2
push 0x20
push 0xf01ff
push edx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebp, eax
test ebp, ebp
jne 0x415a68
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x415b11
call esi
mov esi, eax
test esi, esi
jne 0x415abc
mov esi, dword [esp + 8]
call fcn.00414f10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x415a81
push eax
push edi
mov eax, esi
call fcn.004152c0
add esp, 8
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x415aa4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x415b18
call esi
mov esi, eax
test esi, esi
jne 0x415abc
mov eax, dword [esp + 0xc]
push ebx
push eax
push edi
push str.installed_service___s____s__at___s__n
push 0
call fcn.00415410
add esp, 0x14
xor esi, esi
test ebp, ebp
je 0x415ac7
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 8]
test eax, eax
je 0x415ad6
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00423888
add esp, 0x21c
ret
mov ecx, dword [esp + 0x21c]
pop ebp
xor ecx, esp
mov eax, 0xffffe5d0
call fcn.00423888
add esp, 0x21c
ret
mov esi, 0xffffe59d
jmp 0x415ac7
mov esi, 0xffffe5b6
jmp 0x415abc
mov esi, 0xffffe5bf
jmp 0x415abc
Function at 0x415b20
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test ebp, ebp
jne 0x415b54
call ebx
test eax, eax
je 0x415bff
call ebx
test eax, eax
jne 0x415bf9
mov eax, dword [esp + 0x28]
push esi
push edi
push 0x10024
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x415b7f
call ebx
test eax, eax
je 0x415c0a
call ebx
mov esi, eax
test esi, esi
jne 0x415be1
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x415b9d
call ebx
test eax, eax
je 0x415c11
call ebx
mov esi, eax
test esi, esi
jne 0x415be1
cmp dword [esp + 0x14], 1
je 0x415bb2
lea edx, [esp + 0x10]
push edx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x415bcb
call ebx
test eax, eax
je 0x415c18
call ebx
mov esi, eax
test esi, esi
jne 0x415be1
mov eax, dword [esp + 0x30]
push eax
push str.Removed_service___s__n
push 0
call fcn.00415410
add esp, 0xc
xor esi, esi
test edi, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x415bee
push edi
call ebx
test ebp, ebp
je 0x415bf5
push ebp
call ebx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
pop ebp
mov eax, 0xffffe59d
pop ebx
add esp, 0x1c
ret
mov esi, 0xffffe5b9
jmp 0x415be1
mov esi, 0xffffe59e
jmp 0x415be1
mov esi, 0xffffe5ba
jmp 0x415be1
Function at 0x415f70
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push 0x30
call fcn.004236b5
mov esi, eax
add esp, 4
test esi, esi
jne 0x415f88
mov eax, 0xfffefffd
pop esi
ret
push ebx
push ebp
push edi
push 0x30
push 0
push esi
call fcn.00423780
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0xc
push 0
push 0
push 0
push 0
mov dword [esi], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
call ebx
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
jne 0x415fe6
call ebp
test eax, eax
je 0x4160d8
call ebp
mov edi, eax
test edi, edi
jne 0x41610c
push 0
push 0
push 0
push 0
call ebx
test eax, eax
mov dword [esi + 0x10], eax
jne 0x41600d
call ebp
test eax, eax
je 0x4160d8
call ebp
mov edi, eax
test edi, edi
jne 0x41610c
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x28]
push 0x29
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
je 0x416037
call ebp
test eax, eax
je 0x4160eb
call ebp
mov edi, eax
test edi, edi
jne 0x41610c
mov edx, dword [esi + 0xc]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], edx
mov edx, dword [esi + 0x10]
mov ecx, 1
add dword [esi + 0x1c], ecx
mov eax, dword [esi + 0x1c]
mov dword [esi + eax*4 + 0x20], edx
add dword [esi + 0x1c], ecx
push 0x44cb20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44cb1c], 0
jne 0x41607c
push 0x2c
push 0x44cb14
call fcn.00406570
add esp, 8
push esi
push 0x44cb14
call fcn.00406590
add esp, 8
push 0x44cb20
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x415e40
push 0
push 0
call fcn.00424a84
add esp, 0x18
test eax, eax
mov dword [esi + 4], eax
jne 0x4160c2
call ebp
test eax, eax
je 0x4160d8
call ebp
mov edi, eax
test edi, edi
jne 0x41610c
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x4160fe
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret
mov eax, esi
mov edi, 0xffffe5d4
call fcn.00415c60
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
ret
mov eax, esi
mov edi, 0xffffe5b7
call fcn.00415c60
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
ret
call ebp
test eax, eax
je 0x4160eb
call ebp
mov edi, eax
test edi, edi
je 0x416113
mov eax, esi
call fcn.00415c60
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x416170
Capabilities:
Get local ipv4 addresses

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
push ebp
mov ebp, dword [esp + 0x18]
push str.169.254.0.0
call ebx
push ebp
push eax
call sub.IPHLPAPI.DLL_GetBestInterface
test eax, eax
je 0x416198
mov dword [ebp], 0
lea eax, [esp + 0xc]
push eax
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x4161b4
pop ebp
mov eax, 0xffffe5d4
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0xc]
push esi
push edi
push ecx
call fcn.004236b5
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x18], edi
jne 0x4161d7
mov esi, 0xffffe5b8
jmp 0x4162c3
lea edx, [esp + 0x14]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4162bf
mov esi, edi
mov dword [esp + 0x10], 0xffffe5d4
mov eax, esi
call fcn.004157c0
test eax, eax
jne 0x41622a
push str.Juniper
lea eax, [esi + 0x10c]
mov edx, 0x84
call fcn.00415880
add esp, 4
test eax, eax
jne 0x41622a
mov eax, esi
call fcn.00415820
test eax, eax
je 0x41623b
lea eax, [esi + 0x1b0]
push eax
call ebx
test eax, eax
jne 0x4162bf
mov esi, dword [esi]
test esi, esi
jne 0x4161f8
mov dword [esp + 0x10], 0xffffe5d4
mov edx, 6
mov edi, edi
mov ebx, edi
cmp dword [ebx + 0x1a0], edx
jne 0x416287
lea esi, [ebx + 0x1b0]
test esi, esi
je 0x416287
mov edi, str.0.0.0.0
mov ecx, 8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x416283
mov eax, dword [ebp]
test eax, eax
je 0x416297
cmp dword [ebx + 0x19c], eax
je 0x416297
mov edi, dword [esp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x416252
cmp dword [ebp], ebx
je 0x4162bf
mov dword [ebp], ebx
jmp 0x416250
lea ecx, [ebx + 0x1b0]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov dword [edx], eax
mov eax, dword [ebx + 0x19c]
mov dword [ebp], eax
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x10]
test edi, edi
je 0x4162d0
push edi
call fcn.004237fa
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x420a50
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x420a6a
push str.ERROR:_send_msg_called_with_NULL_message_buffer
call fcn.00410870
add esp, 4
mov eax, 3
ret
mov ecx, dword [esi + 0x10]
cmp dword [ecx + 0x38], 0
je 0x420a89
push eax
mov dword [esi + 4], 2
call fcn.004237fa
add esp, 4
mov eax, 2
ret
mov edx, dword [esi + 0x18]
push edi
push edx
call fcn.004061d0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x24]
add esp, 4
push 0
sub ecx, eax
push ecx
add edx, eax
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [esi + 0x18]
push ecx
mov edi, eax
call fcn.004061d0
add esp, 4
test edi, edi
jge 0x420af3
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2714
je 0x420af1
call edi
cmp eax, 0x2733
je 0x420af1
push str.ERROR:_send_n
call fcn.0041ff40
add esp, 4
mov eax, 3
mov dword [esi + 4], eax
pop edi
ret
xor edi, edi
add dword [esi + 8], edi
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jne 0x420b11
mov edx, dword [esi + 0x24]
push edx
mov dword [esi + 4], 2
call fcn.004237fa
add esp, 4
mov eax, dword [esi + 4]
pop edi
ret

Function at 0x420b20
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
push edi
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0xc]
push edx
mov dword [esp + 0xc], eax
call fcn.00406060
mov edx, dword [ebx]
mov eax, dword [esp + 0x10]
add esp, 8
push 0
push 4
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 4
jge 0x420bd8
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2714
je 0x420b78
call esi
cmp eax, 0x2733
jne 0x420bb0
xor edi, edi
push 0xc
call fcn.004236b5
mov esi, eax
add esp, 4
test esi, esi
jne 0x420b97
push str.ERROR:_malloc
call fcn.0041f950
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], edi
mov ecx, dword [ebx]
mov dword [esi + 8], ecx
mov dword [ebx + 0x48], esi
pop esi
xor eax, eax
pop edi
add esp, 8
ret
test edi, edi
jge 0x420b7a
call esi
push eax
call fcn.0041f7d0
push eax
push str.ERROR:_send___unable_to_deliver_error_to_client
push str._s:__s
call fcn.00410870
add esp, 0x10
pop esi
or eax, 0xffffffff
pop edi
add esp, 8
ret
xor eax, eax
pop edi
add esp, 8
ret
Function at 0x420be0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 4]
push edi
push 0
mov edx, 4
sub edx, ecx
push edx
add ecx, eax
mov eax, dword [eax + 8]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x420c3e
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2714
je 0x420c3c
call edi
cmp eax, 0x2733
je 0x420c3c
call edi
push eax
call fcn.0041f7d0
push eax
push str.ERROR:_send___unable_to_deliver_error_to_client_n
push str._s:__s
call fcn.00410870
add esp, 0x10
mov eax, 3
pop edi
ret
xor eax, eax
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + 4]
add edx, eax
cmp edx, 4
jb 0x420c62
push ecx
call fcn.004237fa
add esp, 4
mov dword [esi + 0x48], 0
mov eax, 2
pop edi
ret
add dword [ecx + 4], eax
mov eax, 1
pop edi
ret

Function at 0x4234a0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x437070]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push 0
push 1
push 2
mov dword [esp + 0x10], 1
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [0x43704c], eax
jne 0x4234f3
call esi
push eax
call fcn.0041f7d0
push eax
push str.ERROR:_socket_AF_DNSSD__SOCK_STREAM__0___failed
push str._s:__s
call fcn.00410870
add esp, 0x10
jmp 0x4235d8
xor eax, eax
mov dword [esp + 8], eax
push 0x14ea
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htons]
push str.127.0.0.1
mov word [esp + 0xe], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [0x43704c]
mov dword [esp + 0xc], eax
push 0x10
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jge 0x423560
call esi
push eax
call fcn.0041f7d0
push eax
push str.ERROR:_bind_listenfd___struct_sockaddr___laddr__sizeof_laddr____failed
push str._s:__s
call fcn.00410870
add esp, 0x10
jmp 0x4235d8
mov eax, dword [0x43704c]
lea edx, [esp + 4]
push edx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x423597
call esi
push eax
call fcn.0041f7d0
push eax
push str.ERROR:_could_not_set_listen_socket_to_non_blocking_mode
push str._s:__s
call fcn.00410870
add esp, 0x10
jmp 0x4235d8
mov ecx, dword [0x43704c]
push 5
push ecx
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x4235b1
push str.ERROR:_could_not_listen_on_listen_socket
jmp 0x4235d0
mov edx, dword [0x43704c]
push 0
push 0x423370
push edx
call fcn.00415f70
add esp, 0xc
test eax, eax
je 0x423606
push str.ERROR:_could_not_add_listen_socket_to_event_loop
call fcn.0041ff40
add esp, 4
call esi
push eax
call fcn.0041f7d0
push eax
push str.ERROR:_udsserver_init
push str._s:__s
call fcn.00410870
add esp, 0x10
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00423888
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00423888
add esp, 0x18
ret

Function at 0x423888
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437070]
jne 0x423892
repz ret
jmp fcn.004267e1
Function at 0x42a9c2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004282ab
xor ebx, ebx
cmp dword [0x44da0c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x42aa97
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42aa02
xor eax, eax
jmp 0x42ab5b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x42a9fb
push eax
call fcn.00428248
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44da0c], eax
call esi
push eax
call fcn.00428248
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44da10], eax
call esi
push eax
call fcn.00428248
mov dword [0x44da14], eax
lea eax, [ebp - 8]
push eax
call fcn.00426204
test eax, eax
pop ecx
pop ecx
je 0x42aa65
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00427f47
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x42aa97
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00428248
cmp eax, ebx
pop ecx
mov dword [0x44da1c], eax
je 0x42aa97
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00428248
pop ecx
mov dword [0x44da18], eax
mov eax, dword [0x44da18]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x42ab10
cmp dword [0x44da1c], esi
je 0x42ab10
push eax
call fcn.004282b4
pop ecx
call eax
cmp eax, ebx
je 0x42aadd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x44da1c]
call fcn.004282b4
pop ecx
call eax
test eax, eax
je 0x42aadd
test byte [ebp - 0x18], 1
jne 0x42ab10
lea eax, [ebp - 0xc]
push eax
call fcn.0042623b
test eax, eax
pop ecx
je 0x42aaf8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00427f47
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x42ab07
or dword [ebp + 0x10], 0x200000
jmp 0x42ab41
or dword [ebp + 0x10], 0x40000
jmp 0x42ab41
mov eax, dword [0x44da10]
cmp eax, esi
je 0x42ab41
push eax
call fcn.004282b4
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42ab41
mov eax, dword [0x44da14]
cmp eax, esi
je 0x42ab41
push dword [ebp - 4]
push eax
call fcn.004282b4
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x44da0c]
call fcn.004282b4
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402ee9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x481040]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402f52
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.004022bb
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00404c86
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x402f6a
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00403eb0
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x402f1a
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00406b4c
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00403eb0
jmp 0x402f54

Function at 0x405623
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, ecx
test esi, esi
jg 0x405643
jl 0x40563a
test ebx, ebx
jne 0x405643
xor eax, eax
xor edx, edx
jmp 0x405706
cmp dword [ebp + 0x38], 0
je 0x405659
push esi
push ebx
push dword [esp + 0x18]
call fcn.0040570c
jmp 0x405706
mov eax, dword [ebp + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x40569d
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x40569d
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x14]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.0040411d
mov eax, dword [ebp + 0x2c]
add edi, esi
mov dword [esp + 0x20], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebp + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x4056a5
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x4c], 0
je 0x4056fc
mov ecx, ebp
call fcn.00403d87
mov ecx, dword [esp + 0x14]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x4056e7
push dword [ebp + 0x4c]
push eax
push 1
push ecx
call fcn.0040c49c
mov ecx, dword [esp + 0x24]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x14], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x4056fc
jmp 0x4056b8
test edx, edx
je 0x4056fc
push dword [ebp + 0x4c]
push edi
push 1
push ecx
call fcn.0040c49c
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb esi, 0
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc