joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002fbd8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100625ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002fd47
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1002fc2f
push 0
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
jmp 0x1002fd45
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0x3386
mov dword [ebp - 0x40], 0x10009964
cmp dword [ebp - 0x20], 0x34a4
jle 0x1002fcd6
and dword [ebp - 0x18], 0
jmp 0x1002fc6b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xc06
jge 0x1002fcc5
and dword [ebp - 0x1c], 0
jmp 0x1002fc81
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x529
jge 0x1002fcc3
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.1000cefe
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.10010976
push eax
call fcn.1004c59f
pop ecx
lea ecx, [ebp - 0x70]
call fcn.1001096c
jmp 0x1002fc7a
jmp 0x1002fc64
push 0x22d7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002fcec
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 3
jge 0x1002fd09
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x3c]
call fcn.10010c5c
mov dword [eax], 0x7ee39f3f
jmp 0x1002fce1
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x3322
jge 0x1002fd1f
push dword [ebp - 0x40]
call fcn.1004c59f
pop ecx
jmp 0x1002fd3b
or dword [ebp - 4], 0xffffffff
jmp 0x1002fd45
jmp 0x1002fd98
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
push 0xfba
push 0x56cd
push dword [ebp - 0x44]
push 0x798a
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0x5b99
push 0x4f6d
push 0x5fa3
push dword [ebp - 0x50]
push 1
push 0x5cb1
call fcn.10020837
add esp, 0x30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005dd15
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10068750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1004feb8
mov dword [ebp - 0x14], eax
cmp dword [0x1060bf1c], esi
jne 0x1005de08
push 0x800
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1005dd95
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1005dee8
push esi
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1005dee8
push 0x10007528
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005dee8
push eax
call ebx
push 0x10007534
push edi
mov dword [0x1060bf1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007544
push edi
mov dword [0x1060bf20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007558
push edi
mov dword [0x1060bf24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1060bf2c], eax
test eax, eax
je 0x1005de05
push 0x10007574
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1060bf28], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1005de2d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005de20
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1005de42
push 4
pop eax
jmp 0x1005deea
cmp dword [ebp - 0x14], esi
je 0x1005de42
push dword [0x1060bf1c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1005de27
mov eax, dword [0x1060bf28]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1005dea0
cmp dword [0x1060bf2c], edi
je 0x1005dea0
push eax
call ebx
push dword [0x1060bf2c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1005dea0
test eax, eax
je 0x1005dea0
call ecx
test eax, eax
je 0x1005de95
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1005de95
test byte [ebp - 8], 1
jne 0x1005dea0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1005ded0
mov eax, dword [0x1060bf20]
cmp eax, edi
je 0x1005decd
push eax
call ebx
test eax, eax
je 0x1005decd
call eax
mov esi, eax
test esi, esi
je 0x1005decd
mov eax, dword [0x1060bf24]
cmp eax, edi
je 0x1005decd
push eax
call ebx
test eax, eax
je 0x1005decd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1060bf1c]
call ebx
test eax, eax
je 0x1005dee8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1005deea
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004d3c3
mov esp, ebp
pop ebp
ret
Function at 0x40c800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
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.1000e6b0
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.1000e6b0
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.1000e6b0
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x100080a7
xor al, al
jmp 0x10008123
push esi
call fcn.1000e6b0
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 0x1000e6b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1000e6bf
pop dword [ebp - 0x44]
mov eax, 0x1000e6bf
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x20172f65
sub dword [ebp - 0x54], 0xd1c4ea1a
mov dword [ebp - 0x50], 0xd1106a46
sub dword [ebp - 0x50], 0x9edd1e01
mov dword [ebp - 0x4c], 0x4dcdb8fe
sub dword [ebp - 0x4c], 0x18174d0
mov dword [ebp - 0x48], 0x3e882bfb
sub dword [ebp - 0x48], 0x3e882bfb
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x48021b06
sub dword [ebp - 0x54], 0xd38fb1b0
mov dword [ebp - 0x50], 0xe3c75007
sub dword [ebp - 0x50], 0xa25aee92
mov dword [ebp - 0x4c], 0xebf19941
add dword [ebp - 0x4c], 0x777dd32b
mov dword [ebp - 0x48], 0xb70eed3
add dword [ebp - 0x48], 0xf48f112d
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xdb4cd393
sub eax, 0xcb4ba237
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3675f
push 0
call eax
mov ecx, 0x42bd
xor esi, esi
add esi, eax
mov edi, 0xbccb73b0
add edi, 0x53369250
add edi, dword [ebp - 0x44]
mov ebx, 0x8896f1fa
mov dword [ebp - 0x38], 0x534f7000
mov edx, dword [edi]
add dword [ebp - 0x30], 0x57f1c1d0
sub edx, ebx
xor dword [ebp - 0x30], edi
mov dword [esi], edx
add dword [ebp - 0x18], ebx
add esi, 0xf6339696
add esi, 0x9cc696e
add edi, 0xb544e26b
add edi, 0x4abb1d99
loop 0x1000e7cd
add eax, 0xd0ff9267
add eax, 0x2f016b60
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x100122d0
Capabilities:
Terminate process

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1000900e
pop dword [ebp - 0x34]
mov eax, 0xcb15b986
add eax, 0x44ead688
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x57b3db95
sub dword [ebp - 0x44], 0x961964a
mov dword [ebp - 0x40], 0x24573446
add dword [ebp - 0x40], 0xddc17ff
mov dword [ebp - 0x3c], 0xb0a05851
sub dword [ebp - 0x3c], 0x64541423
mov dword [ebp - 0x38], 0x186a6b1b
sub dword [ebp - 0x38], 0x186a6b1b
lea eax, [ebp - 0x44]
push eax
mov eax, 0xaa75c0cb
add eax, 0x658adf39
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x8e8adc41
sub dword [ebp - 0x44], 0x1a1872eb
mov dword [ebp - 0x40], 0xfac689e9
add dword [ebp - 0x40], 0x46a5d78c
mov dword [ebp - 0x3c], 0xcbc766eb
add dword [ebp - 0x3c], 0x97a80581
mov dword [ebp - 0x38], 0x50b5f6ba
sub dword [ebp - 0x38], 0x50b5f6ba
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x32cc6
push 0
call eax
mov ecx, 0x390d
mov edx, eax
mov ebx, 0x19086c25
sub ebx, 0x9077425
add ebx, dword [ebp - 0x34]
mov edi, 0x2f2c0b7
xor dword [ebp - 0x30], ecx
mov esi, dword [ebx]
add dword [ebp - 0x30], ecx
add esi, edi
add dword [ebp - 8], 0x93728f87
mov dword [edx], esi
add dword [ebp - 0xc], eax
add edx, 4
add ebx, 4
loop 0x1000911f
add eax, 0xd707
mov ebx, eax
add eax, 0xc428d05b
add eax, 0x3bd72faa
mov ecx, 0x241349a7
sub ecx, 0x141349a7
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x517040
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x291000
lea edi, [esi - 0xc0000]
push edi
jmp 0x51705a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x517061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517050
mov eax, 1
add ebx, ebx
jne 0x517073
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x517084
jne 0x5170a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5170a3
dec eax
add ebx, ebx
jne 0x517090
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x517068
add ebx, ebx
jne 0x51709f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5170f5
xor ecx, ecx
sub eax, 3
jb 0x5170bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51712a
sar eax, 1
mov ebp, eax
jmp 0x5170c6
add ebx, ebx
jne 0x5170c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517094
inc ecx
add ebx, ebx
jne 0x5170d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517094
add ebx, ebx
jne 0x5170e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5170d6
jne 0x5170f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5170d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x517114
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x517106
jmp 0x517056
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x517114
add edi, ecx
jmp 0x517056
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x517132
cmp byte [edi], 0x11
jne 0x517132
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x517137
lea edi, [esi + 0x110000]
mov eax, dword [edi]
or eax, eax
je 0x5171af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15521c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x155398]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x517164
mov ecx, edi
jns 0x517193
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15539c]
or eax, eax
je 0x5171a9
mov dword [ebx], eax
add ebx, 4
jmp 0x517181
call dword [esi + 0x1553ac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5171e0
cmp al, 0xef
ja 0x5171d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5171b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5171c2
mov ebp, dword [esi + 0x1553a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x517214
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x44da35
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00480f25
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x44db58
push ecx
lea ecx, [esi + 0x18]
call fcn.0046d255
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x44db6f
push ecx
lea ecx, [esi + 0x24]
call fcn.0046d165
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x496dc5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004ca2b5
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x496ee8
push ecx
lea ecx, [esi + 0x18]
call fcn.004b65e5
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x496eff
push ecx
lea ecx, [esi + 0x24]
call fcn.004b64f5
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c9e05
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0xb9
sti
cmpsb byte [esi], byte es:[edi]
daa
pop esi
pop edx
idiv byte [eax]
mov bl, 0x6b
sbb esp, dword [ebx - 0x6109c670]
invalid