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

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x10005c17
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
test byte [0xfffffc6c], al
test byte [0xfffffc6c], al
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x10005bc1
call fcn.100047c1
inc ebx
pop esp
or eax, dword ds:[eax - 0x72b5b]
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.100047c1
pushfd
into
xlatb
pushfd
lea eax, [ebp - 0x72c]
push eax
call fcn.100047d1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10004786
add esp, 0xc
mov dword [ebp - 0x6e4], eax
Function at 0x100071f0
Capabilities:
Check if file exists
Compare security identifiers
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100072cf
test al, 0x10
je 0x100072cf
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], esi
push eax
push 1
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x100072cf
mov edi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
mov word [ebp - 8], 0x500
mov dword [ebp - 0x10], esi
call edi
test eax, eax
je 0x10007288
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12
push 1
lea eax, [ebp - 0xc]
push eax
call edi
test eax, eax
je 0x100072c6
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 0x18]
or esi, eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1000782e
mov esp, ebp
pop ebp
ret
Function at 0x100072f0
Capabilities:
Check if file exists
Compare security identifiers
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10007425
test al, 0x10
je 0x10007425
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov word [ebp - 8], 0x100
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10007425
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.ADVAPI32.dll_BuildTrusteeWithSidW]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x24], 0
push eax
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x30], 0
push eax
push 0
push 0
push 4
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x1000741c
mov ecx, dword [ebp - 0x24]
push esi
xor esi, esi
cmp ax, word [ecx + 4]
jae 0x100073fd
mov ebx, dword [sym.imp.ADVAPI32.dll_GetAce]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_DeleteAce]
nop dword [eax]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push esi
push ecx
call ebx
test eax, eax
je 0x100073ed
mov eax, dword [ebp - 0x2c]
add eax, 8
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x100073ed
push esi
push dword [ebp - 0x24]
call edi
mov ecx, dword [ebp - 0x24]
inc esi
movzx eax, word [ecx + 4]
cmp esi, eax
jl 0x100073c0
mov ebx, dword [ebp - 0x34]
pop edi
push 0
push ecx
push 0
push 0
push 0x80000004
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop ebx
call fcn.1000782e
mov esp, ebp
pop ebp
ret
Function at 0x10007440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov ebx, edx
lea eax, [ebp - 0xc]
mov edi, ecx
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100074f1
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x10007487
cmp eax, 2
je 0x10007487
cmp eax, 7
jne 0x100074f1
mov eax, dword [ebp - 0xc]
inc eax
push eax
call fcn.10007beb
mov esi, eax
add esp, 4
test esi, esi
je 0x100074f1
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push ebx
push edi
mov byte [ecx + esi], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete bl
test eax, eax
jne 0x100074d5
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100074c2
mov ecx, dword [ebp - 0x10]
sub edx, edi
push edx
push esi
call fcn.10005950
push esi
call fcn.10007be6
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000782e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000782e
mov esp, ebp
pop ebp
ret

Function at 0x10007510
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, dword [ebp + 8]
mov edi, ecx
push 0
push 0
push 0
lea esi, [edi + 8]
mov dword [edi + 4], 0
push esi
lea ecx, [ebp - 8]
mov dword [esi], 0
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov dword [edi], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, eax
mov eax, dword [esi]
inc eax
mov dword [esi], eax
test ecx, ecx
je 0x1000757a
push dword [edi + 4]
mov dword [edi + 8], 0
call fcn.10007be6
mov dword [edi + 4], 0
jmp 0x10007583
push eax
call fcn.10007beb
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.1000782e
mov esp, ebp
pop ebp
ret 4
Function at 0x401400
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push ebx
push 0
push 0
push 0x4021d0
push 0xd
mov dword [0x40944c], 0
mov byte [0x409448], 0
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
test eax, eax
mov dword [0x409440], eax
sete bl
test bl, bl
je 0x40147a
push 0xc
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push 0x4055b0
push ecx
mov ecx, dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Error:
call fcn.00405370
mov edx, str.Could_not_install_low_level_keyboard_hook
mov ecx, eax
call fcn.00405370
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [0x409449], 0
test bl, bl
jne 0x401476
push 0
push 0
push 0
push 0x402a40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x401870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
ret
Function at 0x404f90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x405004
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x405004
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov eax, dword [ebp - 0x228]
cmp eax, dword [edi + 4]
je 0x405019
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x404fe4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004057cf
mov esp, ebp
pop ebp
ret 4
cmp word [ebp - 0x20c], 0
jne 0x405027
xor ecx, ecx
jmp 0x40503f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405030
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.00403390
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004057cf
mov esp, ebp
pop ebp
ret 4
Function at 0x405070
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406698
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x448], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x444], ecx
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x440], esi
cmp esi, 0xffffffff
je 0x4050ec
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x405120
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp dword [ebp + 0x28], 8
jb 0x405100
push dword [ebp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004057cf
mov esp, ebp
pop ebp
ret 0x24
cmp word [ebp - 0x41c], 0
jne 0x40512e
xor eax, eax
jmp 0x405146
lea eax, [ebp - 0x41c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405137
sub eax, edx
sar eax, 1
cmp dword [ebp + 0x28], 8
lea edx, [ebp + 0x14]
mov ebx, dword [ebp + 0x24]
mov edi, eax
cmovae edx, dword [ebp + 0x14]
cmp ebx, eax
cmovb edi, ebx
test edi, edi
je 0x40517c
lea esi, [ebp - 0x41c]
mov cx, word [edx]
cmp cx, word [esi]
jne 0x4051aa
add edx, 2
add esi, 2
dec edi
jne 0x405165
mov esi, dword [ebp - 0x440]
xor ecx, ecx
test ecx, ecx
jne 0x40518f
cmp ebx, eax
jb 0x40518f
cmp ebx, eax
setne cl
test ecx, ecx
je 0x4051be
lea eax, [ebp - 0x43c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x405120
jmp 0x4050ec
movzx ecx, word [edx]
cmp cx, word [esi]
mov esi, dword [ebp - 0x440]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x40517e
mov ecx, dword [ebp - 0x444]
mov eax, dword [ebp - 0x424]
push esi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x428]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x4050ee
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
arpl bp, ax
push esp
adc al, 0x74
in eax, 0x17
add ecx, dword [edi + 0x3314cd6c]
push cs
xor ch, bl
mov ah, dh
sbb byte [esp + esi*2 + 0x74ffd9f1], dh
cmp esp, dword [edx - 0x4e]
retf 0xda0e
invalid
fiadd word [edi - 0x2171d229]
arpl word [edx + 0x3b5a0f8b], bp
dec ecx
dec esp
stosb byte es:[edi], al
mov ecx, dword [edi]
pop edx
cmp ecx, dword [ecx + 0x4c]
xor al, byte [ecx + 0x2e48e67d]
jne 0x414ac7
bound eax, qword [ebx]
das
enter 0x14cc, 0x32
push cs
shr byte [ecx + 0xb36b48b], cl
leave
push cs
mov bl, bl
jmp 0x414b39
xor ch, bl
mov ecx, dword [esi]
xor ch, bl
mov ecx, dword [esi]
xor ch, bl
mov ecx, dword [esi]
xor ch, bl
je 0x414b03
jmp 0x414a90
jmp 0x414a98
int 0x14
mov ecx, dword [esi]
xor ch, bl
je 0x414b0b
int 0x14
mov ecx, dword [esi]
xor ch, bl
mov ecx, dword [esi]
xor ch, bl
mov ecx, dword [esi]
xor ch, bl
mov ecx, dword [esi]
mov cl, 7
invalid
jle 0x414bae
jmp 0x414b02
add eax, 0x321c63ab
jmp 0x414b18
mov al, 0xa
loope 0x414b86
bound esp, qword [ebx + 0x70]
or edi, dword [edx]
invalid

Function at 0x427432
Capabilities:
Encode data using xor

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
ret
Function at 0xe263c4
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe263ce
pushal
call 0xe263d4
pop ebp
sub ebp, 0x10
sub ebp, 0xa263c4
jmp 0xe263ea
mov eax, 0xa263c4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bd
les esp, [ebx - 0x5e]
add byte [ebx], al
lds eax, [ecx + 0x4cc0]
add byte [ecx + 0x5bd], bh
mov edx, 0x8f1868be
xor byte [eax], dl
inc eax
dec ecx
jne 0xe26401
jmp 0xe26414
xor eax, 0x82373573
mov esi, 0x7f3fbebe
inc esi
mov esi, 0x73bdbebe
push es
mov ecx, 0x4bebebe
xchg esi, eax
mov esi, 0x5c49bebe
mov ebp, 0xb23f3576
mov esi, 0x7bbdbebe
xor ebx, edx
lcall 0xda33, 0x9aba3742
lcall 0xead6, 0x9aba3742
jge 0xe263eb
mov esi, 0x3e1eced6
mov esi, 0xd69a92bf
nop
cpuid
push esi
mov ebx, 0x57bebebe
invalid
Function at 0x406bf9
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 0x406c41
call fcn.00412690
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x406c41
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x406c84
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 0x406c6d
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 0x406c6d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x406c81
mov ecx, dword [esi + 0x4c]
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 0x408aab
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46657b
call fcn.00439927
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x408ad0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x408b16
lea ecx, [ebp - 0x10]
call fcn.00403910
mov ecx, dword [esi + 0x50]
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.00404ba0
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004039e0
mov eax, esi
call fcn.004399ff
ret 8

Function at 0x40981f
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.00412690
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 0x409858
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.0040946b
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 0x4098b6
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 + 0x58], ebx
test ebx, 0xffff0000
jne 0x4098da
cmp dword [edi + 0x54], 0
jne 0x4098da
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00412690
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.00409877
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 0x410b0d
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 0x410b54
call fcn.00412690
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x410b54
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x410b70
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00410685
mov esi, eax
test edi, edi
je 0x410b6e
test ebx, ebx
je 0x410b6e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x410df4
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 1
mov ecx, esi
test al, 1
je 0x410e18
mov eax, dword [esi]
push 0
call dword [eax + 0x98]
test eax, eax
jne 0x410e26
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0x98]
jmp 0x410e12
xor eax, eax
inc eax
pop esi
ret
Function at 0x41ffd1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00412690
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x41fffe
xor eax, eax
jmp 0x4200a4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x41fff7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41fff7
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00404be2
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x420055
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x420044
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0041ed4c
push edi
mov ebx, eax
call fcn.00404c11
pop ecx
test ebx, ebx
je 0x420097
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.0041f3e6
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0041f49a
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x431bae
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x468108
call fcn.00439927
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402ba0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x431c10
call fcn.00411f6a
cmp eax, 1
jne 0x431c10
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00401930
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402660
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004039e0
mov dword [ebp + 8], SysStringLen
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.004039e0
mov eax, esi
call fcn.004399ff
ret 0x10

Function at 0x431c39
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x468108
call fcn.00439927
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402ba0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x431c9b
call fcn.00411f6a
cmp eax, 1
jne 0x431c9b
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00401930
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402660
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004039e0
mov dword [ebp + 8], SysStringLen
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.004039e0
mov eax, esi
call fcn.004399ff
ret 0x14