joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f034
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov eax, dword [0x4b7444]
mov edx, dword [eax]
call dword [edx + 8]
push 0x44f140
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x24], eax
push 0x44f14c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
xor eax, eax
push ebp
push 0x44f131
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x44f15c
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 4], eax
push 0x44f174
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x14], eax
push 0x44f18c
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x20], eax
push 0x44f19c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 8], eax
push 0x44f1b8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
push 0x44f1c8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
push 0x44f1d8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x18], eax
push 0x44f1e8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x1c], eax
call fcn.0044f018
test al, al
je 0x44f0f7
push ebp
call fcn.0044efb8
pop ecx
jmp 0x44f0fe
push ebp
call fcn.0044ee98
pop ecx
mov edx, 0x44eba0
mov eax, dword [0x4b7444]
call fcn.00417870
push ebp
call fcn.0044ec5c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f138
cmp dword [ebp - 0x24], 0
je 0x44f130
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
Function at 0x4502ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45046b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x45034b
cmp byte [ebp - 5], 0x80
jb 0x45034b
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
xor edx, edx
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.00402c6c
xor ecx, ecx
mov cl, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x45043e
cmp byte [esi + 0x3b], 0
je 0x4503ae
mov eax, dword [0x4bc990]
mov edx, dword [esi + 0x37]
call fcn.00404bfc
je 0x45039d
mov eax, dword [esi + 0x37]
call fcn.00435384
mov eax, 0x4bc990
mov edx, dword [esi + 0x37]
call fcn.00404818
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.00435424
jmp 0x4503e7
cmp byte [ebx], 0
je 0x4503e7
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00404a38
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00435780
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x450484
call fcn.00404afc
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.00404a8c
cmp byte [ebp - 6], 0
je 0x450450
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00404a38
push dword [ebp - 0x1c]
push 0x450490
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004502ec
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
call fcn.00404a38
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404b70
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0xff
call fcn.00404a8c
jmp 0x450450
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x450450
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x450449
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450472
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.004047e8
ret

Function at 0x454f98
Capabilities:
Hide graphical window

Disassembly:
push ebx
call sub.kernel32.dll_GetCurrentProcessId
call fcn.0044da98
mov ebx, eax
test ebx, ebx
je 0x454ff1
push ebx
call sub.user32.dll_IsIconic
test eax, eax
je 0x454fda
push 0
push 0xf120
push 0x112
push ebx
call sub.user32.dll_PostMessageA
call fcn.00454f38
push 5
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_SetForegroundWindow
jmp 0x454ff1
push ebx
call sub.user32.dll_GetLastActivePopup
mov ebx, eax
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
je 0x454ff1
push ebx
call sub.user32.dll_SetForegroundWindow
pop ebx
ret
Function at 0x45bc24
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
push 0
push 0
push 0xe
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
inc esi
mov eax, ebx
mov edx, esi
call fcn.00404e3c
mov eax, ebx
call fcn.00404d08
push eax
push esi
push 0xd
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx]
call fcn.00404ab0
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404d50
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x45bc8c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, 0x4bc790
xor eax, eax
push ebp
push 0x45bd4f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0xe
push 0x6d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
inc ebx
mov eax, esi
mov edx, ebx
call fcn.00404e3c
mov eax, esi
call fcn.00404d08
push eax
push ebx
push 0xd
push 0x6d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [esi]
call fcn.00404ab0
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.00404d50
lea edx, [ebp - 4]
mov eax, dword [esi]
call fcn.0040a794
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00404818
lea ecx, [ebp - 8]
mov dl, 0x7b
mov eax, dword [0x4bc698]
call fcn.004236c8
mov edx, dword [ebp - 8]
mov ecx, dword [esi]
mov eax, 7
call fcn.00455904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bd56
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e8
ret

