joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011c4b
Capabilities:
Create directory

Disassembly:
push 0x74
mov eax, 0x10044712
call fcn.1002eac6
mov dword [ebp - 0x80], ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
xor eax, eax
push eax
push ebx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], ebx
call fcn.10006441
mov esi, 0x10047658
push esi
lea ecx, [ebp - 0x64]
call fcn.10002b9d
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.10002b9d
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 2
call fcn.10027a49
add esp, 0xc
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x48]
call fcn.100012ee
push ebx
push edi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.100012ee
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x2c]
call fcn.10001716
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x7c]
push 0x1c
cdq
pop ecx
idiv ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x68], edi
cmp eax, edi
jle 0x10011d85
mov dword [ebp - 0x6c], ecx
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10001cc6
mov ecx, dword [ebp - 0x7c]
add ecx, dword [ebp - 0x6c]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.10001d34
add esp, 0x18
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10001979
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.100012ee
push ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.100012ee
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10011d48
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x80]
push eax
call fcn.10011510
test al, al
jne 0x10011d69
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10011d61
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x7c]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [ebp - 0x68]
add dword [ebp - 0x6c], 0x1c
cmp dword [ebp - 0x68], eax
jl 0x10011cf1
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.100012ee
lea ecx, [ebp - 0x7c]
call fcn.100034b0
mov al, 1
call fcn.1002eb49
ret 4
Function at 0x1001c59b
Capabilities:
Check mutex on windows
Get disk information

Disassembly:
mov ecx, 0x1009c36c
jmp fcn.1002a352

Function at 0x1001cadf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
jne 0x1001caf2
push 0xd
pop eax
jmp 0x1001cb1a
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x1001caf5
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1001cfcc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1005a2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
call fcn.1001ca5c
mov ebx, eax
cmp ebx, esi
je 0x1001d03d
lea ecx, [ebp - 0x114]
call fcn.1001c9d9
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002ea4e
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1001d05b
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x114]
call fcn.1001cfcc
cmp eax, esi
jne 0x1001d0a2
lea eax, [ebp - 0x120]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x114]
mov dword [ebp - 0x108], pe_nt_image_headers32
call ebx
test eax, eax
je 0x1001d045
lea ecx, [ebp - 0x114]
call fcn.1001c9d9
push dword [ebp - 0x118]
mov ecx, edi
call fcn.1001c969
lea ecx, [ebp - 0x114]
mov esi, eax
call fcn.1001c9d9
mov eax, esi
jmp 0x1001d02c
Function at 0x1001e3f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100452fd
call fcn.1002eafc
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x418], edi
mov byte [ebp - 4], 1
cmp esi, edi
je 0x1001e4aa
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.10011dbf
add esp, 0xc
test eax, eax
js 0x1001e4aa
mov ebx, dword [ebp - 0x41c]
cmp ebx, 0x400
jg 0x1001e48a
push ebx
call fcn.100122ec
pop ecx
test al, al
je 0x1001e48a
mov eax, ebx
call fcn.10030910
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1001e49c
push ebx
lea ecx, [ebp - 0x424]
call fcn.10012788
mov edi, dword [ebp - 0x424]
push 3
push ebx
push esi
push eax
call fcn.1001c753
test eax, eax
jne 0x1001e4dc
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001e4ce
lea ecx, [ebp - 0x418]
call fcn.1001cf75
jmp 0x1001e4ce
push edi
mov edi, dword [edi]
call fcn.1002f35f
pop ecx
test edi, edi
jne 0x1001e4c5
mov eax, 0x8007000e
jmp 0x1001e5f9
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x1001e4ff
call fcn.10013164
mov esi, eax
jmp 0x1001e5cf
push dword [ebp - 0x420]
push dword [ebp - 0x428]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x1001e522
call fcn.10013164
jmp 0x1001e5c1
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x1001e518
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x428], esi
cmp eax, esi
jae 0x1001e552
mov esi, 0x8007000e
jmp 0x1001e5c3
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1001d5bb
mov dword [ebp - 4], 1
jmp 0x1001e584
cmp dword [ebp - 0x418], 0
je 0x1001e54b
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.10011e76
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], 0
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.1001e2ba
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001e5f3
lea ecx, [ebp - 0x418]
call fcn.1001cf75
jmp 0x1001e5f3
push edi
mov edi, dword [edi]
call fcn.1002f35f
pop ecx
test edi, edi
jne 0x1001e5ea
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.1002eb58
ret 0x10
Function at 0x1001efc0
Capabilities:
Create directory
Get disk size
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1005a2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.plhc
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetTextCharsetInfo]
push esi
push esi
push esi
push str.kdjfir
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
push 0x10049138
lea ecx, [ebp - 0x20]
call fcn.10002b9d
mov eax, dword [ebp + 0xc]
dec eax
jne 0x1001f018
mov eax, dword [ebp + 8]
mov dword [0x1009c388], eax
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.100012ee
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.1002ea4e
leave
ret 0xc
Function at 0x10022164
Capabilities:
Get disk information

