joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4126b8
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x410], ax
mov ebx, edx
lea eax, [ebp - 0x40e]
mov edi, ecx
push eax
call fcn.00443b90
xor eax, eax
push esi
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.00443b90
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x208]
add esp, 0x18
call fcn.00420cbd
test eax, eax
je 0x412788
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test ebx, ebx
je 0x412740
push ebx
lea eax, [ebp - 0x208]
push eax
call esi
xor eax, eax
mov ecx, eax
movzx eax, word [ebp + ecx - 0x208]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x412], ax
test ax, ax
jne 0x412728
push edi
lea eax, [ebp - 0x208]
push eax
call esi
lea edi, [ebp - 0x208]
sub edi, 2
xor ecx, ecx
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x412755
mov esi, 0x482a7c
lea eax, [ebp - 0x208]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
je 0x412788
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push esi
push edi
push 0x40
xor edi, edi
lea eax, [ebp - 0x54]
push edi
push eax
mov esi, ecx
call fcn.00443b90
xor eax, eax
mov dword [ebp - 0x58], 0x44
push 0x206
mov word [ebp - 0x260], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x25e]
push edi
push eax
movdqu xmmword [ebp - 0x10], xmm0
call fcn.00443b90
lea edx, [ebp - 0x260]
add esp, 0x18
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4134b2
push str.mgslaunch.exe__unregister
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push edi
push 0x20
push edi
push edi
push edi
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x413502
push 0x1388
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41356f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x924]
dec eax
je 0x4135a6
dec eax
jne 0x4135ae
lea edx, [ecx + 0x208]
add ecx, 0x30c
call fcn.0040da1e
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [ebp + 8]
call fcn.004263d4
jmp 0x4135ae
push dword [ebp + 8]
call fcn.004135b3
pop ecx
pop ebp
ret 4
Function at 0x413b89
Capabilities:
Create process on windows
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2044
call fcn.00443b60
push esi
mov esi, dword [0x4ae264]
push edi
lea edi, [esi + 0x2b58]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413ba9
sub ecx, edx
je 0x413d29
xor eax, eax
cmp dword [esi + 0xaf74], eax
je 0x413d29
push ebx
mov ebx, 0x3ff
mov byte [ebp - 0x1844], al
push ebx
push eax
lea eax, [ebp - 0x1843]
push eax
call fcn.00443b90
push ebx
lea eax, [ebp - 0x443]
mov byte [ebp - 0x444], 0
push 0
push eax
call fcn.00443b90
push ebx
lea eax, [ebp - 0x1043]
mov byte [ebp - 0x1044], 0
push 0
push eax
call fcn.00443b90
push ebx
lea eax, [ebp - 0x843]
mov byte [ebp - 0x844], 0
push 0
push eax
call fcn.00443b90
push ebx
lea eax, [ebp - 0xc43]
mov byte [ebp - 0xc44], 0
push 0
push eax
call fcn.00443b90
push ebx
xor ebx, ebx
mov byte [ebp - 0x1444], 0
lea eax, [ebp - 0x1443]
push ebx
push eax
call fcn.00443b90
lea eax, [ebp - 0x1844]
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0xc], eax
add esp, 0x48
lea eax, [ebp - 0x444]
mov byte [ebp - 0x2044], bl
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x844]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0xc44]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1444]
mov dword [ebp - 0x24], eax
mov eax, 0x400
push 0x7ff
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2043]
push ebx
push eax
call fcn.00443b90
add esp, 0xc
lea eax, [ebp - 4]
lea edx, [ebp - 0x2044]
push esi
push ecx
push eax
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push 0x103
call fcn.00410cfb
lea ecx, [ebp - 0x2044]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413ce9
lea eax, [ebp - 0x40]
sub ecx, edx
push eax
push ebx
push ecx
lea eax, [ebp - 0x2044]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp dword [ebp - 0x34], 3
je 0x413d11
cmp dword [ebp - 0x34], 4
jne 0x413d28
push 1
push ebx
push ebx
lea eax, [ebp - 0x2044]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41421d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push esi
push edi
push 0x40
xor edi, edi
lea eax, [ebp - 0x50]
push edi
push eax
mov esi, ecx
call fcn.00443b90
xor eax, eax
mov dword [ebp - 0x54], 0x44
push 0x206
mov word [ebp - 0x25c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x25a]
push edi
push eax
movdqu xmmword [ebp - 0x10], xmm0
call fcn.00443b90
add esi, 0xef2
lea edx, [ebp - 0x25c]
add esp, 0x18
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x414275
push 0x482d4c
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push edi
push 0x20
push edi
push edi
push edi
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
test eax, eax
je 0x4142c7
push 0x1388
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret
Function at 0x4149c3
Capabilities:
Create directory
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00443b90
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0x20c]
add esp, 0xc
call fcn.00420cbd
test eax, eax
je 0x414b08
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], ebx
push eax
push 0x4781e8
push 1
push ebx
push 0x478358
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x414b0b
mov eax, dword [ebp + 0x18]
lea edx, [ebp - 4]
push edx
push 0x4782a8
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x414afd
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x20], ebx
push ebx
cmovne esi, dword [ebp + 0x20]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
js 0x414af4
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp + 0x14], ebx
je 0x414a8e
push dword [ebp + 0x14]
lea eax, [ebp - 0x20c]
push eax
call esi
push edi
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call esi
lea edi, [ebp - 0x20c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x414ab2
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x20c]
mov esi, 0x482a7c
push 1
push edx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [eax]
call dword [ecx + 0x18]
push ebx
mov esi, eax
lea eax, [ebp - 0x20c]
push eax
push 0x3001
push 0x2000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x414b0b
mov esi, dword [ebp + 0x20]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x414eb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x107]
push 0x103
push ebx
push eax
mov esi, ecx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x108], bl
call fcn.00443b90
lea eax, [esi + 0x9f6]
push eax
lea eax, [ebp - 0x108]
push 0x481d54
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x108]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [0x4ae264]
mov esi, eax
push ebx
lea eax, [ebp - 4]
push eax
push dword [ecx + 0x1220]
push dword [ecx + 0x121c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415181
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x410], ax
xor ebx, ebx
lea eax, [ebp - 0x40e]
mov esi, ecx
push ebx
push eax
call fcn.00443b90
xor eax, eax
push edi
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push ebx
push eax
call fcn.00443b90
add esp, 0x18
lea eax, [ebp - 0x410]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.bresume.exe
lea edi, [esi + 0xef2]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push edi
lea eax, [ebp - 0x208]
push str._s_s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
push str.dresume.exe
push edi
lea eax, [ebp - 0x208]
push str._s_s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
push str.tresume.exe
push edi
lea eax, [ebp - 0x208]
push str._s_s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
push str.sresume.exe
push edi
lea eax, [ebp - 0x208]
push str._s_s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
lea ecx, [ebp - 0x208]
sub ecx, edi
movzx eax, word [edi]
mov word [ecx + edi], ax
lea edi, [edi + 2]
test ax, ax
jne 0x415297
push str.install.exe
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
test eax, eax
lea eax, [ebp - 0x208]
push eax
setne bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x4152f1
xor eax, 1
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4152fa
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.00443b90
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x208]
push str.bresume.exe
push ebx
push str._s_s
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x208]
add esp, 0x1c
push eax
call esi
push str.dresume.exe
push ebx
lea eax, [ebp - 0x208]
push str._s_s
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call esi
push str.tresume.exe
push ebx
lea eax, [ebp - 0x208]
push str._s_s
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call esi
push str.sresume.exe
push ebx
lea eax, [ebp - 0x208]
push str._s_s
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4153b6
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
lea eax, [ebp - 8]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x10]
movlpd qword [ebp - 0x18], xmm0
push eax
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x10], xmm0
push eax
push 0x4830ec
movlpd qword [ebp - 8], xmm0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ebx, 0x96
mov esi, eax
push ebx
call fcn.0041ed01
push ebx
xor ebx, ebx
mov edi, eax
push ebx
push edi
call fcn.00443b90
add esp, 0x10
test esi, esi
je 0x415447
push 0x3f
lea eax, [ebp - 0x57]
mov byte [ebp - 0x58], bl
push ebx
push eax
call fcn.00443b90
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
lea eax, [ebp - 0x58]
push str._I64d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x95
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0043eea0
add esp, 0x28
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415eac
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 0x103
jne 0x415f03
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0x38]
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x415eda
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor edi, edi
mov byte [esi + 0xe4], 1
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esi + 0xf4]
mov dword [esi + 0xf8], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
jmp 0x416048
xor edi, edi
cmp esi, 0x10f
jne 0x415fe5
xor eax, eax
push 0xfe
mov word [ebp - 0x13c], ax
lea eax, [ebp - 0x13a]
push edi
push eax
call fcn.00443b90
mov ebx, dword [ebp + 0x1c]
push 0x38
push edi
mov eax, dword [ebx]
mov eax, dword [eax + 0x38]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.00443b90
add esp, 0x18
mov dword [ebp - 0x3c], 0x3c
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x28], 0x7f
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
push edi
push edi
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push 3
lea eax, [ebp - 0x13c]
push 0x48328c
push eax
call fcn.0045a14b
add esp, 0xc
test eax, eax
jne 0x415faa
lea eax, [ebp - 0x13c]
push str..valueactive.
push eax
call fcn.0043fb2b
pop ecx
pop ecx
test eax, eax
je 0x415faa
mov eax, dword [ebx]
xor ecx, ecx
mov eax, dword [eax + 8]
mov word [eax], cx
jmp 0x415efc
mov esi, dword [ebp + 8]
mov byte [esi + 0x11], 1
cmp dword [esi - 0x18], edi
je 0x415fbf
mov ecx, dword [esi - 0x38]
push edi
call fcn.0041cb75
mov edx, dword [esi - 0x38]
cmp dword [edx + 0x14c], edi
je 0x415efc
mov edx, dword [edx + 0x148]
push edi
push edi
push 5
pop ecx
call fcn.00411da6
pop ecx
pop ecx
jmp 0x415efc
mov edx, edi
mov eax, 0x4a7388
cmp dword [eax], edi
je 0x41601a
cmp esi, dword [eax - 8]
je 0x415ffb
inc edx
add eax, 0x10
jmp 0x415fec
push dword [ebp + 0x20]
mov eax, dword [ebp + 8]
push dword [ebp + 0x1c]
shl edx, 4
add eax, 0xffffffc4
mov ecx, dword [edx + 0x4a738c]
add ecx, eax
call dword [edx + 0x4a7388]
jmp 0x416048
push dword [ebp + 0x28]
mov eax, dword [ebp + 8]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
mov eax, dword [eax - 0x38]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push eax
call dword [ecx + 0x18]
xor ecx, ecx
cmp eax, 0x80020003
cmovne ecx, eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x4168f8
Capabilities:
Create pipe
Create process on windows
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8b8
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x7ff
push eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x8b4], al
lea eax, [ebp - 0x8b3]
push eax
call fcn.00443b90
add esp, 0xc
mov byte [ebp - 0xb0], 0
lea eax, [ebp - 0xaf]
push 0x31
push 0
push eax
call fcn.00443b90
mov ecx, dword [ebx + 0x1c]
add esp, 0xc
call fcn.00420ad8
push eax
push dword [ebx + 0x18]
lea eax, [ebp - 0xb0]
push dword [ebx + 0x14]
push str.tracert__d__h__hu__w__hu__4__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
add esp, 0x14
stosd dword es:[edi], eax
push 0x800
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x1c], 0xc
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x41699f
push str.Failed_to_create_Traceroute_pipe__Aborting_TraceRoute
jmp 0x416a6e
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
push 0x44
pop esi
push esi
stosd dword es:[edi], eax
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00443b90
add esp, 0xc
or dword [ebp - 0x50], 0x100
xor eax, eax
mov dword [ebp - 0x7c], esi
mov word [ebp - 0x4c], ax
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x7c]
push eax
push ecx
push ecx
push 0x8000000
push 1
push ecx
push ecx
lea eax, [ebp - 0xb0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
push dword [ebp - 0x2c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
je 0x416a69
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x28]
call esi
push dword [ebp - 0xc]
call esi
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 0
push eax
push 0x800
lea eax, [ebp - 0x8b4]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x416a46
push str.Failed_to_read_Traceroute_buffer__Aborting_TraceRoute
jmp 0x416a6e
mov eax, dword [ebp - 8]
push dword [ebp - 0x10]
mov byte [ebp + eax - 0x8b4], 0
call esi
lea eax, [ebp - 0x8b4]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.004167ce
jmp 0x416a81
push str.Failed_to_create_Traceroute_Process__Aborting_TraceRoute
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp + 8]
push 0x48086e
call fcn.004074b1
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x416a95
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
push edi
mov edi, ecx
push 0x4aed5c
mov dword [ebp - 4], edi
call fcn.0041652d
xor ebx, ebx
mov dword [esp], 0x3ff
lea eax, [ebp - 0x407]
mov dword [ebp - 8], ebx
push ebx
push eax
mov byte [ebp - 0x408], bl
call fcn.00443b90
mov eax, dword [edi + 4]
add esp, 0xc
cmp eax, 0x13
jae 0x416ae3
inc eax
mov dword [ebp - 8], eax
mov dword [edi + 4], eax
jmp 0x416ae6
mov dword [edi + 4], ebx
push dword [ebp + 0xc]
mov bx, word [ebp + 0x10]
push dword [ebp + 8]
mov esi, dword [ebp + 0x14]
push esi
movzx eax, bx
push eax
lea eax, [ebp - 0x408]
push str._hu_:__s_fn:__s___ln:__li_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [edi + 8]
mov ecx, 0x100
mov edx, dword [ebp - 8]
push 0x4aed5c
mov edi, dword [eax + edx*4]
mov eax, dword [ebp - 4]
mov edi, dword [edi]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 8]
mov ecx, 0x100
mov esi, dword [ebp + 8]
mov edi, dword [eax + edx*4]
mov edi, dword [edi + 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 8]
mov eax, dword [eax + edx*4]
mov word [eax + 8], bx
mov eax, dword [ecx + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + edx*4]
mov dword [eax + 0xc], ecx
call fcn.0041654c
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x417c5b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor esi, esi
push esi
push esi
push esi
push esi
mov ebx, ecx
call edi
push esi
push esi
push esi
push esi
mov dword [ebp - 4], eax
call edi
push 0
push 0
push 1
push 0
mov esi, eax
call edi
mov edi, dword [ebp - 4]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x58], eax
mov al, byte [ebp + 0x24]
push 0
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x30], 0x41c14b
mov byte [ebx + 0x5c], al
call fcn.0041ed0a
pop ecx
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jne 0x417cc5
xor eax, eax
jmp 0x417cca
call fcn.004156ef
mov dword [ebx + 0x20], eax
mov al, byte [ebp + 0x28]
mov byte [ebx + 0x5d], al
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp + 0x38]
push 0
mov dword [ebx + 0x6c], eax
call fcn.0041ed0a
pop ecx
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
jne 0x417cfe
xor eax, eax
jmp 0x417d03
call fcn.004156ef
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x40]
mov dword [ebx + 0x80], eax
mov eax, dword [ebp + 0x44]
mov dword [ebx + 0x84], eax
mov eax, dword [ebp + 0x48]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp + 0x4c]
push 0x1000
mov dword [ebx + 0x90], eax
call fcn.0041ed01
mov dword [esp], 0x1000
mov esi, eax
push 0
push esi
call fcn.00443b90
push dword [ebp + 0x18]
lea eax, [ebx + 0x24]
mov dword [ebx + 0x7c], esi
push 0x481d54
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
xor esi, esi
push esi
call fcn.0041ed0a
mov ecx, dword [ebp + 0x1c]
add esp, 0x1c
test ecx, ecx
jne 0x417d70
mov eax, esi
jmp 0x417d75
call fcn.004156ef
mov dword [ebx + 0x40], eax
lea eax, [ebx + 4]
push eax
push esi
push ebx
push 0x417da8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push edi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x48
Function at 0x418222
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x418249
xor eax, eax
jmp 0x41829b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
test eax, eax
je 0x418292
lea ecx, [eax + 1]
push esi
push ecx
call fcn.0043e436
pop ecx
push ebx
mov esi, eax
lea ecx, [ebp - 8]
mov eax, dword [ebp - 4]
push ecx
push eax
push esi
push edi
mov byte [esi + eax], bl
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 4]
sub esp, 0xc
mov ecx, esi
call fcn.004181a0
push esi
mov ebx, eax
call fcn.0043e014
add esp, 0x10
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4182d4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
mov eax, 0x48086e
cmovne eax, edi
mov edi, eax
mov ecx, edi
call fcn.004063b8
mov ebx, eax
mov ecx, 0x1000
sub ecx, dword [esi + 4]
cmp ebx, ecx
cmovg eax, ecx
push eax
mov dword [ebp + 8], eax
mov eax, dword [esi + 4]
add eax, 8
add eax, esi
push edi
push eax
call fcn.004434a0
mov eax, dword [ebp + 8]
mov ecx, 0x1000
add dword [esi + 4], eax
add esp, 0xc
cmp dword [esi + 4], ecx
jne 0x418346
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push ecx
lea eax, [esi + 8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
and dword [esi + 4], 0
mov eax, dword [ebp + 8]
sub ebx, eax
je 0x41834e
add edi, eax
jmp 0x4182e0
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 4