joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006ff0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x10006ffe
push 0xd
pop eax
jmp 0x10007031
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10007005
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10007035
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100d12c0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
mov dword [ebp - 0x21c], ecx
xor esi, esi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.10005f0e
mov ebx, eax
cmp ebx, esi
je 0x1000709e
lea esi, [ebp - 0x214]
call fcn.10005f4c
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071d9b
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100070bc
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.10007035
cmp eax, esi
jne 0x10007103
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], pe_nt_image_headers32
call ebx
test eax, eax
je 0x100070a6
lea esi, [ebp - 0x214]
call fcn.10005f4c
push dword [ebp - 0x21c]
mov esi, edi
call fcn.10006f21
lea esi, [ebp - 0x214]
mov edi, eax
call fcn.10005f4c
mov eax, edi
jmp 0x1000708d

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x10009f80
xor al, al
pop ebp
ret
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 1
call esi
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov ebx, eax
call esi
cmp ebx, 0xffffffff
je 0x10009fac
test bl, 0x10
jne 0x10009fac
xor eax, eax
inc eax
jmp 0x10009fae
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
push ebx
jne 0x1000a017
xor bl, bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10003805
mov al, bl
pop ebx
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 1
call esi
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov ebx, eax
call esi
pop edi
pop esi
cmp ebx, 0xffffffff
je 0x1000a005
test bl, 0x10
je 0x1000a005
mov bl, 1
jmp 0x1000a007
Function at 0x1000e14c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000e1b0
cmp dword [ebp + 0xc], 1
je 0x1000e188
cmp dword [ebp + 0xc], 2
je 0x1000e188
push 0xd
pop eax
jmp 0x1000e1b0
mov eax, dword [ebp - 4]
test edi, edi
je 0x1000e1aa
test eax, eax
je 0x1000e1a5
test al, 1
jne 0x1000e183
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x1000e1aa
jmp 0x1000e183
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x1000edc4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, eax
call fcn.1000f117
mov eax, dword [esi + 0x20]
xor edi, edi
cmp eax, edi
je 0x1000ede4
push eax
call fcn.100722d1
pop ecx
mov dword [esi + 0x20], edi
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x1000ee07
push edi
push edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 0xc], eax
pop esi
leave
ret
Function at 0x10010e89
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
cmp dword [ebp + 8], 0x14
push ebx
push edi
jne 0x10010fa1
push dword [esi + 0x24]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 4]
call edi
and dword [esi + 0x24], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esi + 0x30]
je 0x10010edf
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10010ec8
push eax
push dword [esi + 4]
call edi
push 0
push 0x64
push 0x15
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x28], eax
jmp 0x10010f8d
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_MonitorFromPoint]
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea ecx, [ebp - 0x58]
push ecx
push eax
mov dword [ebp - 0x58], 0x28
call ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 2
push dword [ebp - 4]
push dword [ebp - 8]
call edi
lea ecx, [ebp - 0x58]
push ecx
push eax
mov dword [ebp - 0x58], 0x28
call ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp - 0xc]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
je 0x10010f6a
push dword [ebp - 4]
lea eax, [ebp - 0x30]
push dword [ebp - 8]
push eax
call edi
test eax, eax
jne 0x10010f8d
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10010f7b
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x32
push 0x16
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x2c], eax
push 0
push 0x64
push 0x14
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x24], eax
jmp 0x10011015
cmp dword [ebp + 8], 0x15
jne 0x10010ff2
push dword [esi + 0x28]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
and dword [esi + 0x28], 0
push 1
call ebx
mov edi, 0x8000
mov ecx, edi
and ax, cx
cmp ax, cx
je 0x10010fde
push 2
call ebx
mov ecx, edi
and ax, cx
cmp ax, di
jne 0x10011008
push 0
push 0x64
push 0x15
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x28], eax
jmp 0x10011015
cmp dword [ebp + 8], 0x16
jne 0x10011015
push dword [esi + 0x2c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
and dword [esi + 0x2c], 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 1
xor eax, eax
pop ebx
leave
ret 8
Function at 0x10013c15
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xa
jne 0x10013c54
add dword [esi + 0x28], 0x3e8
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
cmp ecx, eax
jle 0x10013c32
mov dword [esi + 0x28], eax
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10013c7a
push 0
push dword [esi + 0x28]
push 0x402
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10013c7a
cmp dword [ebp + 8], 0xb
jne 0x10013c7a
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10013c6b
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
and dword [esi + 0x34], 0
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
xor eax, eax
pop ebp
ret 8

Function at 0x10014672
Capabilities:
Check mutex on windows

Disassembly:
push 0x100b7358
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x1001469f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001469f
push 0x3e8
push dword [esi + 4]
jmp 0x100146c0
cmp dword [esi + 4], 0
jne 0x100146c6
push 0x100b73b0
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push 0x3e8
mov dword [esi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x10020032
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.10020960
lea edi, [esi + 0x80]
mov eax, dword [edi]
test eax, eax
je 0x1002005b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [edi], 0
lea edi, [esi + 0x90]
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x18]
call fcn.10045815
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x18]
call fcn.10045815
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10020097
cmp esi, dword [esp + 0x18]
je 0x1002009c
call fcn.10073d6c
mov ebx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x1c]
jae 0x100200e7
test esi, esi
jne 0x100200df
call fcn.10073d6c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x100200bb
call fcn.10073d6c
mov eax, dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
jne 0x100200e3
call fcn.10073d6c
cmp ebx, dword [esi + 0x10]
jb 0x100200d6
call fcn.10073d6c
add ebx, 0x1c
mov dword [esp + 0x14], ebx
jmp 0x1002007d
mov eax, dword [esi]
jmp 0x100200b1
mov esi, dword [esi]
jmp 0x100200cc
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x18]
call fcn.10045815
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x10]
call fcn.10045815
push dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
push edi
call fcn.10021077
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
xor edi, edi
cmp eax, edi
je 0x1002014a
push dword [esi + 0x74]
push eax
call ebx
push dword [esi + 0x60]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esi + 0x70]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
mov eax, dword [esi + 0x64]
cmp eax, edi
je 0x1002016f
push dword [esi + 0x6c]
push eax
call ebx
push dword [esi + 0x64]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esi + 0x68]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
push edi
push edi
push edi
push edi
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov dword [esi + 0x8c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi + 0x3c], 0xffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1004ca55
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10090968
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push edi
mov eax, dword [0x100d12c0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x1004cc5d
cmp esi, ebx
je 0x1004cc5d
cmp dword [esi + 0x10], ebx
je 0x1004cc5d
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x1004cc5d
lea ecx, [esp + 0x24]
push ecx
push eax
mov byte [esp + 0x1b], bl
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp dword [esp + 0x24], ebx
jne 0x1004cc4d
cmp edi, ebx
je 0x1004cc4d
cmp edi, dword [esi + 0xc]
ja 0x1004cc4d
push edi
call fcn.10071ca9
pop ecx
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x1004cc4d
push ebx
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1004cc3d
lea eax, [esp + 0x18]
push eax
movzx eax, byte [esi + 8]
push ebx
push eax
push dword [esi + 4]
mov eax, dword [esp + 0x2c]
push dword [esi]
push dword [esp + 0x28]
call fcn.1000a452
add esp, 0x18
test al, al
je 0x1004cc3d
mov eax, dword [esp + 0x18]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10071ca9
mov edi, eax
pop ecx
mov dword [esp + 0x28], edi
cmp edi, ebx
je 0x1004cc3d
lea eax, [esp + 0x18]
push eax
movzx eax, byte [esi + 8]
push edi
push eax
push dword [esi + 4]
mov eax, dword [esp + 0x2c]
push dword [esi]
push dword [esp + 0x28]
call fcn.1000a452
push dword [esp + 0x2c]
call fcn.10071e2a
add esp, 0x1c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x80], ebx
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x2c]
call fcn.100522b6
lea eax, [esp + 0x4c]
push eax
call fcn.1005294f
push edi
lea eax, [esp + 0x30]
push eax
lea edi, [esp + 0x54]
mov byte [esp + 0x88], 1
call fcn.1005235b
push dword [esp + 0x28]
test eax, eax
setne byte [esp + 0x17]
call fcn.10071e2a
pop ecx
cmp dword [esp + 0x60], ebx
je 0x1004cc11
push dword [esp + 0x60]
call fcn.100722d1
pop ecx
push dword [esp + 0x5c]
call fcn.10071e2a
push dword [esp + 0x5c]
mov dword [esp + 0x64], ebx
call fcn.10071e2a
pop ecx
pop ecx
mov dword [esp + 0x58], ebx
cmp dword [esp + 0x30], ebx
je 0x1004cc4d
push dword [esp + 0x30]
call fcn.100722d1
pop ecx
cmp dword [esp + 0x14], ebx
je 0x1004cc4d
push dword [esp + 0x14]
call fcn.10071e2a
pop ecx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x13]
jmp 0x1004cc5f
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100717dd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x100d3c10], 0
push esi
jne 0x10071750
call fcn.10071676
test eax, eax
je 0x10071793
mov eax, dword [0x100d3c10]
cmp eax, 1
jne 0x10071771
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10071793
pop esi
ret
push eax
call dword [0x100d3c18]
test eax, eax
jne 0x100717db
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 0x10071797
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x100d3c10]
call dword [0x100d3c18]
mov edi, eax
test edi, edi
je 0x100717bc
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x100717d8
mov edi, esi
add esi, 0xff0
push edi
push dword [0x100d3c10]
call dword [0x100d3c14]
add edi, 0x10
cmp edi, esi
jb 0x100717c4
mov eax, edi
pop edi
pop esi
ret
jmp 0x1007173d
Function at 0x416ef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x416f12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416f08
mov eax, 1
add ebx, ebx
jne 0x416f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416f20
jne 0x416f3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f20
xor ecx, ecx
sub eax, 3
jb 0x416f50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x416fc2
mov ebp, eax
add ebx, ebx
jne 0x416f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416f68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416f8c
inc ecx
add ebx, ebx
jne 0x416f78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416f6d
jne 0x416f89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416fac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416f9d
jmp 0x416f0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416fac
add edi, ecx
jmp 0x416f0e
pop esi
mov edi, esi
mov ecx, 0x70a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x416fca
cmp byte [edi], 0x12
jne 0x416fca
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 0x416fcf
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x41703e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416ffc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1707c]
or eax, eax
je 0x417038
mov dword [ebx], eax
add ebx, 4
jmp 0x417019
call dword [esi + 0x17084]
mov ebp, dword [esi + 0x17080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x417072
sub esp, 0xffffff80
jmp 0x407c42

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 0x4049f4
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.00437ee4
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 0x404b17
push ecx
lea ecx, [esi + 0x18]
call fcn.00424214
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x404b2e
push ecx
lea ecx, [esi + 0x24]
call int.00424124
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 0x453a0e
Capabilities:
Encode data using xor

Disassembly:
inc ecx
aad 0xf4
cmp edi, dword [edx - 0x715b3b2c]
push ebx
rol ebx, cl
mov bh, 0x44
test al, 0xe7
inc esp
jle 0x453a55
aad 0x48
invalid
inc ecx
test al, 0xf6
add byte [ebp - 0x969edc8], 0x94
sub dword [eax], edx
lea ebx, [edx - 0x46]
outsd dx, dword [esi]
xor eax, 0x613deea3
inc edi
pop eax
push ss
dec eax
xchg edi, eax
call 0x40b8682d
out dx, al
mov al, byte [0x96a73540]
mul dword [edx - 0x24]
add esi, dword [edi + 0xb]
invalid
Function at 0x497064
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.004ca554
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 0x497187
push ecx
lea ecx, [esi + 0x18]
call fcn.004b6884
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x49719e
push ecx
lea ecx, [esi + 0x24]
call fcn.004b6794
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 0x529bf4
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.0055d0e4
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 0x529d17
push ecx
lea ecx, [esi + 0x18]
call fcn.00549414
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x529d2e
push ecx
lea ecx, [esi + 0x24]
call fcn.00549324
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 0x52f1a5
Capabilities:
Encode data using xor

Disassembly:
dec ebp
ret
ja 0x52f208
jno 0x52f183
push cs
or al, 0xc4
xlatb
mov dword [ecx], ebp
cmp eax, edx
invalid
ror dword [ebp + 0x24f9ed03], cl
movsd dword es:[edi], dword [esi]
and al, 0x90
pushfd
sbb al, 0xc3
sub dword [edx - 0x2b], ecx
lcall 0xe875, 0xc2b2c45d
inc ecx
or eax, dword [edi]
inc ecx
sub dword [ecx - 0x2ea34d75], ebx
add eax, 0x213d228b
stosb byte es:[edi], al
inc ecx
ror dword [ebx + 0x36f8a0c1], 1
and dword [eax + 0x30], edi
dec ebp
push 0x7bdbce1
mov bh, 0x5e
in al, 0xc8
fsubr st(5), st(0)
aam 0xe3
push esp
xor byte [edi - 0x18], cl
cmp al, 0xea
inc edi
invalid