joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.wINRSS_]
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov ax, word [0x900850]
mov word [ebp - 8], ax
mov al, byte [0x900852]
mov byte [ebp - 6], al
nop dword [eax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x35
sub dl, al
add dl, 0x38
xor byte [ebp + ecx - 0xc], dl
inc ecx
cmp ecx, 7
jl 0x469260
push 0xf
lea eax, [ebp - 0xc]
push eax
call fcn.0046c2f0
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.005c22ca
mov esp, ebp
pop ebp
ret
Function at 0x46bf30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xe44]
mov ecx, dword [esi + 0xe40]
sub eax, ecx
je 0x46c0fb
sub esp, 0x18
push eax
push ecx
lea ecx, [esi + 0xe4c]
call fcn.0047b8e0
test eax, eax
je 0x46c0fb
mov eax, dword [0x900888]
xor ecx, ecx
cmp dword [0x1816094], 2
movq xmm0, qword [str.uvZOIlZ0.07D]
mov dword [ebp - 0xc], eax
mov al, byte [0x90088c]
movq qword [ebp - 0x14], xmm0
mov byte [ebp - 8], al
jl 0x46c0a5
movaps xmm2, xmmword [0x9036b0]
mov eax, 4
movaps xmm4, xmmword [0x903750]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9036e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9036c0]
paddd xmm2, xmmword [0x9036b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x903720]
movd xmm0, dword [str.uvZOIlZ0.07D]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x903730]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x14], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9036e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x903720]
movd xmm0, dword [ebp - 0x10]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x903730]
pxor xmm1, xmm0
movd dword [ebp - 0x10], xmm1
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x35
sub dl, al
add dl, 0x38
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 0xd
jl 0x46c0a5
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0xe4c]
call fcn.0047bd80
mov dword [esi + 0xe50], eax
test eax, eax
je 0x46c0fb
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c22ca
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.005c22ca
mov esp, ebp
pop ebp
ret
Function at 0x46c110
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x823db0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5c
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ax, word [0x90087c]
xorps xmm0, xmm0
mov esi, dword [ebx + 8]
xor edx, edx
mov word [ebp - 0x68], ax
mov al, byte [0x90087e]
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x66], al
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x6c], edx
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x6c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x68], cl
inc edx
mov dword [ebp - 0x6c], edx
cmp edx, 3
jl 0x46c172
push dword [ebx + 0xc]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x34]
push 0x20
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov ecx, esi
mov dword [ebp - 0x54], 0
add esp, 0x10
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c1d0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.00406210
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x181cde0
call fcn.00405210
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], 0
mov esi, eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c212
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00406210
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00405210
mov esi, eax
cmp dword [esi + 8], 8
je 0x46c24d
mov ecx, esi
call fcn.00405650
mov dword [esi + 8], 8
mov al, byte [ebx + 0x10]
mov byte [esi], al
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x46c282
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c278
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c2e3
push edx
push ecx
call fcn.005c24d6
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x46c2c4
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c2ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c2e8
push edx
push ecx
call fcn.005c24d6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c22ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.006d1429
call fcn.006d1429
int3
Function at 0x47bf90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x28]
mov esi, ecx
push eax
call fcn.006dbbb5
movups xmm0, xmmword [0x901fa4]
mov ax, word [0x901fbc]
add esp, 4
xor ecx, ecx
mov word [ebp - 8], ax
cmp dword [0x1816094], 2
movups xmmword [ebp - 0x20], xmm0
movq xmm0, qword [0x901fb4]
movq qword [ebp - 0x10], xmm0
jl 0x47c0d2
movaps xmm2, xmmword [0x9036b0]
mov eax, 4
movaps xmm4, xmmword [0x903740]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
mov eax, 0x901fa4
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9036f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9036c0]
paddd xmm2, xmmword [0x9036b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x903710]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9036f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x18]
paddw xmm1, xmmword [0x903710]
pxor xmm1, xmm0
movq qword [ebp - 0x18], xmm1
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x36
sub edx, eax
add edx, 0x38
xor word [ebp + ecx*2 - 0x20], dx
inc ecx
cmp ecx, 0xd
jl 0x47c0d2
push dword [ebp - 0x24]
lea eax, [esi + 0x414]
push dword [ebp - 0x28]
push eax
lea eax, [esi + 0x20c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.005c22ca
mov esp, ebp
pop ebp
ret
Function at 0x484480
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x824f8e
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x93bf44]
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
mov ebx, ecx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x13c], ebx
xor eax, eax
mov dword [ebx], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 7
mov word [ebx + 0xc], ax
mov dword [ebp - 4], eax
push reloc.gdiplus.dll_Ordinal_1
mov byte [ebx + 0x24], al
mov dword [ebx + 0x2c], eax
call fcn.00483e30
cmp byte [0x181cbf0], 0
mov dword [ebx + 0x28], 0xf003f
mov byte [ebx + 8], 1
jne 0x484679
mov eax, dword fs:[0x30]
mov dword [ebp - 0x124], 0x114
mov byte [0x181cbf0], 1
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
xor edi, edi
mov esi, dword [eax + 0x30]
and edx, 0xfffffffe
mov dword [ebp - 0x128], eax
mov ebx, 0x811c9dc5
lea ecx, [edx + esi]
inc edx
shr edx, 1
cmp esi, ecx
cmova edx, edi
mov dword [ebp - 0x12c], edx
test edx, edx
je 0x484580
mov eax, edx
mov dl, byte [esi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x484562
or ecx, 0x20
xor ecx, ebx
inc edi
imul ebx, ecx, 0x1000193
add esi, 2
cmp edi, eax
jne 0x484552
mov eax, dword [ebp - 0x128]
cmp ebx, 0xa3e6f6c3
je 0x484584
mov eax, dword [eax]
jmp 0x484524
mov esi, dword [eax + 0x18]
mov eax, dword [0x181d114]
mov dword [ebp - 0x128], esi
test eax, eax
jne 0x484668
test esi, esi
je 0x484661
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x130], ecx
cmp ecx, esi
je 0x484661
mov eax, dword [ecx + 0x18]
xor ebx, ebx
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x484661
mov edi, dword [ecx + 0x20]
add edi, esi
nop dword [eax + eax]
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x48461a
lea eax, [ecx - 0x41]
cmp al, 0x19
movsx eax, cl
ja 0x4845fd
or eax, 0x20
mov cl, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
test cl, cl
jne 0x4845f0
cmp esi, 0x7cebab29
je 0x48462a
mov eax, dword [ebp - 0x12c]
inc ebx
add edi, 4
cmp ebx, eax
je 0x484661
mov esi, dword [ebp - 0x128]
jmp 0x4845e0
mov esi, dword [ebp - 0x130]
mov edx, dword [ebp - 0x128]
mov eax, dword [esi + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [ebp - 0x124]
add eax, edx
push ecx
mov dword [0x181d114], eax
call eax
mov eax, dword [ebp - 0x138]
jmp 0x48467b
xor eax, eax
mov dword [0x181d114], eax
lea ecx, [ebp - 0x124]
push ecx
call eax
mov eax, dword [ebp - 0x138]
jmp 0x48467b
mov eax, ebx
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.005c22ca
mov esp, ebp
pop ebp
ret
Function at 0x4846a0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push ebx
push esi
movq qword [eax], xmm0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x1c], ecx
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx ebx, word [eax + 0x2c]
xor esi, esi
mov ecx, dword [eax + 0x30]
xor edi, edi
shr ebx, 1
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0x811c9dc5
lea edx, [ecx + ebx*2]
cmp ecx, edx
cmova ebx, esi
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x484723
mov eax, ebx
mov bl, byte [ecx]
lea ecx, [ecx + 2]
movsx esi, bl
sub bl, 0x41
mov edx, esi
or edx, 0x20
cmp bl, 0x19
cmova edx, esi
inc edi
xor edx, dword [ebp - 4]
imul edx, edx, 0x1000193
mov dword [ebp - 4], edx
cmp edi, eax
jne 0x4846f1
mov eax, dword [ebp - 8]
cmp edx, 0x39794115
je 0x484727
mov eax, dword [eax]
jmp 0x4846c9
mov ecx, dword [0x181d110]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 8], ebx
test ecx, ecx
jne 0x4847eb
test ebx, ebx
je 0x4847e3
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], edx
cmp edx, ebx
je 0x4847e3
mov ecx, dword [edx + 0x18]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x4847e3
mov edi, dword [edx + 0x20]
add edi, ebx
mov edx, dword [edi]
mov esi, 0x811c9dc5
add edx, ebx
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4847b3
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, esi
imul esi, eax, 0x1000193
test bl, bl
jne 0x484782
cmp esi, 0xef3e6846
je 0x4847c3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc eax
add edi, 4
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x4847e3
mov ebx, dword [ebp - 8]
jmp 0x484772
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
add ecx, edx
jmp 0x4847e5
xor ecx, ecx
mov dword [0x181d110], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x1c]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push str.DisplayName
push dword [esi]
call ecx
pop edi
mov dword [esi + 0x2c], eax
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4940f3
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 0x494138
call fcn.0049c04b
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x494138
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x494154
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0049fef2
mov ebx, eax
test edi, edi
je 0x494152
test esi, esi
je 0x494152
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x494c5a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x494d18
cmp dword [esi + 0x20], 0
je 0x494d18
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x494d18
cmp dword [ebp + 8], 0
je 0x494d18
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0049c04b
push 0x83edc8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x494ce9
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x494d18
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004a102c
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x494d09
test edi, edi
je 0x494d09
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x494d14
mov ecx, esi
call fcn.004949fc
mov eax, ebx
jmp 0x494d1a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x499784
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.0049c04b
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 0x4997bb
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.004997da
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 0x49aeef
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x8263da
call fcn.005c321f
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x49af15
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x49af75
call fcn.0049bad1
push eax
lea ecx, [ebp - 0x10]
call fcn.00490e10
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 [0x83cd80]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.006dbb2b
push eax
call fcn.00478320
add esp, 0x14
test esi, esi
je 0x49af68
push esi
call fcn.006e4180
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00491772
mov eax, ebx
call fcn.005c31e8
ret 8

Function at 0x4a3870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x4a38c6
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4a389f
call fcn.0049e115
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4a38b4
call fcn.0049e115
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4a38c6
call fcn.0049e115
call fcn.0049c04b
cmp dword [eax + 0x3c], 0
je 0x4a38db
push edi
mov ecx, ebx
call fcn.004a2fa0
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004a3aad
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4a3904
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4a3910
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4a8f75
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.0049ae35
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.004a918e
cmp esi, 3
je 0x4a8fb3
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x4a8ffc
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4a8fd6
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00494267
jmp 0x4a8fe7
push 0xff
mov ecx, esi
call fcn.0049169e
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00496a13
jmp 0x4a9020
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 0x4a9020
push dword [esi]
push dword [ebp - 4]
call fcn.004a1b77
pop edi
pop esi
leave
ret 0xc

Function at 0x4a90e5
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.004a918e
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4a912d
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00494267
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00496a13
jmp 0x4a9138
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004a1b77
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4cab69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x4cab83
call fcn.0049c04b
mov esi, dword [eax + 0xc]
push 0x8468b0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4cabd9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4cabd9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4cabb8
xor esi, esi
jmp 0x4cabce
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004cabe2
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x4cabdb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x57a35d
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.006e6093
pop ecx
test eax, eax
jne 0x57a39f
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0049c474
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x57a365
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x5e098d
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x5e09b0
or esi, 1
push 2
call edi
test ax, ax
jns 0x5e09bc
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x5e09c8
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x5e09d4
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret