joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417c7c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x10
mov eax, 0x57c890
call fcn.0054d3c4
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0041784b
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
jne 0x417ca5
inc ebx
jmp 0x417dd5
mov eax, dword [ebp + 0xc]
mov edi, dword [eax - 0xc]
test edi, edi
jne 0x417cd1
push 0xffffffffffffffff
push ebx
push 0xb1
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push ebx
push ebx
push 0x303
push dword [ebp - 0x10]
call esi
jmp 0x417dd5
push ebx
mov byte [ebp - 0x14], bl
call dword [sym.imp.USER32.dll_OpenClipboard]
xor ecx, ecx
inc ecx
test eax, eax
je 0x417db0
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [edi + edi]
mov dword [ebp - 0x18], eax
add eax, 2
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x417d65
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
cmp dword [ecx - 4], 1
jle 0x417d2b
push dword [ecx - 0xc]
lea ecx, [ebp + 0xc]
call fcn.00403c07
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
push ecx
push eax
call fcn.00552020
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
xor edx, edx
push edi
mov word [eax + ecx], dx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [ebp - 0x14]
test eax, eax
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov dword [ebp - 0x14], ecx
mov edi, dword [sym.imp.USER32.dll_CloseClipboard]
call edi
push 0xffffffffffffffff
push ebx
push 0xb1
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push ebx
push ebx
push 0x303
push dword [ebp - 0x10]
call esi
push ebx
push ebx
push 0x302
push dword [ebp - 0x10]
call esi
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call edi
cmp byte [ebp - 0x14], bl
jne 0x417dd5
mov esi, dword [ebp - 0x10]
xor ecx, ecx
inc ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax - 4], ecx
jle 0x417dc6
push dword [eax - 0xc]
lea ecx, [ebp + 0xc]
call fcn.00403c07
mov eax, dword [ebp + 0xc]
push eax
push 0x103
push 0xc
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00406137
mov eax, ebx
call fcn.0054d392
ret
Function at 0x419ac8
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x57cd05
call fcn.0054d3c4
xor esi, esi
xor ebx, ebx
inc esi
mov dword [0x5eac30], ebx
push esi
mov dword [ebp - 4], esi
call fcn.004197d7
push eax
lea ecx, [ebp - 0x10]
call fcn.00401ed2
push 0x58f32c
push eax
call fcn.00402189
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
movzx eax, al
mov dword [0x5eac2c], eax
lea ecx, [ecx - 0x10]
call fcn.00406137
lea eax, [ebp + 8]
push 0x58f330
push eax
call fcn.0040ad11
pop ecx
pop ecx
mov ecx, dword [0x5eac34]
test al, al
cmovne ecx, esi
mov dword [0x5eac34], ecx
call fcn.00419f73
test al, al
je 0x419ca8
cmp dword [0x5eacec], ebx
je 0x419b5a
push ecx
mov ecx, esp
push 0x58f338
call fcn.00401d91
call fcn.00419ed8
pop ecx
mov eax, dword [ebp + 0xc]
mov esi, ebx
cmp dword [eax - 0xc], ebx
jle 0x419b8f
push esi
lea ecx, [ebp + 0xc]
call fcn.00419aa4
xor ebx, ebx
mov ecx, 0x5eacc8
cmp ax, 0x30
push esi
sete bl
call fcn.004039fd
inc esi
mov dword [eax + 0x14], ebx
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax - 0xc]
jl 0x419b64
xor ebx, ebx
cmp dword [0x5eacec], 0
je 0x419bec
push ebx
call fcn.0056189c
pop ecx
push ebx
push 0x3b
push 0x2f
push ebx
lea ecx, [ebp - 0x1c]
mov esi, eax
mov edi, edx
call fcn.00419a56
mov eax, dword [0x5eacec]
cdq
sub esi, eax
sbb edi, edx
cmp edi, dword [ebp - 0x18]
jg 0x419c8a
jl 0x419bcf
cmp esi, dword [ebp - 0x1c]
ja 0x419c8a
cmp edi, ebx
jl 0x419c8a
jg 0x419be1
cmp esi, ebx
jb 0x419c8a
push str.__mb_Silent_Install_Builder_Demo_Package.
call fcn.0041955c
pop ecx
push ebx
push ebx
push 0x4193f7
call fcn.00561a58
add esp, 0xc
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x5eacec], 0
je 0x419c75
cmp dword [0x5eac38], 0
je 0x419c7e
push 0x96
lea eax, [ebp - 0x14]
mov ecx, 0x5eac50
push eax
call fcn.004064c4
push dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040807a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00406137
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
push ecx
push 0x58f3cc
push eax
call fcn.00408c9f
add esp, 0xc
call fcn.0040df34
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406137
cmp dword [0x5eac38], 0
jne 0x419ca1
cmp dword [0x5eac3c], 0
jne 0x419ca1
push ebx
jmp 0x419ca3
push str.__mb_Demo_Package_is_expired
call fcn.0041955c
pop ecx
mov dword [0x5eac38], 1
jmp 0x419ca8
push 0xffffffffffffffff
call fcn.004197f9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00406137
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00406137
call fcn.0054d392
ret
Function at 0x419cc4
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x57cd3f
call fcn.0054d3c4
xor edi, edi
push edi
mov dword [ebp - 4], edi
call fcn.004197d7
push eax
mov ecx, 0x5eac54
call fcn.00406950
xor ebx, ebx
mov dword [0x5eac2c], edi
lea eax, [ebp + 8]
inc ebx
push 0x58f330
push eax
mov dword [0x5eac30], ebx
call fcn.0040ad11
pop ecx
pop ecx
mov ecx, dword [0x5eac34]
test al, al
cmovne ecx, ebx
mov dword [0x5eac34], ecx
call fcn.00419f73
test al, al
je 0x419de0
cmp dword [0x5eacec], edi
je 0x419d3e
push ecx
mov ecx, esp
push 0x58f3d0
call fcn.00401d91
call fcn.00419ed8
pop ecx
push edi
push edi
push 0x4193f7
call fcn.00561a58
add esp, 0xc
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x5eacec], edi
je 0x419dc4
cmp dword [0x5eac38], edi
je 0x419dcd
push 0x96
lea eax, [ebp - 0x14]
mov ecx, 0x5eac50
push eax
call fcn.004064c4
push dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040807a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00406137
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
push ecx
push 0x58f3d4
push eax
call fcn.00408c9f
add esp, 0xc
call fcn.0040df34
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406137
cmp dword [0x5eac38], 0
jne 0x419dd9
cmp dword [0x5eac3c], 0
jne 0x419dd9
push edi
jmp 0x419ddb
push 0xffffffffffffffff
call fcn.004197f9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00406137
call fcn.0054d392
ret
Function at 0x41b781
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x41b7ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41b7b1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.00408c9c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004208e9
int3

Function at 0x41ba8c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x41ba9d
xor eax, eax
jmp 0x41bab9
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41babe
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.00408c9c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004208e9
int3

Function at 0x41bb5c
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp + 8]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x58ba4c]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x41bb8f
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.00408c9c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004208e9
int3

Function at 0x41bc68
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x41bc93
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41bc99
cmp dword [ebp - 4], esi
jne 0x41bcb0
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.00408c9c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.004208e9
lea ecx, [edi + 0xc]
call fcn.00408c9c
push eax
push 0xffffffffffffffff
push 0xd
call fcn.0042053f
int3
Function at 0x41f569
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 8], ecx
inc eax
inc ebx
mov dword [ebp - 4], eax
cmp dword [edi + 8], ebx
jle 0x41f5e0
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x41f5a6
mov eax, dword [ecx + 0x10]
cmp dword [eax + ebx*8 + 4], edx
je 0x41f5a6
mov eax, dword [edi + 0xc]
cmp dword [eax + ebx*4], 0
je 0x41f5d3
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x41f5d6
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x41f5cc
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x58ba4c]
mov ecx, dword [ebp - 0xc]
call esi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
and dword [eax + ebx*4], 0
mov eax, dword [ebp - 4]
inc ebx
cmp ebx, dword [edi + 8]
jl 0x41f589
test eax, eax
je 0x41f627
lea esi, [ecx + 0x1c]
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 8]
push edi
add ecx, 0x14
call fcn.0041f83e
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x58ba4c]
mov ecx, edi
call esi
mov eax, dword [ebp - 8]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41f891
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x57d20f
call fcn.0054d42d
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x1c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x41f988
cmp edi, dword [ebx + 0xc]
jge 0x41f988
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x41f8e8
cmp edi, dword [esi + 8]
jl 0x41f976
cmp dword [ebp + 0xc], 0
je 0x41f976
xor edi, edi
jmp 0x41f91a
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.0041f361
mov esi, eax
test esi, esi
je 0x41f902
mov dword [esi], vtable.CThreadData.0
jmp 0x41f904
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov dword [esi + eax], ecx
mov dword [ebx + 0x14], esi
push 4
push dword [ebx + 0xc]
call fcn.00407db5
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x41f936
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x41f942
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x41f9af
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push edi
push eax
call fcn.005525a0
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41f988
cmp edi, dword [esi + 8]
jge 0x41f988
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0054d392
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0041a285
int3
Function at 0x420c79
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5e61a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.005525a0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00561bc7
push eax
call fcn.004030d3
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x58f610]
je 0x420dd7
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x420deb
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x420deb
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x420d35
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x420d29
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.00420a80
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x420d30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x420d37
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00420f2a
test eax, eax
je 0x420d5e
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.00420907
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x420d62
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00420f2a
test eax, eax
je 0x420d89
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.00420907
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x420d8d
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00420f2a
test eax, eax
je 0x420db5
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.00420907
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x420db7
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x420dc9
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x420dd7
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054d384
leave
ret 4
xor eax, eax
jmp 0x420dda
Function at 0x42274e
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.00422c3b
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 0x42278a
call fcn.0042296b
mov dword [esi + 0xc], 1
jmp 0x42278f
call fcn.0042296b
cmp dword [esi], 0
je 0x4227da
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x4227b5
push edi
call fcn.00418e3e
lea ecx, [edi + 1]
push ecx
jmp 0x4227c4
push 0xff
call fcn.00405e6c
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040614f
pop edi
jmp 0x4227fe
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 0x4227fe
push dword [esi]
push dword [ebp - 4]
call fcn.00422082
pop esi
leave
ret 0xc

Function at 0x4228c2
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.0042296b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42290a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00418e3e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040614f
jmp 0x422915
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00422082
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x422cf5
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x57a81a
call fcn.0054d3c4
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x422d1b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x422d75
lea ecx, [ebp - 0x10]
call fcn.00401fc2
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x58ba4c]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00561bc7
push eax
call fcn.004030d3
add esp, 0x14
test esi, esi
je 0x422d68
push esi
call fcn.00555a4b
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00406137
mov eax, ebx
call fcn.0054d392
ret 8
Function at 0x42710f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x42714e
call fcn.0041fd76
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42714e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x427156
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0042d5ed
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x427b5b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x427be7
cmp dword [esi + 0x20], 0
je 0x427be7
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x427be7
cmp dword [ebp + 8], 0
je 0x427be7
xor edi, edi
mov ebx, edi
call fcn.0041fd76
push 0x5926b8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x427bcb
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x427be7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0042e170
mov edi, eax
add esp, 0xc
test edi, edi
je 0x427be3
mov ecx, esi
call fcn.004278f9
mov eax, edi
jmp 0x427be9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42ed42
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x42ed8a
call fcn.0041fd76
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42ed8a
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42ed97
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x42edd3
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x42edb6
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x42edbf
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x42edd1
test di, di
jne 0x42edd1
test dx, dx
je 0x42edd3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42edd8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x42ee03
cmp dword [esi + 0x80], 0
jne 0x42ee03
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.0041fd76
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42ee33
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42ee33
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0042f09f
jmp 0x42ee35
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42ee3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.0041fd76
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42ee7c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42ee7c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0042ee84
jmp 0x42ee7e
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x42f174
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x57d9a8
call fcn.0054d42d
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.0041fd76
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x42f1d3
call fcn.0041fd76
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42f1e7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x42f1e3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x42f1ef
or eax, 0xffffffff
jmp 0x42f341
mov ecx, edi
call fcn.0042f77f
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.00425e03
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x42f27b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x42f27b
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42f27b
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.0041ee2e
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x42f278
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x58ba4c]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x42f278
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00422dc0
test eax, eax
je 0x42f278
push 0
mov ecx, esi
call fcn.00422b93
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.00425aa2
push ebx
call fcn.0042717c
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0042f117
test eax, eax
jne 0x42f2c4
cmp dword [edi + 0x9c], eax
jne 0x42f2c4
call fcn.0041fd76
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0042717c
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0042f117
and dword [edi + 0x9c], 0
jmp 0x42f2ef
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x42f303
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.00422b93
test esi, esi
je 0x42f310
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x42f326
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x42f326
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x58ba4c]
mov ecx, edi
call esi
mov ecx, edi
call fcn.0042f736
mov eax, dword [edi + 0x68]
call fcn.0054d392
ret