Disassembly:
push 0x70
mov eax, 0x10045530
call fcn.1002eac6
mov ebx, dword [ebp + 8]
push 0x10049614
lea ecx, [ebp - 0x78]
call fcn.10002b9d
mov eax, dword [ebp - 0x78]
xor edi, edi
cmp dword [ebp - 0x64], 0x10
mov dword [ebp - 4], edi
mov dword [ebp - 0x7c], edi
jae 0x10022194
lea eax, [ebp - 0x78]
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x7c]
push ecx
push 0xc
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 9
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.1002eb70
push 4
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002dda0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000c5b6
mov al, byte [ebp + 0xc]
add byte [ebp - 0x1c], al
push 0x40
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.1002eb70
movsx eax, byte [ebp - 0x1c]
push eax
mov esi, 0x10047d14
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.1002ff5d
lea eax, [ebp - 0x5c]
push eax
call fcn.1002dd10
add esp, 0x3c
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call fcn.100016a1
push 0x40
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.1002eb70
movsx eax, byte [ebp - 0x1b]
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.1002ff5d
lea eax, [ebp - 0x5c]
push eax
call fcn.1002dd10
add esp, 0x1c
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call fcn.1000156f
push 0x40
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.1002eb70
movsx eax, byte [ebp - 0x1a]
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.1002ff5d
lea eax, [ebp - 0x5c]
push eax
call fcn.1002dd10
add esp, 0x1c
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call fcn.1000156f
push 0x40
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.1002eb70
movsx eax, byte [ebp - 0x19]
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.1002ff5d
lea eax, [ebp - 0x5c]
push eax
call fcn.1002dd10
add esp, 0x1c
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call fcn.1000156f
push edi
push 1
lea ecx, [ebp - 0x78]
call fcn.100012ee
call fcn.1002eb49
ret 8

Function at 0x100223e1
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x1004289e
call fcn.1002ea5d
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
add ecx, 0x24
push ecx
mov ecx, edi
call fcn.10001716
and dword [ebp - 4], 0
mov esi, 0x1004960c
push esi
mov dword [ebp - 0x10], 1
call fcn.1002dd10
pop ecx
push eax
push esi
mov ecx, edi
call fcn.1000156f
mov esi, 0x10047658
push esi
call fcn.1002dd10
pop ecx
push eax
push esi
mov ecx, edi
call fcn.1000156f
cmp dword [edi + 0x14], 0x10
jb 0x10022442
mov eax, dword [edi]
jmp 0x10022444
mov eax, edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, edi
call fcn.1002eb35
ret 4
Function at 0x1002296e
Capabilities:
Read file on windows

