joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ad30
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c607
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 1
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x49ad95
mov edx, dword [ebp + 8]
push edx
call fcn.0049ac70
add esp, 4
test eax, eax
jne 0x49ad95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x49af10
cmp dword [ebp + 0x10], 0
je 0x49af10
lea ecx, [ebp - 0x14]
call fcn.004a2910
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0x5b4f28
lea ecx, [ebp - 0x14]
push ecx
call fcn.004098b0
add esp, 0xc
lea edx, [ebp - 0x15c]
push edx
lea ecx, [ebp - 0x14]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x49aef8
lea ecx, [ebp - 0x160]
call fcn.004a2910
mov byte [ebp - 4], 1
push 0x5b4f30
lea eax, [ebp - 0x130]
push eax
call fcn.00482f10
add esp, 8
test eax, eax
je 0x49aec4
push 0x5b4f34
lea ecx, [ebp - 0x130]
push ecx
call fcn.00482f10
add esp, 8
test eax, eax
je 0x49aec4
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x5b4f38
lea ecx, [ebp - 0x160]
push ecx
call fcn.004098b0
add esp, 0x10
lea ecx, [ebp - 0x160]
call fcn.0043b890
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x15c]
and edx, 0x10
je 0x49ae90
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x160]
call fcn.0043b890
push eax
call fcn.0049ad30
add esp, 0xc
jmp 0x49aec4
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
push 1
push 1
lea ecx, [ebp - 0x160]
call fcn.0043b890
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
lea ecx, [ebp - 0x160]
call fcn.0043b890
push eax
call fcn.0049ac70
add esp, 4
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x49adff
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.00408330
jmp 0x49af01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00408330
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebp - 0x10], 0
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret
Function at 0x49b010
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 5
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x49b096
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x49b08c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x49b08c
xor eax, eax
cmp dword [ebp - 0x1c], 0
sete al
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x49b0b0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c642
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049b010
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x49b274
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 0
je 0x49b272
mov eax, dword [ebp - 0x18]
and eax, 0x10
je 0x49b272
lea ecx, [ebp - 0x1c]
call fcn.004a2910
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
push str._s.
lea edx, [ebp - 0x1c]
push edx
call fcn.004098b0
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x49b25a
lea ecx, [ebp - 0x168]
call fcn.004a2910
mov byte [ebp - 4], 1
push 0x5b4f48
lea ecx, [ebp - 0x138]
push ecx
call fcn.00482f10
add esp, 8
test eax, eax
je 0x49b220
push 0x5b4f4c
lea edx, [ebp - 0x138]
push edx
call fcn.00482f10
add esp, 8
test eax, eax
je 0x49b220
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x5b4f50
lea edx, [ebp - 0x168]
push edx
call fcn.004098b0
add esp, 0x10
lea ecx, [ebp - 0x168]
call fcn.0043b890
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x164]
and eax, 0x10
je 0x49b20a
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x16c]
push eax
call fcn.0049b0b0
add esp, 0xc
mov dword [ebp - 0x10], eax
jmp 0x49b220
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x16c]
push edx
call fcn.0049b010
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x49b23f
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x49b17f
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.00408330
jmp 0x49b263
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00408330
jmp 0x49b27d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret
Function at 0x49b660
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c708
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5b4936
lea ecx, [ebp - 0x14]
call fcn.00408ff0
mov dword [ebp - 4], 0
push 0x5b4937
lea ecx, [ebp - 0x10]
call fcn.00408ff0
mov byte [ebp - 4], 1
push 0x5b4fb4
lea ecx, [ebp - 0x14]
call fcn.00409090
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.0049a3b0
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
push edx
push str.__s___rebootupdate__s
lea eax, [ebp - 0x10]
push eax
call fcn.004098b0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00408330
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00408fd0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00408fd0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00408fd0
mov dword [ebp - 0x44], eax
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 1
call fcn.00492e20
add esp, 0x14
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00408330
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x49dfa0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x49dfbf
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jge 0x49e010
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49dfe5
mov eax, dword [ebp - 4]
jmp 0x49e012
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x20
je 0x49dff6
jmp 0x49e010
mov ecx, dword [ebp + 0x10]
sub ecx, 1
cmp dword [ebp - 8], ecx
jne 0x49e003
jmp 0x49e010
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x49dfb6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x49fd30
Capabilities:
Download url
Move file
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ccd1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x49fd75
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x49fd75
cmp dword [ebp + 0xc], 0
je 0x49fd75
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
jne 0x49fd79
xor eax, eax
jmp 0x49fdf5
lea ecx, [ebp - 0x10]
call fcn.004a2910
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
push str._s.tmp
lea edx, [ebp - 0x10]
push edx
call fcn.004098b0
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.004090f0
push eax
mov eax, dword [ebp + 8]
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x49fddd
push 1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x49fe10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ccec
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x5b5460
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x49fe9f
cmp dword [ebp - 0x14], 0
je 0x49fe9f
mov dword [ebp - 0x24], 4
lea ecx, [ebp - 0x24]
push ecx
push 0
lea edx, [ebp - 0x20]
push edx
push 0
push str.Debug
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x49fe9f
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x49febf
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49fee0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cd1a
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x49ffe0
mov eax, dword [ebp + 8]
push eax
call fcn.0056fc20
add esp, 4
test eax, eax
jbe 0x49ffe0
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea ecx, [ebp - 0x11b]
push ecx
call fcn.0056f420
add esp, 0xc
push 0x104
lea edx, [ebp - 0x11c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x10]
call fcn.004a2910
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x120]
push edx
call fcn.0049e990
add esp, 8
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx]
push edx
push str._ALUpdate:_s___s_n
lea eax, [ebp - 0x10]
push eax
call fcn.004098b0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00408330
lea ecx, [ebp - 0x10]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret

Function at 0x4a06e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
je 0x4a06fc
mov eax, dword [ebp + 8]
push eax
call fcn.00488810
add esp, 4
test eax, eax
jne 0x4a0700
xor eax, eax
jmp 0x4a073b
cmp dword [ebp + 0xc], 0
je 0x4a070f
mov dword [ebp - 8], str.taskbarpin
jmp 0x4a0716
mov dword [ebp - 8], str.taskbarunpin
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
mov eax, 0x20
cmp eax, dword [ebp - 4]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
Function at 0x4a10c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0056f420
add esp, 0xc
push 1
push 0x10
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408ff0
mov eax, dword [ebp - 0x114]
or eax, 1
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret

Function at 0x4a1410
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cfbd
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004a2910
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00408290
movzx eax, al
test eax, eax
jne 0x4a1476
lea ecx, [ebp + 0x10]
call fcn.00408290
movzx ecx, al
test ecx, ecx
je 0x4a14c0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408fd0
mov eax, dword [ebp - 0x128]
or eax, 1
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00408330
mov eax, dword [ebp + 8]
jmp 0x4a15a3
lea ecx, [ebp - 0x10]
call fcn.004a2910
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s_s.url
lea eax, [ebp - 0x10]
push eax
call fcn.004098b0
add esp, 0x10
push 0
lea ecx, [ebp - 0x10]
call fcn.004090f0
push eax
call fcn.0056f523
add esp, 8
test eax, eax
jne 0x4a1552
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea ecx, [ebp - 0x123]
push ecx
call fcn.0056f420
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.004090f0
push eax
push 0x104
lea edx, [ebp - 0x124]
push edx
push 0x5b4b2f
push 0x5b5684
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x14]
call fcn.00409090
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408fd0
mov edx, dword [ebp - 0x128]
or edx, 1
mov dword [ebp - 0x128], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00408330
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00408330
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret
Function at 0x4a41e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x18]
call fcn.004a2910
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4a430c
mov edx, dword [ebp - 0x20]
add edx, 1
push edx
call fcn.0055035a
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4a42fa
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x34]
push eax
push 0x5b5824
mov ecx, dword [ebp - 0x28]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4a42fa
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x24]
shr eax, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
xor edx, edx
mov ecx, 0x10000
div ecx
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x10]
shr edx, 0x10
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, 0x10000
div ecx
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push 0x5b5828
lea eax, [ebp - 0x18]
push eax
call fcn.004098b0
add esp, 0x18
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0055034f
add esp, 4
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408fd0
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00408330
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4a88b0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x4a88e6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc0], 0
je 0x4a88e6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x68], 0
mov esp, ebp
pop ebp
ret
Function at 0x4a95d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
jne 0x4a95e8
jmp 0x4a968e
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x9c], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc0], 0
je 0x4a9671
mov ecx, dword [ebp - 4]
call fcn.004a88b0
push 0x1388
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc0]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4a9654
push 0x1212
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 0xc0], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 4]
mov dword [eax + 0xa0], 0
mov esp, ebp
pop ebp
ret
Function at 0x4aeb70
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d8c3
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00408290
movzx eax, al
cmp eax, 1
jne 0x4aebca
mov dword [ebp - 0x34], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov eax, dword [ebp - 0x34]
jmp 0x4aed5b
lea ecx, [ebp - 0x14]
call fcn.004af9b0
mov byte [ebp - 4], 1
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4aec1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004af9e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov eax, dword [ebp - 0x38]
jmp 0x4aed5b
push 0xf01ff
lea ecx, [ebp + 8]
call fcn.004090f0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4aec67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004af9e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov eax, dword [ebp - 0x3c]
jmp 0x4aed5b
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x4aeccd
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004af9e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov eax, dword [ebp - 0x40]
jmp 0x4aed5b
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4aecf3
cmp dword [ebp - 0x2c], 2
je 0x4aece7
jmp 0x4aecf3
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4aeccd
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebp - 0x2c], 4
jne 0x4aed34
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004af9e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov eax, dword [ebp - 0x44]
jmp 0x4aed5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004af9e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret