joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446190
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov dword [eax], ebp
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.DLL_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x446323
push ebx
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x44630d
push esi
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x4461df
lea ebx, [eax + 0xe]
jmp 0x4461eb
cmp eax, 0x17
jne 0x44629a
lea ebx, [eax + 5]
cmp dword [edi + 0x18], 0
je 0x44629a
mov eax, dword [edi + 0x10]
test eax, eax
je 0x44629a
cmp eax, ebx
jb 0x44629a
push 0x20
call dword [0x55aa1c]
mov esi, eax
add esp, 4
test esi, esi
je 0x446302
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x55aa1c]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x4462f1
push ebx
push dword [edi + 0x18]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x446285
push eax
call dword [0x55aa28]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x4462d7
test ebp, ebp
jne 0x44628b
mov ebp, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x446296
mov dword [eax + 0x1c], esi
mov dword [esp + 0x10], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x4461d2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop esi
test eax, eax
je 0x4462b9
push eax
call dword [sym.imp.WS2_32.DLL_freeaddrinfo]
test ebx, ebx
je 0x446309
push ebp
call fcn.00446150
mov eax, dword [esp + 0x2c]
add esp, 4
xor ebp, ebp
mov dword [eax], ebp
mov eax, ebx
pop edi
pop ebx
pop ebp
add esp, 0xc
ret
push dword [esi + 0x18]
mov ebx, 8
call dword [0x55aa20]
push esi
call dword [0x55aa20]
add esp, 8
jmp 0x4462a9
push esi
mov ebx, 8
call dword [0x55aa20]
add esp, 4
jmp 0x4462a9
mov ebx, 8
jmp 0x4462a9
test ebp, ebp
jne 0x446319
mov ebx, 0x2af9
push ebx
call dword [sym.imp.WSOCK32.DLL_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], ebp
mov eax, ebx
pop ebx
pop ebp
add esp, 0xc
ret

Function at 0x446770
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x264], 2
je fcn.00446720
mov al, 1
ret
Function at 0x44c1cb
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov esi, 0x55cdac
cmp dword [0x55cda8], edi
jne 0x44c1fa
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x55cda8], 1
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x55cda4]
test esi, esi
je 0x44c255
test edi, edi
jne 0x44c39c
xor eax, eax
lea ecx, [esi + 0x114]
inc eax
cmp ebx, dword [ecx]
je 0x44c22b
inc eax
add ecx, 4
cmp eax, 0x40
jl 0x44c21c
jmp 0x44c247
push dword [esp + 0x1c]
add eax, 0x84
push dword [esp + 0x1c]
lea eax, [esi + eax*4]
push eax
call fcn.0044c174
xor edi, edi
add esp, 0xc
inc edi
mov esi, dword [esi]
test esi, esi
jne 0x44c20b
test edi, edi
jne 0x44c39c
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [esp + 0x10]
push ebp
push ebp
push 0x100000
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x44c39c
mov esi, dword [0x55cda4]
jmp 0x44c296
cmp dword [esi + 0xc], 0x3f
jl 0x44c337
mov esi, dword [esi]
test esi, esi
jne 0x44c28a
push 0x310
push 8
push dword [0x55c4c8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x44c396
push ebp
push 1
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi + 8], eax
test eax, eax
je 0x44c388
push ebp
push ebp
push esi
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
push 0x44c3af
mov dword [esi + 0x114], ebx
lea ebx, [esi + 0x214]
push 0x1000
mov dword [esi + 0x14], eax
mov dword [ebx], ebp
push ebp
mov dword [esi + 0xc], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x44c383
push eax
call edi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
call fcn.0044c174
mov eax, dword [0x55cda4]
add esp, 0xc
mov dword [esi + 4], ebp
mov dword [esi], eax
test eax, eax
je 0x44c32f
mov dword [eax + 4], esi
mov dword [0x55cda4], esi
jmp 0x44c39c
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
mov dword [esi + ecx*4 + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + eax*4 + 0x110], ebx
mov eax, dword [esi + 0xc]
mov dword [esi + eax*4 + 0x210], ebp
mov eax, dword [esi + 0xc]
add eax, 0x84
lea eax, [esi + eax*4]
push eax
call fcn.0044c174
add esp, 0xc
inc dword [esi + 0xc]
push ebp
push 1
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x44c39c
push dword [esi + 8]
call edi
push esi
push ebp
push dword [0x55c4c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x10]
call edi
push 0x55cdac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x66201468
Capabilities:
Accept command line arguments
Create process on windows
Query environment variable
Set environment variable
Terminate process

