joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440320
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x481198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x48342c]
push 0
lea ecx, [esp + 0x20]
call fcn.00477f2e
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043fcc0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00477e5c
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047463d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047463d
push 1
push 0
push 0
mov ecx, esi
call fcn.004745e5
push 1
push 0
push 1
mov ecx, esi
call fcn.004745e5
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00477fa0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4404a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4811b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00477f2e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043fcc0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00477e5c
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x48342c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x440564
cmp dword [esp + 0x40], 1
jne 0x440562
cmp ecx, eax
jge 0x440564
mov eax, ecx
cmp eax, 0xc8
jge 0x440570
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00440320
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x483430]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00477fa0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x440ce0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x481223
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00472a5d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x71c540
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x719f68
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x483080]
push eax
mov ecx, edi
call fcn.004781d6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047972e
test eax, eax
je 0x440dfc
mov ecx, dword [esp + 0x3c]
call fcn.00478203
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x48340c]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x440dc0
push edi
mov ecx, esi
call fcn.004757bc
mov ecx, esi
call fcn.00440f60
cmp dword [esp + 0x38], 1
jne 0x440df5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00475926
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x443830
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443863
push esi
call fcn.00446940
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44385c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4438e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4438d2
mov eax, dword [esi + 8]
test eax, eax
je 0x443887
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4438ce
cmp eax, 2
je 0x4438d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44387a
cmp eax, 3
je 0x4438ad
cmp eax, 1
jne 0x44387a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44387a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44387a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443910
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4438f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443910
add esp, 4
pop esi
ret
Function at 0x450330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x481720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044fee0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044ff60
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044ff60
lea ecx, [esi + 0xc]
call fcn.004713ee
lea ecx, [esi + 0x10]
call fcn.004713ee
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004514f0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004514f0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004514f0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00471463
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00471463
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100109c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x100109cf
pop dword [ebp - 0xc]
mov eax, 0x48dcf0e
add eax, 0xb733ac1
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x2328d0aa
sub dword [ebp - 0x1c], 0xd4d68b5f
mov dword [ebp - 0x18], 0x3a93ccf3
sub dword [ebp - 0x18], 0x86080ae
mov dword [ebp - 0x14], 0x50d2c875
add dword [ebp - 0x14], 0xfb797bb9
mov dword [ebp - 0x10], 0xfdc46748
sub dword [ebp - 0x10], 0xfdc46748
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x5b1435cc
add dword [ebp - 0x1c], 0x195e338a
mov dword [ebp - 0x18], 0x71da0eeb
sub dword [ebp - 0x18], 0x306dad76
mov dword [ebp - 0x14], 0x64f47d9
add dword [ebp - 0x14], 0x5d202493
mov dword [ebp - 0x10], 0x362e1f78
add dword [ebp - 0x10], 0xc9d1e088
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x9540e9b3
sub eax, 0x853f597b
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3823b
push 0
call eax
mov ecx, 0x605b3f06
add ecx, 0x9fa50f26
mov edi, eax
mov esi, 0x10022800
add esi, dword [ebp - 0xc]
mov ebx, 0x447e82ad
sub ebx, 0x95ed05fb
add dword [ebp - 8], 0x5a05d065
mov edx, dword [esi]
xor dword [ebp - 8], 0xdbc4a198
sub edx, ebx
mov dword [edi], edx
mov dword [ebp - 8], 0x84faba5a
add edi, 0x22555994
sub edi, 0x22555990
add esi, 4
loop 0x10010ae6
add eax, 0xcc917b69
add eax, 0x336fb01a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x10014d90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1001f83c]
push dword [esp + 4]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x234]
call eax
test eax, eax
je 0x10014dd2
push 0x51b
push str.hprof_util.c
push str.Unable_to_get_necessary_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x10016400
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
xorps xmm0, xmm0
push edx
movups xmmword [edx], xmm0
mov eax, dword [0x1001f83c]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x22c]
call eax
test eax, eax
je 0x10016449
push 0x50e
push str.hprof_util.c
push str.Unable_to_get_potential_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret
Function at 0x100415a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x100415b5
pop dword [ebp - 0x24]
mov eax, 0x3131cd8e
sub eax, 0x212db7d9
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x8dd2f77a
sub dword [ebp - 0x34], 0x3f80b22f
mov dword [ebp - 0x30], 0x84790c14
add dword [ebp - 0x30], 0xadba4031
mov dword [ebp - 0x2c], 0x4d554e9c
sub dword [ebp - 0x2c], 0x1090a6e
mov dword [ebp - 0x28], 0xfdec044e
add dword [ebp - 0x28], 0x213fbb2
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xd0c61341
add dword [ebp - 0x34], 0xa3ac5615
mov dword [ebp - 0x30], 0x9eaeb8ee
add dword [ebp - 0x30], 0xa2bda887
mov dword [ebp - 0x2c], 0xa78659b7
add dword [ebp - 0x2c], 0xbbe912b5
mov dword [ebp - 0x28], 0xa3d1767c
add dword [ebp - 0x28], 0x5c2e8984
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3baee
push 0
call eax
mov ecx, 0x40f5
mov edi, eax
mov edx, 0xf54fb594
sub edx, 0xe5448794
add edx, dword [ebp - 0x24]
mov esi, 0xb107e42a
add esi, 0x1c1d20df
xor dword [ebp - 0x20], ecx
mov ebx, dword [edx]
sub dword [ebp - 0x18], edi
sub ebx, esi
add dword [ebp - 0xc], edi
mov dword [edi], ebx
mov dword [ebp - 0x14], 0xf8363de0
add edi, 0x4924ad84
sub edi, 0x4924ad80
add edx, 0xd2187c9f
add edx, 0x2de78365
loop 0x100416c7
add eax, 0xf6a7
xor ebx, ebx
add ebx, eax
add eax, 0xb673081
sub eax, 0xb67307c
mov ecx, 0x72399bd5
add ecx, 0x9dc6642b
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x4033f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x459210]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 4], 0
je 0x40341c
cmp dword [ebp - 0xc], 0
jne 0x403423
mov eax, 1
jmp 0x403490
mov dx, word [0x4618be]
add dx, 1
mov word [0x4618be], dx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
cmp dword [ebp + 8], 0
je 0x403454
push 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.00403b4c
add esp, 8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403472
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x10]
push edx
call fcn.00403494
add esp, 4
mov ax, word [0x4618be]
sub ax, 1
mov word [0x4618be], ax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40486f
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov dword [ebp - 0xc], 0x100
push 0x100
lea eax, [ebp - 0x30c]
push eax
mov ecx, dword [0x459430]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [str.CLSID0002CE21_0000_0000_C000_000000000046LocalServer32]
push eax
call fcn.0040482c
add esp, 8
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4048cf
jmp 0x40493d
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 0
mov edx, dword [ebp - 0x310]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x404901
mov eax, dword [ebp - 0x310]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x404a30
mov ecx, dword [ebp - 0x310]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x404919
xor eax, eax
jmp 0x404a30
lea edx, [ebp - 0x30c]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.0044c410
add esp, 8
test eax, eax
jne 0x40493d
mov eax, 1
jmp 0x404a30
push 1
call fcn.004053d8
add esp, 4
test eax, eax
je 0x404955
mov eax, 1
jmp 0x404a30
mov dword [ebp - 8], 0
jmp 0x404967
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 3
jge 0x404a2b
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x4501dc]
push ecx
call fcn.0040482c
add esp, 8
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x4501e8]
push ecx
call fcn.0040482c
add esp, 8
mov edx, dword [ebp - 4]
lea eax, [ebp + edx - 0x30c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0040482c
add esp, 8
lea edx, [ebp - 0x310]
push edx
lea eax, [ebp - 0x20c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4049e0
xor eax, eax
jmp 0x404a30
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x30c]
push edx
push 1
push 0
mov eax, dword [ebp - 0x310]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
test eax, eax
je 0x404a11
mov ecx, dword [ebp - 0x310]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x404a30
mov edx, dword [ebp - 0x310]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x404a26
xor eax, eax
jmp 0x404a30
jmp 0x40495e
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40534c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ax, word [0x4618be]
add ax, 1
mov word [0x4618be], ax
push 0
mov ecx, dword [0x459430]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe2]
push eax
push 0
push 0
push 0
push 0
push 0x46040000
push 0
push str.MtInsituFilterClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xea], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0xea], 0
jne 0x4053c6
push str.CreateInsitu_Failed_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.MtInsituFilterClass
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x4502d4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ax, word [0x4618be]
sub ax, 1
mov word [0x4618be], ax
pop ebp
ret
Function at 0x405a29
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov dword [ebp - 0x110], 0
cmp dword [ebp + 0xc], 0
je 0x405b0b
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x405b0b
lea ecx, [ebp - 8]
push ecx
push 0x10008
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x405b09
cmp dword [ebp - 0x114], 0
jne 0x405aff
mov dword [ebp - 4], 0x104
push 0
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0x103
jne 0x405adb
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x114], eax
jmp 0x405aff
cmp dword [ebp - 0x114], 0
jne 0x405afd
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00405a29
add esp, 8
mov dword [ebp - 0x114], eax
jmp 0x405a84
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x405b15
mov dword [ebp - 0x114], 0x3f2
mov eax, dword [ebp - 0x114]
mov esp, ebp
pop ebp
ret
Function at 0x4106bf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x10]
push eax
call fcn.00424bf1
add esp, 4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
test ecx, ecx
je 0x41073e
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41073e
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x459140]
mov edx, dword [ecx + 0x16]
push edx
call dword [sym.imp.GDI32.dll_PtVisible]
test eax, eax
je 0x41073e
mov eax, dword [0x459424]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x41074b
mov ecx, dword [0x459420]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov esp, ebp
pop ebp
ret

Function at 0x4109e1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx eax, ax
and eax, 0x8000
test eax, eax
je 0x410a09
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
test edx, edx
je 0x410a27
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
and ecx, 0x8000
test ecx, ecx
je 0x410a45
mov edx, dword [ebp - 4]
add edx, 8
mov dword [ebp - 4], edx
mov ax, word [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x414673
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov dword [ebp - 0x314], 0x100
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x318], 8
cmp dword [0x450c90], 1
jne 0x41475d
mov dword [0x450c90], 0
lea ecx, [ebp - 0x30c]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x310]
push edx
lea eax, [ebp - 0x304]
push eax
mov ecx, dword [0x457dac]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x414758
mov eax, dword [0x457dac]
add eax, 1
mov dword [0x457dac], eax
push 0x457da8
push 0x20019
push 0
lea ecx, [ebp - 0x304]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x414758
lea eax, [ebp - 0x304]
push eax
call fcn.00414d5e
add esp, 4
lea ecx, [ebp - 0x304]
push ecx
push 0x450cb8
mov edx, dword [ebp + 0x10]
push edx
call fcn.004173b0
add esp, 0xc
mov dword [ebp - 0x318], 0
jmp 0x4148cb
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x100]
push ecx
push 0
push 0
lea edx, [ebp - 0x310]
push edx
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [0x457db0]
push ecx
mov edx, dword [0x457da8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x4147db
mov eax, dword [0x457db0]
add eax, 1
mov dword [0x457db0], eax
lea ecx, [ebp - 0x100]
push ecx
lea edx, [ebp - 0x204]
push edx
push str._s_s
mov eax, dword [ebp + 0x10]
push eax
call fcn.004173b0
add esp, 0x10
mov dword [ebp - 0x318], 0
jmp 0x4148cb
cmp dword [ebp - 0x104], 0x103
jne 0x4148cb
mov dword [0x457db0], 0
mov dword [ebp - 0x310], 0x100
mov ecx, dword [0x457da8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x30c]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x304]
push ecx
mov edx, dword [0x457dac]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x4148b5
mov ecx, dword [0x457dac]
add ecx, 1
mov dword [0x457dac], ecx
push 0x457da8
push 0x20019
push 0
lea edx, [ebp - 0x304]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x4148b3
lea ecx, [ebp - 0x304]
push ecx
call fcn.00414d5e
add esp, 4
lea edx, [ebp - 0x304]
push edx
push str.__s_
mov eax, dword [ebp + 0x10]
push eax
call fcn.004173b0
add esp, 0xc
mov dword [ebp - 0x318], 0
jmp 0x4148cb
cmp dword [ebp - 0x104], 0x103
jne 0x4148cb
mov dword [ebp - 0x318], 1
cmp dword [ebp - 0x318], 0
je 0x4148f4
mov dword [0x450c90], 1
mov dword [0x457db0], 0
mov ecx, dword [0x457db0]
mov dword [0x457dac], ecx
mov eax, dword [ebp - 0x318]
mov esp, ebp
pop ebp
ret
Function at 0x4148fe
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
mov dword [ebp - 0x108], 0
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x5b
jne 0x4149c7
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp edx, 0x5d
je 0x414947
jmp 0x414931
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00414b80
add esp, 4
mov edi, dword [ebp + 0xc]
mov edx, 0x457ca8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x457ca8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4149c2
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414aad
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x414aad
lea ecx, [ebp - 0x108]
push ecx
push 0xf003f
push 0
push 0x457ca8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414aad
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp edx, 0x3d
je 0x414a16
jmp 0x414a00
mov edi, dword [ebp - 4]
lea edx, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x208]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [ebp - 0x104]
push ecx
push 1
push 0
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret