joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4601fe
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, eax
push esi
lea eax, [ebp - 4]
push eax
call fcn.00419e44
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
call fcn.00419e44
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jne 0x460331
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.0048a3e0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
push ebx
push ebx
push eax
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x4c], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x46026a
push dword [ebp + 8]
call fcn.00403dfc
jmp 0x46037d
push dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
call fcn.0044c980
cmp dword [ebp - 0x40], 5
push 0x2f
pop eax
jne 0x460285
push 0x5c
pop eax
push eax
lea esi, [ebp - 0xc]
call fcn.0043406b
mov esi, eax
cmp esi, ebx
jl 0x4602ba
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x10]
push eax
sub ecx, esi
lea eax, [ebp - 0xc]
dec ecx
push eax
call fcn.0044ca90
lea edi, [ebp - 4]
call fcn.004085dd
lea ecx, [ebp - 0x10]
call fcn.00403d84
cmp dword [ebp - 0x40], 3
jne 0x4602c4
push 0x3f
jmp 0x4602cc
cmp dword [ebp - 0x40], 1
jne 0x4602d8
push 0x3b
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00434041
mov esi, eax
cmp esi, ebx
jl 0x4602fb
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.0042927c
lea edi, [ebp - 4]
call fcn.004085dd
lea ecx, [ebp - 0x10]
call fcn.00403d84
lea eax, [ebp - 4]
push eax
call fcn.004464f0
lea eax, [ebp - 0x10]
mov dword [esp], str..aiu
push eax
call fcn.00412ade
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 4]
call fcn.00445940
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00403d84
lea ecx, [ebp - 0xc]
call fcn.00403d84
push 0x3a
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00434041
test eax, eax
jle 0x460345
mov eax, esi
jmp 0x460374
mov eax, dword [ebp - 8]
cmp dword [eax - 0xc], ebx
je 0x460366
lea eax, [ebp - 8]
call fcn.004452a0
mov eax, dword [ebp - 4]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 8]
call fcn.00434240
jmp 0x460371
lea eax, [ebp - 4]
lea edi, [ebp - 8]
call fcn.004085dd
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00419e44
lea ecx, [ebp - 8]
call fcn.00403d84
lea ecx, [ebp - 4]
call fcn.00403d84
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x460395
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0048a3e0
add esp, 0xc
push 0x64
pop eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x40], 0x3c
mov edi, dword [eax - 0xc]
push ecx
call fcn.0044c980
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x460402
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea ecx, [ebp - 4]
call fcn.00403d84
pop edi
mov eax, ebx
pop ebx
leave
ret
push dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
lea eax, [ebp + 8]
push eax
call fcn.0044c980
mov edi, dword [ebp + 0x14]
call fcn.004085dd
lea ecx, [ebp + 8]
call fcn.00403d84
push dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call fcn.0044c980
mov edi, dword [ebp + 0x18]
call fcn.004085dd
lea ecx, [ebp + 8]
call fcn.00403d84
cmp dword [ebp - 0x24], ebx
je 0x460464
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
lea eax, [ebp + 8]
push eax
call fcn.0044c980
mov edi, dword [ebp + 0x1c]
call fcn.004085dd
lea ecx, [ebp + 8]
call fcn.00403d84
cmp dword [ebp - 0x1c], ebx
je 0x460488
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
lea eax, [ebp + 8]
push eax
call fcn.0044c980
mov edi, dword [ebp + 0x20]
call fcn.004085dd
lea ecx, [ebp + 8]
call fcn.00403d84
cmp dword [ebp - 0xc], ebx
je 0x4604ac
push dword [ebp - 0xc]
mov edi, dword [ebp - 8]
lea eax, [ebp + 8]
push eax
call fcn.0044c980
mov edi, dword [ebp + 0x24]
call fcn.004085dd
lea ecx, [ebp + 8]
call fcn.00403d84
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ax, word [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
jmp 0x4603f4
Function at 0x4604c3
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4e52f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocStringLen
push ecx
mov dword [ebp - 0x90], eax
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x98], esi
cmp esi, 0xffffffff
jne 0x46050d
push eax
jmp 0x46054b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x460546
cmp eax, dword [ebp + 0xc]
jbe 0x460546
sub eax, dword [ebp + 0xc]
mov edi, 0x10000
mov dword [ebp - 0x8c], eax
push edi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], ebx
call fcn.004338b8
cmp dword [ebp - 0x80], ebx
jne 0x460562
push ebx
call fcn.00489beb
pop ecx
cmp esi, ebx
je 0x460551
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489b1b
leave
ret
lea eax, [ebp - 0x78]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
mov byte [ebp - 0x79], bl
call fcn.00487f30
jmp 0x460581
mov esi, dword [ebp - 0x98]
push ebx
lea eax, [ebp - 0x88]
push eax
push edi
push dword [ebp - 0x80]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4605dd
mov esi, dword [ebp - 0x88]
cmp esi, ebx
je 0x4605dd
mov eax, dword [ebp - 0x84]
lea ecx, [esi + eax]
cmp ecx, dword [ebp - 0x8c]
jbe 0x4605c5
mov esi, dword [ebp - 0x8c]
sub esi, eax
mov dword [ebp - 0x88], esi
mov byte [ebp - 0x79], 1
push dword [ebp - 0x80]
mov eax, esi
lea ecx, [ebp - 0x78]
call fcn.00487d50
add dword [ebp - 0x84], esi
cmp byte [ebp - 0x79], bl
je 0x46057b
lea esi, [ebp - 0x78]
call fcn.00487e10
mov ebx, dword [ebp - 0x90]
mov eax, esi
call fcn.00487ee0
push dword [ebp - 0x80]
mov bl, al
call fcn.00489beb
cmp dword [ebp - 0x98], 0
pop ecx
je 0x460612
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x460553

Function at 0x460680
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp byte [esi], bl
je 0x460691
mov al, 1
jmp 0x460714
mov eax, dword [ebp + 8]
push edi
lea edi, [esi + 4]
mov byte [esi], 1
mov byte [esi + 1], bl
call fcn.004085dd
push str..pipeToServer
lea eax, [ebp + 8]
push eax
call fcn.00412ade
mov edi, dword [edi]
push dword [edi - 0xc]
lea eax, [ebp + 8]
push edi
call fcn.00434240
pop edi
cmp byte [esi + 1], bl
je 0x4606ec
push ebx
push 0x1388
mov eax, 0x7f90
push eax
push eax
push 0xff
push 6
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 8], eax
cmp byte [esi + 1], bl
jne 0x460703
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
cmp dword [esi + 8], 0xffffffff
lea ecx, [ebp + 8]
setne bl
call fcn.00403d84
mov al, bl
pop ebx
pop ebp
ret 4
Function at 0x460845
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0xc]
push ebx
push 0
lea ecx, [ebp + 8]
push ecx
push 0x7f90
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0xc]
xor ebx, ebx
shr ecx, 1
mov word [edx + ecx*2], bx
pop ebx
test eax, eax
je 0x46089b
cmp dword [ebp + 8], 0
je 0x46089b
push dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00412ade
lea eax, [ebp - 4]
push eax
push edi
call fcn.00419e44
lea ecx, [ebp - 4]
call fcn.00403d84
jmp 0x4608a1
push edi
call fcn.00403dfc
mov eax, edi
leave
ret 4

Function at 0x4608a7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xffffffff
push edi
mov edi, eax
jne 0x4608bb
push edi
call fcn.00403dfc
jmp 0x4608e2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp + 0xc]
push edx
add ecx, ecx
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4608b3
push dword [ebp + 8]
call fcn.00460845
mov eax, edi
pop edi
pop ebp
ret 8

