joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a171
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0
mov eax, 0x53d967
call fcn.0051ad65
mov edi, dword [ebp + 8]
push 0x38
push 0
push 0x6b
mov ecx, edi
call fcn.00427004
and dword [ebp - 4], 0
lea esi, [edi + 0xac]
mov dword [edi], vtable.CMyPropertyPage4.0
call fcn.00403c60
lea esi, [edi + 0x12c]
mov byte [ebp - 4], 1
call fcn.00403c60
lea esi, [edi + 0x1ac]
mov byte [ebp - 4], 2
call fcn.00403c60
lea esi, [edi + 0x22c]
mov byte [ebp - 4], 3
call fcn.00403c60
lea esi, [edi + 0x2ac]
mov byte [ebp - 4], 4
call fcn.00403c60
lea esi, [edi + 0x32c]
mov byte [ebp - 4], 5
call fcn.00403c60
lea esi, [edi + 0x3ac]
mov byte [ebp - 4], 6
call fcn.00403c60
lea esi, [edi + 0x42c]
mov byte [ebp - 4], 7
call fcn.00403c60
lea esi, [edi + 0x4ac]
mov byte [ebp - 4], 8
call fcn.00403c60
lea esi, [edi + 0x52c]
mov byte [ebp - 4], 9
call fcn.00403c60
lea esi, [edi + 0x5ac]
mov byte [ebp - 4], 0xa
call fcn.00403c60
lea esi, [edi + 0x62c]
mov byte [ebp - 4], 0xb
call fcn.00403c60
lea esi, [edi + 0x6ac]
mov byte [ebp - 4], 0xc
call fcn.00403c60
lea esi, [edi + 0x72c]
mov byte [ebp - 4], 0xd
call fcn.00403c60
lea esi, [edi + 0x7ac]
mov byte [ebp - 4], 0xe
call fcn.00403c60
lea esi, [edi + 0x82c]
mov byte [ebp - 4], 0xf
call fcn.00403c60
lea esi, [edi + 0x8ac]
mov byte [ebp - 4], 0x10
call fcn.00403c60
lea esi, [edi + 0x92c]
mov byte [ebp - 4], 0x11
call fcn.00403c60
mov byte [ebp - 4], 0x12
lea esi, [edi + 0x9ac]
call fcn.00403c60
lea esi, [edi + 0xa2c]
mov byte [ebp - 4], 0x13
call fcn.00403c60
lea ecx, [edi + 0xaac]
mov byte [ebp - 4], 0x14
call fcn.0041ee3c
mov dword [edi + 0xaac], 0x543ce4
lea esi, [edi + 0xb20]
mov byte [ebp - 4], 0x15
call fcn.00403c60
lea esi, [edi + 0xba0]
mov byte [ebp - 4], 0x16
call fcn.00403c60
lea esi, [edi + 0xc20]
mov byte [ebp - 4], 0x17
call fcn.00403c60
lea esi, [edi + 0xca0]
mov byte [ebp - 4], 0x18
call fcn.00403c60
lea esi, [edi + 0xd20]
mov byte [ebp - 4], 0x19
call fcn.00403c60
lea esi, [edi + 0xda0]
mov byte [ebp - 4], 0x1a
call fcn.00403c60
lea esi, [edi + 0xe20]
mov byte [ebp - 4], 0x1b
call fcn.00403c60
lea esi, [edi + 0xea0]
mov byte [ebp - 4], 0x1c
call fcn.00403c60
lea esi, [edi + 0xf20]
mov byte [ebp - 4], 0x1d
call fcn.00403c60
lea esi, [edi + 0xfa0]
mov byte [ebp - 4], 0x1e
call fcn.00403c60
lea esi, [edi + 0x1020]
mov byte [ebp - 4], 0x1f
call fcn.00403c60
lea esi, [edi + 0x10a0]
mov byte [ebp - 4], 0x20
call fcn.00403c60
lea esi, [edi + 0x1120]
mov byte [ebp - 4], 0x21
call fcn.00403c60
lea esi, [edi + 0x11a0]
mov byte [ebp - 4], 0x22
call fcn.00403c60
lea esi, [edi + 0x1220]
mov byte [ebp - 4], 0x23
call fcn.00403c60
and dword [edi + 0xa8], 0
mov eax, edi
call fcn.0051ae3d
ret 4
Function at 0x40b50e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [0x5ab1e4], edi
jne 0x40b531
push edi
push 0x5946b0
push 0x5ab1e4
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push 0x56e624
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x40b54f
xor eax, eax
jmp 0x40b63e
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, edi
je 0x40b63b
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, edi
je 0x40b63b
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x40b63b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x40b632
push ebx
push esi
push eax
call fcn.0051d790
add esp, 0xc
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 8], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40b629
mov ebx, dword [ebp - 8]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
cmp esi, edi
je 0x40b5f2
lea eax, [ebp - 0xc]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0xc], edi
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
jmp 0x40b5f4
xor esi, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, edi
je 0x40b629
mov eax, dword [esi + 8]
mov dword [esi + 8], edi
cmp eax, edi
jne 0x40b621
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
jmp 0x40b63d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x40d76c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x592bb0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x18
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
jne 0x40d7a9
test edi, edi
je 0x40d8eb
lea ecx, [esi + 0xac]
call fcn.00424318
cmp dword [ebp + 8], 0x2c
jne 0x40d7c1
push str.TRYING_MEASURE
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebx + 0x10], 0x25
cmp dword [ebp + 8], 0x110
jne 0x40d8a4
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
push dword [esi + 0x20]
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [0x59b3b4]
mov esi, eax
push 0x30
push esi
call ebx
push 0x4162e2
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push eax
push str.SD_WNDPROC
push esi
mov esi, dword [sym.imp.USER32.dll_SetPropA]
call esi
mov eax, dword [ebp - 0x18]
push 0x3f7
push dword [eax + 0x20]
call edi
push 1
push dword [0x59b3ac]
mov dword [ebp - 0x1c], eax
push 0x30
push eax
call ebx
push 1
push str.GREY
push dword [ebp - 0x1c]
call esi
push 0x4162e2
push 0xfffffffffffffffc
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push eax
push str.SD_WNDPROC
push dword [ebp - 0x1c]
call esi
mov eax, dword [ebp - 0x18]
push 0x3ee
push dword [eax + 0x20]
call edi
push 1
push dword [0x59b3ac]
mov edi, eax
push 0x30
push edi
call ebx
push 1
push str.GREY
push edi
call esi
push 1
push str.CENTRE
push edi
call esi
push 0x4162e2
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push eax
push str.SD_WNDPROC
push edi
call esi
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
cmp dword [ebp + 8], 0x14
jne 0x40d8d0
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
xor eax, eax
inc eax
jmp 0x40d90a
cmp dword [ebp + 8], 0x136
je 0x40d8f9
cmp dword [ebp + 8], 0x138
je 0x40d8f9
cmp dword [ebp + 8], 0x134
je 0x40d8f9
push ebx
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.0041db3e
jmp 0x40d90a
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005182a2
leave
ret 0xc
Function at 0x40d96f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x592bb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x56d748
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0xc]
mov ebx, 0xff
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x124], ebx
movsb byte es:[edi], byte [esi]
test eax, eax
je 0x40dac9
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.00519db3
mov esi, 0x56d764
push esi
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.00519e12
push 0x56bc50
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.00519e12
push esi
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.00519e12
push 0x56bc6c
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.00519e12
add esp, 0x3c
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x120]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x40da4a
push dword [ebp - 0x128]
push dword [ebp - 0x124]
push dword [ebp - 0x130]
call fcn.00519db3
add esp, 0xc
jmp 0x40dac9
mov esi, dword [ebp - 0x130]
lea eax, [ebp - 0x124]
push eax
push esi
lea eax, [ebp - 0x134]
push eax
push 0
push str.DisabledInAccount
push dword [ebp - 0x12c]
mov dword [ebp - 0x134], 1
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40da98
push dword [ebp - 0x128]
push dword [ebp - 0x124]
push esi
call fcn.00519db3
add esp, 0xc
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40da9d
sub eax, edx
jne 0x40dabd
push dword [ebp - 0x128]
push dword [ebp - 0x124]
push esi
call fcn.00519db3
add esp, 0xc
push dword [ebp - 0x12c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005182a2
leave
ret

Function at 0x40e75f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 8]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
xor edi, edi
push SysReAllocStringLen
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40e7bd
and dword [ebp - 4], eax
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Start_TrackProgs
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40e7b4
cmp dword [ebp - 4], eax
jne 0x40e7b4
xor edi, edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret
Function at 0x4129b5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
push str.SOFTWAREPoliciesMicrosoftWindowsExplorer
push SysReAllocStringLen
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x412a10
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.AddSearchInternetLinkInStartMenu
push dword [ebp - 8]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x412a07
cmp dword [ebp - 4], esi
jbe 0x412a07
inc esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x412a15
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push str.SOFTWAREPoliciesMicrosoftWindowsExplorer
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x412a52
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push str.AddSearchInternetLinkInStartMenu
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x4141c3
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x592bb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
xor eax, eax
mov cl, byte [eax + str.SOFTWAREStardockStart8]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x4141db
push esi
push edi
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4141f6
mov eax, 0x56d764
mov esi, eax
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x104]
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x41420e
mov esi, 0x56bc50
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x104]
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x414227
mov esi, eax
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x41423a
mov esi, 0x56bc6c
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.0041419c
pop edi
pop esi
test eax, eax
push ebx
lea eax, [ebp - 0x20c]
push eax
push ebx
lea eax, [ebp - 0x104]
je 0x41426c
push 0xf013f
jmp 0x414271
push 0xf023f
push ebx
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [ebp + 8]
cmp byte [eax], 0x2d
je 0x4142ca
lea edx, [ebp - 0x208]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x414290
lea eax, [ebp - 0x208]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4142a3
sub eax, edx
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
push str.DisabledInAccount
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4142db
push str.DisabledInAccount
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005182a2
leave
ret
Function at 0x415363
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x592bb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
cmp dword [0x5ab27c], edi
jne 0x415490
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 0x78
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push str.SetWindowRgnEx
push str.USER32.DLL
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4153d3
test byte [ebp - 0x58], 1
jne 0x4153d3
push dword [ebp - 0x4c]
call esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x415490
push dword [ebp - 0x4c]
call esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x54]
push eax
push ebx
mov dword [0x5ab268], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x44]
push eax
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3eb
push dword [0x5ab294]
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
add dword [ebp - 0xc], 0x20
lea eax, [ebp - 0x34]
push eax
push ebx
call esi
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov ecx, eax
sub ecx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x14]
add dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x54]
add dword [ebp - 0x3c], ecx
add eax, ecx
add dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x40], eax
add dword [ebp - 0x38], eax
push 0x3ea
push ebx
call edi
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x48]
push eax
xor esi, esi
push esi
push 0x41515e
call fcn.0051a460
add esp, 0xc
jmp 0x415488
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x5ab268], esi
jne 0x415480
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005182a2
leave
ret
Function at 0x4182b6
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4182ec
push dword [ebp + 8]
push 0
push str.START8_RELOAD
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push eax
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret

Function at 0x4182f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 8]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
xor edi, edi
push SysReAllocStringLen
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x418349
and dword [ebp - 4], eax
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.ColorPrevalence
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418349
cmp dword [ebp - 4], eax
jne 0x418349
xor edi, edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret
Function at 0x4186ad
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4240
call fcn.0051cee0
mov eax, dword [0x592bb0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x4218], ecx
test edi, edi
jne 0x4186de
xor eax, eax
inc eax
jmp 0x418838
push 2
pop ebx
lea esi, [ebp - 0x214]
mov dword [ebp - 0x421c], ebx
mov ecx, edi
sub esi, edi
movzx edx, word [ecx]
mov word [esi + ecx], dx
add ecx, ebx
test dx, dx
jne 0x4186f1
mov ecx, dword [ebp - 0x4218]
mov dword [ebp - 0x423c], ecx
mov ecx, dword [eax + 0x20c]
mov dword [ebp - 0x4238], ecx
lea ecx, [eax + 4]
mov dword [ebp - 0x4234], ecx
lea ecx, [eax + 0x210]
mov eax, dword [eax]
or eax, 0x30
mov dword [ebp - 0x422c], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x4224], eax
lea eax, [ebp - 0x423c]
push eax
mov dword [ebp - 0x4230], ecx
mov dword [ebp - 0x4228], 0x41868b
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebx, eax
test ebx, ebx
jne 0x41876b
and dword [ebp - 0x421c], eax
jmp 0x418832
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x418808
push 0x3ffe
push eax
mov word [ebp - 0x4214], ax
lea eax, [ebp - 0x4212]
push eax
mov dword [ebp - 0x4218], 0x2000
call fcn.0051b3c0
add esp, 0xc
lea eax, [ebp - 0x4218]
push eax
lea eax, [ebp - 0x4214]
push eax
movzx eax, word [ebx]
push 1
push eax
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov eax, 0x5713ec
mov edx, edi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4187c5
lea eax, [ebp - 0x4214]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4187dc
sub eax, edx
sub edi, 2
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4187ec
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x4218]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x418832
mov eax, dword [ebp - 0x4218]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x4218]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x421c]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005182a2
leave
ret 4