Disassembly:
push 0x54
mov eax, 0x100456f4
call fcn.1002eafc
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x28]
xor ebx, ebx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ebx
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
jae 0x100229a1
lea eax, [ebp + 0xc]
push 0x1004764c
push eax
call fcn.1002f013
push eax
push 1
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x50]
push 4
push eax
mov dword [ebp - 0x50], ebx
call fcn.1002ee34
mov eax, dword [ebp - 0x50]
inc eax
push eax
call fcn.1002bb4d
mov edi, eax
mov eax, dword [ebp - 0x50]
add esp, 0x1c
inc eax
push eax
push ebx
push edi
call fcn.1002eb70
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push 1
push edi
call fcn.1002ee34
push dword [ebp - 0x54]
call fcn.1002e4de
add esp, 0x20
push edi
lea ecx, [ebp - 0x30]
call fcn.10002b9d
push edi
mov byte [ebp - 4], 2
call fcn.1002e59e
mov eax, dword [ebp - 0x58]
pop ecx
add eax, 0x61
push eax
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.10001716
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x4c]
push eax
call fcn.1002254b
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.10001979
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.100012ee
lea eax, [ebp - 0x30]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.10001979
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.100012ee
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.100012ee
mov eax, esi
jmp 0x10022a9b
call fcn.1002eb58
ret 0x24
Function at 0x10022aa3
Capabilities:
Get common file path

Disassembly:
push 0x1dc
mov eax, 0x10045751
call fcn.1002eac6
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], edi
mov byte [ebp - 0x130], 0
xor ebx, ebx
push 0x30
lea eax, [ebp - 0x130]
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.10022164
push 0x104
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x114]
push 0x10047658
push eax
call fcn.10030010
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
pop ecx
pop ecx
jae 0x10022b28
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10030010
lea eax, [ebp - 0x114]
push eax
call fcn.1002dd10
add esp, 0xc
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call fcn.100016a1
push 0x10047689
mov ecx, esi
call fcn.10002b9d
push ebx
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x134], ebx
call fcn.100226ad
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
mov byte [ebp - 4], 2
jae 0x10022b8e
lea eax, [ebp - 0x130]
push 0x40
push ebx
push eax
lea ecx, [ebp - 0x1e8]
call fcn.100220a4
cmp dword [ebp - 0x184], edi
je 0x10022bb4
lea eax, [ebp - 0x1e8]
push esi
push eax
call fcn.10005f17
pop ecx
pop ecx
lea ecx, [ebp - 0x1e8]
call fcn.100072ea
cmp dword [esi + 0x10], edi
jne 0x10022bdb
mov edi, 0x10049610
push edi
call fcn.1002dd10
pop ecx
push eax
push edi
mov ecx, esi
call fcn.100016a1
xor edi, edi
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], bl
call fcn.100063e8
push edi
push ebx
lea ecx, [ebp - 0x130]
call fcn.100012ee
mov eax, esi
call fcn.1002eb49
ret 4
Function at 0x10023b4c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
call fcn.10022c0f
mov ecx, esi
call fcn.10023802
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x10022c00
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x144], eax
add esi, 0xec
push esi
call fcn.10001716
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret 4

Function at 0x10027ddb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1005a2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.10002b9d
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x74], ebx
call fcn.1002eb70
push 0x44
pop esi
push esi
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.1002eb70
push 0x10
lea eax, [ebp - 0x30]
push ebx
push eax
mov dword [ebp - 0x74], esi
call fcn.1002eb70
mov eax, dword [ebp - 0x20]
add esp, 0x24
cmp dword [ebp - 0xc], 0x10
jae 0x10027e36
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10027e75
cmp byte [ebp + 0xc], bl
jne 0x10027e75
xor esi, esi
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.100012ee
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002ea4e
leave
ret 8
mov esi, dword [ebp - 0x30]
jmp 0x10027e58

Function at 0x1002905d
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
jle 0x100290c9
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
push 0x1c
cdq
pop ebx
idiv ebx
xor edi, edi
mov dword [ebp + 8], edi
test eax, eax
jle 0x100290b5
lea eax, [edi + ecx]
cmp dword [eax + 0x14], 0x10
jb 0x10029092
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x100290d2
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
push 0x1c
cdq
pop ebx
idiv ebx
inc dword [ebp + 8]
add edi, 0x1c
cmp dword [ebp + 8], eax
jl 0x10029087
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jl 0x10029071
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
mov al, 1
jmp 0x100290cb
Function at 0x1002b8d7
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1009c58c], 0
push esi
push edi
jne 0x1002b84d
call fcn.1002b7b9
test eax, eax
je 0x1002b892
mov eax, dword [0x1009c58c]
cmp eax, 1
jne 0x1002b86e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1002b892
jmp 0x1002b8d4
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1002b8d4
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1002b896
xor eax, eax
jmp 0x1002b8d4
mov eax, dword [esi]
push dword [0x1009c58c]
call edi
mov edi, eax
test edi, edi
je 0x1002b8b8
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x1002b8d4
lea edi, [esi + 0xff0]
push esi
push dword [0x1009c58c]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1002b8be
mov eax, esi
pop edi
pop esi
ret
jmp 0x1002b839