Function at 0x460c65
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
mov edi, eax
mov dword [ebx + 0x10], edi
cmp dword [ebx + 4], esi
je 0x460cf2
cmp edi, esi
je 0x460c9d
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea esi, [ebx + 0x14]
call fcn.0040bfad
push dword [ebx + 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x460cf9
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp edi, esi
je 0x460cbd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x460ce7
mov edi, dword [ebp - 4]
cmp ebx, esi
je 0x460ce3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x460cf4
cmp ebx, esi
je 0x460cf2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4611ef
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x2e
mov ebx, eax
call fcn.0043406b
test eax, eax
jg 0x46120f
mov al, 1
jmp 0x46134d
lea ecx, [ebp - 8]
push ecx
push esi
mov ecx, eax
call fcn.0042927c
lea eax, [ebp - 0x14]
push eax
call fcn.00403dfc
push dword [ebp - 8]
mov eax, dword [ebp + 0xc]
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x14]
push str.__verbose___log_file__s____remove_pack_file___s____s_
push eax
call fcn.004399be
add esp, 0x14
cmp dword [ebx + 0x10], 0
je 0x46124e
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push esi
call dword [eax + 0x14]
push 0
lea eax, [ebx + 0xc]
push 0x8000008
push eax
lea edi, [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.0044b130
add esp, 0xc
lea esi, [ebp - 8]
mov byte [ebp - 1], 1
call fcn.004463f0
test al, al
je 0x461287
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x46131c
lea eax, [ebp - 0x10]
push eax
call fcn.00403dfc
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0044c000
pop ecx
lea eax, [ebp - 0xc]
push eax
call fcn.00403dfc
push 0xca
lea esi, [ebp - 0x18]
call fcn.00460189
mov eax, dword [ebp - 8]
mov edi, dword [eax - 0xc]
mov eax, dword [ebp - 0x18]
pop ecx
push 0x5c
lea esi, [ebp - 8]
mov dword [ebp - 0x1c], eax
call fcn.0043406b
mov ecx, edi
sub ecx, eax
lea eax, [ebp - 0x20]
push eax
mov eax, esi
push eax
call fcn.0044ca90
push dword [ebp - 0x10]
push dword [eax]
lea eax, [ebp - 0xc]
push dword [ebp - 0x1c]
push eax
call fcn.004399be
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.00403d84
push 0
lea eax, [ebp - 0xc]
call fcn.004581fb
pop ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 1], 0
call fcn.00403d84
lea ecx, [ebp - 0xc]
call fcn.00403d84
lea ecx, [ebp - 0x10]
call fcn.00403d84
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x10], 0
je 0x46133a
mov ebx, dword [ebx + 0x10]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
lea ecx, [ebp - 0x14]
call fcn.00403d84
lea ecx, [ebp - 8]
call fcn.00403d84
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x46141c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 0x10], eax
cmp dword [eax], ebx
je 0x46144f
push ebx
push ebx
push ebx
push ebx
lea esi, [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
call fcn.0040bfad
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
push dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x461676
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], esi
cmp dword [eax], ebx
je 0x4614a3
call fcn.004614df
mov ebx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi]
mov dword [ebp - 0xc], edx
call fcn.00452be4
add esi, eax
adc dword [ebp - 0xc], edx
mov eax, dword [edi + 0x10]
push dword [ebp - 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push esi
call dword [eax]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, dword [ebp - 0x18]
xor ebx, ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4614cd
mov edi, dword [ebp - 4]
cmp esi, ebx
je 0x4614c9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x4614da
cmp esi, ebx
je 0x4614d8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46170f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [ebx + 0x28]
push esi
push edi
push dword [eax]
lea esi, [ebx + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi]
call fcn.00461909
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp], 0x414
push dword [esi]
mov dword [esp + 0x24], eax
call edi
push 0
push dword [esp + 0x20]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call fcn.0040a84e
push dword [esi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x412
push dword [esi]
call edi
and dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
test eax, eax
jle 0x46186e
push dword [esp + 0x10]
mov ecx, dword [ebx + 0x24]
call fcn.00451742
movzx eax, word [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0x4bc7c4
push 4
push eax
mov dword [esp + 0x2c], eax
call edi
mov esi, eax
lea eax, [esi - 1]
push eax
push 0x78
pop ecx
lea edx, [esp + 0x10]
call fcn.0043905e
push esi
lea esi, [esp + 0x10]
call fcn.0040808a
push eax
push 4
push dword [esp + 0x28]
call edi
mov eax, esi
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00419e44
mov eax, dword [esp + 8]
mov edi, dword [eax - 0xc]
push edi
lea esi, [esp + 0xc]
call fcn.00403cef
lea ecx, [edi + 1]
push ecx
push eax
call fcn.0048dc60
pop ecx
pop ecx
mov eax, edi
mov edx, esi
call fcn.00403d15
mov eax, dword [esp + 8]
cmp dword [eax - 0xc], 0
jl 0x4618b5
movzx eax, word [eax]
push eax
xor edi, edi
lea eax, [esp + 0x10]
call fcn.00453d54
push dword [esp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x143
push dword [esp + 0x20]
call esi
push dword [esp + 0x1c]
push eax
push 0x151
push dword [esp + 0x20]
call esi
lea ecx, [esp + 8]
call fcn.00403d84
lea ecx, [esp + 0xc]
call fcn.00403d84
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jl 0x46178a
xor esi, esi
xor edi, edi
cmp dword [esp + 0x18], esi
jle 0x46189b
push 0
push esi
push 0x150
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [ebx + 0x2c]
cmp ecx, eax
jne 0x461894
mov edi, esi
inc esi
cmp esi, dword [esp + 0x18]
jl 0x461878
push 0
push edi
push 0x14e
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403da7
int3
Function at 0x4625ee
Capabilities:
Create process on windows
Query service status
Start service

Disassembly:
push ebp
lea ebp, [esp - 0x304]
sub esp, 0x384
mov eax, dword [0x4e52f4]
xor eax, ebp
mov dword [ebp + 0x300], eax
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0xc], 1
jne 0x4626b9
push 0x4c8850
push str.SAGEWINDOWCLASS
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x462641
xor eax, eax
jmp 0x46271c
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.0048a3e0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0xf8]
push eax
push 0x104
push edi
push str.mstask.exe
push edi
mov dword [ebp - 0x80], esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x462683
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x46271c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push 0x210
push edi
push edi
push edi
push edi
lea eax, [ebp + 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x462678
push dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
jmp 0x46263a
push 1
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
cmp esi, edi
je 0x462678
push ebx
push 0x14
push str.Schedule
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call esi
cmp ebx, edi
je 0x46270e
lea eax, [ebp - 0x3c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x46270b
cmp dword [ebp - 0x38], 4
je 0x462716
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x462716
push ebx
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x46271b
push ebx
call esi
xor eax, eax
pop ebx
mov ecx, dword [ebp + 0x300]
pop edi
xor ecx, ebp
pop esi
call fcn.00489b1b
add ebp, 0x304
leave
ret
Function at 0x4629aa
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push esi
call fcn.0044c1a0
test eax, eax
je 0x462a47
lea eax, [esp + 8]
push eax
xor esi, esi
push 0x28
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4629f7
cmp dword [esp + 8], esi
je 0x4629f3
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x462a5e
lea eax, [esp + 0x14]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4629e3
cmp dword [esp + 8], esi
je 0x462a4c
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x462a4c
call fcn.00462a63
push 0x80040002
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x462a63
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4e52f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.CreateToolhelp32Snapshot
push ebx
call esi
test eax, eax
je 0x462ba4
push 0
push 2
call eax
mov dword [ebp - 0x248], eax
cmp eax, 0xffffffff
jne 0x462ab9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x462ba4
push str._WindowsFolder_explorer.exe
lea eax, [ebp - 0x23c]
push eax
call fcn.00412ade
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.004579fc
pop ecx
pop ecx
lea ecx, [ebp - 0x23c]
call fcn.00403d84
push str.Process32FirstW
push ebx
call esi
push str.Process32NextW
push ebx
mov edi, eax
call esi
push 0x228
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.0048a3e0
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x248]
mov dword [ebp - 0x238], 0x22c
call edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x462b84
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00451f8d
test eax, eax
jne 0x462b71
push dword [ebp - 0x230]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test esi, esi
je 0x462b71
push esi
call edi
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x248]
call dword [ebp - 0x23c]
test eax, eax
jne 0x462b39
lea ecx, [ebp - 0x240]
call fcn.00403d84
cmp dword [ebp - 0x248], 0
je 0x462ba4
push dword [ebp - 0x248]
call edi
test ebx, ebx
je 0x462baf
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489b1b
leave
ret
Function at 0x462c94
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0x3c
xor edi, edi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0048a3e0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
push edi
push edi
push eax
mov dword [ebp - 0x28], 0x64
mov dword [ebp - 0x3c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x462cd8
push ebx
call fcn.00403dfc
jmp 0x462ce4
push dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
push ebx
call fcn.0044c980
mov eax, ebx
pop edi
leave
ret

Function at 0x46342a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
test edi, edi
je 0x46343e
add edi, 0xffffffc0
jmp 0x463440
xor edi, edi
push dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [edi + 4]
mov dword [ebp - 0xc], 1
call ebx
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
or dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], eax
push eax
mov eax, dword [ebp + 0xc]
call fcn.00419b71
test eax, eax
je 0x46348d
mov ecx, dword [ebp - 4]
inc ecx
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
or eax, 0xffffffff
call fcn.00403d37
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jge 0x4634be
and dword [ebp - 0xc], 0
push 0xffffffffffffffff
add edi, 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
test edi, edi
je 0x4634ad
lea eax, [edi - 0x40]
jmp 0x4634af
xor eax, eax
push dword [ebp + 8]
push dword [eax + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4653ed
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x7c]
mov eax, dword [eax + 8]
push edi
mov edi, dword [eax + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
jle 0x46542f
mov eax, dword [esi + 0x7c]
push ebx
call fcn.0045ab9d
cmp eax, 5
je 0x46541d
cmp eax, 2
jne 0x465420
inc dword [ebp - 4]
inc ebx
cmp ebx, edi
jl 0x46540a
cmp dword [ebp - 4], 0
jg 0x4654b3
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f7
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x3eb
push dword [esi + 4]
call edi
push 0
push eax
mov dword [ebp - 4], eax
call ebx
push 0x3ec
push dword [esi + 4]
call edi
xor edi, edi
push edi
push eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
sub esi, 0xffffff80
push dword [esi]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call ebx
mov eax, dword [ebp - 0x18]
push 0x222
push edi
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x14]
call fcn.0040a66e
pop edi
pop esi
pop ebx
leave
ret