joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb9a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x18
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
je 0x4bbaac
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 0x10], 0
je 0x4bba72
call fcn.0052fe80
cmp al, 0
je 0x4bba35
mov edx, dword [ebp - 0x10]
add edx, 1
lea edx, [edx + edx]
push edx
call fcn.0053b090
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.0040cbb0
push dword [ebp - 0x14]
call fcn.0053b0a0
pop ecx
jmp 0x4bba72
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
call fcn.0053b090
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
lea ecx, [ebp - 8]
call fcn.0040cb20
push dword [ebp - 0x1c]
call fcn.0053b0a0
pop ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.0040cda0
lea ecx, [ebp - 0xc]
call fcn.0040cd50
mov ebx, eax
cmp dword [ebp - 0xc], 0
je 0x4bba96
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
cmp dword [ebp - 8], 0
je 0x4bbaa4
mov ecx, dword [ebp - 8]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov eax, 0
lea esp, [ebp - 4]
pop ebx
pop ebp
ret

Function at 0x4bbac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0x10]
mov byte [eax + 0x30], cl
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
je 0x4bbaf9
cmp byte [ebp + 0x10], 0
je 0x4bbaeb
push 5
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4bbaf9
push 0
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret
Function at 0x4c5a40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x565dd0
mov eax, dword [0x5661fc]
mov dword [ebp - 0x10], eax
jmp 0x4c5b39
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x38], 0
je 0x4c5b31
mov eax, dword [ebp - 0x10]
push dword [eax + 0x38]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x24], 0
je 0x4c5a9e
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x24]
mov eax, dword [edx + 0xc]
jmp 0x4c5aa3
mov eax, 0
cmp eax, 0
je 0x4c5b31
call fcn.0052fe80
cmp al, 0
je 0x4c5ae3
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0040cf40
lea ecx, [ebp - 4]
call fcn.0040d1f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 4], 0
je 0x4c5b31
mov ecx, dword [ebp - 4]
call fcn.0040c8f0
jmp 0x4c5b31
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x24]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x4c5af7
mov edx, dword [ebp - 8]
inc dword [edx]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0047cc50
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.0040d1c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0xc], 0
je 0x4c5b23
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
cmp dword [ebp - 8], 0
je 0x4c5b31
mov ecx, dword [ebp - 8]
call fcn.0040c8f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x4c5a71
mov ecx, dword [ebp - 0x14]
call fcn.00439690
mov eax, dword [ebp - 0x14]
leave
ret
Function at 0x4dcea0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x18
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 2
jmp 0x4dcf59
mov edx, 1
mov ecx, dword [ebp - 0x18]
shl edx, cl
test dword [ebp - 0x14], edx
je 0x4dcf56
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + 8], eax
jne 0x4dcf53
mov dl, byte [ebp - 0x18]
add dl, 0x41
mov byte [ebp - 8], dl
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0
mov dword [ebp - 0xc], 0
lea edx, [ebp - 8]
lea eax, [ebp - 8]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040cb20
cmp dword [ebp - 0xc], 0
je 0x4dcf31
mov ebx, dword [ebp - 0xc]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0xc]
push eax
call fcn.004dcdc0
pop ecx
mov ebx, eax
cmp dword [ebp - 0xc], 0
je 0x4dcf4b
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
inc dword [ebp - 0x1c]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x20
jl 0x4dced6
mov dword [ebp - 0x18], 0
jmp 0x4dcff2
mov edx, 1
mov ecx, dword [ebp - 0x18]
shl edx, cl
test dword [ebp - 0x14], edx
je 0x4dcfef
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + 8], eax
jne 0x4dcfec
mov dl, byte [ebp - 0x18]
add dl, 0x41
mov byte [ebp - 8], dl
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0
mov dword [ebp - 0x10], 0
lea edx, [ebp - 8]
lea eax, [ebp - 8]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cb20
cmp dword [ebp - 0x10], 0
je 0x4dcfca
mov ebx, dword [ebp - 0x10]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x10]
push eax
call fcn.004dcdc0
pop ecx
mov ebx, eax
cmp dword [ebp - 0x10], 0
je 0x4dcfe4
mov ecx, dword [ebp - 0x10]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
inc dword [ebp - 0x1c]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x4dcf6f
mov eax, 0
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
Function at 0x4dd010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x424
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x109
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, 0
jge 0x4dd051
mov eax, 0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, 0
je 0x4dd071
mov eax, 0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [ebp - 0x424], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov esi, dword [edx]
call dword [esi + 0x14]
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov esi, dword [edx]
call dword [esi + 8]
cmp dword [ebp - 0x424], 0
je 0x4dd23a
mov dword [ebp - 0x414], 0
lea edx, [ebp - 0x410]
lea eax, [ebp - 0x410]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
call fcn.0040cb20
cmp dword [ebp - 0x414], 0
je 0x4dd0f5
mov ebx, dword [ebp - 0x414]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
mov dword [ebp - 0x418], 0
push 0x573f78
call fcn.0040e8d0
pop ecx
push eax
push 0x573f78
lea ecx, [ebp - 0x418]
call fcn.0040cb20
cmp dword [ebp - 0x418], 0
je 0x4dd133
mov ebx, dword [ebp - 0x418]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0040dcb0
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x414]
call fcn.0040d2e0
cmp dword [ebp - 0x41c], 0
je 0x4dd176
mov ecx, dword [ebp - 0x41c]
call fcn.0040c8f0
cmp dword [ebp - 0x418], 0
je 0x4dd18a
mov ecx, dword [ebp - 0x418]
call fcn.0040c8f0
mov bl, 0
push 0x14
call fcn.00487050
pop ecx
cmp eax, 0
je 0x4dd1ce
mov edx, dword [ebp - 0x414]
mov dword [ebp - 0x420], edx
cmp dword [ebp - 0x420], 0
je 0x4dd1b6
mov edx, dword [ebp - 0x420]
inc dword [edx]
mov bl, 1
push 0
push 0
push 0
lea edx, [ebp - 0x420]
push edx
mov ecx, eax
call fcn.004d4a20
mov eax, eax
mov dword [ebp - 0x428], eax
cmp bl, 0
je 0x4dd1ed
cmp dword [ebp - 0x420], 0
je 0x4dd1ed
mov ecx, dword [ebp - 0x420]
call fcn.0040c8f0
call fcn.004298b0
push eax
call sym.X86RunHoudini.exe_CreateInstance
pop ecx
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
je 0x4dd217
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x428]
mov dword [eax + 0x18], ecx
mov ebx, dword [ebp - 0x42c]
cmp dword [ebp - 0x414], 0
je 0x4dd231
mov ecx, dword [ebp - 0x414]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov eax, 0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
Function at 0x4dd290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x408
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x102
rep stosd dword es:[edi], eax
pop edi
pop ecx
push 0x1a
call fcn.004dd010
pop ecx
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
jne 0x4dd34e
push 0x400
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 0x408], 0
lea edx, [ebp - 0x404]
lea eax, [ebp - 0x404]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x408]
call fcn.0040cb20
cmp dword [ebp - 0x408], 0
je 0x4dd323
mov ebx, dword [ebp - 0x408]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x408]
push eax
call fcn.004dcdc0
pop ecx
mov ebx, eax
cmp dword [ebp - 0x408], 0
je 0x4dd346
mov ecx, dword [ebp - 0x408]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x40c]
lea esp, [ebp - 4]
pop ebx
pop ebp
ret