Function at 0x1002ea4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005a2a0]
jne 0x1002ea58
repz ret
jmp fcn.1003476c

Function at 0x100304c9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x100304f0
call fcn.10033aac
mov dword [eax], esi
call fcn.10033a99
push 0x16
pop esi
mov dword [eax], esi
call fcn.1003413d
mov eax, esi
jmp 0x10030545
test dword [ebp + 0xc], 0xfffffff9
jne 0x100304d6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1003051d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10033abf
pop ecx
call fcn.10033a99
mov eax, dword [eax]
jmp 0x10030545
test al, 0x10
jne 0x10030543
test al, 1
je 0x10030543
test byte [ebp + 0xc], 2
je 0x10030543
call fcn.10033aac
mov dword [eax], 5
call fcn.10033a99
mov dword [eax], 0xd
jmp 0x10030514
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1003fc21
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1005a2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1003423e
and dword [ebp - 0x14], 0
cmp dword [0x1009d554], 0
mov dword [ebp - 0x18], eax
jne 0x1003fcd4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1003fd7c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1003fd7c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1009d554], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1009d558], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1009d55c], eax
call edi
push eax
call esi
mov dword [0x1009d564], eax
test eax, eax
je 0x1003fcd4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1009d560], eax
mov eax, dword [0x1009d560]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1003fd2d
cmp dword [0x1009d564], ecx
je 0x1003fd2d
push eax
call esi
push dword [0x1009d564]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1003fd2d
test ebx, ebx
je 0x1003fd2d
call edi
test eax, eax
je 0x1003fd24
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1003fd24
test byte [ebp - 8], 1
jne 0x1003fd2d
or dword [ebp + 0x10], 0x200000
jmp 0x1003fd60
mov eax, dword [0x1009d558]
cmp eax, dword [ebp - 0x18]
je 0x1003fd60
push eax
call esi
test eax, eax
je 0x1003fd60
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003fd60
mov eax, dword [0x1009d55c]
cmp eax, dword [ebp - 0x18]
je 0x1003fd60
push eax
call esi
test eax, eax
je 0x1003fd60
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1009d554]
call esi
test eax, eax
je 0x1003fd7c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1003fd7e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002ea4e
leave
ret
Function at 0x404dce
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], 1
jne 0x404df9
lea eax, [ebp + 0xc]
push eax
push 0x1388
push 2
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x404e12
push 1
jmp 0x404dfa
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebp
ret 8

Function at 0x406304
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x14
push 0x4163b0
call fcn.00409200
call fcn.0040788b
movzx esi, ax
push 2
call fcn.00409da0
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x4061bb
xor ebx, ebx
jmp 0x4061ee
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4061b7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4061b7
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x4061ee
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.0040959e
test eax, eax
jne 0x406202
push 0x1c
call fcn.004062dd
pop ecx
call fcn.004089a6
test eax, eax
jne 0x406213
push 0x10
call fcn.004062dd
pop ecx
call fcn.00409e89
and dword [ebp - 4], 0
call fcn.004095b3
test eax, eax
jns 0x40622d
push 0x1b
call fcn.004062dd
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x4e7348], eax
call fcn.00409ec9
mov dword [0x419464], eax
call fcn.00409867
test eax, eax
jns 0x406253
push 8
call fcn.00408e39
pop ecx
call fcn.00409aa4
test eax, eax
jns 0x406264
push 9
call fcn.00408e39
pop ecx
push 1
call fcn.00408e73
pop ecx
test eax, eax
je 0x406277
push eax
call fcn.00408e39
pop ecx
call fcn.00409f26
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x406299
push esi
call fcn.004090dc
call fcn.00408e64
jmp 0x4062ce
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00409245
ret
call fcn.00582000
jmp 0x40618d
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x35fb23ca
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x45284497
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219