joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dcce3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x66eb0a
call fcn.00612b4f
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.004cdf7d
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x4dcd42
call fcn.004cdf7d
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4dcd56
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x4dcd52
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x4dcd5e
or eax, 0xffffffff
jmp 0x4dceb0
mov ecx, edi
call fcn.004dd2ed
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.004cee5d
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x4dcdea
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x4dcdea
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4dcdea
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.004ceaa2
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4dcde7
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x67fb80]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x4dcde7
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.004d5de1
test eax, eax
je 0x4dcde7
push 0
mov ecx, esi
call fcn.004d5701
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.004ceb0e
push ebx
call fcn.004d0236
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.004dcc86
test eax, eax
jne 0x4dce33
cmp dword [edi + 0x9c], eax
jne 0x4dce33
call fcn.004cdf7d
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.004d0236
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.004dcc86
and dword [edi + 0x9c], 0
jmp 0x4dce5e
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x4dce72
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.004d5701
test esi, esi
je 0x4dce7f
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x4dce95
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x4dce95
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x67fb80]
mov ecx, edi
call esi
mov ecx, edi
call fcn.004dd2a4
mov eax, dword [edi + 0x68]
call fcn.00612ab4
ret
Function at 0x4de40b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x4de450
call fcn.004cdf7d
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4de44d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4de497
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x4de473
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x67fb80]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x4de494
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x67fb80]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x4e4332
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 0x4e43a9
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4e436f
mov eax, dword [ecx + 0x10]
cmp dword [eax + ebx*8 + 4], edx
je 0x4e436f
mov eax, dword [edi + 0xc]
cmp dword [eax + ebx*4], 0
je 0x4e439c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4e439f
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4e4395
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x67fb80]
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 0x4e4352
test eax, eax
je 0x4e43eb
lea esi, [ecx + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp - 8]
push edi
lea ecx, [ebx + 0x14]
call fcn.004e461c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x67fb80]
mov ecx, edi
call esi
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4e466e
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x66eff1
call fcn.00612b4f
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 0x4e4765
cmp edi, dword [ebx + 0xc]
jge 0x4e4765
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x4e46c5
cmp edi, dword [esi + 8]
jl 0x4e4753
cmp dword [ebp + 0xc], 0
je 0x4e4753
xor edi, edi
jmp 0x4e46f7
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.004e4131
mov esi, eax
test esi, esi
je 0x4e46df
mov dword [esi], vtable.CThreadData.0
jmp 0x4e46e1
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.004d649b
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x4e4713
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x4e471f
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x4e478c
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.006390b0
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 0x4e4765
cmp edi, dword [esi + 8]
jge 0x4e4765
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00612ab4
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004cd9c8
int3
Function at 0x4e8e2e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
test byte [edi + 4], 1
mov esi, dword [edi + 0xc]
jne 0x4e8e84
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4e8e5d
call fcn.004d80ce
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4e8e72
call fcn.004d80ce
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4e8e84
call fcn.004d80ce
call fcn.004cdf7d
cmp dword [eax + 0x3c], 0
je 0x4e8e99
push esi
mov ecx, ebx
call fcn.004e8554
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.004e907f
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4e8ec2
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4e8ece
mov esi, ebx
mov dword [eax + 0x88], ebx
or dword [edi + 4], 1
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4ee34e
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 0x4ee378
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4ee37e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.00406ed1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.0051473b
int3

Function at 0x4ee659
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x4ee66a
xor eax, eax
jmp 0x4ee686
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 0x4ee68b
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.00406ed1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.0051473b
int3

Function at 0x4ee729
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 [0x67fb80]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x4ee75c
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.00406ed1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.0051473b
int3
Function at 0x4ee830
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 0x4ee85b
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 0x4ee861
cmp dword [ebp - 4], esi
jne 0x4ee878
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.00406ed1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.0051473b
lea ecx, [edi + 0xc]
call fcn.00406ed1
push eax
push 0xffffffffffffffff
push 0xd
call fcn.00514391
int3

Function at 0x4fa0f8
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.004d587e
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4fa134
call fcn.004fa315
mov dword [esi + 0xc], 1
jmp 0x4fa139
call fcn.004fa315
cmp dword [esi], 0
je 0x4fa184
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x4fa15f
push edi
call fcn.004d0284
lea ecx, [edi + 1]
push ecx
jmp 0x4fa16e
push 0xff
call fcn.00406efd
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004d29d8
pop edi
jmp 0x4fa1a8
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4fa1a8
push dword [esi]
push dword [ebp - 4]
call fcn.004e6f90
pop esi
leave
ret 0xc

Function at 0x4fa26c
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.004fa315
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4fa2b4
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004d0284
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004d29d8
jmp 0x4fa2bf
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004e6f90
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x513d3d
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x513e83
mov ecx, 0x6ff460
call fcn.004e44c7
mov esi, eax
test esi, esi
je 0x513e78
xor eax, eax
cmp word [esi + 8], ax
jne 0x513e42
push 0x685f2c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x513dfe
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x513dc4
push str.MS_UI_Gothic
call fcn.00513ec1
pop ecx
test eax, eax
je 0x513dc4
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x513ddf
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x513dfe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x513e04
push ebx
push edi
push eax
call fcn.004eee6b
add esp, 0xc
jmp 0x513e04
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 1
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.004d649b
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x513e7d
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.004e176b
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x513e45
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x513e53
push edi
call fcn.00643470
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.00406fb3
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.004cd9ae
call fcn.004cd9c8
int3
Function at 0x514d7e
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push pe_nt_image_headers32
xor edi, edi
push edi
push esi
call fcn.006390b0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00652e06
push eax
call fcn.00407cc0
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x686668]
je 0x514edc
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 0x514ef0
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x514ef0
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 0x514e3a
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x514e2e
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.00514b2f
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x514e35
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x514e3c
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0051502e
test eax, eax
je 0x514e63
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.005149b6
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x514e67
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0051502e
test eax, eax
je 0x514e8e
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.005149b6
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x514e92
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0051502e
test eax, eax
je 0x514eba
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.005149b6
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x514ebc
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x514ece
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x514edc
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.006122f0
leave
ret 4
xor eax, eax
jmp 0x514edf
Function at 0x52a910
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x168], esi
test eax, eax
je 0x52a97a
push 0x208
push 0x160
lea ecx, [ebp - 0x164]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, esi
test eax, eax
je 0x52a95f
lea eax, [ebp - 0x158]
push eax
jmp 0x52a964
push 0x68bd28
call fcn.004446f6
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.006122f0
leave
ret 8
call fcn.004cd9ae
int3
Function at 0x530bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x530bd9
call fcn.004cdf7d
mov esi, dword [eax + 0xc]
push 0x68c734
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x530c1b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x530c1b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x530c1b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00530c24
jmp 0x530c1d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x577f2f
Capabilities:
Get file system object information

Disassembly:
push 0x274
mov eax, 0x676633
call fcn.00612b19
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00445403
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x6c6438
call fcn.00444552
cmp eax, 0xffffffff
jne 0x57800a
push 0
push 0x6d00a4
lea ecx, [ebp - 0x278]
call fcn.00444552
cmp eax, 0xffffffff
jne 0x57800a
push 0
push 0x6c8f1c
lea ecx, [ebp - 0x278]
call fcn.00444552
cmp eax, 0xffffffff
jne 0x57800a
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00445403
add eax, 0x10
pop ecx
mov dword [ebp - 0x280], eax
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea ecx, [ebp - 0x114]
push ecx
push 0x104
push edx
push eax
lea edi, [eax - 0x10]
push edx
mov dword [ebp - 0x27c], edi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x577fd9
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x67fb80]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x27c]
mov edi, eax
call fcn.004061d0
jmp 0x578043
lea eax, [ebp - 0x114]
push eax
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.00406fb3
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.004061d0
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x578030
mov edi, dword [ebp - 0x274]
jmp 0x578043
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x67fb80]
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004061d0
mov eax, edi
call fcn.00612ac8
ret
Function at 0x578c66
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x578c93
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x578ca8
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x578ca8
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004d0236
jmp 0x578d79
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004d0236
cmp eax, edi
jne 0x578d83
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x578d15
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x578d59
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x578d83
cmp eax, 0x205
je 0x578d83
cmp eax, 0x201
je 0x578d83
cmp eax, 0x204
je 0x578d83
cmp eax, 0x100
jne 0x578d41
cmp dword [ebp - 0x18], 0x1b
je 0x578d83
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x578d79
ja 0x578d72
cmp eax, dword [0x71add8]
jbe 0x578d79
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x578cca
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x586171
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x6ff41c], 0
push esi
push edi
je 0x5861f8
cmp dword [0x6ff6f8], 0xfffffffe
jne 0x5861e5
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x5861f8
mov edi, 0x71ae10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x71ae28], 0
jne 0x5861fc
push 0
push 0
push 0x586202
call fcn.00652296
add esp, 0xc
mov dword [0x71ae28], eax
test eax, eax
je 0x5861d5
cmp eax, 0xffffffff
je 0x5861d5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x6ff6f8], esi
jmp 0x5861dc
and dword [0x71ae28], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x5861f8
mov eax, dword [ebp + 8]
mov dword [0x6ff6f8], eax
inc eax
neg eax
sbb eax, eax
and dword [0x71ae28], eax
pop edi
pop esi
pop ebp
ret
call fcn.004cd9ae
int3