joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4041b0
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x1c
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x404283
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push ebp
push esi
push 0x20
push str.Everything_Client
push edi
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4041fd
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call ebp
push 0x10000
push str.Everything_Client
push edi
call ebx
mov esi, eax
test esi, esi
je 0x40424b
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x40423d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x1050]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1d0
add esp, 0x14
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x1c
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x424
je 0x404278
call esi
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1d0
add esp, 0x14
push edi
call ebp
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1d0
add esp, 0x14
pop edi
add esp, 0x1c
ret

Function at 0x4042b0
Capabilities:
Start service

Disassembly:
push ebx
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x404354
push ebp
push esi
push 0x10
push str.Everything_Client
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x40432b
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x404321
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x420
je 0x404320
call edi
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x1048]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1d0
add esp, 0x14
pop edi
push esi
call ebp
push ebx
call ebp
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1d0
add esp, 0x14
push ebx
call ebp
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1d0
add esp, 0x14
pop ebx
ret
Function at 0x404380
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x404433
push ebp
push esi
push 0x20
push str.Everything_Client
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x404407
lea eax, [esp + 0xc]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4043fa
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x426
je 0x4043f9
call ebx
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x104c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1d0
add esp, 0x14
pop ebx
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
pop edi
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1d0
add esp, 0x14
push edi
call ebp
pop esi
pop ebp
pop edi
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1d0
add esp, 0x14
pop edi
add esp, 0x1c
ret
Function at 0x404460
Capabilities:
Create service
Persist via windows service

Disassembly:
sub esp, 0x438
mov eax, dword [0x597f98]
xor eax, esp
mov dword [esp + 0x434], eax
push edi
call fcn.004041b0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4045a5
push ebx
push esi
lea eax, [esp + 0xc]
push eax
call fcn.00401210
lea ecx, [esp + 0x11c]
push ecx
call fcn.00401210
lea edx, [esp + 0x22c]
push edx
call fcn.00401210
push 0
lea eax, [esp + 0x10]
push eax
call fcn.004ad680
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x120]
push str.__s___client_svc
push edx
call fcn.00524440
mov eax, dword [esp + 0x130]
add esp, 0xc
push eax
lea ecx, [esp + 0x230]
push ecx
call fcn.00527770
mov edx, dword [esp + 0x234]
push 0
push 0
push 0
push 0
push 0
push edx
push 0
push 2
push 0x10
push 2
push str.Everything_Client
push str.Everything_Client
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x404532
call fcn.004042b0
push esi
call ebx
jmp 0x404566
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x431
jne 0x404548
call fcn.004042b0
jmp 0x404566
call esi
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x1040]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1d0
add esp, 0x14
push edi
call ebx
lea eax, [esp + 0x22c]
push eax
call fcn.00401230
lea ecx, [esp + 0x11c]
push ecx
call fcn.00401230
lea edx, [esp + 0xc]
push edx
call fcn.00401230
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.005498cd
add esp, 0x438
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1d0
mov ecx, dword [esp + 0x44c]
add esp, 0x14
pop edi
xor ecx, esp
call fcn.005498cd
add esp, 0x438
ret

Function at 0x404970
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x230
mov eax, dword [0x597f98]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
mov esi, dword [esp + 0x238]
lea eax, [esp + 0x10]
push eax
call fcn.00401210
lea ecx, [esp + 0x120]
push ecx
call fcn.00401210
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00523fd0
push esi
call fcn.005240c0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 4]
lea eax, [esp + 0x120]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
call fcn.00404640
test eax, eax
je 0x4049f4
mov eax, dword [esp + 4]
push eax
call fcn.00522090
push eax
push esi
call fcn.00523f80
lea ecx, [esp + 0x120]
push ecx
call fcn.00401230
lea edx, [esp + 0x10]
push edx
call fcn.00401230
mov ecx, dword [esp + 0x230]
pop esi
xor ecx, esp
call fcn.005498cd
add esp, 0x230
ret 4
Function at 0x48e490
Capabilities:
Enumerate pe sections
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x48e4a5
mov dword [esp + 4], eax
jmp fcn.004a6440
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx]
push eax
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [ecx + 0x2d8]
push eax
push edx
call fcn.004b98c0
ret 0x14

Function at 0x48e520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x48e535
mov dword [esp + 4], eax
jmp fcn.004b5d40
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx]
push eax
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [ecx + 0x2d8]
push eax
push edx
call fcn.004b9910
ret 0x14
Function at 0x48f0e0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x114
mov eax, dword [0x597f98]
xor eax, esp
mov dword [esp + 0x110], eax
lea eax, [esp]
push eax
call fcn.00401210
lea ecx, [esp]
push ecx
call fcn.00525420
push str.Everything_n
call fcn.0048f0a0
mov edx, dword [esp + 0xc]
push edx
push str.Version__s_n
call fcn.0048f0a0
add esp, 0xc
cmp byte [0x599180], 0
mov eax, 0x558ad0
jne 0x48f135
mov eax, 0x551656
mov ecx, dword [0x599188]
mov edx, dword [0x599184]
push ecx
push edx
push eax
push str.Windows_s__d._d_n
call fcn.0048f0a0
mov eax, dword [0x59918c]
push eax
push str.Processors__d_n
call fcn.0048f0a0
add esp, 0x18
call fcn.004af000
push eax
push str.IsAdmin__d_n
call fcn.0048f0a0
movsx ecx, byte [0x598ff4]
push ecx
push str.AppData__d_n
call fcn.0048f0a0
add esp, 0x10
call fcn.004fcd50
push eax
push str.Service__d_n
call fcn.0048f0a0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push str.cmdline__S_n
call fcn.0048f0a0
add esp, 8
lea edx, [esp]
push edx
call fcn.00401230
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.005498cd
add esp, 0x114
ret

Function at 0x48f250
Capabilities:
Access the windows event log
Terminate process

Disassembly:
sub esp, 0x328
push esi
mov esi, dword [esp + 0x330]
push edi
mov edi, dword [esp + 0x33c]
lea eax, [esp + 0xc]
push eax
call fcn.00401210
lea ecx, [esp + 0x11c]
push ecx
call fcn.00401210
mov eax, dword [esp + 0x340]
lea edx, [esp + 0x344]
push edx
push eax
lea ecx, [esp + 0x124]
push ecx
call fcn.00524400
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x338]
push edx
push edi
push eax
push esi
lea ecx, [esp + 0x1c]
push str._s__d_:__s__:_Fatal_error:__s
push ecx
call fcn.00524440
add esp, 0x18
lea edx, [esp + 0x11c]
push edx
call fcn.00401230
mov eax, dword [esp + 0x14]
push eax
push 0x557694
call fcn.0048f0a0
add esp, 8
cmp dword [0x5992b0], 0
je 0x48f34b
lea ecx, [esp + 0x11c]
push ecx
call fcn.00401210
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x120]
push eax
call fcn.00527770
push 0x558aec
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x48f33c
push 0
lea ecx, [esp + 0x128]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea edx, [esp + 0x11c]
push edx
call fcn.00401230
jmp 0x48f395
mov ecx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
push ecx
push 0x48ecd0
call fcn.004b00c0
mov esi, eax
test esi, esi
je 0x48f377
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x48f395
mov edx, dword [esp + 0x14]
mov eax, dword [0x58eecc]
mov ecx, dword [eax]
push edx
push 0x554920
push ecx
push 0x10
push 0
call fcn.004aa1d0
add esp, 0x14
lea edx, [esp + 0xc]
push edx
call fcn.00401230
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x492450
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x4c8
mov eax, dword [0x597f98]
xor eax, esp
mov dword [esp + 0x4c4], eax
push ebx
push esi
mov esi, dword [esp + 0x4d4]
push edi
mov edi, dword [esp + 0x4e4]
lea eax, [esp + 0x120]
push eax
call fcn.00401210
lea ecx, [esp + 0x10]
push ecx
call fcn.00401210
lea edx, [esp + 0x230]
push edx
call fcn.00401210
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x15
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x130]
push eax
push edi
call fcn.00525640
push 0x190
call fcn.004a47f0
push 0x190
mov ebx, eax
push 0
push ebx
call fcn.00549fc0
add esp, 0xc
lea ecx, [ebx + 0x15c]
push ecx
call fcn.00401370
lea edx, [ebx + 0x174]
push edx
call fcn.004a8b70
or edi, 0xffffffff
mov dword [ebx], edi
mov eax, dword [esp + 0x128]
push eax
call fcn.0051c5d0
mov dword [ebx + 0xe4], eax
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0xf0], ecx
mov edx, dword [esp + 0x238]
push edx
call fcn.0051c5d0
mov dword [ebx + 0xec], eax
mov eax, dword [esp + 0x18]
push eax
call fcn.0051c5d0
mov ecx, dword [esp + 0x4e8]
mov edx, dword [esp + 0x4dc]
mov dword [ebx + 0xe8], eax
mov eax, dword [esp + 0x4e0]
push 0x551656
mov dword [ebx + 0xf4], ecx
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xac], edx
mov dword [ebx + 0xb0], eax
mov dword [ebx], edi
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x1c], edi
call fcn.0051c5d0
push 0x551656
mov dword [ebx + 0x114], eax
call fcn.0051c5d0
mov dword [ebx + 0x118], eax
mov dword [ebx + 0x120], 0
push 0
push 0
push 0
push 0x492200
push str.EVERYTHING_ETP_CLIENT
push 0
call fcn.004aa4c0
push 0
push 0
call dword [0x598d18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.EVERYTHING_ETP_CLIENT
push str.EVERYTHING_ETP_CLIENT
push 0
call fcn.004aa610
push ebx
push eax
mov dword [ebx + 0xdc], eax
call fcn.004ac9d0
lea ecx, [esp + 0x340]
push ecx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x492688
mov dword [ebx + 0xb4], 1
mov cx, word [esp + 0x340]
cmp cl, 1
je 0x492659
mov ax, cx
shr ax, 8
cmp al, 1
je 0x492659
movzx edx, al
movzx eax, cl
mov ecx, dword [0x58eecc]
push edx
mov edx, dword [ecx + 0x1184]
push eax
push edx
call fcn.00490770
add esp, 0xc
jmp 0x49269e
mov dword [ebx + 0xd8], 3
mov eax, dword [0x58eecc]
mov edi, dword [eax + 0xf8]
mov esi, ebx
call fcn.004905c0
push ebx
push 0x4907f0
call fcn.004b2210
mov dword [ebx + 0x14c], eax
jmp 0x4926a6
mov ecx, dword [0x58eecc]
mov edx, dword [ecx + 0x1180]
push eax
push edx
call fcn.00490770
add esp, 8
push ebx
call fcn.00491270
xor ebx, ebx
lea eax, [esp + 0x230]
push eax
call fcn.00401230
lea ecx, [esp + 0x10]
push ecx
call fcn.00401230
lea edx, [esp + 0x120]
push edx
call fcn.00401230
mov ecx, dword [esp + 0x4d0]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.005498cd
add esp, 0x4c8
ret 0x14
Function at 0x495320
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x88
mov eax, dword [0x597f98]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
push 0x248
call fcn.004a47f0
push 0x248
xor edi, edi
mov esi, eax
push edi
push esi
call fcn.00549fc0
mov eax, dword [esp + 0xa0]
add esp, 0xc
push esi
push 0x493cf0
push edi
mov dword [esi + 8], eax
mov dword [esi + 0xa8], edi
call fcn.004c05e0
push eax
call fcn.00411990
push 0x551656
mov dword [esi + 0x8c], eax
call fcn.0051c5d0
push 0x551656
mov dword [esi + 0xb8], eax
mov dword [esi + 0x204], 0xffffffff
mov dword [esi + 0xb4], edi
mov dword [esi + 0x200], edi
call fcn.0051c5d0
push 0x551656
mov dword [esi + 0xdc], eax
call fcn.0051c5d0
push 0x551656
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe8], edi
call fcn.0051c5d0
push 0x551656
mov dword [esi + 0x128], eax
call fcn.0051c5d0
lea ecx, [esp + 8]
push ecx
lea edx, [esi + 0xc]
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 8]
push edx
push eax
mov dword [esi + 0x134], edi
mov dword [esi + 0xbc], 1
mov dword [esi + 0xf0], 0xffffffff
mov dword [esp + 0x14], 0x80
call dword [sym.imp.WS2_32.dll_getpeername]
mov eax, dword [esi + 8]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x14], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
cmp word [esp + 0xc], 0x17
jne 0x49544a
mov dword [esi + 0xb4], 1
mov eax, dword [0x59910c]
cmp dword [eax + 8], edi
je 0x49546e
mov ecx, dword [eax + 0xc]
mov dword [ecx + 0xac], esi
mov edx, dword [0x59910c]
mov eax, dword [edx + 0xc]
mov dword [esi + 0xb0], eax
jmp 0x495477
mov dword [eax + 8], esi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xac], edi
mov ecx, dword [0x59910c]
push str.Connected._r_n
push esi
mov dword [ecx + 0xc], esi
call fcn.00492b30
mov ecx, dword [esp + 0x94]
add esp, 8
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.005498cd
add esp, 0x88
ret 4
Function at 0x496930
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x3b4
mov eax, dword [0x597f98]
xor eax, esp
mov dword [esp + 0x3b0], eax
cmp byte [0x58b73b], 0
push edi
mov edi, dword [esp + 0x3bc]
je 0x496b91
lea eax, [esp + 4]
push eax
call fcn.00401210
lea ecx, [esp + 4]
push ecx
call fcn.005240c0
cmp dword [0x59910c], 0
jne 0x496b63
lea edx, [esp + 0x224]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x496b49
push 0x1c
call fcn.004a47f0
mov dword [0x59910c], eax
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [0x59910c]
mov dword [eax + 4], ecx
mov edx, dword [0x59910c]
mov dword [edx + 8], ecx
mov eax, dword [0x59910c]
mov dword [eax + 0xc], ecx
mov edx, dword [0x59910c]
mov dword [edx + 0x10], ecx
mov eax, dword [0x59910c]
mov dword [eax + 0x14], ecx
mov edx, dword [0x59910c]
mov dword [edx + 0x18], ecx
mov eax, dword [0x59900c]
push eax
call fcn.0051c5d0
mov ecx, dword [0x59910c]
push 0
push 0
push 0
push 0x496550
mov dword [ecx + 0x18], eax
mov edx, dword [0x59910c]
mov eax, dword [0x58b73c]
push str.EVERYTHING_ETP_SERVER
push 0
mov dword [edx + 0x14], eax
call fcn.004aa4c0
push 0
push 0
call dword [0x598d18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.EVERYTHING_ETP_SERVER
push str.EVERYTHING_ETP_SERVER
push 0
call fcn.004aa610
mov ecx, dword [0x59910c]
mov dword [ecx + 0x10], eax
mov cx, word [esp + 0x224]
cmp cl, 1
je 0x496a83
mov ax, cx
shr ax, 8
cmp al, 1
je 0x496a83
movzx edx, al
movzx eax, cl
mov ecx, dword [0x58eecc]
push edx
mov edx, dword [ecx + 0x1184]
push eax
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00524440
add esp, 0x10
jmp 0x496b0a
mov ecx, dword [0x59900c]
cmp byte [ecx], 0
je 0x496afe
push esi
lea edx, [esp + 0x118]
push edx
call fcn.00401210
mov eax, dword [0x59900c]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.005251d0
mov esi, eax
test esi, esi
je 0x496aee
jmp 0x496ac0
mov eax, dword [esp + 0x120]
cmp byte [eax], 0
je 0x496ada
lea ecx, [esp + 8]
push ecx
call fcn.00492980
test eax, eax
je 0x496aee
push esi
lea edx, [esp + 0x11c]
push edx
call fcn.005251d0
mov esi, eax
test esi, esi
jne 0x496ac0
lea eax, [esp + 0x118]
push eax
call fcn.00401230
pop esi
jmp 0x496b0a
lea ecx, [esp + 4]
push ecx
xor eax, eax
call fcn.00492980
mov edx, dword [0x59910c]
cmp dword [edx], 0
je 0x496b42
mov eax, dword [esp + 0xc]
cmp byte [eax], 0
je 0x496b31
push eax
push str.ETP_server_started__but_with_errors:__s_n
push 0xffff0000
call fcn.0048f0c0
add esp, 0xc
push str.ETP_server_online._r_n
push 0
call fcn.00492b30
add esp, 8
jmp 0x496b87
call fcn.00495280
jmp 0x496b63
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x1180]
push ecx
lea edx, [esp + 0xc]
push edx
call fcn.00524440
add esp, 0xc
mov eax, dword [esp + 0xc]
cmp byte [eax], 0
je 0x496b87
push eax
mov eax, dword [0x58eecc]
mov ecx, dword [eax + 0x1130]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push edi
call fcn.004aa1d0
add esp, 0x14
lea eax, [esp + 4]
push eax
call fcn.00401230
mov ecx, dword [esp + 0x3b4]
pop edi
xor ecx, esp
call fcn.005498cd
add esp, 0x3b4
ret 4
Function at 0x4973c0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push ebp
push 1
push eax
xor ebp, ebp
call fcn.004a9cf0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x497464
push esi
lea ecx, [esp + 0xc]
push ecx
push ebx
call fcn.004aba90
test eax, eax
je 0x49745c
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x497447
push edi
call fcn.004a4830
mov esi, eax
test esi, esi
je 0x49745b
push ebp
lea edx, [esp + 0x20]
push edx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49742e
cmp dword [esp + 0x1c], edi
jne 0x49742e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push edi
push esi
call dword [esp + 0x30]
mov ebp, eax
push esi
call fcn.004a4850
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
push 0
push 0
call dword [esp + 0x30]
mov ebp, eax
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret 0x10
Function at 0x4a2130
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x20c
mov eax, dword [0x597f98]
xor eax, esp
mov dword [esp + 0x208], eax
cmp byte [0x58b694], 0
je 0x4a21d8
mov eax, esi
call fcn.004a2040
test eax, eax
je 0x4a21d8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push esi
call dword [0x598df0]
test eax, eax
je 0x4a21d8
lea ecx, [esi - 0x10]
shl eax, 0x10
cmp ecx, 0x80
ja case.0x4a218c.19
movzx ecx, byte [ecx + 0x4a21fc]
jmp dword [ecx*4 + 0x4a21f0]
or eax, 0x2000000
jmp case.0x4a218c.19
or eax, 0x1000000
push 0x104
lea edx, [esp + 4]
push edx
push eax
call dword [0x598dc0]
test eax, eax
je 0x4a21d8
lea eax, [esp]
push eax
push edi
call fcn.00523fd0
mov eax, 1
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005498cd
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.005498cd
add esp, 0x20c
ret