Disassembly:
mov eax, 0x6621b33d
call fcn.6620d014
sub esp, 0x3bc
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x110]
call fcn.662030f0
mov esi, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 4], edi
je 0x662014ac
push 0x104
lea eax, [ebp - 0x3c8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.6620d530
xor ecx, ecx
xor edx, edx
inc edx
movzx ebx, cl
test eax, eax
lea eax, [ebp - 0x3c8]
push ecx
cmovne ebx, edx
cmp dword [esi + 4], ecx
push ecx
push ecx
cmove eax, ecx
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.66206550
add esp, 0x1c
test al, al
je 0x662015f8
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.6620d4a0
add esp, 0xc
mov dword [ebp - 0x60], esi
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea ecx, [ebp - 0x1c0]
push 0xffffffffffffffff
push esi
call fcn.662030f0
mov byte [ebp - 4], 1
test bl, bl
jne 0x66201579
movzx eax, word [esi]
push 0x22
pop ecx
cmp ax, cx
jne 0x66201559
jmp 0x6620153b
cmp cx, ax
je 0x66201548
add esi, 2
movzx eax, word [esi]
test ax, ax
jne 0x66201536
jmp 0x6620155e
add esi, 2
jmp 0x6620155e
cmp ax, 0x20
je 0x6620155e
add esi, 2
movzx eax, word [esi]
test ax, ax
jne 0x6620154d
push esi
push dword [ebp - 0x110]
lea eax, [ebp - 0x1c0]
push str.__ls__ls
push eax
call fcn.662045b0
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
push str.TS_SOURCE
call esi
push edi
push str.TS_ORIGIN
call esi
test bl, bl
je 0x662015bc
push dword [ebp - 0x110]
push str.TS_UPDATED_DATFILE
call esi
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push dword [ebp - 0x1c0]
push dword [ebp + 0xc]
jmp 0x662015d9
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push dword [ebp - 0x1c0]
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x662015ea
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], bl
call fcn.66203210
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.66203210
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x66201f54
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov eax, 0x6621b470
call fcn.6620d014
sub esp, 0x300
push esi
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0xbc]
call fcn.66202f50
lea eax, [ebp - 0x30c]
mov byte [ebp - 4], 2
push eax
push dword [ebp + 0xb8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x2e0]
push eax
push 1
lea ecx, [ebp - 0xbc]
call fcn.662033a0
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xbc]
call fcn.66203f20
lea eax, [ebp - 0x30c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x66201f94
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.66203210
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.66203210
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb8]
call fcn.66203210
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x662024de
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 4], ebx
jne 0x662024fd
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
jmp 0x66202575
push esi
mov esi, dword [ebp + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x6620251c
push 1
push dword [esi]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x6620256d
mov eax, dword [ebp + 0x10]
push dword [eax]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x66202555
mov edi, dword [ebp + 0x10]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x96
je 0x66202552
push dword [edi]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x66202530
mov edi, dword [ebp + 8]
push 1
push dword [esi]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x66202572
push esi
mov ecx, edi
call fcn.66203f20
xor eax, eax
inc eax
jmp 0x66202574
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x662073b0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x662073fa
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x662073fa
push 0
mov ecx, esi
call fcn.66203cb0
push 0
push 0
push 0xffffffffffffffff
push 0x7ffe0030
push 1
mov ecx, esi
call fcn.662033a0
push str.System32
push esi
call fcn.6620ada0
push dword [ebp + 8]
push esi
call fcn.6620ada0
add esp, 0x10
xor eax, eax
pop esi
pop ebp
ret
mov eax, 0xc000000d
pop esi
pop ebp
ret
Function at 0x6620e43f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebx
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
jne 0x6620e407
test ecx, edi
cli
invalid
jmp dword [esi - 0x3a]
test edx, edi
cli
invalid
invalid
jns 0x6620e415
test ebx, edi
cli
invalid
call [ecx*4 - 0x5137b]
call dword [eax - 0x18]
jge 0x6620e452
invalid
call [ecx + pe_nt_image_headers32]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6620d793
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.6620d7ce
xchg ebp, eax
xchg esi, eax
or dword [eax + 4], ebp
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x6620e497
jne 0x6620e407
test ecx, edi
cli
invalid
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
inc dword [ecx]
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
inc dword [ecx]
cmp dword [ebp - 0x398], 0
je 0x6620e4c2
cmp dword [ebp - 0x398], 0
je 0x6620e68c
cmp dword [ebp + 0xc], 1
je 0x6620e68c
cmp dword [ebp + 0xc], 8
jne 0x6620e654
invalid
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x6620e4c2
cmp dword [ebp - 0x398], 0
je 0x6620e68c
cmp dword [ebp + 0xc], 1
je 0x6620e68c
cmp dword [ebp + 0xc], 8
jne 0x6620e654
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.6620d7de
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6620d793
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
invalid
Function at 0x6620e490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebx
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
jne 0x6620e407
test ecx, edi
cli
invalid
jmp dword [esi - 0x3a]
test edx, edi
cli
invalid
invalid
jns 0x6620e415
test ebx, edi
cli
invalid
call [ecx*4 - 0x5137b]
call dword [eax - 0x18]
jge 0x6620e452
invalid
call [ecx + pe_nt_image_headers32]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6620d793
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.6620d7ce
xchg ebp, eax
xchg esi, eax
or dword [eax + 4], ebp
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x6620e497
jne 0x6620e407
test ecx, edi
cli
invalid
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
inc dword [ecx]
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
inc dword [ecx]
cmp dword [ebp - 0x398], 0
je 0x6620e4c2
cmp dword [ebp - 0x398], 0
je 0x6620e68c
cmp dword [ebp + 0xc], 1
je 0x6620e68c
cmp dword [ebp + 0xc], 8
jne 0x6620e654
invalid
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x6620e4c2
cmp dword [ebp - 0x398], 0
je 0x6620e68c
cmp dword [ebp + 0xc], 1
je 0x6620e68c
cmp dword [ebp + 0xc], 8
jne 0x6620e654
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.6620d7de
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6620d793
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
invalid
Function at 0x402e5a
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
lea edi, [ebp - 0x24]
mov esi, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x1c], ebx
call fcn.00406c78
push ebx
push str._HostName_
mov ecx, edi
call fcn.00402e15
push 1
push str._IPAddress_
mov ecx, edi
call fcn.00402e15
push 2
push str._ReplyIPAddress_
mov ecx, edi
call fcn.00402e15
push 3
push str._SucceedCount_
mov ecx, edi
call fcn.00402e15
push 4
push str._FailedCount_
mov ecx, edi
call fcn.00402e15
push 5
push str._ConsecutiveFailedCount_
mov ecx, edi
call fcn.00402e15
push 8
push str._FailedPercent_
mov ecx, edi
call fcn.00402e15
push 0xa
push str._LastPingStatus_
mov ecx, edi
call fcn.00402e15
push 0xb
push str._LastPingTime_
mov ecx, edi
call fcn.00402e15
push 0xc
push str._LastPingTTL_
mov ecx, edi
call fcn.00402e15
push 0xd
push str._AveragePingTime_
mov ecx, edi
call fcn.00402e15
push 0xe
push str._Description_
mov ecx, edi
call fcn.00402e15
push 0xf
push str._LastSucceedOn_
mov ecx, edi
call fcn.00402e15
push 0x10
push str._LastFailedOn_
mov ecx, edi
call fcn.00402e15
push 0x40
lea eax, [ebp - 0x64]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], ebx
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp - 0x68], 0x44
mov word [ebp - 0x38], 5
jne 0x402f7b
mov eax, 0x4114d0
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
lea esi, [ebp - 0x24]
call fcn.00406c53
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x405989
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call sub.msvcrt.dll_wcslen
pop ecx
add eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
leave
ret
Function at 0x405b10
Capabilities:
Get file size
Read file on windows
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 8]
call fcn.00405957
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 8], eax
je 0x405ba2
push ebx
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x405b8b
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push 0
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x405b8b
shr esi, 1
and word [edi + esi*2], 0
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x405b94
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
jmp 0x405bab
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x405ea7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x406058
Capabilities:
Get common file path