Function at 0x45d394
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x4b7478], 0
jne 0x45d3e1
xor esi, esi
mov edx, 0x4bd050
mov eax, esi
mov ebx, 8
test al, 1
je 0x45d3c7
shr eax, 1
xor eax, 0xedb88320
jmp 0x45d3c9
shr eax, 1
dec ebx
jne 0x45d3ba
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x45d3b3
mov byte [0x4b7478], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x45d40e
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x4bd050]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x45d3ed
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x460598
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4605a1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ca0
mov eax, dword [ebp - 8]
call fcn.00404ca0
mov eax, dword [ebp - 0xc]
call fcn.00404ca0
xor eax, eax
push ebp
push 0x4607cc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.00421e28
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.0040485c
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.00421e28
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
call fcn.0040485c
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x4607e4
mov eax, 0x80000000
call fcn.00422758
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.00421e28
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.0040485c
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.004031a0
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.004031a0
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4bc764]
mov edx, 0x460808
call fcn.00404afc
push 0x460818
push dword [ebp - 4]
push 0x460828
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
call fcn.004604b4
push dword [ebp - 0x84]
push 0x46083c
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404afc
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.004604b4
push dword [ebp - 0x88]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00404b70
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x46084c
mov eax, dword [ebp - 0x14]
call fcn.00422524
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404cb0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x460784
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x6c]
call fcn.0044da98
test eax, eax
je 0x460753
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
je 0x460770
lea eax, [ebp - 0x20]
push eax
push esi
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4607a1
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x90]
call fcn.0040e140
mov edx, dword [ebp - 0x90]
mov al, 4
call fcn.0044d798
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4607d3
lea eax, [ebp - 0x90]
mov edx, 7
call fcn.004047e8
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004047e8
ret
Function at 0x4617ac
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4617b4
push ebx
push esi
mov esi, 0x4bc698
xor eax, eax
push ebp
push 0x461a33
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov byte [0x4bc948], 1
mov eax, dword [0x4bc994]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4bc998]
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.0044d8d4
call fcn.00460350
xor eax, eax
push ebp
push 0x461a04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4bd020]
call fcn.00452084
xor eax, eax
push ebp
push 0x4619df
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00452150
xor eax, eax
push ebp
push 0x4619b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x46185a
mov al, 1
call fcn.004616ec
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x46185a
push ebp
call fcn.00460c1c
pop ecx
and bl, al
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x461896
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x46187b
mov eax, dword [esi]
cmp byte [eax + 0x2ee], 0
je 0x461882
xor eax, eax
call fcn.004616ec
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x461896
push ebp
call fcn.004615a0
pop ecx
and bl, al
test bl, bl
jne 0x4618af
mov eax, dword [esi]
test byte [eax + 0x331], 0x10
je 0x4618af
mov eax, dword [0x4bc764]
call fcn.0044dc14
mov eax, dword [esi]
test byte [eax + 0x2f1], 2
je 0x461932
cmp byte [ebp - 0xd], 0
jne 0x461932
test bl, bl
je 0x4618fc
push 0x242040
lea ecx, [ebp - 0x14]
xor edx, edx
mov eax, dword [esi]
call fcn.004236c8
mov eax, dword [ebp - 0x14]
call fcn.00404cb0
push eax
lea ecx, [ebp - 0x18]
mov dl, 0x90
mov eax, dword [esi]
call fcn.004236c8
mov eax, dword [ebp - 0x18]
call fcn.00404cb0
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x461932
push 0x242010
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [esi]
call fcn.004236c8
mov eax, dword [ebp - 0x1c]
call fcn.00404cb0
push eax
lea ecx, [ebp - 0x20]
mov dl, 0x91
mov eax, dword [esi]
call fcn.004236c8
mov eax, dword [ebp - 0x20]
call fcn.00404cb0
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [esi]
test byte [eax + 0x331], 0x20
je 0x461983
test bl, bl
jne 0x461983
lea eax, [ebp - 0x24]
call fcn.00460a0c
mov eax, dword [ebp - 0x24]
call fcn.00404cb0
push eax
lea eax, [ebp - 0x28]
call fcn.00451e20
mov eax, dword [ebp - 0x28]
call fcn.00404cb0
push eax
call sub.kernel32.dll_MoveFileA
lea eax, [ebp - 0x30]
call fcn.00460a0c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040b038
mov eax, dword [ebp - 0x2c]
call fcn.00460a98
lea eax, [ebp - 0x34]
call fcn.00451e20
mov eax, dword [ebp - 0x34]
call fcn.0040af0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4619b8
lea eax, [ebp - 0x38]
call fcn.00451fcc
mov eax, dword [ebp - 0x38]
call fcn.0040af0c
ret
Function at 0x463138
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4631ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x4631b8]
call fcn.00402c94
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040a9d0
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x4631c4
call fcn.00404afc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4631b3
lea eax, [ebp - 0x24]
call fcn.004047c4
ret

Function at 0x4631c8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46323c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x463248]
call fcn.00402c94
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040a9d0
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x463254
call fcn.00404afc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463243
lea eax, [ebp - 0x24]
call fcn.004047c4
ret
Function at 0x463dd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x463f2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004047c4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00404cb0
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x463f12
mov eax, dword [ebp - 4]
call fcn.0040272c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x463f0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x463ef2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x463f3c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x463ef2
push 0x463f60
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.0040a9f8
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0040a9f8
push dword [ebp - 0x20]
push 0x463f7c
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404b70
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404cb0
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x463ef2
cmp dword [ebp - 0xc], 1
jbe 0x463ef2
mov eax, dword [ebp - 0x14]
call fcn.0040b514
mov ecx, eax
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.004048b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463f12
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0040274c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463f34
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004047e8
ret
Function at 0x463fc4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404ca0
xor eax, eax
push ebp
push 0x46409c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004047c4
cmp dword [ebp - 4], 0
je 0x464014
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x464014
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404d50
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404cb0
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x464086
mov eax, ebx
mov edx, 0x400
call fcn.00404e3c
mov eax, dword [ebx]
call fcn.00404ab0
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
call fcn.00404cb0
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x464076
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.00404e3c
jmp 0x46407d
mov eax, ebx
call fcn.004047c4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4640a3
lea eax, [ebp - 4]
call fcn.004047c4
ret

Function at 0x4640ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ca0
mov eax, dword [ebp - 8]
call fcn.00404ca0
xor eax, eax
push ebp
push 0x464182
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x4640fe
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4640fe
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404d50
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404cb0
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x464167
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404cb0
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46415e
cmp dword [ebp - 0x14], 4
jne 0x46415e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464189
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e8
ret
Function at 0x4649d8
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x464b81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004047c4
lea eax, [ebp - 8]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x464b66
xor eax, eax
push ebp
push 0x464b5f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [ebp - 0xc]
call fcn.0040272c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x464b41
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x464b2b
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
dec edi
test edi, edi
jl 0x464b2b
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x10]
add edx, 4
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + eax*4 + 4]
mov dword [ebp - 0x14], ecx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x10]
add edx, 4
mov eax, dword [edx + eax*4 + 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404e3c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404cb0
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404e3c
push dword [esi]
lea ecx, [ebp - 0x20]
mov edx, 0x1f
mov eax, dword [ebp - 0x1c]
call fcn.00464998
push dword [ebp - 0x20]
push ebp
lea eax, [ebp - 0x24]
call fcn.00464944
pop ecx
push dword [ebp - 0x24]
push 0x464b98
mov eax, esi
mov edx, 4
call fcn.00404b70
inc ebx
dec edi
jne 0x464a86
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464b48
mov eax, dword [ebp - 0x10]
call fcn.0040274c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464b88
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004047e8
ret
Function at 0x468cfc
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x468e1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b87dc]
mov eax, dword [eax]
call fcn.0044de0c
mov ebx, eax
test ebx, ebx
je 0x468d6a
lea edx, [ebp - 4]
mov eax, dword [ebx + 4]
call fcn.0040b100
mov eax, dword [ebp - 4]
call fcn.00404cb0
push eax
push 0x468e2c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.00404cb0
push eax
push 0x468e3c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.00404cb0
push eax
push 0x468e4c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.0044dec8
mov ebx, eax
test ebx, ebx
je 0x468dbf
lea edx, [ebp - 8]
mov eax, dword [ebx + 4]
call fcn.0040b100
mov eax, dword [ebp - 8]
call fcn.00404cb0
push eax
push 0x468e5c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.00404cb0
push eax
push 0x468e70
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.00404cb0
push eax
push 0x468e84
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
call fcn.00463068
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.00404cb0
push eax
push 0x468e98
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [0x4bc764]
call fcn.00404cb0
push eax
push 0x468ea4
call sub.kernel32.dll_SetEnvironmentVariableA
push 0x468eb0
push 0x468eb4
call sub.kernel32.dll_SetEnvironmentVariableA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468e25
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047e8
ret