Function at 0x4a25b0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x114
mov eax, dword [0x597f98]
xor eax, esp
mov dword [esp + 0x110], eax
lea eax, [esp]
push eax
call fcn.00401210
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 4]
push ecx
call fcn.00523fd0
mov edx, dword [esp + 8]
push 0
push 0
push edx
call fcn.00404f40
mov dword [0x599168], eax
lea eax, [esp]
push eax
call fcn.00401230
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.005498cd
add esp, 0x114
ret
Function at 0x4a3ad0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x34c
mov eax, dword [0x597f98]
xor eax, esp
mov dword [esp + 0x348], eax
mov eax, dword [0x599168]
push ebp
push esi
push edi
xor edi, edi
cmp dword [eax + 0xc], edi
mov dword [esp + 0x10], edi
je 0x4a3b03
mov eax, dword [eax + 0xc]
cmp byte [eax], 0
je 0x4a3b03
mov esi, eax
jmp 0x4a3b12
mov eax, dword [0x598eb4]
mov cl, byte [eax]
neg cl
sbb ecx, ecx
and ecx, eax
mov esi, ecx
lea edx, [esp + 0x24]
push edx
call fcn.00401210
lea eax, [esp + 0x24]
push str.EVERYTHING_TASKBAR_NOTIFICATION
push eax
call fcn.00524440
add esp, 8
test esi, esi
je 0x4a3b5b
push 0x56d5ec
lea ecx, [esp + 0x28]
push ecx
call fcn.005237c0
push esi
lea edx, [esp + 0x28]
push edx
call fcn.005237c0
push 0x552038
lea eax, [esp + 0x28]
push eax
call fcn.005237c0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ac230
lea edx, [esp + 0x24]
push edx
mov ebp, eax
call fcn.00401230
test ebp, ebp
je 0x4a3cc3
push ebx
lea eax, [esp + 0x138]
push eax
call fcn.00401210
lea ecx, [esp + 0x248]
push ecx
call fcn.00401210
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea edx, [esp + 0x13c]
push edx
call fcn.00523fd0
lea eax, [esp + 0x248]
push eax
call fcn.004ad9e0
lea ecx, [esp + 0x10]
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 0x10]
push edx
call dword [0x58ef20]
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x248]
lea edi, [ecx + eax + 6]
push edi
call fcn.004a47f0
mov edx, dword [esp + 0x360]
mov esi, eax
mov dword [esi], edx
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x140]
add eax, 1
push eax
push ecx
lea ebx, [esi + 4]
push ebx
call fcn.00549c50
mov edx, dword [esp + 0x254]
mov eax, dword [esp + 0x25c]
mov ecx, dword [esp + 0x144]
add edx, 1
push edx
push eax
lea edx, [ebx + ecx + 1]
push edx
call fcn.00549c50
push str.send_cl_n
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], esi
call fcn.0048f0a0
add esp, 0x1c
lea eax, [esp + 0x24]
push eax
push 0x7530
push 9
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x4a
push ebp
call dword [0x598e10]
test eax, eax
pop ebx
je 0x4a3c86
push str.send_message_ok_n
push 0xff00ff00
mov edi, 1
call fcn.0048f0c0
add esp, 8
jmp 0x4a3ca3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.send_message_failed__u_n
push 0xffff0000
call fcn.0048f0c0
mov edi, dword [esp + 0x1c]
add esp, 0xc
push esi
call fcn.004a4850
lea edx, [esp + 0x244]
push edx
call fcn.00401230
lea eax, [esp + 0x134]
push eax
call fcn.00401230
mov ecx, dword [esp + 0x354]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.005498cd
add esp, 0x34c
ret 4