joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459500
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x105], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x124], 0
mov ecx, dword [ebp + 8]
call fcn.0044da70
movzx eax, al
test eax, eax
jne 0x45957e
mov ecx, dword [ebp + 0xc]
call fcn.0044da70
movzx ecx, al
test ecx, ecx
je 0x459583
jmp 0x45970a
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0043d500
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4595ac
jmp 0x45970a
push 0x6b0152
mov eax, dword [ebp - 0x110]
push eax
call fcn.005c57af
add esp, 8
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 0
jne 0x4595e0
jmp 0x45970a
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0043d500
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x45960c
jmp 0x45970a
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x114]
push eax
push str.VarFileInfoTranslation
mov ecx, dword [ebp - 0x10c]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x459634
jmp 0x45970a
cmp dword [ebp - 0x114], 0
je 0x459646
cmp dword [ebp - 0x118], 0
jne 0x45964b
jmp 0x45970a
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + eax]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
and eax, 0xffff
movzx ecx, ax
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + eax]
and eax, 0xffff
movzx edx, ax
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x120], ecx
mov ecx, dword [ebp + 8]
call fcn.0043d500
push eax
mov ecx, dword [ebp - 0x120]
push ecx
push 0x67d490
push 0x80
lea edx, [ebp - 0x104]
push edx
call fcn.00469850
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x10c]
push eax
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x459702
mov ecx, dword [ebp - 0x124]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00447bb0
mov byte [ebp - 0x105], 1
xor edx, edx
jne 0x459560
cmp dword [ebp - 0x10c], 0
je 0x459738
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.005c4761
add esp, 4
mov dword [ebp - 0x10c], 0
mov al, byte [ebp - 0x105]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x45bf30
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
push 0x67c2c0
lea ecx, [ebp - 0x1c]
call fcn.00446d70
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x1c]
call fcn.0043d500
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45bf8b
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
call fcn.0043c8a0
mov eax, dword [ebp - 0x24]
jmp 0x45bff6
mov ecx, dword [ebp + 8]
call fcn.0044fe70
lea ecx, [eax + eax + 2]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043d500
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0043d500
push eax
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x45bfda
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1c]
call fcn.0043c8a0
mov eax, dword [ebp - 0x28]
jmp 0x45bff6
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x1c]
call fcn.0043c8a0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret

Function at 0x45c010
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
push 0x67c378
lea ecx, [ebp - 0x1c]
call fcn.00446d70
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x1c]
call fcn.0043d500
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45c06b
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
call fcn.0043c8a0
mov eax, dword [ebp - 0x24]
jmp 0x45c0bc
mov ecx, dword [ebp + 8]
call fcn.0043d500
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45c0a0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1c]
call fcn.0043c8a0
mov eax, dword [ebp - 0x28]
jmp 0x45c0bc
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x1c]
call fcn.0043c8a0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x45c0d0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a40b
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea ecx, [ebp - 0x468]
call fcn.004629b0
mov dword [ebp - 4], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x450]
call fcn.00446d70
mov byte [ebp - 4], 1
mov dword [ebp - 0x458], 0
push 0
push 0
push 0xf003f
push 0
push 0
lea ecx, [ebp - 0x450]
call fcn.0043d500
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x468]
call fcn.00463dc0
test eax, eax
je 0x45c15f
jmp 0x45c229
xor eax, eax
mov word [ebp - 0x420], ax
push 0x40e
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.005ddad0
add esp, 0xc
mov dword [ebp - 0x454], 0x208
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0043d500
push eax
lea ecx, [ebp - 0x468]
call fcn.00464880
test eax, eax
je 0x45c1b0
jmp 0x45c229
cmp dword [ebp - 0x454], 0
ja 0x45c1bb
jmp 0x45c229
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00446d70
lea ecx, [ebp - 0x438]
call fcn.0044da70
movzx edx, al
test edx, edx
je 0x45c1ec
lea ecx, [ebp - 0x438]
call fcn.0043c8a0
jmp 0x45c229
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x438]
call fcn.00467850
test eax, eax
je 0x45c20c
lea ecx, [ebp - 0x438]
call fcn.0043c8a0
jmp 0x45c229
mov dword [ebp - 0x458], 1
lea ecx, [ebp - 0x438]
call fcn.0043c8a0
xor ecx, ecx
jne 0x45c12d
lea ecx, [ebp - 0x468]
call fcn.00463d70
mov edx, dword [ebp - 0x458]
mov dword [ebp - 0x45c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x450]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.00462e00
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret

Function at 0x45c280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esp, ebp
pop ebp
ret
Function at 0x45c310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x45c332
xor eax, eax
jmp 0x45c514
mov ecx, 0x28
mov esi, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
lea edi, [ebp - 0x504]
rep movsd dword es:[edi], dword [esi]
push 0x168
push 0
lea eax, [ebp - 0x464]
push eax
call fcn.005ddad0
add esp, 0xc
mov dword [ebp - 0x508], 0
lea ecx, [ebp - 0x508]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x504]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x45c39a
xor eax, eax
jmp 0x45c514
mov byte [ebp - 0x108], 0
push 0x103
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.005ddad0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str._sConnection
lea edx, [ebp - 0x108]
push edx
call fcn.00461d00
add esp, 0xc
mov dword [ebp - 0x510], 0
lea eax, [ebp - 0x510]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x508]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x45c41e
mov eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x45c514
mov dword [ebp - 0x518], 1
mov dword [ebp - 0x514], 0xfa
lea ecx, [ebp - 0x514]
push ecx
lea edx, [ebp - 0x2fc]
push edx
lea eax, [ebp - 0x518]
push eax
push 0
push str.PnPInstanceId
mov ecx, dword [ebp - 0x510]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x45c48b
mov edx, dword [ebp - 0x508]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x510]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x45c514
push 0x67c98c
call fcn.0060f66f
add esp, 4
push eax
push 0x67c994
lea ecx, [ebp - 0x2fc]
push ecx
call fcn.0061096b
add esp, 0xc
test eax, eax
je 0x45c4d7
push 0x67c9b0
call fcn.0060f66f
add esp, 4
push eax
push 0x67c9b8
lea edx, [ebp - 0x2fc]
push edx
call fcn.0061096b
add esp, 0xc
test eax, eax
jne 0x45c4f8
mov eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x510]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x45c514
mov edx, dword [ebp - 0x508]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x510]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x45cee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.0043d500
push eax
push 0x67cdec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
ja 0x45cf2b
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.0043d500
push eax
push 0x67cdf8
push 0x67ce14
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45d660
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x860
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x860], 0x44
push 0x40
push 0
lea eax, [ebp - 0x85c]
push eax
call fcn.005ddad0
add esp, 0xc
mov dword [ebp - 0x818], 0
xor ecx, ecx
mov dword [ebp - 0x814], ecx
mov dword [ebp - 0x810], ecx
mov dword [ebp - 0x80c], ecx
mov dword [ebp - 0x834], 1
mov edx, 1
mov word [ebp - 0x830], dx
xor eax, eax
mov word [ebp - 0x804], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x802]
push ecx
call fcn.005ddad0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.0043d500
push eax
push 0x67d394
push 0x400
lea edx, [ebp - 0x804]
push edx
call fcn.00469850
add esp, 0x10
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x860]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x818], 0
jne 0x45d757
mov byte [ebp - 0x805], 0
lea ecx, [ebp + 8]
call fcn.0043c8a0
mov al, byte [ebp - 0x805]
jmp 0x45d79d
cmp dword [ebp + 0x20], 0
je 0x45d76e
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x806], 1
lea ecx, [ebp + 8]
call fcn.0043c8a0
mov al, byte [ebp - 0x806]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x45df50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a652
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x24]
call fcn.004677a0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0xffffffff
jne 0x45dfc3
mov byte [ebp - 0x26d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c8a0
mov al, byte [ebp - 0x26d]
jmp 0x45e185
mov dword [ebp - 0x26c], 0x22c
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45e012
mov edx, dword [ebp - 0x274]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x26e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c8a0
mov al, byte [ebp - 0x26e]
jmp 0x45e185
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00446bf0
mov byte [ebp - 4], 1
push fcn.0060f9d8
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0044c3a0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x40]
call fcn.0044daa0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x284]
push edx
lea ecx, [ebp - 0x40]
call fcn.0044c3a0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x288]
push ecx
call fcn.00446160
add esp, 0x14
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x28]
call fcn.00446d70
mov byte [ebp - 4], 2
push fcn.0060f9d8
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044c3a0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044daa0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044c3a0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x298]
push eax
call fcn.00446160
add esp, 0x14
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00467850
test eax, eax
jne 0x45e102
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x264]
cmp eax, dword [edx]
je 0x45e102
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x254]
cmp edx, dword [ecx]
jne 0x45e102
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 0x24]
call fcn.00468f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x274]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45e06c
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x24]
call fcn.004695d0
test eax, eax
jbe 0x45e14e
mov dword [ebp - 0x278], 1
jmp 0x45e158
mov dword [ebp - 0x278], 0
mov cl, byte [ebp - 0x278]
mov byte [ebp - 0x26f], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c8a0
mov al, byte [ebp - 0x26f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x45e1a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45e1c1
xor al, al
jmp 0x45e1eb
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x45e1df
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x45e1eb
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x45ee80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x45eeb2
xor eax, eax
jmp 0x45ef4b
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x45ef46
mov edx, dword [ebp - 0x228]
push edx
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x45ef2b
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov ecx, dword [ebp - 0x234]
push ecx
call sub.KERNEL32.dll_K32EmptyWorkingSet
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x23c], eax
jmp 0x45eed5
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x463f80
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65aaf0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x7060c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
call fcn.00462630
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x3c]
call fcn.00404ad0
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0x3c
mov dword [ebp - 0x1c], 0x7a
cmp dword [ebp - 0x1c], 0x7a
jne 0x46400d
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004691e0
lea ecx, [ebp - 0x3c]
call fcn.00406dd0
mov dword [ebp - 0x14], eax
push 1
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.IPHLPAPI.DLL_GetIpForwardTable
mov dword [ebp - 0x1c], eax
jmp 0x463fdc
cmp dword [ebp - 0x1c], 0
je 0x464048
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00462600
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00404c40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00462c80
mov eax, dword [ebp + 8]
jmp 0x4640bf
mov dword [ebp - 0x10], 0
jmp 0x46405a
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax]
jae 0x46408c
imul edx, dword [ebp - 0x10], 0x38
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx + 4], 0
jne 0x46408a
imul ecx, dword [ebp - 0x10], 0x38
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx + 0x14]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00461c00
jmp 0x464051
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00462600
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00404c40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00462c80
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 0x464880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x464889
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4648cc
mov eax, dword [ebp - 8]
jmp 0x464932
cmp dword [ebp - 0xc], 1
je 0x4648df
cmp dword [ebp - 0xc], 2
je 0x4648df
mov eax, 0xd
jmp 0x464932
cmp dword [ebp + 0xc], 0
je 0x464926
cmp dword [ebp - 4], 0
je 0x464915
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x46490c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x464913
mov eax, 0xd
jmp 0x464932
jmp 0x464926
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x464940
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.004629b0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00464780
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x4649bf
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.00462e00
mov eax, dword [ebp - 0x220]
jmp 0x464a74
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x464a43
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00464940
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x464a37
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.00462e00
mov eax, dword [ebp - 0x224]
jmp 0x464a74
mov dword [ebp - 0x210], 0x100
jmp 0x4649c9
lea ecx, [ebp - 0x21c]
call fcn.00463d70
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.00463e80
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.00462e00
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret 4