joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d120
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
call fcn.00405640
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x48d15a
xor eax, eax
jmp 0x48d204
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x244], 0
cmp dword [ebp - 0x23c], 0
je 0x48d1e4
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 8]
jne 0x48d1c9
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x244], ecx
jmp 0x48d1e4
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x23c], eax
jmp 0x48d1a7
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x244]
push eax
call fcn.0048d3a0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret
Function at 0x48d570
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b0
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x3a8], ax
push 0x18e
push 0
lea ecx, [ebp - 0x3a6]
push ecx
call fcn.0050c770
add esp, 0xc
lea edx, [ebp - 0x3a8]
push edx
push 0xc7
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x48d5bf
xor eax, eax
jmp 0x48d6ec
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0050c770
add esp, 0xc
mov edx, dword [0x54cf40]
mov dword [ebp - 0x10], edx
mov ax, word [0x54cf44]
mov word [ebp - 0xc], ax
mov dword [ebp - 0x3ac], 0
lea ecx, [ebp - 0x3a8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov ax, word [edx]
mov word [ebp - 0x10], ax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x48d6c7
lea eax, [ebp - 0x218]
push eax
call fcn.0050c71f
add esp, 4
mov dword [ebp - 0x3b0], eax
mov ecx, 0x5c
mov edx, dword [ebp - 0x3b0]
mov word [ebp + edx*2 - 0x218], cx
mov eax, dword [ebp - 0x3b0]
add eax, 1
mov dword [ebp - 0x3b0], eax
xor ecx, ecx
mov edx, dword [ebp - 0x3b0]
mov word [ebp + edx*2 - 0x218], cx
mov eax, dword [ebp - 0x3b0]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x3ac], eax
je 0x48d6c7
mov eax, dword [ebp - 0x3b0]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x54cf48
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004532b0
add esp, 0x14
mov eax, 1
jmp 0x48d6ec
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
test ecx, ecx
je 0x48d6dc
jmp 0x48d6c7
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
jne 0x48d604
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret
Function at 0x48e100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
call fcn.00405640
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x54d0e0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48e1d0
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x220], 0x208
mov dword [ebp - 0x21c], 1
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0
push 0x54fc98
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004057e0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
call fcn.00405620
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
jmp 0x48e1d2
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret

Function at 0x48e600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 4]
call fcn.00406250
lea eax, [ebp - 4]
push eax
call fcn.0048e100
add esp, 4
test eax, eax
je 0x48e659
push 0x54d4d8
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.00404ee0
add esp, 0xc
or dword [ebp - 0x10], 1
mov ecx, eax
call fcn.00406010
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48e659
mov dword [ebp - 0x14], 1
jmp 0x48e660
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
and ecx, 1
je 0x48e67a
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0xc]
call fcn.00406190
lea ecx, [ebp - 4]
call fcn.00406190
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x48ebf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 4], 0
cmp dword [ebp + 0x20], 0
je 0x48ecbe
call fcn.0048bfe0
test eax, eax
je 0x48ecbe
call fcn.00494010
test eax, eax
jne 0x48ecbe
mov dword [ebp - 0x40], 0
push 0x38
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x1040
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 0x54d614
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 1
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x48ecb9
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x1c], 0
je 0x48eca8
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 1
jmp 0x48edc7
lea ecx, [ebp - 0x9c]
call fcn.00406250
cmp dword [ebp + 0x10], 0
je 0x48eced
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x54d620
lea edx, [ebp - 0x9c]
push edx
call fcn.00403850
add esp, 0x10
jmp 0x48ed05
mov eax, dword [ebp + 0xc]
push eax
push 0x54d630
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00403850
add esp, 0xc
mov dword [ebp - 0x98], 0
push 0x40
push 0
lea edx, [ebp - 0x94]
push edx
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x98], 0x44
mov ecx, 5
mov word [ebp - 0x68], cx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x9c]
call fcn.00406010
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48edbc
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x1c], 0
je 0x48eda8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], 0
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x9c]
call fcn.00406190
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x48f1f0
Capabilities:
Create process on windows
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x565c98
push 0x50d720
mov eax, dword fs:[0]
push eax
add esp, 0xfffff7b4
mov eax, dword [0x579aa4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
mov word [ebp - 0x820], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x81e]
push ecx
call fcn.0050c770
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x54d77c
push 0x800
lea eax, [ebp - 0x820]
push eax
call fcn.0049c390
add esp, 0x10
push 5
push 0
lea ecx, [ebp - 0x820]
push ecx
push str.Explorer
push 0x54d79c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x48f291
mov eax, 1
jmp 0x48f420
mov dword [ebp - 4], 0
mov dword [ebp - 0x834], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [ebp - 0x834]
push edx
push 0x557a3c
push 0x15
push 0
push 0x557a7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x48f2eb
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x858], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x858]
jmp 0x48f420
cmp dword [ebp - 0x834], 0
je 0x48f3dd
lea eax, [ebp - 0x838]
push eax
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x834]
push eax
mov ecx, dword [edx + 0x94]
call ecx
mov edx, dword [ebp - 0x838]
mov dword [ebp - 0x83c], edx
cmp dword [ebp - 0x83c], 0
je 0x48f347
mov eax, dword [ebp - 0x83c]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
mov ecx, dword [ebp - 0x83c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 8]
push edx
call fcn.0050c71f
add esp, 4
test eax, eax
jbe 0x48f3c9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x848], eax
xor ecx, ecx
mov word [ebp - 0x830], cx
mov edx, 8
mov word [ebp - 0x850], dx
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x830]
push ecx
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x850]
push ecx
mov edx, dword [ebp - 0x834]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x834]
push ecx
mov edx, dword [eax + 0xd0]
call edx
mov dword [ebp - 0x854], eax
mov eax, dword [ebp - 0x848]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x834]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
jmp 0x48f41b
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret
Function at 0x48fa00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x48fa13
xor eax, eax
jmp 0x48fb04
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.0050c739
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48fa31
xor eax, eax
jmp 0x48fb04
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050c71f
add esp, 4
mov edx, dword [ebp + 8]
lea eax, [edx + eax*2]
mov dword [ebp - 4], eax
push 0x5c
mov ecx, dword [ebp - 8]
add ecx, 2
push ecx
call fcn.0050c739
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x48fad4
mov edx, dword [ebp - 8]
add edx, 2
cmp edx, dword [ebp - 4]
jae 0x48fad4
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
sar eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00475fa0
push 0
lea ecx, [ebp - 0xc]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x48fab6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x48fab6
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.00406190
mov eax, dword [ebp - 0x10]
jmp 0x48fb04
push 0x5c
mov edx, dword [ebp - 8]
add edx, 2
push edx
call fcn.0050c739
add esp, 8
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
call fcn.00406190
jmp 0x48fa5a
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x48fafa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x48fafa
mov dword [ebp - 0x14], 0
jmp 0x48fb01
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x48fea0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x49c
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x260], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0050c770
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], eax
mov dword [ebp - 0x25c], 0
xor edx, edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x234], 0
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x25c]
push ecx
push 0
push 0x54d7cc
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x498]
push eax
call fcn.00404ee0
add esp, 0xc
mov ecx, eax
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
lea ecx, [ebp - 0x498]
call fcn.00406190
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0xffffffff
je 0x4900a7
mov dword [ebp - 0x490], 0
push 0x228
push 0
lea ecx, [ebp - 0x48c]
push ecx
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x490], 0x22c
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x238]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x494], eax
cmp dword [ebp - 0x494], 0
je 0x49009a
mov ecx, dword [ebp - 0x488]
cmp ecx, dword [ebp - 4]
je 0x49007c
push 0x104
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x488]
push eax
call fcn.0048d490
add esp, 0xc
lea ecx, [ebp - 0x234]
push ecx
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x214]
jne 0x49007c
lea ecx, [ebp + 8]
call fcn.00406180
push eax
lea ecx, [ebp + 8]
call fcn.00406010
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x49007c
mov dword [ebp - 0x260], 1
jmp 0x49009a
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x238]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x494], eax
jmp 0x48fff6
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x49c], edx
lea ecx, [ebp + 8]
call fcn.00406190
mov eax, dword [ebp - 0x49c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret
Function at 0x490370
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
lea ecx, [ebp - 0x64]
call fcn.00406250
cmp dword [ebp + 0xc], 0
je 0x49039f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x54d888
lea edx, [ebp - 0x64]
push edx
call fcn.00403850
add esp, 0x10
jmp 0x4903b4
mov eax, dword [ebp + 8]
push eax
push 0x54d898
lea ecx, [ebp - 0x64]
push ecx
call fcn.00403850
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x64]
call fcn.004058f0
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], 0
push 0x40
push 0
lea edx, [ebp - 0x5c]
push edx
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x60], 0x44
mov ecx, 5
mov word [ebp - 0x30], cx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x49046f
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0x3e8
jbe 0x490465
push 0x3e8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x490465
mov edx, dword [ebp + 0x14]
sub edx, 0x3e8
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
lea ecx, [ebp - 0x64]
call fcn.00406060
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x68], edx
lea ecx, [ebp - 0x64]
call fcn.00406190
mov eax, dword [ebp - 0x68]
mov esp, ebp
pop ebp
ret
Function at 0x4911b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f6f0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1dc
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
lea eax, [ebp - 0x1ec]
push eax
call fcn.0049a9f0
add esp, 4
mov ecx, eax
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1ec]
call fcn.00406190
cmp dword [ebp - 0x18], 0xffffffff
jne 0x491233
xor eax, eax
jmp 0x491392
mov byte [ebp - 0x128], 0
push 0x103
push 0
lea ecx, [ebp - 0x127]
push ecx
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0
lea edx, [ebp - 0x1c]
push edx
push 0x104
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x54d8fc
lea eax, [ebp - 0x128]
push eax
call fcn.0049a9d0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0
je 0x491378
cmp dword [ebp - 0x14], 0
je 0x491378
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
push ecx
call fcn.0050e434
add esp, 4
cdq
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
add edx, 0x10
push edx
call fcn.0050e434
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ebp - 0x1e8], 0
push 0xa8
push 0
lea edx, [ebp - 0x1e4]
push edx
call fcn.0050c770
add esp, 0xc
lea eax, [ebp - 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x1e8]
imul eax, eax, 0x3c
cdq
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
sub esi, eax
mov eax, dword [ecx + 4]
sbb eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov dword [ecx + 4], eax
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.00490810
add esp, 0xc
movzx eax, word [ebp - 0x12e]
push eax
movzx ecx, word [ebp - 0x130]
push ecx
movzx edx, word [ebp - 0x132]
push edx
movzx eax, word [ebp - 0x136]
push eax
movzx ecx, word [ebp - 0x138]
push ecx
push 0x54d910
mov edx, dword [ebp + 0x10]
push edx
call fcn.00403850
add esp, 0x1c
mov eax, 1
jmp 0x491392
xor eax, eax
jmp 0x491392
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret
Function at 0x4913b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f718
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1dc
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
lea eax, [ebp - 0x1ec]
push eax
call fcn.0049aa30
add esp, 4
mov ecx, eax
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1ec]
call fcn.00406190
cmp dword [ebp - 0x18], 0xffffffff
jne 0x491433
xor eax, eax
jmp 0x491592
mov byte [ebp - 0x128], 0
push 0x103
push 0
lea ecx, [ebp - 0x127]
push ecx
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0
lea edx, [ebp - 0x1c]
push edx
push 0x104
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Update_time_GMT:
lea eax, [ebp - 0x128]
push eax
call fcn.0049a9d0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0
je 0x491578
cmp dword [ebp - 0x14], 0
je 0x491578
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
push ecx
call fcn.0050e434
add esp, 4
cdq
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
add edx, 0x10
push edx
call fcn.0050e434
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ebp - 0x1e8], 0
push 0xa8
push 0
lea edx, [ebp - 0x1e4]
push edx
call fcn.0050c770
add esp, 0xc
lea eax, [ebp - 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x1e8]
imul eax, eax, 0x3c
cdq
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
sub esi, eax
mov eax, dword [ecx + 4]
sbb eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov dword [ecx + 4], eax
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.00490810
add esp, 0xc
movzx eax, word [ebp - 0x12e]
push eax
movzx ecx, word [ebp - 0x130]
push ecx
movzx edx, word [ebp - 0x132]
push edx
movzx eax, word [ebp - 0x136]
push eax
movzx ecx, word [ebp - 0x138]
push ecx
push str._4d__02d__02d__02d:_02d
mov edx, dword [ebp + 0x10]
push edx
call fcn.00403850
add esp, 0x1c
mov eax, 1
jmp 0x491592
xor eax, eax
jmp 0x491592
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret
Function at 0x492b10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
je 0x492b2e
cmp dword [ebp + 0xc], 0
je 0x492b2e
cmp dword [ebp + 0x10], 0
je 0x492b2e
cmp dword [ebp + 0x14], 0
jne 0x492b35
xor eax, eax
jmp 0x492bc2
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 2
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x492baf
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x492baf
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x492bbf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret