joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407a9d
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x416040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x407ae8
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00407c38
test al, al
jne 0x407ae2
sub edx, 2
cmp edx, edi
jne 0x407ac8
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x407b0a
lea eax, [edi + 2]
cmp edx, eax
je 0x407b0a
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004079e9
add esp, 0x10
jmp 0x407c04
push esi
lea ecx, [ebp - 0x255]
call fcn.00407c38
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407b4d
push dword [ebp - 0x25c]
jmp 0x407afa
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x407b8a
cmp word [ebp - 0x226], 0
je 0x407bab
cmp word [ebp - 0x226], ax
jne 0x407b8a
cmp word [ebp - 0x224], 0
je 0x407bab
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004079e9
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x407bf7
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x407b64
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x407bdf
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x407c04
push 0x407819
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040a830
add esp, 0x10
jmp 0x407bd4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040223d
leave
ret

Function at 0x409779
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41123c
push 0x411234
push str.FlsAlloc
push 0x1f
call fcn.004096b4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4097ad
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f180]
call esi
jmp 0x4097b3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4097f7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41124c
push 0x411244
push str.FlsGetValue
push 0x21
call fcn.004096b4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40982e
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f180]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x409836
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411254
push 0x41124c
push str.FlsSetValue
push 0x22
call fcn.004096b4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409870
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40f180]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40e550
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e57d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e57d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100022de
pop dword [ebp - 0x10]
mov eax, 0x100022de
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x752b4918
add dword [ebp - 0x20], 0xd926fc33
mov dword [ebp - 0x1c], 0x5d2d7e7d
add dword [ebp - 0x1c], 0xd505cdc8
mov dword [ebp - 0x18], 0x1f5d471
add dword [ebp - 0x18], 0x4a566fbd
mov dword [ebp - 0x14], 0x5277968f
sub dword [ebp - 0x14], 0x5277968f
lea eax, [ebp - 0x20]
push eax
mov eax, 0x6044f6ad
sub eax, 0x5044c6a9
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xef7b4a1e
add dword [ebp - 0x20], 0x84f71f38
mov dword [ebp - 0x1c], 0x57aab441
add dword [ebp - 0x1c], 0xe9c1ad34
mov dword [ebp - 0x18], 0xbd3c77ce
sub dword [ebp - 0x18], 0x59cd0b62
mov dword [ebp - 0x14], 0xc9b13c69
add dword [ebp - 0x14], 0x364ec397
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x54155de2
add eax, 0xbbead226
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x38002
push 0
call eax
mov ecx, 0x64c2ee2f
add ecx, 0x9b3d5fdf
xor edi, edi
add edi, eax
mov edx, 0x475dd7cb
sub edx, 0x375d75cb
add edx, dword [ebp - 0x10]
mov esi, 0xe8f2b839
sub esi, 0x96400cf6
add dword [ebp - 0xc], edx
mov ebx, dword [edx]
sub dword [ebp - 0xc], 0xaad75167
xor ebx, esi
sub dword [ebp - 0xc], edx
mov dword [edi], ebx
add dword [ebp - 4], 0xcac8e7e4
add edi, 0x8a7e5409
sub edi, 0x8a7e5405
add edx, 0xc8416c39
sub edx, 0xc8416c35
loop 0x100023fd
add eax, 0xaec9c7e4
add eax, 0x51376327
xor ebx, ebx
add ebx, eax
add eax, 0x2d267055
sub eax, 0x2d267050
mov ecx, 0xf2e1c981
sub ecx, 0xe2e1c981
add ecx, dword [ebp - 0x10]
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f030]
jne 0x401116
repz ret
jmp fcn.00401b11

Function at 0x408edc
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.004047d5
and dword [ebp - 4], 0
cmp dword [0x45178c], 0
mov ebx, eax
jne 0x408f8d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40903e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40903e
push eax
call fcn.00404763
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45178c], eax
call esi
push eax
call fcn.00404763
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x451790], eax
call esi
push eax
call fcn.00404763
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x451794], eax
call esi
push eax
call fcn.00404763
pop ecx
mov dword [0x45179c], eax
test eax, eax
je 0x408f8d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404763
pop ecx
mov dword [0x451798], eax
mov eax, dword [0x451798]
cmp eax, ebx
je 0x408fe5
cmp dword [0x45179c], ebx
je 0x408fe5
push eax
call fcn.004047de
push dword [0x45179c]
mov esi, eax
call fcn.004047de
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408fe5
test edi, edi
je 0x408fe5
call esi
test eax, eax
je 0x408fdc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408fdc
test byte [ebp - 0xc], 1
jne 0x408fe5
or dword [ebp + 0x10], 0x200000
jmp 0x40901e
mov eax, dword [0x451790]
cmp eax, ebx
je 0x40901e
push eax
call fcn.004047de
pop ecx
test eax, eax
je 0x40901e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40901e
mov eax, dword [0x451794]
cmp eax, ebx
je 0x40901e
push eax
call fcn.004047de
pop ecx
test eax, eax
je 0x40901e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45178c]
call fcn.004047de
pop ecx
test eax, eax
je 0x40903e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409040
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b0e0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x44f030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2b0a1cc]
push ebx
mov ebx, dword [0x2b09eec]
push esi
mov esi, dword [0x44ff60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b121
push 0x44d530
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x2b0a1cc]
mov dword [0x2b09ee8], esi
cmp eax, 0x114e
jne 0x40b14b
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.durinarusunavabaxomoyowev
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2b0a1cc]
cmp eax, 0x2f
jne 0x40b16d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
call fcn.0040b050
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x10007faf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10007fbe
pop dword [ebp - 0x48]
mov eax, 0x10007fbe
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x86f55903
add dword [ebp - 0x58], 0xc75cec48
mov dword [ebp - 0x54], 0xa979b050
sub dword [ebp - 0x54], 0x7746640b
mov dword [ebp - 0x50], 0x2d0ead95
sub dword [ebp - 0x50], 0xe0c26967
mov dword [ebp - 0x4c], 0x5a7f01d8
add dword [ebp - 0x4c], 0xa580fe28
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x6eebf039
sub dword [ebp - 0x58], 0xfa7986e3
mov dword [ebp - 0x54], 0x29bba5c3
sub dword [ebp - 0x54], 0xe84f444e
mov dword [ebp - 0x50], 0x555fc63c
add dword [ebp - 0x50], 0xe0fa630
mov dword [ebp - 0x4c], 0x4ed65638
add dword [ebp - 0x4c], 0xb129a9c8
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xd580b8b0
sub eax, 0xc57ef8b0
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3b5c7
push 0
call eax
mov ecx, 0x6f12cabb
sub ecx, 0x6f127346
xor esi, esi
add esi, eax
mov edi, 0x10026800
add edi, dword [ebp - 0x48]
mov ebx, 0xcef3f65e
add ebx, 0x9e306d2b
xor dword [ebp - 0x30], 0x475e1e5e
mov edx, dword [edi]
add dword [ebp - 0x44], 0x57adfb07
add edx, ebx
mov dword [ebp - 0x34], 0x99474d6c
mov dword [esi], edx
xor dword [ebp - 0x18], eax
add esi, 4
add edi, 0xb049005a
sub edi, 0xb0490056
loop 0x100080d2
add eax, 0x150a7
mov ebx, eax
add eax, 0x47c6c3bc
add eax, 0xb8393c49
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x10008fc4
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x1000
mov dword [esp + 0x14], ebp
call sub.glib_lite.dll_Ordinal_406
mov esi, dword [esp + 0x1c]
mov edi, eax
mov ebx, dword [esp + 0x20]
pop ecx
mov dword [ebx], ebp
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x11c]
sbb ecx, dword [esi + 0x114]
add eax, 0xffffffff
adc ecx, 0xffffffff
cmp ecx, ebp
ja 0x1000901f
jb 0x10009011
cmp eax, 0xffe
ja 0x1000901f
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
jmp 0x10009024
mov eax, 0x1000
test edi, edi
je 0x1000909a
push ebp
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push dword [esi + 0x104]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x10009093
push sub.glib_lite.dll_Ordinal_109
push edi
push dword [esp + 0x18]
push ebp
push 0x1000
push edi
push ebp
call sub.gstreamer_lite.dll_Ordinal_25
add esp, 0x1c
mov dword [ebx], eax
test eax, eax
je 0x10009072
mov ecx, dword [esi + 0x110]
mov dword [eax + 0x40], ecx
mov ecx, dword [esi + 0x114]
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esi + 0x110]
push 0
pop edx
adc edx, dword [esi + 0x114]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], edx
jmp 0x1000909e
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1000c61c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x1000c5ca
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 4
cmp dword [ebp - 4], edx
jae 0x1000c64a
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, 0xba
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 5
ja case.0x1000c5f0.2
mov edx, dword [ebp - 8]
jmp dword [edx*4 + 0x1000c6e0]
fxch st(1)
fcomp qword [ecx + 8]
fnstsw ax
test ah, 0x44
jp 0x1000c691
jmp case.0x1000c5f0.2
test eax, 0x97675706
test al, al
jne 0x1000c691
xor eax, eax
pop esi
ret
push esi
mov esi, ecx
call fcn.10014740
jmp case.0x1000c5f0.2
fld qword [0x1000c6bc]
fcom qword [ecx]
fnstsw ax
test ah, 0x44
jp case.0x1000c681.0
fld qword [0x1000c6c4]
fcom qword [ecx + 0x10]
fnstsw ax
test ah, 0x44
jp case.0x1000c5f0.4
jmp 0x1000c5c1
dec dword [ebx + 0x45890845]
hlt
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jmp 0x1000c65b
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
sub edx, 4
cmp dword [ebp - 0xc], edx
jbe 0x1000c6d9
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0xb9
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 5
ja case.0x1000c681.2
mov edx, dword [ebp - 0x10]
jmp dword [edx*4 + 0x1000c6f8]
ja case.0x1000c5f0.0
jmp case.0x1000c681.2
ja 0x1000c705
ja 0x1000c649
mov edx, 0x59dc517e
sbb bh, bl
loopne 0x1000c68d
jle 0x1000c6e2
fcomp qword [ecx + 0x18]
fnstsw ax
test ah, 0x44
jp case.0x1000c5f0.0
les eax, [edx + edi*2 - 0x75]
jmp case.0x1000c681.2
in eax, dx
mov dh, 0x9f
push ecx
mov ebp, 0x7e8ce8b
out 0xff, al
dec dword [ebx - 0x143ca1fa]
and eax, 0x1b8
mov eax, 1
ret
fstp st(0)
fstp st(0)
xor eax, eax
ret
mov eax, 1
ret
jmp 0x1000c652
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add byte [eax], dl
test ebp, 0xc6451000
add byte [eax], dl
inc ebp
mov byte [eax], 16
sbb al, 0xc6
add byte [eax], dl
or esi, eax
add byte [eax], dl
scasd eax, dword es:[edi]
mov byte [eax], 16
mov esi, es
add byte [eax], dl
aam 0xc6
add byte [eax], dl
aam 0xc6
add byte [eax], dl
mov byte [eax], 0x10
popfd
mov byte [eax], 16
mov dh, al
add byte [eax], dl
Function at 0x40f0f0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57aa55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x240
push esi
push edi
push 0x27
mov edi, ecx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.SEJjbahstbBR4_uIxEPgFBIgPKzgyYMB4noMAY
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
call fcn.0042cb00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.dzQx9Vid32cCYHeZ0U5cBVE
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.0042cb00
push 0x104
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.004306a0
lea ecx, [ebp - 0x14]
call fcn.00446d80
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40f1db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40f20c
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x59359c
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov dword [edi + 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40f242
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f238
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f28d
push ecx
push edx
call fcn.00550d24
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40f278
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f26e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f28d
push ecx
push edx
call fcn.00550d24
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00555bff
int3
Function at 0x411ac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57adc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [ecx + 0x2c]
push ebx
push esi
push edi
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x30]
push 0x17
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
mov dword [ebp - 4], 0
test eax, eax
setne bl
inc ebx
mov dword [ebp - 0x1c], ebx
call fcn.00430c90
mov ecx, eax
test ecx, ecx
je 0x411c41
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
call fcn.00430c90
mov ecx, eax
test ecx, ecx
je 0x411c4b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x14]
mov edi, 0xc8
mov byte [ebp - 4], 3
mov ecx, edi
mov eax, dword [esi + 0x50]
cmp edi, 0xc8
cmovne edi, ecx
cmp dword [eax + 8], 0
je 0x411bd1
push ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x411bd1
cmp byte [0x5c6d3c], 0
je 0x411bd1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetPhysicalCursorPos]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_WindowFromPoint]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
call fcn.004699f0
test al, al
je 0x411bd1
push ecx
mov ecx, dword [ebp - 0x10]
mov ebx, esp
mov dword [ebp - 0x14], ebx
lea ecx, [ecx - 0x10]
call fcn.004305b0
add eax, 0x10
mov ecx, esi
mov dword [ebx], eax
call fcn.00417f30
mov ebx, dword [ebp - 0x1c]
test al, al
mov eax, 0x1b7740
cmovne edi, eax
push edi
push 0
lea eax, [ebp - 0x30]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x411bf9
mov ecx, 0xc8
cmp eax, 1
jne 0x411b50
mov edi, ecx
jmp 0x411b50
mov edx, dword [ebp - 0x20]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411c16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x411c2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00431210
push 0x80004005
call fcn.00431210
int3
Function at 0x414f70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57b3d5
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp byte [0x5ccaf0], 0
push esi
push edi
mov edi, ecx
jne 0x414fef
mov esi, dword [ebp + 8]
push 8
mov byte [0x5ccaf0], 1
call fcn.00550cf4
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax], edi
mov dword [eax + 4], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x426360
push 0
push 0
call fcn.0055bf98
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x415006
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042d950
cmp dword [ebp - 0x14], 0
jne 0x415001
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00555db5
push 6
mov dword [ebp - 0x14], 0
call fcn.0053b2f5
int3
Function at 0x415bf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
mov esi, ecx
push 0
mov eax, dword [esi]
mov eax, dword [eax]
push dword [eax + 4]
mov byte [eax + 0x98], 1
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 8]
mov dword [esp + 8], 0x3a98
mov dword [esp + 0xc], 0
call fcn.0042ce50
mov eax, dword [esi]
mov eax, dword [eax]
mov byte [eax + 0x98], 0
mov ecx, dword [esi]
mov ecx, dword [ecx]
call fcn.005271c0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4201e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c855
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
mov dword [ebp - 0x28], ecx
xorps xmm0, xmm0
push str.M3dFoRGAYkIzBEXFjchUbycGMBUMHFFjBcEBSA
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.0042cb00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.NW1hFVUYZQACFAxHg
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0042cb00
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.004306a0
lea ecx, [ebp - 0x1c]
call fcn.00446d80
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4202ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x42032f
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.004306a0
lea ecx, [ebp - 0x20]
call fcn.00446d80
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x420320
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x110], esi
cmp ecx, 8
jb 0x42036e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420364
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4203b9
push ecx
push edx
call fcn.00550d24
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x4203a4
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42039a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4203b9
push ecx
push edx
call fcn.00550d24
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00555bff
int3