Function at 0x4dd380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x408
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x102
rep stosd dword es:[edi], eax
pop edi
pop ecx
push 0x1a
call fcn.004dd010
pop ecx
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
jne 0x4dd43e
push 0x400
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 0x408], 0
lea edx, [ebp - 0x404]
lea eax, [ebp - 0x404]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x408]
call fcn.0040cb20
cmp dword [ebp - 0x408], 0
je 0x4dd413
mov ebx, dword [ebp - 0x408]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x408]
push eax
call fcn.004dcdc0
pop ecx
mov ebx, eax
cmp dword [ebp - 0x408], 0
je 0x4dd436
mov ecx, dword [ebp - 0x408]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x40c]
lea esp, [ebp - 4]
pop ebx
pop ebp
ret

Function at 0x4dd4a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x404
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x101
rep stosd dword es:[edi], eax
pop edi
pop ecx
push 0x400
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x408], 0
lea edx, [ebp - 0x404]
lea eax, [ebp - 0x404]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x408]
call fcn.0040cb20
cmp dword [ebp - 0x408], 0
je 0x4dd518
mov ebx, dword [ebp - 0x408]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x408]
push eax
call fcn.004dcdc0
pop ecx
mov ebx, eax
cmp dword [ebp - 0x408], 0
je 0x4dd53b
mov ecx, dword [ebp - 0x408]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
Function at 0x4dd550
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x408
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x102
rep stosd dword es:[edi], eax
pop edi
pop ecx
lea eax, [ebp - 0x404]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x40c]
mov byte [ebp + eax - 0x405], 0
mov dword [ebp - 0x408], 0
lea edx, [ebp - 0x404]
lea eax, [ebp - 0x404]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x408]
call fcn.0040cb20
cmp dword [ebp - 0x408], 0
je 0x4dd5dc
mov ebx, dword [ebp - 0x408]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x408]
push eax
call fcn.004dcdc0
pop ecx
mov ebx, eax
cmp dword [ebp - 0x408], 0
je 0x4dd5ff
mov ecx, dword [ebp - 0x408]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret

Function at 0x4dd610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x808
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x202
rep stosd dword es:[edi], eax
pop edi
pop ecx
lea eax, [ebp - 0x404]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp - 0x80c]
mov byte [ebp + eax - 0x405], 0
lea eax, [ebp - 0x804]
push eax
push 0
push 0x573f7a
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov dword [ebp - 0x808], 0
lea edx, [ebp - 0x804]
lea eax, [ebp - 0x804]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x808]
call fcn.0040cb20
cmp dword [ebp - 0x808], 0
je 0x4dd6b7
mov ebx, dword [ebp - 0x808]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x808]
push eax
call fcn.004dcdc0
pop ecx
mov ebx, eax
cmp dword [ebp - 0x808], 0
je 0x4dd6da
mov ecx, dword [ebp - 0x808]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
Function at 0x4e8cd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [ebp - 4], ecx
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
call fcn.0040d1c0
push eax
mov eax, dword [ebp - 4]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, 0
sete al
leave
ret 8

Function at 0x4e8d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [ebp - 4], ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 3
push 0
mov ecx, dword [ebp + 8]
call fcn.0040d1c0
push eax
mov eax, dword [ebp - 4]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, 0
sete al
leave
ret 0xc

Function at 0x4e8d50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x408
push ecx
lea edi, [esp + 4]
mov eax, 0xcccccccc
mov ecx, 0x102
rep stosd dword es:[edi], eax
pop ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x414], ecx
lea edi, [ebp - 0x40c]
mov eax, 0
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov dword [ebp - 0x410], 0x400
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x414]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [esi], 0
lea edx, [ebp - 0x40c]
lea eax, [ebp - 0x40c]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 0x40c]
push eax
mov ecx, esi
call fcn.0040cb20
cmp dword [esi], 0
je 0x4e8df2
mov ebx, dword [esi]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
mov edx, esi
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4e8e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x410
push ecx
lea edi, [esp + 4]
mov eax, 0xcccccccc
mov ecx, 0x104
rep stosd dword es:[edi], eax
pop ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x14], 0x400
lea edi, [ebp - 0x414]
mov eax, 0
mov ecx, 0x100
rep stosd dword es:[edi], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x4e8e93
mov dword [esi], 0
push 0x576628
call fcn.0040e8d0
pop ecx
push eax
push 0x576628
mov ecx, esi
call fcn.0040cb20
cmp dword [esi], 0
je 0x4e8e84
mov ebx, dword [esi]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
mov edx, esi
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x41c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x418], eax
mov dword [esi], 0
lea edx, [ebp - 0x414]
lea eax, [ebp - 0x414]
push eax
call fcn.0040e8d0
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.0040cb20
cmp dword [esi], 0
je 0x4e8ef7
mov ebx, dword [esi]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
mov edx, esi
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4e8f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.0040d1c0
push eax
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 4]
dec edx
cmp edx, 6
ja case.0x4e8f60.5
jmp dword [edx*4 + 0x5448c4]
mov dword [ebp - 4], 0
jmp 0x4e8f92
mov dword [ebp - 4], 1
jmp 0x4e8f92
mov dword [ebp - 4], 2
jmp 0x4e8f92
mov dword [ebp - 4], 3
jmp 0x4e8f92
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x4e9340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.0040d1c0
push eax
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 8], 4
jne 0x4e939b
cmp dword [ebp - 0xc], 4
je 0x4e93a4
mov eax, 0xffffffff
leave
ret 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.0040d1c0
push eax
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x4e93d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0xc], 0
jne 0x4e9413
push str.Trying_to_get_a_binary_registry_key_but_didnt_pass_in_a_size_to_fill_out.
push str.size
push 0x1e1
push str.Registry.cpp
push 4
push 0x83
call fcn.00495150
add esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.0040d1c0
push eax
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 4], 3
jne 0x4e944d
cmp dword [ebp - 8], 0
jne 0x4e945f
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov eax, 0
leave
ret 8
mov eax, dword [ebp - 8]
push eax
call fcn.0053b090
pop ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.0040d1c0
push eax
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x4e94a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
call fcn.0040d1c0
push eax
mov eax, dword [ebp - 4]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, 0
sete al
leave
ret 4
Function at 0x4e94d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [ebp - 8], ecx
call fcn.0052fe80
cmp al, 0
je 0x4e9559
cmp byte [0x5a8f04], 0
jne 0x4e950e
push str.shlwapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5a8f00], eax
mov byte [0x5a8f04], 1
mov dword [ebp - 4], 0
cmp dword [0x5a8f00], 0
je 0x4e9559
cmp dword [ebp - 4], 0
jne 0x4e9538
push str.SHDeleteKeyA
push dword [0x5a8f00]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4e9559
mov ecx, dword [ebp + 8]
call fcn.0040d250
push eax
mov eax, dword [ebp - 8]
push dword [eax]
call dword [ebp - 4]
cmp eax, 0
sete al
leave
ret 4
mov ecx, dword [ebp + 8]
call fcn.0040d250
push eax
mov eax, dword [ebp - 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp eax, 0
sete al
leave
ret 4

Function at 0x4ecbd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0xc
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 0
jne 0x4ecc11
mov eax, dword [ebp - 0x10]
add eax, 0x14
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x4ecc34
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 4]
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
push 0x545948
push 0
push dword [ebp - 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x14]
mov esi, dword [edx]
call dword [esi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 4]
pop esi
pop ebp
ret 8