joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a710
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x102
push 0
push 0
push 0
push str.Softwareiologovernor
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45a75c
mov edx, dword [ebp - 4]
push str.HPMode
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45a762
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x45a780
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x102
push 0
push 0
push 0
push str.Softwareiologovernor
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45a7cc
mov edx, dword [ebp - 4]
push str.EnergySaverMode
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45a7d2
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x45a7f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x102
push 0
push 0
push 0
push str.Softwareiologovernor
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45a83c
mov edx, dword [ebp - 4]
push str.RAMJetRuns
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45a842
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x45a860
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x102
push 0
push 0
push 0
push str.Softwareiologovernor
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45a8ac
mov edx, dword [ebp - 4]
push str.RAMJetProcesses
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45a8b2
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x45a8d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x102
push 0
push 0
push 0
push str.Softwareiologovernor
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45a91c
mov edx, dword [ebp - 4]
push str.RAMJetMegabytes
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45a922
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x45a940
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x102
push 0
push 0
push 0
push str.Softwareiologovernor
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45a98c
mov edx, dword [ebp - 4]
push str.RAMJetMegabytesToday
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45a992
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x45a9b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
lea edx, [ebp - 8]
push edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push 0
push 0x102
push 0
push 0
push 0
push str.Softwareiologovernor
push SysReAllocString
mov dword [ebp - 0xc], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45aa12
mov edx, dword [ebp - 4]
push 8
lea ecx, [ebp - 0x10]
push ecx
push 0xb
push eax
push str.LastRestraintTime
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x45aa2a
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov edx, dword [0x4cbb80]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x45aa14

Function at 0x45ab10
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x102
push 0
push 0
push 0
push str.Softwareiologovernor
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45ab5c
mov edx, dword [ebp - 4]
push str.LastRestraintTime
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45ab62
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x45ab80
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x102
push 0
push 0
push 0
push str.Softwareiologovernor
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45abcc
mov edx, dword [ebp - 4]
push str.LastTrimTime
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45abd2
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x45c400
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 1
push 0x23
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45c45f
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x45c434
push esi
mov ecx, 7
mov esi, 0x4aa2c4
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
pop esi
cmp byte [ebp + 8], 0
mov eax, str.gvrcachep.dat
jne 0x45c46f
mov eax, str.gvrcachen.dat
push eax
lea edx, [ebp - 0x414]
push edx
push 0x4aade0
mov edi, ebx
call fcn.004020e0
mov eax, dword [ebx]
push eax
push str.Cache_filename_is__s
call fcn.004261a0
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
call fcn.00474985
mov esp, ebp
pop ebp
ret 4
Function at 0x45c760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e858
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c448c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x45c7aa
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x14], 0
jne 0x45c7d3
push str.No_changes_to_hash_cache__not_writing
call fcn.004261a0
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov byte [ebp - 0xd], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45c794
mov eax, dword [esi + 8]
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, eax
je 0x45c8dd
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x45c82e
mov eax, dword [eax]
mov ebx, eax
lea eax, [ebp - 0x14]
call fcn.00403790
push 2
push 0x4b1448
lea ebx, [ebp - 0x14]
call fcn.00418c50
mov esi, dword [ebp - 0x14]
push esi
push str.writing_cache_entry__s
call fcn.004261a0
mov ebx, dword [esi - 0xc]
add esp, 8
cmp dword [esi - 4], 1
jle 0x45c86e
push ebx
lea ecx, [ebp - 0x14]
push ecx
call fcn.00401ff0
mov esi, dword [ebp - 0x14]
push 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebx + ebx]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
je 0x45c8c0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c8a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x18]
call fcn.0041aa30
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
cmp esi, dword [ecx + 8]
jne 0x45c807
jmp 0x45c8dd
mov byte [ebp - 0xd], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c8dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45e150
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 1
push 0x1a
mov ebx, eax
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45e198
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x45e175
push 0
mov ecx, 7
mov esi, 0x4aa2c4
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x45e1a4
push ebx
push 0x578
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edi, [ebx - 2]
jmp 0x45e1b0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x45e1b0
mov eax, dword [ebp + 8]
mov ecx, 0xb
mov esi, str.pl6_minidump_bitsum_
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x45e1fd
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e1d1
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x45e1e1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea eax, [ebx - 2]
pop ebx
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x45e203
mov ecx, dword [str..dmp]
mov dword [eax], ecx
mov edx, dword [0x4b7550]
mov dword [eax + 4], edx
mov cx, word [0x4b7554]
mov word [eax + 8], cx
pop ebp
ret 4

