joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45776c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45777e
add esp, 0xfffffff0
call fcn.0040440c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f8f0
mov eax, dword [0x477fec]
mov dword [eax + 4], ebx
mov dword [eax], 0x457b10
mov eax, dword [0x477ff8]
mov dword [eax + 4], ebx
mov dword [eax], 0x457b1c
mov eax, ebx
call fcn.00457b28
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416560]
call fcn.004040b8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416560]
call fcn.004040b8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416560]
call fcn.004040b8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416560]
call fcn.004040b8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416560]
call fcn.004040b8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4535c0
push eax
push 0
push 0
mov eax, dword [0x478154]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424adc]
call fcn.00426330
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424adc]
call fcn.00426330
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424adc]
call fcn.00426330
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457f58
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457e28
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457e28
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457e28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4578bb
call fcn.00404464
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457c0c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457db7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x457d98
mov dl, 1
mov eax, dword [0x416b10]
call fcn.004040b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404fc8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x457d87
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044d500
test al, al
je 0x457d7a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x457dc8
lea eax, [ebp - 0x254]
call fcn.0040a278
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x457d7a
xor eax, eax
push ebp
push 0x457d73
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x457e00
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457d5c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405238
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x457d5c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457d7a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457c7d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041b138
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457dbe
lea eax, [ebp - 0x260]
call fcn.00404fc8
ret

Function at 0x458730
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x47c574]
cmp byte [eax + 0xad], 0
jne 0x4587a1
cmp dword [0x47c58c], 0
jne 0x458762
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4586ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47c58c], eax
cmp dword [0x47c588], 0
jne 0x45877d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47c588], eax
cmp dword [0x47c590], 0
jne 0x4587a1
push esp
push 0
push 0
push 0x458690
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x47c590], eax
pop edx
ret
Function at 0x458974
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45898b
add esp, 0xfffffff0
call fcn.0040440c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f8f0
mov eax, dword [0x478140]
cmp word [eax + 2], 0
jne 0x4589b3
mov eax, dword [0x478140]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a3c8
mov eax, dword [0x478204]
cmp word [eax + 2], 0
jne 0x4589cd
mov eax, dword [0x478204]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a5d4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416560]
call fcn.004040b8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416560]
call fcn.004040b8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416560]
call fcn.004040b8
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4255ec]
call fcn.0042cc54
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x458b84
mov eax, dword [0x478054]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042d028
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ac94
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x478054]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040db64
test eax, eax
je 0x458ad4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409bf0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040db98
test eax, eax
je 0x458ae8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405238
mov byte [ebx + 0xd4], 0
push ebx
push 0x45a014
call fcn.0042108c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x477f30]
cmp byte [eax], 0
jne 0x458b39
mov eax, ebx
call fcn.00458cc8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045ae70
mov eax, ebx
call fcn.0045b9d0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458b79
call fcn.00404464
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458f48
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47c574]
cmp dword [eax + 0x30], 0
je 0x458ff2
cmp dword [ebx + 0x94], 0
jne 0x458fec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458ed8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458fec
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x458fb2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458fec
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418c30
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458fc1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459d0c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x459d41
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004050b8
jmp 0x459d4e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040501c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b054
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b0c2
mov eax, esi
call fcn.00448224
test al, al
je 0x45b0c2
mov eax, dword [ebx + 0x84]
call fcn.00447e84
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b0c2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45b0b6
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447e84
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00440270
jmp 0x45b0c2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045ae90
pop esi
pop ebx
ret
Function at 0x460c38
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040547c
xor eax, eax
push ebp
push 0x460d6d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x460d40
xor edx, edx
push ebp
push 0x460d39
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x460c85
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x460d0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x460cfd
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x460cc4
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040548c
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00402f44
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460d04
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x477f7c]
mov dl, 1
mov eax, dword [0x408244]
call fcn.0040cdd8
call fcn.0040495c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460d74
lea eax, [ebp - 4]
call fcn.00404fc8
ret
Function at 0x460d7c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x460f37
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405778
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x460f50
call fcn.004052d8
mov eax, ebx
call fcn.0041ff30
mov edi, eax
dec edi
test edi, edi
jl 0x460e34
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041ff04
mov edx, dword [0x45eff8]
call fcn.00404274
test al, al
je 0x460e30
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041ff04
lea edx, [ebp - 0x14]
call fcn.00440350
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405778
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040534c
inc esi
dec edi
jne 0x460de2
movzx eax, byte [0x460f54]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x460f60
mov eax, dword [ebp - 8]
call fcn.0040e070
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00405060
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00440350
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x460f50
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00440350
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x460f50
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x460f50
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x460f6c
call fcn.0040a2f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460f3e
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404fec
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404fec
lea eax, [ebp - 0x14]
call fcn.00404fc8
lea eax, [ebp - 0x10]
call fcn.00404fc8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404fec
ret
Function at 0x462308
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040547c
xor eax, eax
push ebp
push 0x462386
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040548c
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x462351
mov eax, dword [ebx + 4]
call fcn.0040548c
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46238d
lea eax, [ebp - 4]
call fcn.00404fc8
ret

Function at 0x46343c
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4635e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.004031a0
cmp word [ebx + 0xa2], 0
je 0x463485
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x463499
lea esi, [ebp - 0xc]
jmp 0x46349b
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x4634a8
xor edi, edi
jmp 0x4634b5
mov eax, dword [ebx + 0x80]
call fcn.0040548c
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.0040548c
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00462aec
mov eax, dword [ebp - 0x14]
call fcn.0040548c
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.0040548c
push eax
mov eax, dword [ebp - 4]
call fcn.0040548c
push eax
mov eax, ebx
call fcn.00462c2c
push eax
mov eax, ebx
call fcn.00462c00
push eax
mov eax, ebx
call fcn.00462bb8
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004629a4
mov eax, dword [ebp - 0x18]
call fcn.0040548c
push eax
mov eax, dword [ebx + 8]
call fcn.0040548c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0x10], 0
jne 0x46353e
call fcn.0040e600
xor edx, edx
push ebp
push 0x4635b7
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x46357c
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x463572
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4635a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4635be
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x4635f0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x46361c
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040548c
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x463641
call fcn.0040e600
xor eax, eax
push ebp
push 0x463678
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x463661
call fcn.0040e600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46367f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x46439c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407e80]
call fcn.00405a64
xor eax, eax
push ebp
push 0x46453d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x475b18], 0
jne 0x4643f7
mov ecx, dword [0x477f44]
mov dl, 1
mov eax, dword [0x408244]
call fcn.0040cdd8
call fcn.0040495c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403888
mov eax, ebx
call fcn.00405934
mov dword [ebp - 0x24], eax
mov esi, 0x46454c
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406a04
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405944
test eax, eax
jle 0x4644e0
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4644cc
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405238
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x464472
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405250
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x464488
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405250
mov eax, dword [ebp - 0x54]
call fcn.0040548c
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405238
mov eax, dword [ebp - 0x58]
call fcn.0040548c
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4644ce
xor eax, eax
test al, al
je 0x4644d9
mov ebx, 0x15
jmp 0x4644e5
mov ebx, 0x10
jmp 0x4644e5
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x475b18]
call fcn.00464220
mov eax, dword [ebp - 4]
call fcn.00464220
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406a1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464544
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404fec
lea eax, [ebp - 0xc]
mov edx, dword [0x407e80]
call fcn.00405b34
ret
Function at 0x469a44
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469ae8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
mov eax, dword [0x47c620]
call fcn.0040548c
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, dword [0x47c620]
call fcn.0040548c
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004051c0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004099cc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x469ab3
mov eax, dword [ebp - 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0x5c
je 0x469ad2
mov eax, dword [ebp - 4]
mov edx, 0x469afc
call fcn.00405294
mov eax, dword [ebp - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469aef
lea eax, [ebp - 0x10]
call fcn.00404fc8
ret

Function at 0x469b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
push 0xff
mov eax, dword [0x47c620]
call fcn.0040548c
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, dword [0x47c620]
call fcn.0040548c
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004051c0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x469b51
mov eax, dword [ebp - 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0x5c
je 0x469b70
mov eax, dword [ebp - 4]
mov edx, 0x469b7c
call fcn.00405294
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x469e30
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040547c
xor eax, eax
push ebp
push 0x469f08
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x12
mov eax, dword [ebp - 4]
call fcn.004097fc
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 0
je 0x469ed1
call fcn.0040af4c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x1e]
lea edx, [ebp - 0x22]
lea eax, [ebp - 0x24]
call fcn.0040af04
call fcn.0040af4c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x16]
push eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x1a]
lea eax, [ebp - 0x1c]
call fcn.0040ac24
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetFileTime
jmp 0x469ee9
push 0x47c60c
push 0x47c60c
push 0x47c60c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetFileTime
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469f0f
lea eax, [ebp - 4]
call fcn.00404fc8
ret