joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a060
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x611a8a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
xor edi, edi
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
jne 0x42a0c7
push 0xffffffffffffffff
push edi
push 0x92
call fcn.0056a6c4
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x480
call fcn.0055dbcb
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov dword [esp + 0x40], edi
je 0x42a0ea
push eax
call fcn.004e31f0
mov esi, eax
jmp 0x42a0ec
xor esi, esi
mov dword [esp + 0x40], 0xffffffff
mov ebx, dword [sym.imp.user32.dll_IsClipboardFormatAvailable]
xor eax, eax
push 8
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call ebx
test eax, eax
je 0x42a12e
push 8
call dword [sym.imp.user32.dll_GetClipboardData]
test eax, eax
je 0x42a12e
mov edi, eax
push 2
call ebx
test eax, eax
je 0x42a154
push 2
call dword [sym.imp.user32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x42a158
lea edx, [esp + 0x1c]
push edx
push 0x18
push ebx
call dword [sym.imp.gdi32.dll_GetObjectA]
jmp 0x42a158
mov ebx, dword [esp + 0x14]
test edi, edi
je 0x42a184
cmp dword [esp + 0x20], 0
je 0x42a16e
mov ax, word [esp + 0x2e]
cmp ax, word [edi + 0xe]
jae 0x42a184
mov ecx, edi
call fcn.004e3030
add eax, dword [edi]
mov ecx, edi
add eax, edi
push eax
push esi
call fcn.004e3520
jmp 0x42a1a2
push 9
call dword [sym.imp.user32.dll_GetClipboardData]
test eax, eax
je 0x42a198
push eax
call fcn.0056fcdc
jmp 0x42a19a
xor eax, eax
push eax
push ebx
push esi
call fcn.004e3690
push str.HS_Transp_Info
call dword [sym.imp.user32.dll_RegisterClipboardFormatA]
push eax
call dword [sym.imp.user32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x42a1d4
push edi
mov dword [esi + 0xc], 1
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ecx, dword [eax]
push edi
mov dword [esi + 0x10], ecx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
call dword [sym.imp.user32.dll_CloseClipboard]
cmp dword [esi + 0x1c], 0
jne 0x42a202
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x430e10
Capabilities:
Copy file
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x60a598
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp + 0x140]
lea esi, [ebp + 0x140]
push 0x639ce8
push eax
call fcn.0059e0af
add esp, 8
test eax, eax
setg al
test al, al
je 0x430fea
push 0x63dab8
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00401be0
lea edi, [ebp + 0x148]
push edi
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x48], 0
call fcn.00401be0
mov eax, dword [eax]
push 0
push eax
call fcn.005a0abb
add esp, 0x20
test eax, eax
mov eax, dword [esp + 0x14]
setl bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430ebe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430ee6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x430fab
push 0x63dab8
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.00401be0
push edi
push eax
lea edx, [esp + 0x34]
mov ebx, 1
push edx
mov dword [esp + 0x48], ebx
call fcn.00401be0
mov ebp, eax
push str._template.rtf
lea eax, [esp + 0x38]
push esi
push eax
mov byte [esp + 0x54], 2
call fcn.00401be0
mov ebp, dword [ebp]
mov eax, dword [eax]
add esp, 0x24
push ebx
push ebp
push eax
call dword [sym.imp.kernel32.dll_CopyFileA]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430f5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430f7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430fa7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp + 0x144]
push 0x639ce8
push eax
call fcn.0059e0af
add esp, 8
test eax, eax
push 5
jle 0x430fd7
mov ecx, dword [esi]
mov edx, dword [ebp + 0x144]
push ecx
push edi
push edx
push str.open
jmp 0x430fe2
mov eax, dword [esi]
push eax
push 0
push edi
push str.edit
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x43c2a0
Capabilities:
Write file on windows

Disassembly:
push edi
push 0x63f3d0
push eax
call fcn.0059f606
mov edi, eax
add esp, 8
test edi, edi
jne 0x43c2b7
pop edi
ret
cmp dword [esi + 0x74], 0
je 0x43c2c2
mov eax, dword [esi + 8]
jmp 0x43c2c4
xor eax, eax
mov ecx, dword [esi + 8]
push edi
push 1
push ecx
push esi
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 0
call fcn.005a13d9
mov eax, dword [esi + 0x74]
add esp, 0x10
test eax, eax
je 0x43c2f5
push 0
push 0xffffffffffffffff
push 0
push edi
push eax
call fcn.004c5f50
add esp, 0x14
cmp dword [esi + 0x14], 0
jle 0x43c338
cmp dword [esi + 0x78], 0
je 0x43c338
push edi
call fcn.005a1e04
mov edx, dword [esi + 0x14]
add esp, 4
push edi
push edx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x78]
push 1
push eax
call fcn.005a13d9
push 0
push 0
push edi
call fcn.005a1be7
add esp, 0x1c
push edi
push 1
push 0x74
push esi
call fcn.005a13d9
add esp, 0x10
push edi
call fcn.0059f7da
add esp, 4
mov eax, 1
pop edi
ret

