joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100936ed
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x114
mov eax, 0x100cd3a6
call fcn.1009f437
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [edi + 1]
mov dword [ebp - 0x14], edi
push eax
call fcn.1009ee41
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
push eax
call fcn.100a1d20
push edi
push esi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.1009e409
add esp, 0x20
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 1
push 0
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x10093767
push esi
call fcn.1009ee4a
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.100932f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100937cd
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x120]
push 0xfde9
push esi
mov byte [esi + eax], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], eax
call fcn.100959f4
push dword [ebp - 0x120]
and dword [ebp - 4], 0
call fcn.1009972a
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp - 0x120]
call fcn.10099661
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x100937c4
push dword [ebp - 0x120]
call fcn.100a8a35
pop ecx
push esi
call fcn.1009ee4a
pop ecx
xor eax, eax
call fcn.1009f3e1
ret 0xc
Function at 0x10095bbc
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x101a572c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0xf0000040
push 0x18
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x10095bf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10095cf5
push edi
mov edi, 0x94
push edi
call fcn.1009ee41
push edi
push ebx
push eax
mov dword [esi + 0x10], eax
call fcn.100a1d20
mov eax, dword [esi + 0x10]
push 0x80
push 0x10102470
push edi
mov dword [eax], 0x206
mov dword [eax + 4], 0xa400
mov eax, dword [esi + 0x10]
mov dword [eax + 8], 0x31415352
mov dword [eax + 0xc], 0x400
mov dword [eax + 0x10], 0x10001
mov eax, dword [esi + 0x10]
add eax, 0x14
push eax
call fcn.1009e409
add esp, 0x20
lea eax, [esi + 4]
push eax
push ebx
push ebx
push edi
push dword [esi + 0x10]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x10095cd8
lea edi, [esi + 8]
push edi
push 0x800001
push 0x6602
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x10095cd8
lea ebx, [esi + 0xc]
push ebx
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDuplicateKey]
test eax, eax
je 0x10095cd8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
je 0x10095cd8
push dword [ebp - 8]
call fcn.1009ee41
push dword [ebp - 8]
mov dword [esi + 0x14], eax
push 0
push eax
call fcn.100a1d20
add esp, 0x10
lea eax, [ebp - 8]
push eax
push dword [esi + 0x14]
push 0
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
jne 0x10095ce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10095cf4
mov eax, dword [esi + 0x14]
add eax, 0xc
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
mov dword [esi + 0x1c], eax
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1009ed03
mov esp, ebp
pop ebp
ret
Function at 0x1009a4f7
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x9c
mov eax, 0x100cda14
call fcn.1009f437
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
push 0xfde9
push dword [ebp + 8]
xor edi, edi
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xa8], eax
call fcn.10095ab9
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.100905e4
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], eax
je 0x1009a56b
push dword [ebp - 0xa8]
call fcn.100a8a35
pop ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 0xc]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x1009a5f2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add eax, dword [ebx + 0x1c]
push eax
mov dword [ecx], eax
call fcn.1009ee41
mov ecx, dword [ebp - 0x20]
mov dword [esi], eax
push dword [ecx]
push edi
push eax
call fcn.100a1d20
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
push dword [esi]
call fcn.1009e409
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebx + 0x1c]
mov ecx, dword [eax - 0xc]
add esi, dword [edx]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
push esi
call fcn.1009e409
add esp, 0x30
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push eax
push esi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1009a5fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10097310
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10097310
mov eax, edi
call fcn.1009f3e1
ret 0xc
Function at 0x1009b7c7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x84
mov eax, 0x100cdb5a
call fcn.1009f437
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x7c], 0x68387a4f
push eax
push eax
sub esp, 0xc
mov dword [ebp - 0x78], 0x566f434c
mov ecx, esp
mov dword [ebp - 0x74], 0x5330784d
mov dword [ebp - 0x70], 0x58735847
mov dword [ebp - 0x6c], 0x416b544a
mov dword [ebp - 0x68], 0x4851674f
mov dword [ebp - 0x64], 0x76776a50
mov dword [ebp - 0x60], 0x724d5764
mov dword [ebp - 0x5c], 0x2b46434b
mov dword [ebp - 0x58], 0x35417a61
mov dword [ebp - 0x54], 0x38345441
mov dword [ebp - 0x50], 0x6e596865
mov dword [ebp - 0x4c], 0x3042414d
mov dword [ebp - 0x48], 0x2f635341
mov dword [ebp - 0x44], 0x6d6f3345
mov dword [ebp - 0x40], 0x37516e4b
mov dword [ebp - 0x3c], 0x65416844
mov dword [ebp - 0x38], 0x68347a4b
mov dword [ebp - 0x34], 0x67674450
mov dword [ebp - 0x30], 0x486b6949
mov dword [ebp - 0x2c], 0x694d6a48
mov dword [ebp - 0x28], 0x34594149
mov dword [ebp - 0x24], 0x4145694f
mov dword [ebp - 0x20], 0x41424141
mov byte [ebp - 0x80], al
push dword [ebp - 0x80]
mov dword [ebp - 4], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1008fc93
lea eax, [ebp - 0x90]
push eax
call fcn.10093029
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1009cd44
push eax
lea ecx, [ebp + 0x14]
call fcn.10093365
cmp eax, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
setne bl
call fcn.1009cbc4
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi]
call dword [eax + 4]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.1009ccfb
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
test bl, bl
push 0x18
pop esi
push 0
pop edx
push ecx
mov ecx, dword [ebp - 0x84]
cmovne edx, esi
push eax
add ecx, edx
push ecx
call fcn.100a39c0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.1009cb41
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.10097310
mov al, 1
call fcn.1009f3e1
ret
Function at 0x1009e627
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x101a572c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [eax]
mov dword [ebp - 0x24], eax
call fcn.1009e5ea
push esi
call fcn.1009e94f
mov esi, eax
push edi
mov dword [ebp - 0x14], esi
call fcn.1009e94f
push 0x58
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.100a1d20
lea eax, [ebp - 0x7c]
push eax
push 5
push esi
call fcn.1009e4d4
mov edi, eax
add esp, 0x20
cmp edi, 5
jb 0x1009e7c5
push edi
push esi
call fcn.1009ea33
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push esi
call fcn.1009ebbf
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x1009e7c0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
and dword [ebp - 8], 0
push ecx
push 0x40
push edi
push esi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1009e7a5
lea eax, [ebp - 8]
push eax
push 0x40
push 0x6c
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1009e788
xor edx, edx
lea ecx, [ebx + 0x2c]
test edi, edi
je 0x1009e70e
sub esi, ecx
mov al, byte [esi + ecx]
mov byte [ecx], al
mov byte [ebx + edx + 0x4c], al
inc edx
inc ecx
cmp edx, edi
jb 0x1009e6f9
mov esi, dword [ebp - 0x14]
lea ecx, [ebx + 0x2c]
lea eax, [edi + esi]
push eax
lea eax, [ecx + edi]
push eax
call fcn.1009e5a1
mov edx, dword [ebp - 0x18]
mov eax, edx
pop ecx
pop ecx
mov ecx, esi
sub eax, esi
sub ecx, edx
cmp edx, esi
push edx
cmovb eax, ecx
cmp eax, 0x7fff0000
jbe 0x1009e754
lea esi, [ebx + 0xc]
push esi
call fcn.1009e5a1
pop ecx
pop ecx
sub eax, ebx
sub eax, 0xc
push eax
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push esi
mov esi, dword [ebp - 0x14]
push esi
call fcn.1009e5a1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
mov dword [ebx + 8], eax
lea eax, [ebx + 0x2c]
push edi
push eax
push dword [ebp - 0x10]
mov dword [ebx + 4], edi
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x6c
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [ebx], 0
je 0x1009e7b4
mov ecx, dword [ebp - 0x24]
lea eax, [ebx + 0x2c]
mov dword [ecx], eax
jmp 0x1009e7c0
push 1
push ebx
call fcn.1009ecc6
pop ecx
pop ecx
xor ebx, ebx
call fcn.1009e8d1
push 0x101a7990
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.1009ed03
mov esp, ebp
pop ebp
ret
Function at 0x1009e7e8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101a572c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0xc], ebx
xor edi, edi
call fcn.1009e5ea
xor esi, esi
mov eax, dword [esi*4 + 0x101a79a8]
test eax, eax
je 0x1009e820
add eax, 0x2c
cmp eax, dword [ebx]
je 0x1009e8c5
inc esi
cmp esi, 0x40
jb 0x1009e80a
xor esi, esi
test esi, esi
je 0x1009e8a7
push dword [esi + 4]
push dword [esi]
call fcn.1009ea33
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [ebp - 8], edi
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x40
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1009e8a2
mov edx, dword [esi]
xor ecx, ecx
cmp dword [esi + 4], ecx
jbe 0x1009e86f
mov al, byte [esi + ecx + 0x4c]
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [esi + 4]
jb 0x1009e862
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [ebp - 0xc]
xor edi, edi
mov eax, dword [esi]
inc edi
push 0
push esi
mov dword [ecx], eax
call fcn.1009ecc6
pop ecx
pop ecx
call fcn.1009e8d1
push 0x101a7990
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009ed03
mov esp, ebp
pop ebp
ret
mov esi, dword [esi*4 + 0x101a79a8]
jmp 0x1009e828

