joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005ad18
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1008c45c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1005ae18
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1005ae11
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0x1005add6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1005add6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1005add6
mov edx, dword [esi]
test edx, edx
jne 0x1005ada2
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10202e50]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1005adfa
jmp 0x1005adca
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1005adca
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10202e50]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1005adfa
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1005ad5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1005ae11
xor edi, edi
cmp dword [esi], edi
je 0x1005ae11
push dword [esi]
push edi
push dword [0x10202e50]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100616dc
leave
ret

Function at 0x1005aec6
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push edi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.1005ad18
pop ecx
test eax, eax
jne 0x1005aee8
push 9
pop esi
jmp 0x1005af31
cmp dword [edi], esi
je 0x1005af31
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0x1005af30
mov eax, dword [edi]
push dword [eax + ebx*4]
push esi
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x1005af2a
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1005b1d3
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0x1005aef4
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x1005b2c1
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x1005b313
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1005b303
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1005b2fa
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1005b2d7
mov eax, dword [esi]
pop ebx
push eax
push 0
push dword [0x10202e50]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
ret

Function at 0x1005b38b
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x102228c0]
push esi
xor esi, esi
jmp 0x1005b39c
cmp dword [eax + 4], esi
jne 0x1005b3ea
mov eax, dword [eax]
test eax, eax
jne 0x1005b395
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
test ecx, ecx
je 0x1005b3e8
push 0x20
mov dword [ecx + 4], esi
lea edx, [ecx + 0x20]
mov dword [ecx + 8], esi
pop esi
mov eax, dword [ecx + 4]
add esi, 0x20
mov dword [edx], eax
mov dword [ecx + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x1005b3c5
mov eax, dword [0x102228c0]
mov dword [ecx], eax
mov dword [0x102228c0], ecx
mov eax, ecx
pop esi
ret
Function at 0x4050f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x443d70
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042e8c4
invalid

Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x406964
Function at 0x40a4a1
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
je 0x40a52b
push 0xc
call fcn.0041fddb
mov ebx, dword [ebp + 8]
mov edi, eax
pop ecx
movzx ecx, word [ebx + 8]
mov eax, ecx
mov word [edi + 8], cx
mov dword [edi + 8], ecx
mov cx, word [ebx + 0xa]
mov word [edi + 0xa], cx
cmp ax, 0x3f
jle 0x40a501
cmp ax, 0x10
je 0x44f800
cmp ax, 0x20
je 0x40a57e
mov eax, dword [ebx]
mov dword [edi], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4], edi
inc dword [esi + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp ax, 0x30
jl 0x40a4d6
push 0x10
call fcn.0041fddb
mov edx, dword [ebx]
pop ecx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
inc dword [ecx]
jmp 0x40a4ec
lea ecx, [eax + eax]
push 8
pop eax
cmp ecx, eax
jb 0x40a537
mov eax, ecx
xor ecx, ecx
mov dword [esi + 0xc], eax
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe0b
cmp dword [esi + 4], 0
mov edi, eax
pop ecx
je 0x40a576
mov eax, dword [esi + 8]
test eax, eax
je 0x40a576
shl eax, 2
push eax
push dword [esi + 4]
push edi
call fcn.00420e20
push dword [esi + 4]
call fcn.0041fe14
add esp, 0x10
mov dword [esi + 4], edi
jmp 0x40a4b1
fld qword [ebx]
fstp qword [edi]
jmp 0x40a4ee
Function at 0x41b731
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x124], ecx
mov ecx, dword [ecx]
push esi
mov esi, dword [eax]
mov eax, ecx
and eax, 0x800
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x5c], eax
push edi
push ebx
pop eax
setne al
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x78], eax
mov eax, ecx
shr eax, 9
and eax, 1
mov dword [ebp - 0x13c], edx
mov edx, dword [edx]
mov dword [ebp - 0xf8], eax
xor eax, 1
and ecx, dword [ebp - 0xc]
mov dword [ebp - 0xfc], eax
push 0xfffffffffffffffe
pop eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x98], 0xff
mov dword [ebp - 0x110], 0xfc00
mov dword [ebp - 0x114], 0xdc00
mov dword [ebp - 0x12c], 0x7b
mov dword [ebp - 0x120], 0x3a
mov dword [ebp - 0x140], 0x87
mov dword [ebp - 0x90], 0x30
mov dword [ebp - 0xb4], 0x39
mov dword [ebp - 0x128], 0x27
mov dword [ebp - 0x118], 0x1e
mov dword [ebp - 0x11c], 0x82
mov dword [ebp - 0x138], 0x5d
jmp 0x41b9de

Function at 0x41c574
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, 0xff
push edi
mov edi, dword [ebp + 0x14]
mov ebx, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
cmp edi, eax
ja 0x45b8ca
add al, 0xfb
mov edi, edi
mov eax, dword [ebp + 0xc]
Function at 0x41fe38
Capabilities:
Enumerate pe sections

Disassembly:
inc ebp
or bl, dl
enter 0x533, 0x14
ror byte [eax + eax + 0x5d], 0xc3
add byte [ebp - 0x3d], bl

Function at 0x43927b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004390fa
Function at 0x46eba3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
xor esi, esi
cmp dword [edi + 4], edx
jbe 0x46ebe7
mov ebx, dword [ebp + 8]
movzx eax, word [ebx]
xor ecx, ecx
test ax, bp
je 0x46ebe0
mov eax, dword [edi]
movzx eax, word [eax + edx*2]
mov dword [ebp + 8], eax
movzx eax, word [ebx]
cmp word [ebp + 8], ax
je 0x46ebf1
inc ecx
movzx eax, word [ebx + ecx*2]
xor al, ch
jne 0x46ebcd
movzx eax, word [ebx]
inc edx
inc esi
cmp esi, dword [edi + 4]
jb 0x46ebba
test eax, ecx
call [edi + 0x5e]
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, edx
jmp 0x46ebea

Function at 0x471fc6
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub dword [0x4d06e0], 1
jne 0x471fd9
call fcn.0047206a
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x47201c
fadd qword [0x4c81c0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4c8190]
leave
ret

Function at 0x47202a
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4d2630], ecx
inc esi
mov edx, esi
mov eax, dword [edx*4 + 0x4d262c]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x4d2630], eax
inc edx
cmp edx, 0x270
jl 0x472036
mov dword [0x4d06e0], esi
mov dword [0x4d2ff0], esi
pop esi
ret

Function at 0x47206a
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2ff0], 0
push esi
push edi
mov esi, 0x4d2630
jne 0x47208d
push 0
call 0x142e50c
pop ecx
mov ecx, eax
call fcn.0047202a
mov dword [0x4d06e0], 0x270
mov edx, 0x8b8b00e3
mov dword [0x4d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi + 0x634]
mov dword [esi], ecx
add esi, 4
sub edx, 1
jne 0x4720a2
mov eax, dword [esi]
mov dword [ebp - 4], 0x8bff018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
sub dword [ebp - 4], 1
mov dword [esi], ecx
lea esi, [esi + 4]
jne 0x4720dc
mov eax, dword [0x4d2630]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret
Function at 0x40335c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00405be4
test esi, esi
jne 0x403394
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00405d20
jmp 0x4033b2
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004032a0
mov edi, eax
test esi, esi
je 0x4033b2
cmp dword [ebx], 0
je 0x4033b2
dec esi
jmp 0x40339b
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x403ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4e4020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b78
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403b58
xor eax, eax
push ebp
push 0x403b51
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403bb0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403b58
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4e4020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4e4020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404cec
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ed054], 0
je 0x404d4d
cmp word [0x4ed330], 0xd7b2
jne 0x404d15
cmp dword [0x4ed338], 0
jbe 0x404d15
mov eax, 0x4ed32c
call dword [0x4ed348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404d78
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e402c], 0
jne 0x404d69
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404f18
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4e4030], 0
je 0x404f3e
mov edx, esi
mov eax, ebx
call dword [0x4e4030]
jmp 0x404f4d
mov eax, 8
call fcn.00402fe8
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4ed055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404ee0
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x43b2a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
xor edx, edx
call fcn.00405be4
push 0
push edi
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00405dcc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43b2ec
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405dcc
add esp, 0x200
pop ebx
ret