Function at 0x43c350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
jne 0x43c35f
xor eax, eax
pop ebp
ret 8
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push 0xc
push 1
push ebx
call fcn.005a210e
add esp, 0x10
cmp eax, 0xc
jae 0x43c37e
pop ebx
xor eax, eax
pop ebp
ret 8
push esi
push edi
mov edi, str.H5Stamp
mov esi, ebx
mov ecx, 8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x43c3c2
mov eax, dword [ebx + 8]
cmp eax, 0xc
jb 0x43c3c2
lea esi, [eax - 0xc]
lea ecx, [esi + 4]
push ecx
call fcn.005a0b1e
push ebp
push esi
mov ebx, eax
push 1
push ebx
call fcn.005a210e
add esp, 0x14
cmp eax, esi
push ebx
jae 0x43c3cb
call fcn.005a01b3
add esp, 4
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
ret 8
mov edi, dword [esp + 0x18]
add edi, 0xc
mov ecx, 0x1a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
call fcn.005a01b3
add esp, 4
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
ret 8
Function at 0x43c3f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x61171a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 8]
mov edi, 1
jl 0x43c493
or edi, 0xffffffff
cmp dword [esi + 0x74], 0
jne 0x43c45d
push 0x480
call fcn.0055dbcb
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x43c454
push eax
call fcn.004e31f0
jmp 0x43c456
xor eax, eax
mov dword [esp + 0x24], edi
mov dword [esi + 0x74], eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x74]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push ebp
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x24], edi
call fcn.004c5780
mov edi, eax
add esp, 0x14
test edi, edi
je 0x43c4d2
mov edx, dword [esi + 0xc]
cmp edx, dword [esi + 8]
jl 0x43c4d2
cmp dword [esi + 0x14], 0
jle 0x43c4d2
mov eax, dword [esi + 0x78]
test eax, eax
je 0x43c4b1
push eax
call fcn.005a01b3
add esp, 4
mov eax, dword [esi + 0x14]
add eax, 1
push 1
push eax
call fcn.005a1b21
mov ecx, dword [esi + 0x14]
push ebp
push ecx
push 1
push eax
mov dword [esi + 0x78], eax
call fcn.005a210e
add esp, 0x18
mov eax, edi
mov dword [esi + 8], 0x74
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x1c
ret 4
Function at 0x43c8e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6137ea
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
push 0x480
call fcn.0055dbcb
add esp, 4
mov dword [esp + 0x44], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x38], ebx
je 0x43c92f
push eax
call fcn.004e31f0
mov edi, eax
jmp 0x43c931
xor edi, edi
mov dword [esp + 0x38], 0xffffffff
cmp dword [esi + 0x18], ebx
jg 0x43c952
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x43c94a
mov eax, dword [eax + 0x24]
jmp 0x43c94f
mov eax, 0x64
mov dword [esi + 0x18], eax
cmp dword [esi + 0x1c], ebx
jg 0x43c96b
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x43c963
mov eax, dword [eax + 0x28]
jmp 0x43c968
mov eax, 0x64
mov dword [esi + 0x1c], eax
cmp dword [esp + 0x40], ebx
jg 0x43c978
mov eax, dword [esi + 0x18]
mov dword [esp + 0x40], eax
cmp ebp, ebx
jg 0x43c97f
mov ebp, dword [esi + 0x1c]
mov ecx, dword [esp + 0x40]
push ebx
push 0x18
push 1
push ebp
push ecx
push edi
call fcn.004e3c50
mov edx, dword [esi + 0x30]
push edx
mov ecx, edi
call fcn.004e4720
mov eax, dword [esi + 0x2c]
cmp eax, ebx
jle 0x43ca09
mov ecx, dword [esp + 0x40]
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebp
call dword [sym.imp.user32.dll_InflateRect]
mov ecx, dword [esi + 0x2c]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, ecx
je 0x43c9e7
mov eax, 1
sub dword [esp + 0x18], eax
sub dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esi + 0x28]
push edx
push ebx
push ebx
push ebx
push eax
push ecx
push edi
call fcn.004e69d0
cmp dword [esi + 0x20], ebx
je 0x43ca58
cmp dword [esi + 0x74], ebx
je 0x43ca58
push 1
xor eax, eax
mov ecx, edi
call fcn.004e45e0
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x38]
mov ebx, dword [esi + 0x3c]
add edx, ecx
add ebx, ecx
mov ecx, dword [esi + 0x74]
cmp dword [ecx + 0xc], 0
push ebx
push edx
je 0x43ca47
mov edx, dword [ecx + 0x10]
push 0
push 0
push edx
mov ebx, eax
call fcn.004e5180
jmp 0x43ca51
push eax
xor eax, eax
xor edx, edx
call fcn.004e4270
call fcn.004e46b0
xor ebx, ebx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
push esi
mov ecx, ebp
call fcn.0043c540
mov ebp, eax
cmp ebp, ebx
je 0x43caa4
push 1
xor eax, eax
mov ecx, edi
call fcn.004e45e0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push ebx
push ebx
push ecx
mov ebx, eax
mov ecx, ebp
call fcn.004e5180
call fcn.004e46b0
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push 1
mov ecx, ebp
call eax
mov ecx, dword [esi + 0x34]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x30]
mov dword [edi + 0x10], edx
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret 8
Function at 0x4451c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x210], eax
cmp dword [0x6b40d8], 0
jne 0x4451ef
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [0x6b40d8], 1
lea eax, [esp]
push eax
push 0x631900
push 1
push 0
push 0x631910
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4452b3
mov eax, dword [esp]
mov ecx, dword [eax]
push esi
lea edx, [esp + 8]
push edx
push 0x631960
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x4452a4
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
test eax, eax
jge 0x445249
push 0
push 0
push str.SetPath_failed_
call fcn.0056a67b
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push str.HyperSnap_6
push eax
call edx
test eax, eax
jge 0x44526c
push 0
push 0
push str.SetDescription_failed_
call fcn.0056a67b
push 0x104
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0059e0c2
add esp, 0x214
ret
Function at 0x450350
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push edi
call fcn.004e90b0
xor edi, edi
mov ebx, 1
lea eax, [esp + 8]
push eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], 0x140
mov dword [esi + 0x68], 0xf0
mov dword [esi + 0x78], edi
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], 0x1f4
mov dword [esi + 0x28], 0x14
mov dword [esi + 0x38], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], 0xffffff
mov dword [esi + 0x1c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x6c], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x3c], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esp + 0xc], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov eax, dword [esp + 0xc]
cmp eax, 4
mov dword [esi + 0x70], edi
jbe 0x45040c
mov dword [esi + 0x70], 0x40000000
cmp eax, 5
ja 0x45041d
jne 0x450419
cmp dword [esp + 0x10], ebx
jae 0x45041d
mov dword [esi], edi
jmp 0x45041f
mov dword [esi], ebx
mov ecx, dword [esp + 0x9c]
pop edi
pop ebx
xor ecx, esp
mov eax, esi
call fcn.0059e0c2
add esp, 0x98
ret
Function at 0x4504a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6130ea
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x34]
mov esi, edx
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
xor edi, edi
cmp eax, edi
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], edx
je 0x4505bb
mov eax, dword [eax + 0x58]
cmp eax, edi
je 0x4505bb
cmp dword [eax + 0x1c], edi
je 0x4505bb
cmp ecx, 1
jl 0x4505b7
cmp edx, 1
jl 0x4505b7
push 0x480
call fcn.0055dbcb
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, edi
mov dword [esp + 0x2c], edi
je 0x450537
push eax
call fcn.004e31f0
mov edi, eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esi + 0x78]
mov esi, dword [eax + 0x58]
movzx ecx, word [esi + 0x2e]
movzx edx, word [esi + 0x2c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], edx
call fcn.004e4850
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
push edi
call fcn.004e3c50
push 0x4d
call fcn.0055dd4d
push 0x4c
sub ebx, eax
call fcn.0055dd4d
sub ebp, eax
push 1
xor eax, eax
mov ecx, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
call fcn.004e45e0
xor edx, edx
push edx
xor ecx, ecx
push ecx
push eax
xor eax, eax
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.004e4270
call fcn.004e46b0
mov eax, edi
jmp 0x4505e2
xor eax, eax
jmp 0x4505e2
cmp dword [esi + 0x3c], edi
mov dword [esi + 0x6c], edi
je 0x4505cf
cmp dword [esi + 0x70], edi
je 0x4505cf
mov eax, 1
jmp 0x4505d1
xor eax, eax
push eax
mov eax, dword [esi + 0x30]
push eax
push edx
push ecx
push ebx
push ebp
call fcn.004e9340
add esp, 0x18
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x451fc0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
sub esp, 0x104
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push ebp
push esi
push edi
push 0
call dword [sym.imp.user32.dll_GetTopWindow]
mov ebx, dword [sym.imp.user32.dll_GetWindow]
mov ebp, eax
xor esi, esi
lea ebx, [ebx]
cmp esi, ebp
je 0x452106
test ebp, ebp
je 0x452106
push ebp
call dword [sym.imp.user32.dll_IsWindowVisible]
test eax, eax
jne 0x45201b
push 2
push ebp
call ebx
mov ebp, eax
test ebp, ebp
jne 0x452000
jmp 0x452106
test ebp, ebp
je 0x452106
push 0xff
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.user32.dll_GetClassNameA]
mov edi, str.tooltips_class32
lea esi, [esp + 0x10]
mov ecx, 0x11
xor edx, edx
mov byte [esp + 0x10f], 0
repe cmpsb byte [esi], byte es:[edi]
je 0x4520ec
mov edi, str.OfficeTooltip
lea esi, [esp + 0x10]
mov ecx, 0xe
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4520ec
mov edi, str.FlyHelp
lea esi, [esp + 0x10]
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4520ec
mov edi, str.SysShadow
lea esi, [esp + 0x10]
mov ecx, 0xa
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4520ec
mov edi, str.MozillaWindowClass
lea esi, [esp + 0x10]
mov ecx, 0x13
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4520bc
mov edi, str.32774
lea esi, [esp + 0x10]
mov ecx, 7
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4520f5
push 0xff
lea ecx, [esp + 0x14]
push ecx
push ebp
call dword [sym.imp.user32.dll_GetWindowTextA]
cmp byte [esp + 0x10], 0
jne 0x4520f5
mov esi, dword [sym.imp.user32.dll_GetWindowLongA]
push 0xffffffffffffffec
push ebp
call esi
test al, 8
je 0x4520f5
push 0xfffffffffffffff0
push ebp
call esi
test eax, eax
jns 0x4520f5
push 0
push ebp
call dword [sym.imp.user32.dll_ShowWindow]
push 2
push ebp
mov esi, ebp
call ebx
mov ebp, eax
test ebp, ebp
jne 0x451ff0
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059e0c2
add esp, 0x104
ret
Function at 0x452bd0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x452be3
push eax
call fcn.005a01b3
add esp, 4
test esi, esi
mov dword [ebx + 0x74], 0
je 0x452c4b
push 0x641fa4
push esi
call fcn.0059f606
mov esi, eax
add esp, 8
test esi, esi
je 0x452c52
push edi
push 2
push 0
push esi
call fcn.005a1be7
push esi
call fcn.005a1e04
push 0
push 0
push esi
mov edi, eax
call fcn.005a1be7
lea eax, [edi + 8]
push 1
push eax
call fcn.005a1b21
add esp, 0x24
test eax, eax
mov dword [ebx + 0x74], eax
je 0x452c41
push esi
push 1
push edi
push eax
call fcn.005a210e
add esp, 0x10
push esi
call fcn.0059f7da
add esp, 4
pop edi
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x452c60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 0x74]
test eax, eax
push esi
push edi
je 0x452c78
push eax
call fcn.005a01b3
add esp, 4
mov dword [ebp + 0x74], 0
call fcn.00568851
mov esi, dword [eax + 0xc]
push str.WAVE
push 0x7d3
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x452ce9
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x452ce9
lea eax, [ebx + 8]
push 1
push eax
call fcn.005a1b21
add esp, 8
test eax, eax
mov dword [ebp + 0x74], eax
je 0x452cdd
push ebx
push esi
push eax
call fcn.005a1460
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x455b00
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x10c
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x108], eax
lea eax, [esi - 0x60]
cmp eax, 9
push edi
mov edi, dword [sym.imp.user32.dll_GetAsyncKeyState]
ja 0x455b2c
push 0x12
call edi
test ax, ax
jns 0x455b3d
cmp dword [0x6b4184], 0
je 0x455ba8
lea ecx, [esi - 0x41]
cmp ecx, 0x19
ja 0x455ba8
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.user32.dll_GetKeyboardState]
call fcn.005669f5
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.user32.dll_GetKeyboardLayout]
push eax
push 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push esi
call dword [sym.imp.user32.dll_MapVirtualKeyA]
push eax
push esi
call dword [sym.imp.user32.dll_ToAsciiEx]
mov al, byte [esp + 8]
lea ecx, [esp + 4]
push ecx
mov byte [esp + 8], al
mov byte [esp + 9], 0
call dword [sym.imp.user32.dll_CharUpperA]
movsx eax, byte [esp + 4]
pop edi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0059e0c2
add esp, 0x10c
ret
push 0x12
call edi
test ax, ax
jns 0x455bc9
mov eax, esi
pop edi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0059e0c2
add esp, 0x10c
ret
push esi
call fcn.005a2a23
mov ecx, dword [esp + 0x110]
add esp, 4
pop edi
xor ecx, esp
call fcn.0059e0c2
add esp, 0x10c
ret