Function at 0x45e490
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 4
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x45e526
lea ecx, [ebp - 0x20]
push ecx
push edi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x45e51f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenThread]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x45e50e
mov edx, dword [ebp + 0xc]
cmp dword [ebp - 0x18], edx
je 0x45e50e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x45e50e
push ecx
push 0
push 2
call ebx
mov esi, eax
test esi, esi
je 0x45e50e
push esi
call dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x45e4d6
pop esi
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00474985
mov esp, ebp
pop ebp
ret 8
Function at 0x45e6d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test eax, eax
jne 0x45e6e0
xor al, al
mov esp, ebp
pop ebp
ret
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push 0x45e3d0
push 0
push 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x4cb838
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x45e76b
mov edx, dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_SuspendThread]
push edi
push edx
push eax
call fcn.0045e490
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 8]
push ecx
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push edx
push edi
call fcn.0045e490
xor eax, eax
cmp dword [ebp - 8], eax
pop edi
setne al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45f2a0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
push 0x2e
mov esi, ecx
push eax
lea ecx, [ebp - 0x32]
push ecx
mov edi, edx
mov word [ebp - 0x34], ax
call fcn.00479dd0
xor edx, edx
push 0x7e
push edx
lea eax, [ebp - 0xb2]
push eax
mov word [ebp - 0xb4], dx
call fcn.00479dd0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4b338c
lea edx, [ebp - 0x34]
push 0x18
push edx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov eax, dword [ebp + 0x14]
push eax
push 0x4b338c
lea ecx, [ebp - 0xb4]
push 0x40
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x38
push 0
mov dword [ebp - 0xc0], ebx
mov bl, byte [ebp + 0x10]
xor ecx, ecx
lea edx, [ebp - 0x34]
mov dword [ebp - 0xbc], edx
test bl, bl
sete cl
lea edx, [ebp - 0xcc]
push edx
push 0
push 6
push 0
mov dword [ebp - 0xc8], esi
lea esi, [ecx + 0x191]
push esi
lea eax, [ebp - 0xb4]
push 0
mov dword [ebp - 0xb8], eax
mov eax, dword [0x4cbbac]
push 0
push eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc4], edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x45f39e
push str.gvr.ERROR:_ReportEvent_failed_
call fcn.004261a0
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret 0x10
push esi
push str.gvr:_ReportEvent_succeeded___code__d
call fcn.004261a0
mov ecx, dword [0x4cbbb0]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
test bl, bl
je 0x45f3d6
push str.Local5817f8ca_1564_4437_a5ce_e65c1d86cc78
mov edi, 0x4cbbac
call fcn.0045ef20
push str.Local5c065b37_f5c8_490c_8990_d1477652bb4d
call fcn.0045ef20
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00474985
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45f3f0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x7e
mov edi, ecx
push eax
lea ecx, [ebp - 0x86]
push ecx
mov word [ebp - 0x88], ax
call fcn.00479dd0
xor edx, edx
push 0x7e
push edx
lea eax, [ebp - 0x106]
push eax
mov word [ebp - 0x108], dx
call fcn.00479dd0
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [ebp - 0x306]
push edx
mov word [ebp - 0x308], cx
call fcn.00479dd0
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push eax
push str._d__
lea ecx, [ebp - 0x88]
push 0x40
push ecx
call esi
mov edx, dword [ebp + 0xc]
push edx
push str._d__
lea eax, [ebp - 0x108]
push 0x40
push eax
call esi
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add esp, 0x44
push ecx
push edx
push str._I64u
lea eax, [ebp - 0x308]
push 0x100
push eax
call esi
add esp, 0x14
push 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x314], ecx
lea ecx, [ebp - 0x314]
push ecx
push 0
push 3
push 0
push 0xc8
lea edx, [ebp - 0x108]
push 0
mov dword [ebp - 0x310], edx
mov edx, dword [edi]
push 0
lea eax, [ebp - 0x308]
push edx
mov dword [ebp - 0x30c], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x45f50b
push str.gvr.ERROR:_ReportEvent_failed_
call fcn.004261a0
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret 0x10
push 0xc8
push str.gvr:_ReportEvent_succeeded___code__d
call fcn.004261a0
mov eax, dword [edi + 4]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Local1e13757d_0b3a_4525_94e9_8ecb459640d5
call fcn.0045ef20
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00474985
mov esp, ebp
pop ebp
ret 0x10

Function at 0x45f6c0
Capabilities:
Access the windows event log

Disassembly:
push edi
push 0
push 0
push 0
push 0
push 0
push 0x194
push 0
mov edi, eax
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x45f6f4
push str.gvr.ERROR:_ReportEvent_failed_
call fcn.004261a0
add esp, 4
xor al, al
pop edi
ret
push 0xc8
push str.gvr:_ReportEvent_succeeded___code__d
call fcn.004261a0
mov ecx, dword [edi + 4]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Local948eb00c_1254_4bb4_aaab_072ec56900cc
call fcn.0045ef20
mov al, 1
pop edi
ret

Function at 0x45f720
Capabilities:
Access the windows event log

Disassembly:
push edi
push 0
push 0
push 0
push 0
push 0
push 0x195
push 0
mov edi, eax
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x45f754
push str.gvr.ERROR:_ReportEvent_failed_
call fcn.004261a0
add esp, 4
xor al, al
pop edi
ret
push 0xc8
push str.gvr:_ReportEvent_succeeded___code__d
call fcn.004261a0
mov ecx, dword [edi + 4]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Local5ea65336_5409_46f8_8972_90b4bf82b266
call fcn.0045ef20
mov al, 1
pop edi
ret
Function at 0x45f780
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
push 0x7e
mov edi, ecx
push eax
lea ecx, [ebp - 0x102]
push ecx
mov ebx, edx
mov word [ebp - 0x104], ax
call fcn.00479dd0
xor edx, edx
push 0x7e
push edx
lea eax, [ebp - 0x82]
push eax
mov word [ebp - 0x84], dx
call fcn.00479dd0
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push 0x4aab38
lea ecx, [ebp - 0x104]
push 0x40
push ecx
call ebx
add esp, 0x28
test esi, esi
je 0x45f7fe
cmp word [esi], 0
je 0x45f7fe
push esi
push 0x4aab38
push 0x40
lea edx, [ebp - 0x84]
push edx
jmp 0x45f811
push str.Manually_induced
push 0x4aab38
push 0x40
lea eax, [ebp - 0x84]
push eax
call ebx
add esp, 0x10
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
push 2
push 0
push 0x196
lea ecx, [ebp - 0x104]
push 0
mov dword [ebp - 0x10c], ecx
mov ecx, dword [edi]
push 0
lea edx, [ebp - 0x84]
push ecx
mov dword [ebp - 0x108], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x45f872
push str.gvr.ERROR:_ReportEvent_failed_
call fcn.004261a0
add esp, 4
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret
push 0xc8
push str.gvr:_ReportEvent_succeeded___code__d
call fcn.004261a0
mov edx, dword [edi + 4]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Locale1de296f_cb85_4045_8e2c_d18c272ab526
call fcn.0045ef20
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00474985
mov esp, ebp
pop ebp
ret

Function at 0x45f8b0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x1fe
mov edi, ecx
push eax
lea ecx, [ebp - 0x202]
push ecx
mov word [ebp - 0x204], ax
call fcn.00479dd0
push esi
push 0x4aab38
lea edx, [ebp - 0x204]
push 0x100
push edx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov edx, dword [edi]
add esp, 0x1c
push 0
lea ecx, [ebp - 0x208]
push ecx
push 0
push 1
push 0
push 0x197
push 0
push 0
lea eax, [ebp - 0x204]
push edx
mov dword [ebp - 0x208], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x45f94b
push str.gvr.ERROR:_ReportEvent_failed_
call fcn.004261a0
add esp, 4
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret
push 0xc8
push str.gvr:_ReportEvent_succeeded___code__d
call fcn.004261a0
mov eax, dword [edi + 4]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.Locale1de296f_cb85_4045_8e2c_d18c272ab526
call fcn.0045ef20
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop edi
call fcn.00474985
mov esp, ebp
pop ebp
ret
Function at 0x460c80
Capabilities:
Get system information on windows
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
lea eax, [ebp - 2]
push eax
lea ecx, [esi + 0x1c]
push ecx
call fcn.00461cc0
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
lea eax, [ebp - 0x28]
push eax
mov byte [esi], bl
mov dword [esi + 0x94], ebx
mov dword [esi + 0xa4], 0x18000
mov word [esi + 0x64], bx
mov dword [esi + 0xa0], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x14]
push str.ntdll.dll
mov dword [esi + 0xa8], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x48], eax
cmp eax, ebx
je 0x460daa
cmp byte [0x4c84ec], bl
jne 0x460d76
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ZwQuerySystemInformation
push eax
call edi
mov edx, dword [esi + 0x48]
push str.ZwOpenProcess
push edx
mov dword [esi + 0x4c], eax
mov dword [0x4c84f0], eax
call edi
mov dword [esi + 0x50], eax
mov dword [0x4c84f4], eax
mov eax, dword [esi + 0x48]
push str.ZwClose
push eax
call edi
mov ecx, dword [esi + 0x48]
push str.ZwQueryInformationProcess
push ecx
mov dword [esi + 0x58], eax
mov dword [0x4c84f8], eax
call edi
mov edx, dword [esi + 0x48]
push str.ZwSetInformationProcess
push edx
mov dword [esi + 0x54], eax
mov dword [0x4c84fc], eax
call edi
mov dword [esi + 0x60], eax
mov dword [0x4c8500], eax
mov eax, dword [esi + 0x48]
push str.ZwReadVirtualMemory
push eax
call edi
pop edi
mov dword [0x4c8504], eax
mov dword [esi + 0x5c], eax
mov byte [0x4c84ec], 1
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4c84f0]
mov edx, dword [0x4c84f4]
mov eax, dword [0x4c84f8]
mov dword [esi + 0x4c], ecx
mov ecx, dword [0x4c84fc]
mov dword [esi + 0x50], edx
mov edx, dword [0x4c8500]
mov dword [esi + 0x58], eax
mov eax, dword [0x4c8504]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x60], edx
mov dword [esi + 0x5c], eax
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret