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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100120ee
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100120a1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1001209f
push 0x8f3
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x100120ec
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100120cf
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x100120ec
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10001e5c
mov dword [eax], 0x2858905b
jmp 0x100120c4
jmp 0x10012114
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
push 0
push dword [ebp - 0x2c]
push 0x4c38
push 0x3b86
push dword [ebp - 0x30]
call fcn.10011fd0
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10014c37
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10014ce1
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10014c78
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10014c76
push 0x8f3
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x10014cdf
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10014c9a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffea
jge 0x10014cdf
mov dword [ebp - 0xc], 0xfda0e60f
mov dword [ebp - 0xc], 0xfffffff3
jmp 0x10014cb9
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffe7
jl 0x10014cdd
mov dword [ebp - 0x1c], 0xf3d4210e
push 1
push 0x6ff0
lea eax, [ebp - 0x1c]
push eax
push 0
call fcn.100121c3
add esp, 0x10
jmp 0x10014cb2
jmp 0x10014c8f
jmp 0x10014cf9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0
push 0x6400
call fcn.10023cc5
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1002386b
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100239c9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], 0x4370
mov dword [ebp - 0x30], str.frowa_jxmut_aat_jtryb_udhqzjt_dednu_mpw_yzvloj_rbldqte_ixm_iamhll_rhekm_cbubde
cmp dword [ebp - 0x24], 0x4511
jle 0x10023972
and dword [ebp - 0x20], 0
jmp 0x100238cd
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x33d2
jge 0x1002396a
and dword [ebp - 0x14], 0
jmp 0x100238e7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3626
jge 0x10023965
and dword [ebp - 0x18], 0
jmp 0x100238fd
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3dae
jge 0x10023960
and dword [ebp - 0x1c], 0
jmp 0x10023913
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x66fb
jge 0x1002395e
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
or eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.10001a55
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10001c39
push eax
call fcn.10046d34
pop ecx
lea ecx, [ebp - 0x74]
call fcn.10001c2f
jmp 0x1002390c
jmp 0x100238f6
jmp 0x100238e0
jmp 0x100238c6
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x4358
jge 0x1002398e
push dword [ebp - 0x30]
call fcn.10046d34
pop ecx
jmp 0x100239aa
or dword [ebp - 4], 0xffffffff
jmp 0x100239b4
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
call fcn.10023a2f
add esp, 0x10
jmp 0x10023a1e
lea eax, [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x100239fe
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
jmp 0x10023a1e
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10023a1e
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10026d94
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x1005e7dc
call fcn.1005d550
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x10026eb6
cmp byte [ebp + 0xc], 0
je 0x10026e41
mov dword [ebp - 0x1c], 0x5379
cmp dword [ebp - 0x1c], 0x564d
jle 0x10026dfb
xor esi, esi
xor edi, edi
mov ebx, 0x1037
mov eax, edi
mov ecx, 0x10078ef8
cdq
push edx
push eax
call fcn.10001c59
add edi, esi
dec ebx
jne 0x10026dd2
inc esi
cmp esi, 0x1b3f
jl 0x10026dcb
push 0x176f
push ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0xc90
call dword [sym.imp.KERNEL32.dll_SetLastError]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x4fe5
jge 0x10026e22
mov edx, str.fcyfeqlu_prpimog_elndykhfe_aksw
mov ecx, 0x10078ef8
call fcn.10003ae1
jmp 0x10026eda
cmp byte [edx], 0
je 0x10026e4e
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebp - 0x1c], 0x4e3f
cmp dword [ebp - 0x1c], 0x4f03
jle 0x10026ea0
xor esi, esi
xor edi, edi
mov eax, edi
lea ecx, [ebp - 0x34]
or eax, esi
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10026e7b
mov eax, dword [eax]
push eax
call fcn.10046d34
pop ecx
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.10002133
inc edi
cmp edi, 0x719e
jl 0x10026e62
inc esi
cmp esi, 0x70bb
jl 0x10026e60
cmp dword [ebp - 0x1c], 0x4be8
jge 0x10026eda
push str.obkxd_ppvch_wcuagvhha_powlitn
call fcn.10046d34
pop ecx
jmp 0x10026eda
cmp byte [ebp + 8], 0
je 0x10026ec8
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x10026eda
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0x15], 0
je 0x10026eda
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10026f79
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov byte [ebp - 4], cl
je 0x10026fc5
test cl, cl
je 0x10026fb8
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1002704e
mov esi, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xd34108fa
inc dword [edx]
cmp dword [edx], 3
jl 0x10026fa1
jmp 0x1002704e
push 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
jmp 0x1002704e
mov dword [ebp + 0x14], 0x487b
cmp dword [ebp + 0x14], 0x48ea
jle 0x10027015
xor esi, esi
mov edi, esi
mov ebx, 0x69ca
mov eax, edi
lea ecx, [ebp - 0x1c]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10026ff5
mov eax, dword [eax]
push eax
call fcn.10046d34
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.10002133
dec edi
dec ebx
jne 0x10026fde
inc esi
cmp esi, 0x91d
jl 0x10026fd7
cmp dword [ebp + 0x14], 0x45f5
jge 0x10027029
push str.atkaxnjv_nqchvl_evyvrfqt_zlfw_bwnglc
call fcn.10046d34
pop ecx
cmp byte [ebp + 0xc], 0
je 0x1002703a
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xb4e4faa4
jmp 0x1002704e
mov byte [ebp + 0x17], 0
cmp byte [ebp + 0x17], 0
je 0x1002704e
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10027c0a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005e810
call fcn.1005d550
sub esp, 0x14
push ebx
push esi
mov byte [ebp - 0x14], cl
mov esi, edx
mov dword [ebp - 0x1c], 0x5127
cmp dword [ebp - 0x1c], 0x5326
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
jle 0x10027c7a
xor edi, edi
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov eax, edi
xor esi, esi
cdq
idiv ebx
mov edi, edx
mov eax, edi
mov ecx, 0x10078ef8
xor eax, esi
cdq
push edx
push eax
call fcn.10001c59
inc esi
cmp esi, 0x4485
jl 0x10027c45
mov edi, dword [ebp - 0x18]
inc ebx
cmp ebx, 0x669d
jl 0x10027c3c
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x49df
jl 0x10027c3a
mov esi, dword [ebp - 0x20]
cmp byte [ebp - 0x14], 0
je 0x10027c8c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
add dword [eax], ecx
jmp 0x10027cac
mov dword [esi], 0
cmp dword [esi], 4
jge 0x10027cac
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi]
mov eax, dword [edx]
mov dword [eax + ecx*4], 1
inc dword [esi]
cmp dword [esi], 4
jl 0x10027c9a
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x4eda
jge 0x10027cc8
mov edx, str.eengree_rcjuune_qqhh_fbbieuy_nwacclj_hvxwyei_ylymxxopr_gdqxco_ouzeo_guolfikif_oyzp_nxrk
mov ecx, 0x10078ef8
call fcn.10003ae1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100280fb
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005e81a
call fcn.1005d550
push ecx
push ecx
cmp byte [ebp + 0x24], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, edx
mov byte [ebp - 0x14], cl
je 0x100281c6
test cl, cl
je 0x100281bf
mov dword [ebp + 0x24], 0x14ec
cmp dword [ebp + 0x24], 0x1581
jle 0x1002815b
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, 0x10078ef8
xor eax, edi
cdq
push edx
push eax
call fcn.10001c59
inc ebx
cmp ebx, 0x2b6c
jl 0x10028138
inc edi
cmp edi, 0x2b0a
jl 0x10028136
mov dword [esi], 0xffffffe3
cmp dword [esi], 0xc
je 0x10028187
mov edi, dword [ebp + 0x14]
cmp dword [edi], 0
jne 0x10028187
push ecx
push edi
push ecx
push dword [ebp + 0x18]
push ecx
push ecx
mov cl, 1
call fcn.1002a2e0
add esp, 0x18
inc dword [esi]
cmp dword [esi], 0xc
jne 0x10028169
and dword [ebp - 4], 0
cmp dword [ebp + 0x24], 0x1450
jge 0x100281a3
mov edx, str.xgyuw_jrqjrk_jmbdq_pswsiebjy_cjcv_vdh_hsw
mov ecx, 0x10078ef8
call fcn.10003ae1
jmp 0x100281f8
mov eax, dword [ebp + 0x20]
inc dword [eax]
jmp 0x100281f8
cmp byte [ebp + 0xc], 0
je 0x100281f1
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x100281f8
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [edx]
cmp dword [edx], 2
jl 0x100281dd
jmp 0x100281f8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10029306
Capabilities:
Get keyboard layout

Disassembly:
mov eax, 0x1005e856
call fcn.1005d550
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 0x14], 0x1b78
mov eax, edx
cmp dword [ebp - 0x14], 0x1c57
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], eax
jle 0x1002936e
xor esi, esi
xor edi, edi
xor ebx, ebx
mov ecx, ebx
lea eax, [edi + esi]
shl eax, cl
mov ecx, 0x10078ef8
cdq
push edx
push eax
call fcn.10001c59
inc ebx
cmp ebx, 0x4355
jl 0x10029334
inc edi
cmp edi, 0x4408
jl 0x10029332
inc esi
cmp esi, 0x7f79
jl 0x10029330
push 0x29
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov eax, dword [ebp - 0x18]
cmp byte [ebp + 0x14], 0
je 0x100293a1
mov esi, dword [ebp + 8]
mov dword [esi], 0xfffffff3
jmp 0x1002939a
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xf3d4210e
push eax
push ecx
push 0
sub esp, 0x14
call fcn.100282d0
add esp, 0x20
dec dword [esi]
cmp dword [esi], 0xffffffe7
jge 0x1002937f
jmp 0x100293a7
mov dword [eax], 1
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x17b2
jge 0x100293c3
mov edx, str.ppjleci_wiuhb_gcv_gmyqfv_upr_lzw_lou_qwvnwmdk_zezpiy
mov ecx, 0x10078ef8
call fcn.10003ae1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002956c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
je 0x10029584
push 0x17c7
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebp
ret
cmp byte [ecx], 0
je 0x10029591
push 0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
pop ebp
ret
Function at 0x10029f8a
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov byte [ebp - 4], dl
mov byte [ebp - 8], cl
je 0x1002a066
test cl, cl
je 0x10029fc5
mov byte [ebp + 0xf], 0
cmp byte [ebp + 0xf], 0
je 0x1002a132
push ecx
push ecx
mov cl, 1
call fcn.10027063
pop ecx
pop ecx
jmp 0x1002a132
mov dword [ebp - 0x10], 0x2fc3
cmp dword [ebp - 0x10], 0x3312
push 0
pop edi
jle 0x1002a02d
push edi
push 0x577
call dword [sym.imp.GDI32.dll_GetClipBox]
xor esi, esi
mov ebx, edi
inc esi
mov eax, edi
mov dword [ebp + 0xc], edi
xor eax, ebx
lea ecx, [ebp - 0x2c]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002a005
mov eax, dword [eax]
push eax
call fcn.10046d34
pop ecx
push edi
push esi
lea ecx, [ebp - 0x2c]
call fcn.10002133
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, 0x523e
jl 0x10029fee
inc ebx
cmp ebx, 0x6815
jl 0x10029fe9
cmp dword [ebp - 0x10], 0x2f8c
jge 0x1002a041
push str.cytlnnk_odvtz_qcuwnwag_ubh_ruvid_xowwg
call fcn.10046d34
pop ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [esi]
push dword [eax + 4]
call fcn.1002e7a3
mov eax, dword [esi]
mov dword [eax + 4], eax
mov eax, dword [esi]
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
mov dword [esi + 4], edi
jmp 0x1002a132
push 0
test dl, dl
je 0x1002a12c
pop edi
mov dword [ebp - 0x14], 0x6d91
cmp dword [ebp - 0x14], 0x6ec6
push 1
pop esi
jle 0x1002a0e8
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
mov ebx, edi
mov eax, edi
mov dword [ebp + 0xc], edi
mov ecx, edi
mov dword [ebp - 0x10], edi
sar eax, cl
lea ecx, [ebp - 0x44]
or eax, ebx
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002a0b1
mov eax, dword [eax]
push eax
call fcn.10046d34
pop ecx
push edi
push esi
lea ecx, [ebp - 0x44]
call fcn.10002133
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, 0x6ff1
jl 0x1002a098
inc eax
mov dword [ebp + 0xc], eax
cmp eax, 0x29dd
jl 0x1002a093
inc ebx
cmp ebx, 0x5f93
jl 0x1002a08e
cmp dword [ebp - 0x14], 0x69f4
jge 0x1002a0fc
push str.xwqvwqgwa_adaqgsk_ckjigyz_rqvisbrn_sbs_jnupbx_ppz_qvem_ufhzmhexa_mkesk_myqgry_wzpeiz_vxqsuonwe_dbvqcfj
call fcn.10046d34
pop ecx
mov dword [ebp + 0xc], edi
jmp 0x1002a10b
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0xc], esi
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], esi
jl 0x1002a101
mov dword [ebp - 0xc], edi
jmp 0x1002a124
mov dword [ebp + 0xc], 0x69aed23b
cmp dword [ebp + 0xc], edi
jne 0x1002a132
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x1b
je 0x1002a115
jmp 0x1002a132
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10034c99
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10034cf1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10034ce2
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10034ce0
push 0x17c7
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x10034cef
push 0x2492
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x10034d0e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
push 0
push dword [ebp - 0x14]
push 0x2353
push 0x1c7c
call fcn.100383af
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x10034d12
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10034d5a
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 1
push 0xfa0
push dword [ebp - 0x10]
push 0xf1b
call fcn.10034dae
add esp, 0x1c
jmp 0x10034daa
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10034d89
push 0
push 0x4ac
push 0x1d68
push 0xa6c
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
jmp 0x10034daa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10034daa
push 0x8f3
call dword [sym.imp.USER32.dll_GetKeyState]
mov esp, ebp
pop ebp
ret
Function at 0x1003a1b7
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003a210
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1003a206
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1003a204
push 0
push 1
push 1
push 0x2503
call fcn.1003588a
add esp, 0x10
jmp 0x1003a20e
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x1003a222
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 1
call fcn.10032415
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x402720
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x58e130]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 8]
mov edi, SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
jne 0x40275e
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518623
mov esp, ebp
pop ebp
ret
push esi
mov esi, 1
cmp dword [ebp - 8], esi
jle 0x402794
lea esp, [esp]
push str._install_all
push dword [ebx + esi*4]
call fcn.00519147
add esp, 8
test eax, eax
jne 0x40278f
inc esi
lea edi, [eax + 1]
cmp esi, dword [ebp - 8]
jl 0x402770
jmp 0x402794
mov edi, SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, edi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00518623
mov esp, ebp
pop ebp
ret

Function at 0x406ed0
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.00407316
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 0x406f0c
call fcn.004070ef
mov dword [esi + 0xc], 1
jmp 0x406f11
call fcn.004070ef
cmp dword [esi], 0
je 0x406f5a
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x406f34
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00404b74
jmp 0x406f45
push 0xff
mov ecx, esi
call fcn.00402a30
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00404da5
jmp 0x406f7e
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 0x406f7e
push dword [esi]
push dword [ebp - 4]
call fcn.00407767
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x407044
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.004070ef
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x40708c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00404b74
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00404da5
jmp 0x407097
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00407767
pop edi
pop esi
pop ebp
ret 0xc