Function at 0x418e7d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00421cee
call fcn.00418cb5
cmp eax, esi
pop esi
jne 0x418e99
mov ecx, 0x596538
jmp fcn.0042cfb7
ret
Function at 0x419a3f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00425812
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x419a78
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0041967c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x419ad6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x419afa
cmp dword [edi + 0x74], 0
jne 0x419afa
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00425812
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00419a97
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41d118
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041ccf5
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41d162
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041d0f3
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041d0c4
jmp 0x41d16d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0042e038
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x41d173
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00423f40
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41d1b0
call fcn.0041ccf5
mov dword [esi + 0xc], 1
jmp 0x41d1b5
call fcn.0041ccf5
cmp dword [esi], 0
je 0x41d1fe
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x41d1d6
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041d0f3
jmp 0x41d1e8
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004015d8
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041d0c4
jmp 0x41d222
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41d222
push dword [esi]
push dword [ebp + 8]
call fcn.0042e038
pop esi
pop ebp
ret 0xc

Function at 0x42375b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4237a2
call fcn.00425812
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4237a2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4237be
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042325b
mov esi, eax
test edi, edi
je 0x4237bc
test ebx, ebx
je 0x4237bc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42464e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5356a7
call fcn.0051ad65
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x424673
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4246c5
call fcn.0041aa13
push eax
lea ecx, [ebp - 0x10]
call fcn.00401475
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051b05f
push eax
call fcn.00403271
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004014d0
mov eax, esi
call fcn.0051ae3d
ret 8