joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414280
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4142ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4142ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x44c449
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5edee0]
jne 0x44c453
repz ret
jmp fcn.0044ea78

Function at 0x456108
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5edee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00451982
and dword [ebp - 0x14], 0
cmp dword [0x5efc54], 0
mov dword [ebp - 0x18], eax
jne 0x4561bb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x456263
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x456263
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5efc54], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5efc58], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5efc5c], eax
call edi
push eax
call esi
mov dword [0x5efc64], eax
test eax, eax
je 0x4561bb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5efc60], eax
mov eax, dword [0x5efc60]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x456214
cmp dword [0x5efc64], ecx
je 0x456214
push eax
call esi
push dword [0x5efc64]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x456214
test ebx, ebx
je 0x456214
call edi
test eax, eax
je 0x45620b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45620b
test byte [ebp - 8], 1
jne 0x456214
or dword [ebp + 0x10], 0x200000
jmp 0x456247
mov eax, dword [0x5efc58]
cmp eax, dword [ebp - 0x18]
je 0x456247
push eax
call esi
test eax, eax
je 0x456247
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x456247
mov eax, dword [0x5efc5c]
cmp eax, dword [ebp - 0x18]
je 0x456247
push eax
call esi
test eax, eax
je 0x456247
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5efc54]
call esi
test eax, eax
je 0x456263
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x456265
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c449
leave
ret
Function at 0x404d00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x404d32
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.004054e0
pop ecx
mov esi, eax
test esi, esi
jne 0x404d65
push 1
call fcn.00404530
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x407288], eax
mov dword [0x40728c], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x404dbb
mov ebx, dword [0x407358]
mov esi, ebx
xor ecx, ecx
jmp 0x404dde
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404dc6
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404dd9
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404dc1
lea eax, [ecx + 1]
push eax
call fcn.004054e0
pop ecx
mov edi, eax
mov dword [0x407294], eax
cmp dword [0x407294], 0
jne 0x404e05
push 1
call fcn.00404530
pop ecx
mov esi, ebx
jmp 0x404e3a
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404e0e
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404e35
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x404e25
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404e09
mov byte [edi], 0
cmp ebx, dword [0x407358]
je 0x404e51
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401460
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4220f0
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x422277
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x6c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x85
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x6a
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x24
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x34
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xbd
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 9
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe0
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xa5
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x2c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x32
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd5
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xa
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x55
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x63
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x16
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x90
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x3c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x31
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x36
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x40
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb6
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe0
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x6c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x21
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x84
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x1c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x12
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x53
inc edi
cmp edi, ebx
jb 0x422110
pop esi
pop ebp
pop edi
pop ebx
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x715712b0
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x5f7f1839
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x41caf0
Capabilities:
Get common file path
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1234
call fcn.004110a0
cmp dword [0x4bcd8c], 0x37
jne 0x41cbac
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
lea eax, [ebp - 0x80c]
push eax
lea ecx, [ebp - 0x1010]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push str.teliyemukososixu
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x1230]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
push 0
push str.Zocamawejifay_num_pilisiwik_kodisac
push 0
push str.Koyilinanajavu
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Nosaruvalekilit_hohefeco_pevovefajabejib_mefenipa_woliyijanexuc
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push str.Cafupabope_dibakamahoyevo_duvimebiwep_gaxuxurumucuso
push 0
push str.Yiba
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 4], 0
mov eax, dword [0x4bd488]
add dword [ebp - 4], eax
mov eax, 0x8c456
add dword [ebp - 4], eax
mov ecx, dword [0x4badfc]
add ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
add edx, dword [ebp + 8]
mov al, byte [edx]
mov byte [ecx], al
mov esp, ebp
pop ebp
ret 4
Function at 0x41d180
Capabilities:
Allocate thread local storage
Delete file
Get disk information
Manipulate console buffer
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc68
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [0x4bcd8c], 0x516
jne 0x41d225
push 0
push 0
call sub.KERNEL32.dll_Process32NextW
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll__hread]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 3
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x41d246
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jae 0x41d2e3
cmp dword [0x4bcd8c], 0x29
jne 0x41d266
push str.Wilemegeyinabey
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
shl ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [0x4bcd8c], 0x1c
jne 0x41d2cb
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0
lea edx, [ebp - 0xc68]
push edx
push str.vikoserujofafuhazivovejijuwaxu_zinige
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
mov dword [ebp - 0x464], 0
xor eax, eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*4]
push ecx
call fcn.0041ce80
jmp 0x41d23d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x599ca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb7000]
push edi
jmp 0x599cba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x599cc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x599cb0
mov eax, 1
add ebx, ebx
jne 0x599cd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x599ce4
jne 0x599d03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x599d03
dec eax
add ebx, ebx
jne 0x599cf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x599cc8
add ebx, ebx
jne 0x599cff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x599d55
xor ecx, ecx
sub eax, 3
jb 0x599d1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x599d8a
sar eax, 1
mov ebp, eax
jmp 0x599d26
add ebx, ebx
jne 0x599d26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x599cf4
inc ecx
add ebx, ebx
jne 0x599d34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x599cf4
add ebx, ebx
jne 0x599d41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x599d36
jne 0x599d52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x599d36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x599d74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x599d66
jmp 0x599cb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x599d74
add edi, ecx
jmp 0x599cb6
pop esi
mov edi, esi
mov ecx, 3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x599d92
cmp byte [edi], 4
jne 0x599d92
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x599d97
lea edi, [esi + 0x196000]
mov eax, dword [edi]
or eax, eax
je 0x599e0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19ecbc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19ee24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x599dc4
mov ecx, edi
jns 0x599df3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19ee2c]
or eax, eax
je 0x599e09
mov dword [ebx], eax
add ebx, 4
jmp 0x599de1
call dword [esi + 0x19ee28]
mov ebp, dword [esi + 0x19ee30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x599e43
sub esp, 0xffffff80
jmp 0x4ab414
Function at 0x730f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x7459fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x731002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00734dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x731002
lea edx, [esp + 0x14]
push edx
push 0x74b140
call fcn.0072c6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0073520b
push 0x10
call fcn.007351d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x730fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.007211c0
jmp 0x730fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00730b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x730ff0
mov ecx, edi
call fcn.007212c0
push edi
call fcn.007351c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x731021
inc ebx
cmp ebx, 0x20
jb 0x730f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x732d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x732d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x732d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x732d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x732d94
push eax
push esi
call fcn.0073520b
add esp, 8
pop esi
ret 0x10

Function at 0x732da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x732e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x732e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x74b320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00734dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x732dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x732e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x732ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x732eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x74b320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00734dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x732eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x732e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x7341b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00734140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00734140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00734140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00734140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x734230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7342d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x7342ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00734230
mov esi, eax
add esp, 8
test esi, esi
jne 0x7342ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x73427e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x7342ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x734bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x734c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x74687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x734c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x734c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401c70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x47a2f4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [0x47d0c4]
mov eax, 0x38e38e39
push esi
mov dword [ebp - 0x810], ecx
mov dword [ebp - 0x814], edx
mov esi, dword [ebx + 4]
mov ecx, dword [ebx]
sub esi, ecx
imul esi
push edi
sar edx, 4
xor edi, edi
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x401cc3
cmp dword [ecx], 1
je 0x401ce4
inc edi
add ecx, 0x48
cmp edi, eax
jl 0x401cb6
push 0x472440
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043fe70
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
lea ecx, [edi + edi*8]
lea eax, [eax + ecx*8]
test eax, eax
je 0x401cc3
mov eax, dword [eax + 0x40]
cmp eax, 0xfffffffe
je 0x401cc3
test eax, eax
jne 0x401d03
push 0x472458
jmp 0x401cc8
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x7f8]
push 0x7ec
push 0
push eax
lea edi, [esi + 0x10]
call fcn.004421a0
mov eax, dword [ebp - 0x810]
push esi
push dword [ebp - 0x814]
mov dword [ebp - 0x804], eax
lea eax, [ebp - 0x7f8]
push eax
mov dword [ebp - 0x80c], edi
mov dword [ebp - 0x808], 0x2f9c
mov dword [ebp - 0x800], 0
mov dword [ebp - 0x7fc], esi
call fcn.004416a0
add esp, 0x18
lea eax, [edi + 4]
push dword [ebp - 0x810]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push ecx
mov ecx, ebx
call fcn.0040a5b0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043fe70
mov esp, ebp
pop ebp
ret