Function at 0x1009e8d1
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x101a7ab0], esi
jbe 0x1009e923
mov eax, dword [0x101a7aac]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x101a7aac]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [0x101a7ab0]
jb 0x1009e8fe
push dword [0x101a7aac]
call fcn.100a8a35
and dword [0x101a7aac], 0
and dword [0x101a7ab0], 0
pop ecx
push dword [ebp - 4]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1009e987
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x101a572c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x1009ea21
test esi, esi
je 0x1009ea21
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1009ea18
mov dword [ebp - 0x2d0], 0x10001
xor ebx, ebx
jmp 0x1009ea04
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x218], eax
jb 0x1009ea21
add eax, dword [ebp + 0x10]
cmp dword [ebp - 0x218], eax
jae 0x1009ea21
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp ebx, 3
jge 0x1009ea18
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
inc ebx
lea eax, [ebp - 0x2d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1009e9d2
jmp 0x1009ea21
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009ed03
mov esp, ebp
pop ebp
ret

Function at 0x1009ebbf
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x101a572c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 0x48], eax
cmp dword [0x101a7aa8], 0x40
jae 0x1009ecb5
push esi
lea esi, [edx + ecx]
add ecx, dword [ebp + 0x14]
push edi
cmp ecx, 0x80000000
lea edi, [ebp - 0x44]
push 9
lea eax, [ecx + 0x7ff80000]
mov edx, 0xfff80000
cmovb edx, eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], edx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
lea edi, [esi - 0x7fff0000]
inc eax
cmp esi, 0x80000000
mov esi, dword [ebp - 0x48]
cmovb edi, eax
cmp edi, esi
jae 0x1009ecb3
push 0x1c
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1009ec8e
cmp dword [ebp - 0x10], 0x10000
jne 0x1009ec82
mov eax, dword [ebp - 0x14]
cmp eax, 0x6c
jb 0x1009ec85
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jb 0x1009ec85
lea eax, [ecx - 1]
xor edx, edx
add eax, edi
div ecx
push 0x20
imul eax, ecx
push 0x3000
push 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x1009ec92
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
add edi, eax
cmp edi, esi
jb 0x1009ec37
test ebx, ebx
je 0x1009ecb3
xor eax, eax
cmp dword [eax*4 + 0x101a79a8], 0
je 0x1009eca6
inc eax
cmp eax, 0x40
jb 0x1009ec94
jmp 0x1009ecb3
inc dword [0x101a7aa8]
mov dword [eax*4 + 0x101a79a8], ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1009ed03
mov esp, ebp
pop ebp
ret

Function at 0x100abe25
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100abd2a
Function at 0x100b6975
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x401810
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
push ebp
mov edx, dword [eax]
lea ebp, [ecx + 4]
push esi
mov dword [ecx], edx
lea esi, [eax + 4]
mov ebx, ebp
push edi
mov edi, dword [eax]
xor ecx, ecx
sub ebx, esi
mov eax, dword [esi]
add esi, 4
mov edx, eax
sub eax, ecx
xor edx, edi
add eax, edi
mov edi, ecx
mov dword [ebx + esi - 4], edx
imul edi, ecx
xor eax, edi
inc ecx
cmp ecx, 7
mov edi, eax
jl 0x40182e
mov ecx, dword [ebp]
xor eax, eax
pop edi
cmp ecx, 0x4e4e4f4b
pop esi
pop ebp
sete al
pop ebx
ret

Function at 0x401870
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ebx
mov ebx, eax
not eax
shr ebx, 2
add edx, eax
xor eax, eax
push esi
mov esi, dword [esp + 0x10]
test ebx, ebx
jle 0x4018b4
push ebp
mov ebp, dword [esp + 0x10]
push edi
sub ebp, esi
mov edi, dword [esi]
add esi, 4
mov ecx, edi
add edi, eax
xor ecx, edx
add edi, edx
mov edx, eax
mov dword [esi + ebp - 4], ecx
imul edx, eax
xor edx, edi
inc eax
cmp eax, ebx
jl 0x401895
pop edi
pop ebp
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
nop
mov ecx, 0x6e29158c
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3da955d8
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10002926
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x24]
push 9
pop ecx
xor eax, eax
xor ebx, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
mov dword [esi], ebx
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp + 8]
div ecx
push 0x40
sub ecx, edx
add ecx, dword [ebp + 8]
test edx, edx
push 0x3000
cmove ecx, dword [ebp + 8]
push ecx
push ebx
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10002fdd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10043e00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
mov edi, 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.d3d9.dll
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.10009ce3
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, eax
lea ecx, [edx + esi]
cmp edx, ecx
jae 0x10003056
mov ecx, 0x8689
inc edx
mov eax, 0x6c7
cmp word [edx], ax
jne 0x1000304f
cmp word [edx + 6], cx
jne 0x1000304f
cmp word [edx + 0xc], cx
je 0x10003069
lea eax, [esi + edx]
cmp edx, eax
jb 0x10003038
inc edx
mov ecx, dword [ebp - 4]
mov eax, edx
pop edi
xor ecx, ebp
pop esi
call fcn.1000577f
leave
ret 4
add edx, 2
jmp 0x10003057

Function at 0x1000a904
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000a943
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000a943
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000a943
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000a943
cmp dword [ecx + 0x74], 0xe
jbe 0x1000a943
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1000b8f7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019958
push 0x10019950
push str.FlsAlloc
push 0x1f
call fcn.1000b813
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b92b
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013150]
call esi
jmp 0x1000b931
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000b975
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019968
push 0x10019960
push str.FlsGetValue
push 0x21
call fcn.1000b813
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b9ac
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1000b9b4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019970
push 0x10019968
push str.FlsSetValue
push 0x22
call fcn.1000b813
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b9ee
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10013150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000fb79
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000fc16
push ebx
push esi
call fcn.1000fb42
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000fad6
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000fbc3
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000fc15
push edi
push eax
call fcn.1000d450
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000fbe3
call fcn.1000b6c0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000fc14
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000fad6
add esp, 0x20
test eax, eax
jne 0x1000fc02
push edi
call fcn.1000b6c0
jmp 0x1000fc0a
push ebx
call fcn.1000b6c0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10012240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001226d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001226d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x2c5609ea
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5d7308e5
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219