joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ffbc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000ba00
lea ecx, [ebp - 0x18]
call fcn.1000b9c0
lea ecx, [ebp - 0x14]
call fcn.1000b9c0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.100a5830
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x100ffc44
mov edx, dword [ebp + 0x10]
push edx
push 0x101cde08
lea ecx, [ebp - 0x48]
call fcn.100ac3e0
mov ecx, eax
call fcn.10099a20
lea ecx, [ebp - 0x48]
call fcn.10016fd0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x14]
call fcn.1000ba80
lea ecx, [ebp - 0x18]
call fcn.1000ba80
lea ecx, [ebp - 0x1c]
call fcn.1000ba80
mov eax, dword [ebp - 0x4c]
jmp 0x100ffd93
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.10007fa0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x14]
push edx
call fcn.1000b9e0
call fcn.100a56d0
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100ffcd4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x14]
call fcn.1000ba80
lea ecx, [ebp - 0x18]
call fcn.1000ba80
lea ecx, [ebp - 0x1c]
call fcn.1000ba80
mov eax, dword [ebp - 0x54]
jmp 0x100ffd93
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.10094bf0
movzx edx, word [ebp - 0x30]
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 3
je 0x100ffd3f
cmp dword [ebp - 0x5c], 5
je 0x100ffd3f
cmp dword [ebp - 0x5c], 8
je 0x100ffcfb
jmp 0x100ffd5f
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000ba00
lea ecx, [ebp - 0x34]
call fcn.1000bae0
shl eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.10007fa0
push eax
push 1
push 0
lea ecx, [ebp - 0x18]
call fcn.10007fa0
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x34]
call fcn.1000ba80
jmp 0x100ffd5f
push 4
lea edx, [ebp - 0x28]
push edx
push 4
push 0
lea ecx, [ebp - 0x18]
call fcn.10007fa0
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x30]
call fcn.10016fd0
lea ecx, [ebp - 0x14]
call fcn.1000ba80
lea ecx, [ebp - 0x18]
call fcn.1000ba80
lea ecx, [ebp - 0x1c]
call fcn.1000ba80
mov eax, dword [ebp - 0x58]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10100390
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000ba00
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 4]
call fcn.1000ba00
lea ecx, [ebp - 0x14]
call fcn.10008000
movzx edx, al
test edx, edx
je 0x101003dc
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 4]
call fcn.1000ba80
lea ecx, [ebp - 0x14]
call fcn.1000ba80
mov eax, dword [ebp - 0x18]
jmp 0x10100538
push 4
call fcn.1016683f
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x101003fc
mov ecx, dword [ebp - 0x1c]
call fcn.10105050
mov dword [ebp - 0x30], eax
jmp 0x10100403
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x14]
call fcn.1000bae0
lea ecx, [eax + eax + 2]
push ecx
push 0
lea ecx, [ebp - 0x14]
call fcn.1000bac0
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
call eax
cmp dword [ebp - 0x10], 0
jne 0x10100462
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 4]
call fcn.1000ba80
lea ecx, [ebp - 0x14]
call fcn.1000ba80
mov eax, dword [ebp - 0x20]
jmp 0x10100538
lea ecx, [ebp - 4]
call fcn.10008000
movzx ecx, al
test ecx, ecx
je 0x101004a6
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
push eax
call fcn.10169dec
add esp, 4
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 4]
call fcn.1000ba80
lea ecx, [ebp - 0x14]
call fcn.1000ba80
mov eax, dword [ebp - 0x24]
jmp 0x10100538
mov dword [ebp - 8], 0
push 0x101cde4c
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.1016bf8e
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.10169dec
add esp, 4
cmp dword [ebp - 8], 0
jne 0x101004f0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 4]
call fcn.1000ba80
lea ecx, [ebp - 0x14]
call fcn.1000ba80
mov eax, dword [ebp - 0x28]
jmp 0x10100538
mov ecx, dword [ebp - 8]
push ecx
push 2
lea ecx, [ebp - 4]
call fcn.1000bae0
push eax
push 0
lea ecx, [ebp - 4]
call fcn.1000bac0
push eax
call fcn.1016dbff
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
call fcn.1016bd74
add esp, 4
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 4]
call fcn.1000ba80
lea ecx, [ebp - 0x14]
call fcn.1000ba80
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x101016f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a5625
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.100de0f0
add esp, 8
mov dword [ebp - 4], 0
push 0x101ce260
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.1008d070
add esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x10]
call fcn.10007fa0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x10101889
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x27c]
push eax
call fcn.1008d070
add esp, 0xc
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
call fcn.10007f90
push eax
call fcn.100a6d10
mov dword [ebp - 0x274], eax
lea ecx, [ebp - 0x27c]
call fcn.1000ba80
cmp dword [ebp - 0x274], 0
jne 0x101017bc
jmp 0x10101870
push 0x101ce27c
mov ecx, dword [ebp - 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
jne 0x101017ef
mov edx, dword [ebp - 0x274]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10101870
call dword [ebp - 0x270]
movzx eax, al
test eax, eax
jne 0x1010180b
mov ecx, dword [ebp - 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10101870
cmp dword [ebp + 8], 0
je 0x1010182b
push 0x101ce288
mov edx, dword [ebp - 0x274]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x278], eax
jmp 0x10101843
push 0x101ce29c
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
jne 0x1010185b
mov ecx, dword [ebp - 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10101870
call dword [ebp - 0x278]
mov edx, dword [ebp - 0x274]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10101889
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1010176c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000ba80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret
Function at 0x10101cf0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 5
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x223
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x1c], 0
je 0x10101d9d
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x10101d93
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 8], 0
je 0x10101dc8
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x10101dbe
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x1c], 0
jne 0x10101ddd
cmp dword [ebp - 8], 0
jne 0x10101ddd
mov dword [ebp - 0x20], 0
jmp 0x10101de4
mov dword [ebp - 0x20], 1
mov al, byte [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret
Function at 0x10102f80
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a581b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10222354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
push eax
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10102fe1
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.10165c5a
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
jmp 0x10102fff
push 0x101ce388
mov ecx, dword [ebp + 8]
call fcn.1000ba00
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
jmp 0x101030de
lea ecx, [ebp - 0x1c]
call fcn.1000b9c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x10103052
push 0x101ce38c
mov ecx, dword [ebp + 8]
call fcn.1000ba00
mov ecx, dword [ebp - 0x28]
or ecx, 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1000ba80
mov eax, dword [ebp + 8]
jmp 0x101030de
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x199]
push eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x198]
push edx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x197]
push ecx
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x196]
push eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x195]
push edx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x194]
push ecx
push str._02x_02x_02x_02x_02x_02x
lea edx, [ebp - 0x1c]
push edx
call fcn.1000adf0
add esp, 0x20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.101662ff
add esp, 4
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000b9e0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1000ba80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x101181b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a6ce2
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x83c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10008000
movzx eax, al
test eax, eax
je 0x10118218
mov byte [ebp - 0x835], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000ba80
mov al, byte [ebp - 0x835]
jmp 0x101183ec
mov dword [ebp - 0x828], 0
lea ecx, [ebp - 0x820]
push ecx
call fcn.100e1260
add esp, 4
mov byte [ebp - 4], 1
push 0x101d1708
lea ecx, [ebp - 0x820]
call fcn.100240f0
lea edx, [ebp - 0x828]
push edx
lea eax, [ebp - 0x824]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
lea ecx, [ebp - 0x820]
call fcn.10007fa0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x824], 0
jne 0x101182b0
mov byte [ebp - 0x836], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x820]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000ba80
mov al, byte [ebp - 0x836]
jmp 0x101183ec
lea ecx, [ebp - 0x81c]
call fcn.10003f70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x824]
push ecx
lea ecx, [ebp - 0x81c]
call fcn.10004000
mov dword [ebp - 0x82c], 0x400
mov dword [ebp - 0x830], 0
jmp 0x10118300
mov edx, dword [ebp - 0x830]
add edx, 1
mov dword [ebp - 0x830], edx
mov dword [ebp - 0x82c], 0x400
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x814]
push ecx
mov edx, dword [ebp - 0x830]
push edx
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 0x103
je 0x101183a7
lea ecx, [ebp + 8]
call fcn.10007fa0
push eax
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp - 0x83c]
call fcn.101202f0
test eax, eax
je 0x101183a2
lea ecx, [ebp - 0x81c]
call fcn.100040f0
mov byte [ebp - 0x837], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x81c]
call fcn.10003fa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x820]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000ba80
mov al, byte [ebp - 0x837]
jmp 0x101183ec
jmp 0x101182e7
lea ecx, [ebp - 0x81c]
call fcn.100040f0
mov byte [ebp - 0x838], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x81c]
call fcn.10003fa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x820]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000ba80
mov al, byte [ebp - 0x838]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret 4
Function at 0x10119ac0
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10119b16
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [ebp + 8]
push ecx
push 0x101e8f50
push 4
push 0
push 0x101e8f90
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10119b16
movzx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0xa4]
call edx
mov eax, 1
jmp 0x10119b18
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10120690
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a72f7
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x12c], 0
push 0x110
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.10166680
add esp, 0xc
mov dword [ebp - 0x12c], 0x114
lea ecx, [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x128], 5
jne 0x1012070f
cmp dword [ebp - 0x124], 0
jne 0x1012070f
jmp 0x10120810
cmp dword [ebp + 8], 0
jne 0x101207b7
push 0
lea ecx, [ebp - 0x130]
call fcn.10016b60
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x130]
call fcn.10132e20
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x1b4]
add eax, 1
mov ecx, dword [ebp - 0x134]
mov dword [ecx + 0x1b4], eax
mov edx, dword [ebp - 0x134]
cmp dword [edx + 0x1b4], 1
jne 0x101207a3
mov eax, dword [ebp - 0x134]
mov byte [eax + 0x188], 1
push 0
lea ecx, [ebp - 0x130]
call fcn.10016bb0
push eax
mov ecx, dword [ebp - 0x134]
add ecx, 4
call fcn.100d11d0
push 0
mov ecx, dword [ebp - 0x134]
add ecx, 4
call fcn.1012eb10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.10016b80
jmp 0x10120810
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x1b4]
sub edx, 1
mov eax, dword [ebp - 0x134]
mov dword [eax + 0x1b4], edx
mov ecx, dword [ebp - 0x134]
cmp dword [ecx + 0x1b4], 0
jg 0x10120810
push 1
push 0
mov ecx, dword [ebp - 0x134]
add ecx, 4
call fcn.100d11d0
push 1
mov ecx, dword [ebp - 0x134]
add ecx, 4
call fcn.1012eb10
mov edx, dword [ebp - 0x134]
mov byte [edx + 0x188], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret 4
Function at 0x10128ca0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7b20
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x44], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
call fcn.1000b9c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1000b9c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.101190e0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x24]
call fcn.10008000
movzx edx, al
test edx, edx
je 0x10128d38
lea ecx, [ebp - 0x18]
call fcn.10008000
movzx eax, al
test eax, eax
jne 0x10128d8b
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.10119650
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x10128d8b
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x1c], 1
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
je 0x10128e0a
push 0x17
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.CLIPBRDWNDCLASS
lea eax, [ebp - 0x74]
push eax
call fcn.10166776
add esp, 8
test eax, eax
jne 0x10128de4
lea ecx, [ebp - 0x24]
call fcn.10008000
movzx ecx, al
test ecx, ecx
je 0x10128ddb
lea ecx, [ebp - 0x18]
call fcn.10008000
movzx edx, al
test edx, edx
jne 0x10128de4
mov byte [0x10228ca8], 1
jmp 0x10128deb
mov byte [0x10228ca8], 0
movzx eax, byte [0x10228ca8]
cmp eax, 1
jne 0x10128e08
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x1c], 1
jmp 0x10128e11
mov byte [0x10228ca8], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000ba80
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1012a760
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7d13
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10222354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x278], 0
je 0x1012a7a2
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + 0x414]
test edx, edx
jne 0x1012a7a7
jmp 0x1012a92b
mov dword [ebp - 0x10], 0
jmp 0x1012a7b9
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x278]
add ecx, 0x110
call fcn.1002bb40
cmp dword [ebp - 0x10], eax
jae 0x1012a92b
mov dword [ebp - 0x14], 0
push 4
call fcn.1016683f
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1012a7fd
mov ecx, dword [ebp - 0x20]
call fcn.10105050
mov dword [ebp - 0x2c], eax
jmp 0x1012a804
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
push 0xfde9
push 0x21
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x278]
add ecx, 0x110
call fcn.1002bb60
mov edx, dword [eax]
add edx, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.1000b9e0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.10114bc0
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
push 0x101d32c0
lea ecx, [ebp - 0x18]
call fcn.1000bae0
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp - 0x18]
call fcn.10007fa0
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1012a8ac
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x278]
add ecx, 0x110
call fcn.1002bb60
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1012a8cb
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xc4
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc4]
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x278]
add ecx, 0x110
call fcn.1002bb60
mov edx, dword [eax]
cmp dword [edx + 0x28], 0
je 0x1012a8fe
cmp dword [0x10228cb4], 1
jg 0x1012a8fe
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10169dec
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000ba80
jmp 0x1012a7b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1012d7a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push str.MiniBrowserOLOLO
lea ecx, [ebp - 8]
call fcn.1000ba00
push 0
lea ecx, [ebp - 8]
call fcn.10007f90
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1012d80a
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1012d7ee
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [ebp - 8]
call fcn.10007f90
push eax
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 4], eax
jmp 0x1012d7ce
lea ecx, [ebp - 8]
call fcn.1000ba80
mov esp, ebp
pop ebp
ret

Function at 0x10142c50
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
mov eax, dword [0x102249c8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x102249c8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x102249c8], 0
movzx edx, word [ebp + 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.10143020
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10