joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fb8f
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x20
push ebx
mov ebx, ecx
jne 0x46fbe0
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x17
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.0046f563
mov ecx, ebx
call fcn.0046fb07
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x46fc36
xor eax, eax
cmp dword [ebx + 0x2e4], eax
jne 0x46fbfb
cmp dword [ebp + 0xc], 0x79
je 0x46fbf6
cmp dword [ebp + 0xc], 0x12
jne 0x46fc36
xor eax, eax
inc eax
jmp 0x46fc36
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
movzx edi, ax
shr edi, 0xf
push 0x10
and edi, 1
call esi
mov esi, dword [ebp + 0xc]
shr eax, 0xf
and eax, 1
cmp esi, 0x12
je 0x46fc3b
cmp esi, 0x79
je 0x46fc3b
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x56ae2c], 0
jne 0x46fc32
test byte [ebx + 0x2f4], 2
jne 0x46fc32
cmp esi, 0x12
je 0x46fc5f
cmp esi, 0x79
jne 0x46fc32
test edi, edi
jne 0x46fc32
test eax, eax
jne 0x46fc32
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0040f033
cmp eax, ebx
jne 0x46fc82
test dword [ebp + 0x10], 0x40000000
jne 0x46fc82
cmp esi, 0x79
jne 0x46fc90
mov ecx, dword [ebp + 8]
jmp 0x46fc89
cmp esi, 0x79
jne 0x46fc90
mov ecx, ebx
call fcn.00413dc4
jmp 0x46fcab
cmp dword [ebx + 0x2a0], 0
jge 0x46fcab
push 0
push 0xc8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x46fc34
Function at 0x47b02c
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov esi, ecx
mov ecx, 0x104
cmp eax, ecx
ja 0x47b186
je 0x47b1ac
cmp eax, 0xa1
jb 0x47b1d8
cmp eax, 0xa2
jbe 0x47b1ac
cmp eax, 0xa3
jbe 0x47b1d8
cmp eax, 0xa5
jbe 0x47b1ac
cmp eax, 0xa6
jbe 0x47b1d8
cmp eax, 0xa8
jbe 0x47b1ac
cmp eax, 0x100
jne 0x47b1d8
cmp dword [esi + 0x80], 0xffffffff
je 0x47b1ac
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x47b1ac
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x47b152
dec eax
jne 0x47b1ac
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [eax + 1]
add ecx, eax
cmp edi, ecx
jge 0x47b14a
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x47b10b
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jl 0x47b0e3
jmp 0x47b14a
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x1e4], 1
call dword [eax + 0x1ec]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1e8]
mov ecx, eax
call fcn.00413dc4
push dword [esi + 0x80]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x248]
and dword [esi + 0x1e4], 0
xor eax, eax
inc eax
jmp 0x47b1e0
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [ecx + eax - 1]
cmp edi, eax
jle 0x47b14a
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x47b10b
dec edi
cmp edi, dword [esi + 0x80]
jg 0x47b163
jmp 0x47b14a
cmp eax, 0x200
jb 0x47b1d8
cmp eax, 0x202
jbe 0x47b1ac
cmp eax, 0x203
jbe 0x47b1d8
cmp eax, 0x205
jbe 0x47b1ac
add eax, 0xfffffdf9
cmp eax, 1
ja 0x47b1d8
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x47b1c2
cmp dword [ecx + 0x20], 0
je 0x47b1c2
push edi
call fcn.004253e9
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x47b1d8
cmp dword [ecx + 0x20], 0
je 0x47b1d8
push edi
call fcn.004253e9
push edi
mov ecx, esi
call fcn.004957da
pop edi
pop esi
pop ebp
ret 4
Function at 0x47f8d8
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [eax + 0x190]
test al, al
jns 0x47f8fa
or eax, 0xffffffff
jmp 0x47f8ff
mov eax, dword [0x562e9c]
mov edx, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x290]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x563dd4
call fcn.00416536
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x47f99c
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x47f99c
cmp edi, ebx
je 0x47f951
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x200]
push eax
push 0x5645c8
call fcn.00416536
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x47f9a5
test ebx, ebx
je 0x47f988
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, 0x40
je 0x47f99c
cmp dword [ebp - 4], 0
je 0x47f988
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x224]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x47f99e
mov eax, dword [esi]
push 5
push 0
push edi
mov ecx, esi
call dword [eax + 0x1d0]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], 3
jne 0x47f99c
test edi, edi
je 0x47f99c
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x15c]
test eax, eax
je 0x47f99c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
test eax, eax
je 0x47f99c
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x218]
mov eax, dword [esi]
push 0
push 1
push 5
push edi
mov ecx, esi
call dword [eax + 0x328]
mov edx, dword [ebp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
jmp 0x47f99e
Function at 0x48329f
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x56b174], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x4832ce
or dword [0x56b174], 1
mov ecx, 0x56b170
call fcn.00403940
push 0x520dc1
call fcn.004f98d1
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4832da
call fcn.004148d8
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x483353
cmp dword [eax + 0x20], 0
je 0x483353
test eax, eax
je 0x4832f1
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x483353
mov eax, dword [edi + 4]
dec eax
je 0x483332
dec eax
je 0x483308
dec eax
jne 0x483353
mov esi, 0x428e
jmp 0x483337
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x483337
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x483337
add esi, 3
jmp 0x483337
mov esi, 0x3ea0
push esi
mov ecx, 0x56b170
call fcn.00402300
test eax, eax
je 0x4832d5
mov eax, dword [0x56b170]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x483355
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4841be
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x48423e
cmp dword [ebp + 0xc], ecx
jne 0x48423e
cmp dword [ebx + 0x94], ecx
jne 0x48423e
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x484234
cmp eax, 0xffffffff
je 0x484234
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.0040ce5c
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x48423e
xor eax, eax
jmp 0x48437e
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x484279
cmp dword [ebp + 0xc], 0
jne 0x484279
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.0040ce5c
test eax, eax
jne 0x48422d
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x48429f
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x48429f
cmp eax, 0xffffffff
je 0x48429f
cmp dword [ebx + 0x90], ecx
jne 0x48429f
cmp dword [ebx + 0xa8], ecx
je 0x48422d
push dword [ebx + 0x6c]
push 0x563c50
call fcn.00416536
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x4842d8
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x48433e
push edi
jmp 0x484339
push dword [ebx + 0x6c]
push 0x563890
call fcn.00416536
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x484304
cmp eax, edi
je 0x484304
cmp dword [0x56983c], edi
jne 0x484304
push 1
push ebx
mov ecx, eax
call fcn.0046c681
jmp 0x484331
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x48431c
push edi
call fcn.004249ac
cmp eax, edi
je 0x48431c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x48422d
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x48433e
push ebx
call fcn.00427551
cmp dword [ebx + 0x6c], edi
je 0x48437b
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004176bc
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4988b8
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x519d19
call fcn.004fac4d
xor edi, edi
cmp dword [0x563770], edi
je 0x498981
cmp dword [0x564474], 0xfffffffe
jne 0x49896e
cmp dword [ebp + 8], 0xffffffff
je 0x498981
test byte [0x56b540], 1
mov esi, 0x56b520
jne 0x498917
or dword [0x56b540], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004360d7
push 0x520e41
call fcn.004f98d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.0043612e
cmp dword [0x56b51c], edi
je 0x49892b
call fcn.004148d8
push edi
push edi
push 0x498860
call fcn.004fecc3
add esp, 0xc
mov dword [0x56b51c], eax
cmp eax, edi
jbe 0x49895b
cmp eax, 0xffffffff
je 0x49895b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x564474], eax
jmp 0x498961
mov dword [0x56b51c], edi
push 0x56b528
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x498981
mov eax, dword [ebp + 8]
mov dword [0x564474], eax
cmp eax, 0xffffffff
jne 0x498981
mov dword [0x56b51c], edi
call fcn.004fad25
ret
Function at 0x4d30e4
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x51c274
call fcn.004facb6
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.004d8a9a
push 0x15c
call fcn.0040755f
pop ecx
mov ecx, eax
mov dword [ebp - 0x124], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4d3128
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004da027
jmp 0x4d312a
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004d8a6c
call fcn.0040c277
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov byte [ebp + esi - 0x114], 0x5c
inc esi
mov dword [ebp - 0x124], esi
mov byte [ebp + esi - 0x114], bl
mov dword [ebp - 0x120], ebx
cmp edi, ebx
je 0x4d32c4
cmp dword [edi + 4], ebx
jle 0x4d32c4
lea ecx, [ebp - 0x118]
call fcn.00403940
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x114]
push eax
push ebx
lea eax, [ebp - 0x118]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4d32a8
lea ecx, [ebp - 0x11c]
call fcn.00403940
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4d31f9
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push 0x53b238
push eax
call fcn.00404790
add esp, 0xc
jmp 0x4d322b
jge 0x4d3219
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x11c]
push str._d__s
push eax
call fcn.00404790
add esp, 0x10
jmp 0x4d322b
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004074b0
push 0x15c
call fcn.0040755f
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4d324f
mov ecx, eax
call fcn.004abe8a
mov esi, eax
jmp 0x4d3251
xor esi, esi
push dword [ebp - 0x11c]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.0040b4cc
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x128]
push esi
call fcn.004d8a6c
mov ecx, dword [ebp - 0x11c]
inc dword [ebp - 0x120]
add ecx, 0xfffffff0
call fcn.004021c0
mov esi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004021c0
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4d3192
call fcn.004fad39
ret
Function at 0x4d7bfd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4d7c15
mov edi, dword [esi + 0xc]
jmp 0x4d7c55
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4d7c2e
call fcn.00412805
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d7c43
call fcn.00412805
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d7c55
call fcn.00412805
call fcn.0040c277
cmp dword [eax + 0x3c], 0
je 0x4d7c6a
push edi
mov ecx, ebx
call fcn.004d6ae2
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d7b23
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4d7c88
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d7c94
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4dee17
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4dee61
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4dee61
call fcn.004de6d0
test eax, eax
je 0x4dee61
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.00402090
xor eax, eax
inc eax
jmp 0x4df079
cmp dword [ebx + 4], 0x100
push edi
jne 0x4df070
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4def5e
push 0x11
call edi
test ax, ax
jl 0x4def5e
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4def5e
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4deed1
cmp eax, 0x20
jbe 0x4def5e
cmp eax, 0x24
jbe 0x4deec4
cmp eax, 0x26
je 0x4deec4
cmp eax, 0x28
jne 0x4def5e
call fcn.004de6d0
test eax, eax
je 0x4def5e
mov ecx, esi
call fcn.00413dc4
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004de6d0
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4def06
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00402090
jmp 0x4df06b
call fcn.004103cd
test eax, eax
je 0x4df06b
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.00410457
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4def34
xor edi, edi
jmp 0x4def37
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.004103cd
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4df06b
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4df03a
sub eax, 0x12
je 0x4df012
sub eax, 0xb
je 0x4def80
dec eax
dec eax
jne 0x4df070
push 0x12
call edi
test ax, ax
jl 0x4df070
push 0x11
call edi
test ax, ax
jl 0x4df070
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4df070
call fcn.004de6d0
test eax, eax
jne 0x4df06b
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004de64a
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0040f033
test eax, eax
je 0x4df06b
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.0040f033
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4df06b
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4df026
push 0
call fcn.004de64a
mov ecx, esi
call fcn.0040fb50
test eax, eax
je 0x4df070
mov ecx, esi
call fcn.0040fb50
jmp 0x4df064
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0040f033
test eax, eax
je 0x4df070
push dword [esi + 0x20]
call edi
push eax
call fcn.0040f033
push 0
push esi
mov ecx, eax
call fcn.00409855
mov ecx, eax
call fcn.00413dc4
xor eax, eax
inc eax
jmp 0x4df078
push ebx
mov ecx, esi
call fcn.0040cebf
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4f4632
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp byte [ebp + 0xc], 0
jne 0x4f4672
test edi, edi
jl 0x4f4672
cmp al, 0x20
je 0x4f4667
cmp word [ebp + 8], 0x71
jne 0x4f4672
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x4f96cd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x565fd0]
jne 0x4f96d7
repz ret
jmp fcn.004ffe74

Function at 0x50d71d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005000ea
and dword [ebp - 4], 0
cmp dword [0x56d258], 0
mov ebx, eax
jne 0x50d7ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x50d87f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x54766c
push edi
call esi
test eax, eax
je 0x50d87f
push eax
call fcn.00500078
mov dword [esp], 0x54765c
push edi
mov dword [0x56d258], eax
call esi
push eax
call fcn.00500078
mov dword [esp], 0x547648
push edi
mov dword [0x56d25c], eax
call esi
push eax
call fcn.00500078
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x56d260], eax
call esi
push eax
call fcn.00500078
pop ecx
mov dword [0x56d268], eax
test eax, eax
je 0x50d7ce
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00500078
pop ecx
mov dword [0x56d264], eax
mov eax, dword [0x56d264]
cmp eax, ebx
je 0x50d826
cmp dword [0x56d268], ebx
je 0x50d826
push eax
call fcn.005000f3
push dword [0x56d268]
mov esi, eax
call fcn.005000f3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x50d826
test edi, edi
je 0x50d826
call esi
test eax, eax
je 0x50d81d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x50d81d
test byte [ebp - 0xc], 1
jne 0x50d826
or dword [ebp + 0x10], 0x200000
jmp 0x50d85f
mov eax, dword [0x56d25c]
cmp eax, ebx
je 0x50d85f
push eax
call fcn.005000f3
pop ecx
test eax, eax
je 0x50d85f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x50d85f
mov eax, dword [0x56d260]
cmp eax, ebx
je 0x50d85f
push eax
call fcn.005000f3
pop ecx
test eax, eax
je 0x50d85f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x56d258]
call fcn.005000f3
pop ecx
test eax, eax
je 0x50d87f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x50d881
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407110
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407145
mov eax, dword [ecx + 0x3c]
add eax, ecx
je 0x407145
cmp dword [eax], 0x4550
jne 0x407145
lea ecx, [eax + 4]
test ecx, ecx
je 0x407145
mov edx, 0x14c
xor eax, eax
cmp word [ecx], dx
sete al
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x407150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407185
mov eax, dword [ecx + 0x3c]
add eax, ecx
je 0x407185
cmp dword [eax], 0x4550
jne 0x407185
lea ecx, [eax + 4]
test ecx, ecx
je 0x407185
mov edx, 0x8664
xor eax, eax
cmp word [ecx], dx
sete al
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x407190
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43d200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp dword [eax + 0x14], 0xf
mov edi, dword [ebp + 8]
jbe 0x4071b5
mov ecx, dword [eax]
push ebx
push dword [eax + 0x10]
lea eax, [ebp - 0x1c]
push ecx
push eax
call fcn.00406110
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4071e4
test esi, esi
je 0x4071da
mov dword [esi], str.Failed_to_convert_path_to_wide_string
mov esi, 0x57
jmp 0x4072cf
push 4
push 0x3000
lea eax, [eax*2 + 6]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
jne 0x407215
test esi, esi
je 0x4072c7
mov dword [esi], str.Failed_to_remotely_allocate_page_with_VirtualAllocEx__
jmp 0x4072c7
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
cmp dword [ebp - 8], 7
lea eax, [ebp - 0x1c]
push ecx
cmova eax, dword [ebp - 0x1c]
lea ecx, [edx*2 + 2]
mov dword [ebp - 0x24], 0
push ecx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4072ae
mov ecx, dword [ebp - 0x20]
lea eax, [ecx*2 + 2]
cmp dword [ebp - 0x24], eax
jb 0x4072ae
push 0
push 0
push ebx
push dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x407289
push 0x8000
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test esi, esi
je 0x4072c7
mov dword [esi], str.Failed_to_create_run_remote_thread_with_CreateRemoteThread__
jmp 0x4072c7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor esi, esi
jmp 0x4072cf
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test esi, esi
je 0x4072c7
mov dword [esi], str.Failed_to_remotely_write_dll_path_with_WriteProcessMemory__
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [ebp - 8]
pop ebx
cmp ecx, 7
jbe 0x407306
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4072fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407318
push ecx
push edx
call fcn.00415ffb
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0041600e
mov esp, ebp
pop ebp
ret
call fcn.0041aecf
int3