Disassembly:
cmp word [0x416448], 0
push esi
mov esi, 0x416448
jne 0x406079
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
mov dword [0x416654], eax
push esi
push dword [esp + 0xc]
call sub.msvcrt.dll_wcscpy
mov eax, dword [0x416654]
pop ecx
pop ecx
pop esi
ret

Function at 0x406466
Capabilities:
Create process on windows

Disassembly:
push 5
mov eax, 0x4114d0
push eax
push eax
push dword [esp + 0x14]
push 0x412494
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret
Function at 0x407502
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, eax
xor edi, edi
mov dword [esi + 0x20], edi
call fcn.00407257
cmp dword [esi + 0x18], edi
jne 0x407523
mov eax, esi
call fcn.00407675
mov edx, esi
call fcn.00407655
cmp eax, 0xffffffff
jne 0x407585
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp - 4], edi
cmp dword [esi + 0x20], edi
jne 0x407637
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x40755f
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x24]
push eax
call ebx
test eax, eax
jne 0x40754b
mov edx, esi
call fcn.00407655
cmp eax, edi
jge 0x40758d
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1f4
jl 0x407538
cmp eax, edi
jl 0x407645
imul eax, eax, 0x150
add eax, dword [esi + 0x18]
mov dword [ebp - 4], edi
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 4
push ebx
push 0x40733f
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x40763c
mov ecx, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x118], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x134], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x14c], esi
mov esi, dword [ebp + 0x24]
cmp esi, edi
mov dword [ebx + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x138], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 8], ecx
mov dword [ebx + 0x110], edi
mov dword [ebx + 0x114], edi
mov dword [ebx + 0x13c], eax
je 0x407616
lea edi, [ebx + 0x140]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push edi
push 0xff
add ebx, 0x10
push ebx
push 0xffffffffffffffff
push dword [ebp + 0x10]
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
xor eax, eax
inc eax
jmp 0x40764e
mov dword [esi + 0x1c], 2
jmp 0x40764c
mov dword [esi + 0x1c], 1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x24

Function at 0x407db2
Capabilities:
Read .ini file

Disassembly:
and word [esi], 0
push 0x415e50
push dword [esp + 0xc]
push esi
push 0x4114d0
push dword [esp + 0x14]
push 0x416060
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
mov eax, esi
ret

Function at 0x407dd7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00410040
and word [ebp - 0x2004], 0
push 0x2000
lea eax, [ebp - 0x2002]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x415e50
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push 0x4114d0
push dword [ebp + 8]
push 0x416060
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
cmp word [ebp - 0x2004], 0
je 0x407e46
lea eax, [ebp - 0x2004]
push eax
push dword [ebp + 0xc]
call sub.msvcrt.dll_wcscpy
pop ecx
xor eax, eax
pop ecx
inc eax
leave
ret
xor eax, eax
leave
ret