joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f008]
jne 0x40100a
repz ret
jmp fcn.00401a7b

Function at 0x40613a
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.0040350a
and dword [ebp - 4], 0
cmp dword [0x42155c], 0
mov ebx, eax
jne 0x4061eb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40629c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40629c
push eax
call fcn.00403498
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42155c], eax
call esi
push eax
call fcn.00403498
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x421560], eax
call esi
push eax
call fcn.00403498
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x421564], eax
call esi
push eax
call fcn.00403498
pop ecx
mov dword [0x42156c], eax
test eax, eax
je 0x4061eb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403498
pop ecx
mov dword [0x421568], eax
mov eax, dword [0x421568]
cmp eax, ebx
je 0x406243
cmp dword [0x42156c], ebx
je 0x406243
push eax
call fcn.00403513
push dword [0x42156c]
mov esi, eax
call fcn.00403513
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406243
test edi, edi
je 0x406243
call esi
test eax, eax
je 0x40623a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40623a
test byte [ebp - 0xc], 1
jne 0x406243
or dword [ebp + 0x10], 0x200000
jmp 0x40627c
mov eax, dword [0x421560]
cmp eax, ebx
je 0x40627c
push eax
call fcn.00403513
pop ecx
test eax, eax
je 0x40627c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40627c
mov eax, dword [0x421564]
cmp eax, ebx
je 0x40627c
push eax
call fcn.00403513
pop ecx
test eax, eax
je 0x40627c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42155c]
call fcn.00403513
pop ecx
test eax, eax
je 0x40629c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40629e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41aa90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x41f008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80c], eax
cmp ebx, 0x182
jne 0x41aac5
lea ecx, [ebp - 0x82c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
jmp 0x41aad5
cmp ebx, 0x19f
jne 0x41aad5
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push edi
xor edi, edi
test ebx, ebx
jle 0x41ab71
push esi
jmp 0x41aaf0
lea esi, [ebp - 0x808]
mov dword [ebp - 0x808], 0
call fcn.0041aa80
mov dl, byte [ebp - 0x808]
mov eax, dword [ebp - 0x80c]
xor byte [eax + edi], dl
cmp ebx, 0xf
jne 0x41ab6b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaAvailableMemoryNode]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push str.lofumace
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push str.juhijit
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
inc edi
cmp edi, ebx
jl 0x41aaf0
pop esi
pop edi
cmp ebx, 0x2d
jne 0x41ab8b
mov dword [0x517248], 0xa62e7790
mov dword [0x51724c], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x41aba0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x41f008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x517114]
push ebx
push esi
mov esi, dword [0x516f5c]
mov ebx, eax
cmp eax, 0x5dd
jne 0x41abdd
push 0
lea eax, [ebp - 0x404]
push eax
push str.lasawisocokezozibiyato
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x420300]
call fcn.0041aa50
cmp dword [0x517114], 0x2f
jne 0x41abf8
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.0041aa90
add esp, 4
cmp dword [0x517114], 0x568
pop esi
pop ebx
jne 0x41ac2a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebp - 0x408]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x1000560c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x102bd807
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x1000564a
push 0x24
push 0x4242651
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x100057a4
call fcn.100057aa
mov dword [0x102bd7cf], eax
mov eax, 0x1010b3e2
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.100020ba
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10005685
push ebx
call fcn.10101422
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x102bd803], eax
push htons
push 0
push 0x1010b3e2
push 1
mov ebx, 0x194
call fcn.10102400
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 4]
push eax
push 0x40
push dword [ebp - 8]
push dword [0x102bd803]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100056e9
push 0x104
push 0x4242651
push 6
call fcn.1010142e
add esp, 0xc
fild dword [0x102bd803]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x1010b510]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.1000144d
push eax
push 0x20
push dword [0x102bd803]
call fcn.10001ef5
push htons
push 0
push 0x1010b3e2
push 1
mov ebx, 0x194
call fcn.10102400
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.10102770
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [0x102bd803]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100057a4
push 0x1a0
push 0x4242651
push 6
call fcn.1010142e
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x100083eb
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x1000849f
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.1000837b
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x10008478
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100084ab
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x100084c6
test ebp, ebp
je 0x100084c6
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x100084ce
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x1000850e
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x1000856a
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x10008565
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10008550
test dl, dl
je 0x1000854c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10008550
add ecx, 2
add eax, 2
test dl, dl
jne 0x10008530
xor eax, eax
jmp 0x10008555
sbb eax, eax
or eax, 1
test eax, eax
je 0x10008574
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x1000851d
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x1000858b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.100083eb
test eax, eax
jne 0x100085a3
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.100084ab
mov esi, eax
test esi, esi
jne 0x100085d9
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x100085f3
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x100086eb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.100083eb
mov esi, eax
test esi, esi
jne 0x10008709
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.100084ab
mov dword [esp + 0x18], eax
test eax, eax
je 0x10008701
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.100084ab
mov dword [esp + 0x34], eax
test eax, eax
je 0x10008701
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.100084ab
mov dword [esp + 0x28], eax
test eax, eax
je 0x10008701
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.100084ab
mov dword [esp + 0x30], eax
test eax, eax
je 0x10008701
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x100088d0
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x100088d0
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10008833
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x100088b4
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x10008856
movzx esi, ax
jmp 0x1000885b
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1000887a
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x10008889
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x100088dd
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x1000884b
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x10008810
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x10008906
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x10008906
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x100088eb
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x1000891b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.100083eb
mov esi, eax
test esi, esi
je 0x100089d7
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.100084ab
mov ebp, eax
test ebp, ebp
je 0x100089d6
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.100084ab
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x100089d6
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x100089d6
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100089d5
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x100089bb
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x1000cd9c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x1000ce4f
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x1000e46a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x1000e48d
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x1000e48d
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x1000e497
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x1000e4d9
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x1000e53b
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x1000e536
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1000e521
test dl, dl
je 0x1000e51d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000e521
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000e501
xor eax, eax
jmp 0x1000e526
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000e547
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x1000e4ee
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
Function at 0x10020d17
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], esp
mov eax, 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0x13
call dword [0x102bdaeb]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x10020d64
push 0
push 0x4242a05
push 6
call fcn.1010142e
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x10020de5
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 0
push 2
mov ebx, 0xc8
call fcn.10102770
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xffff
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10020dcc
push 0x92
push 0x4242a05
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
setne al
jmp 0x10020e65
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push dword [ebp + 8]
call fcn.1000ce8a
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
call dword [0x102bdaef]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10020e51
push 0x104
push 0x4242a05
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
mov eax, 0
sete al
jmp 0x10020e65
mov esp, ebp
pop ebp
ret 4
Function at 0x1002a70f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x28
call fcn.10101428
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 8
call fcn.10101428
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
mov dword [ebp - 8], esp
mov eax, dword [ebp - 4]
push eax
push 0x24
call fcn.10101428
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov dword [edi], ebx
add edi, 4
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x1002a812
push 0x49
push 0x4242a11
push 6
call fcn.1010142e
add esp, 0xc
mov ebx, dword [ebp - 0xc]
push ebx
mov edi, dword [ebp - 0x10]
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
add edi, 4
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.10101422
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
jmp 0x1002a8b1
push eax
mov ebx, dword [ebp - 4]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10101422
add esp, 4
pop ebx
call fcn.10101422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x10033c4b
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10033c90
push 0
push 0x4242bf8
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 0xc], esp
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10033cbe
push 0x35
push 0x4242bf8
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
call dword [sym.imp.USER32.dll_CloseClipboard]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10033cea
push 0x52
push 0x4242bf8
push 6
call fcn.1010142e
add esp, 0xc
push dword [ebp - 4]
call fcn.10033d6e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10033d09
push ebx
call fcn.10101422
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [0x102bdb6b]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10033d39
push 0x99
push 0x4242bf8
push 6
call fcn.1010142e
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x10033d53
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10101428
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10033d58
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10033d69
push ebx
call fcn.10101422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x10036113
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x10036148
push 0x24
push 0x4242a64
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 8], eax
push 0x10
mov eax, dword [ebp - 8]
cwde
cdq
push edx
push eax
call fcn.100302a7
jmp 0x100361a2
mov esp, ebp
pop ebp
ret 4
Function at 0x10039e8e
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
and eax, 1
leave
ret
Function at 0x1003f3b1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x184
call fcn.10102690
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1003f3f6
push ebx
call fcn.10101422
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push pe_nt_image_headers32
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x1003f42b
push 0x5a
push 0x4242cdd
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1003f447
mov eax, 0x1010b29a
jmp 0x1003f468
mov eax, dword [ebp - 4]
test eax, eax
je 0x1003f463
push eax
mov ebx, eax
call fcn.100026e7
inc eax
push eax
call fcn.10101428
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1003f468
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1003f479
push ebx
call fcn.10101422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x100435a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, 0x10139d45
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10008331
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100435d8
push ebx
call fcn.10101422
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
xor edx, edx
not ecx
cmp dword [ebp + 0x10], edx
jbe 0x10043607
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [edx + esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [ebx + eax*4]
inc edx
cmp edx, dword [ebp + 0x10]
jl 0x100435f1
pop esi
not ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
jmp 0x10043614
mov esp, ebp
pop ebp
ret 0xc