Function at 0x43b348
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405dcc
add esp, 0x200
pop ebx
ret

Function at 0x43b378
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
mov ebx, eax
mov eax, ebx
xor edx, edx
call fcn.00405be4
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x43b3b5
mov eax, ebx
lea edx, [ebp - 0x20c]
call fcn.00405d90
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b3bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
xor edx, edx
mov dword [ebp - 0x20c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43b438
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
test eax, eax
jbe 0x43b41f
push ebx
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.00405dcc
mov eax, dword [ebp - 0x20c]
mov ecx, 2
mov edx, 1
call fcn.00406378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b43f
lea eax, [ebp - 0x20c]
call fcn.00405bd4
ret
Function at 0x444760
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4449c3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405c38
lea eax, [ebp - 0x120]
xor ecx, ecx
mov edx, 0x11c
call fcn.004035d8
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
lea eax, [ebp - 0x144]
xor ecx, ecx
mov edx, 0x24
call fcn.004035d8
push 0x4449d0
push 0x4449f8
call sub.kernel32.dll_GetModuleHandleW_1
push eax
call fcn.00408f00
test eax, eax
je 0x4447ea
lea edx, [ebp - 0x144]
push edx
call eax
jmp 0x4447f6
lea eax, [ebp - 0x144]
push eax
call fcn.00408f84
cmp dword [ebp - 0x110], 2
jne 0x4449a3
test bl, bl
je 0x444826
call fcn.00444b70
mov edx, dword [eax]
mov dword [ebp - 0x11c], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x118], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffffd
sub eax, 2
jae 0x444841
lea eax, [ebp - 4]
mov edx, 0x444a20
call fcn.00405c38
cmp dword [ebp - 0x11c], 5
jne 0x444865
cmp dword [ebp - 0x118], 0
jne 0x444865
lea eax, [ebp - 4]
mov edx, 0x444a44
call fcn.00405c38
jmp 0x4449a3
cmp dword [ebp - 0x11c], 5
jne 0x444889
cmp dword [ebp - 0x118], 1
jne 0x444889
lea eax, [ebp - 4]
mov edx, 0x444a6c
call fcn.00405c38
jmp 0x4449a3
cmp dword [ebp - 0x11c], 5
jne 0x4448cf
cmp dword [ebp - 0x118], 2
jne 0x4448cf
cmp byte [ebp - 6], 1
jne 0x4448bd
cmp word [ebp - 0x144], 9
jne 0x4448bd
lea eax, [ebp - 4]
mov edx, 0x444a6c
call fcn.00405c38
jmp 0x4449a3
lea eax, [ebp - 4]
mov edx, 0x444a90
call fcn.00405c38
jmp 0x4449a3
cmp dword [ebp - 0x11c], 6
jne 0x4448f3
cmp dword [ebp - 0x118], 0
jne 0x4448f3
lea eax, [ebp - 4]
mov edx, 0x444ac4
call fcn.00405c38
jmp 0x4449a3
cmp dword [ebp - 0x11c], 6
jne 0x444917
cmp dword [ebp - 0x118], 1
jne 0x444917
lea eax, [ebp - 4]
mov edx, 0x444aec
call fcn.00405c38
jmp 0x4449a3
cmp dword [ebp - 0x11c], 6
jne 0x44493d
mov eax, dword [ebp - 0x118]
add eax, 0xfffffffe
sub eax, 2
jae 0x44493d
lea eax, [ebp - 4]
mov edx, 0x444b0c
call fcn.00405c38
jmp 0x4449a3
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jne 0x444962
mov edx, dword [ebp - 0x118]
sub edx, 4
jne 0x444962
lea eax, [ebp - 4]
mov edx, 0x444b2c
call fcn.00405c38
jmp 0x4449a3
cmp eax, 0xa
jne 0x444991
cmp dword [ebp - 0x114], 0x55f0
jae 0x444982
lea eax, [ebp - 4]
mov edx, 0x444b2c
call fcn.00405c38
jmp 0x4449a3
lea eax, [ebp - 4]
mov edx, 0x444b50
call fcn.00405c38
jmp 0x4449a3
cmp eax, 0xb
jb 0x4449a3
lea eax, [ebp - 4]
mov edx, 0x444b50
call fcn.00405c38
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405be4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4449ca
lea eax, [ebp - 4]
call fcn.00405bd4
ret
Function at 0x10001120
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebx
push edi
push esi
sub esp, 0x84
mov eax, dword [0x1005a900]
xor eax, esp
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], 0xa
mov dword [esp + 0x14], 0xf
movaps xmm0, xmmword [str.engine.d]
movups xmmword [esp], xmm0
mov word [esp + 8], 0x6c6c
lea ebx, [esp + 0xa]
lea esi, [esp + 0x30]
mov ecx, esi
call fcn.10001370
mov eax, esp
lea edi, [esp + 0x18]
mov ecx, esi
push ebx
push eax
push edi
call fcn.10001fd0
mov ecx, esi
call fcn.100014e0
mov eax, dword [esp + 0x2c]
cmp eax, 8
jb 0x100011bf
mov edi, dword [esp + 0x18]
lea edx, [eax*2 + 2]
mov ecx, edi
cmp edx, 0x1000
jb 0x100011b5
lea edx, [edi - 4]
mov ecx, dword [edi - 4]
sub edx, ecx
cmp edx, 0x20
jae 0x10001337
add eax, eax
add eax, 0x25
mov edx, eax
push edx
push ecx
call fcn.10010071
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jb 0x10001201
mov ecx, dword [esp]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x100011f7
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10001337
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.10010071
add esp, 8
mov eax, dword [section..data]
add eax, esi
push 0
push section..text
push eax
call fcn.1000fec0
add esp, 0xc
mov eax, dword [0x1005a004]
add eax, esi
push 0xeb
push eax
call fcn.1000fe60
add esp, 8
mov eax, dword [0x1005a008]
add eax, esi
push 0x91
push eax
call fcn.1000fe60
add esp, 8
mov eax, dword [0x1005a00c]
add eax, esi
push 0xeb
push eax
call fcn.1000fe60
add esp, 8
add esi, dword [0x1005a010]
push 0xeb
push esi
call fcn.1000fe60
add esp, 8
mov eax, dword fs:[0x30]
mov esi, dword [eax + 0xc]
add esi, 0x14
mov edi, 0x64
jmp 0x10001283
dec edi
je 0x100012bc
mov esi, dword [esi]
push str.Integrity.dll
push dword [esi + 0x20]
call fcn.1002b62a
add esp, 8
test eax, eax
je 0x10001280
movzx eax, word [esi + 0x1e]
cmp eax, 0x14
jb 0x10001280
shr eax, 1
push str.wtfff.dll
push eax
push dword [esi + 0x20]
call fcn.10036a01
add esp, 0xc
mov dword [esi + 0x1c], 0x140014
mov eax, dword fs:[0x30]
test eax, eax
je 0x1000131f
mov edi, dword [eax + 0xc]
test edi, edi
je 0x1000131f
mov esi, dword [edi + 0x14]
add edi, 0x14
cmp esi, edi
je 0x1000131f
xor ebx, ebx
nop dword [eax]
push str.Integrity.dll
push dword [esi + 0x20]
call fcn.1002b62a
add esp, 8
test eax, eax
jne 0x10001306
mov esi, dword [esi]
cmp esi, edi
je 0x1000131f
lea eax, [ebx + 1]
cmp ebx, 0x62
mov ebx, eax
jbe 0x100012e0
jmp 0x1000131f
movzx eax, word [esi + 0x1c]
push eax
push 0
push dword [esi + 0x20]
call fcn.1002b4d0
add esp, 0xc
mov dword [esi + 0x1c], 0
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.100100a7
add esp, 0x84
pop esi
pop edi
pop ebx
ret
call fcn.10031671
int3