joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101362dd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1018b0a8], 0
mov byte [0x1018b0ac], 0
mov edi, dword [0x1018b09c]
add edi, 0xffffed90
mov dword [0x1018b0a0], edi
mov dword [0x1018b0a4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101363fd
mov eax, dword [0x1018b0a0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x1013634d
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, 0x100
add ecx, 0x4af
mov dword [ebp - 0x30], eax
xor esi, esi
mov dword [ebp - 0x34], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1018b0b0], 0
mov edi, dword [0x1018b0a8]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1018b0b0], esi
mov dword [0x1018b0a0], ecx
mov eax, esi
cdq
mov ecx, dword [ebp - 0x34]
idiv ecx
mov dword [0x1018b0a8], edx
mov esi, dword [ebp - 0x30]
mov cl, byte [ebx + esi]
mov byte [0x1018b0ac], cl
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x1018b0a0], 0x215b
mov cl, byte [0x1018b0ac]
mov edx, dword [0x1018b0a8]
mov byte [ebx + edx], cl
mov edx, dword [0x1018b0a4]
add edx, 1
mov dword [0x1018b0a4], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
jl 0x1013632f
jmp 0x10136345
mov eax, dword [ebp - 0x1c]
mov dword [0x1018b09c], 0x2457
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1018b0a0], 0xf40
mov eax, dword [0x1018b0a4]
add eax, 1
mov dword [0x1018b0a4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101363fd
mov eax, dword [0x1018b09c]
add eax, 0xffffe4dc
mov dword [ebp - 0x38], eax
mov eax, 0xf40
xor ecx, ecx
mov edx, dword [ebp - 0x38]
mov dword [0x1018b09c], edx
mov dword [0x1018b0a4], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x1013634d

Function at 0x10136735
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.10136735]
mov dword [0x1018b09c], 0x1a42
mov ecx, dword [0x1018b0a0]
add ecx, 0xffffe87b
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x10136779
mov eax, dword [ebp - 0xc]
mov dword [0x1018b09c], eax
mov dword [0x1018b0a0], 0x6c0
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [ecx], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
je 0x101367ab
mov eax, dword [ebp - 0xc]
add eax, 0xa5d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x10136779
mov eax, dword [ebp - 0x10]
add eax, 0x3c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx], 0x4550
je 0x1013675f
jmp 0x1013678c
Function at 0x10136d76
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
mov dword [0x1018b0a0], 0x1d65
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10136f94
jmp 0x10136e4c
mov dword [0x1018b0a0], 0x1e02
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x10136f94
mov eax, dword [ebp - 0x20]
mov cx, word [eax + 0x24]
mov edx, dword [eax + 0x28]
mov dword [0x1018b0a0], 0x1f82
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov word [ebp - 0x24], cx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], esi
jne 0x10136e36
jmp 0x10136ece
mov eax, 0x416
mov ecx, dword [ebp - 0x2c]
mov dword [0x1018b0a0], ecx
mov dword [0x1018b09c], 0x13e7
mov dl, byte [ebp - 0x2d]
test dl, 1
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
jne 0x10136dbe
jmp 0x10136ea8
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
jmp 0x10136f94
mov dword [0x1018b0a0], 0xc1a
mov dword [0x1018b09c], 0x13c3
mov ecx, dword fs:[0x18]
mov dword [0x1018b09c], 0x1973
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, 0x14
mov ecx, dword [0x1018b0a0]
add ecx, 0xe90
mov edx, dword [ebp - 0x10]
cmp edx, 0
setne bl
mov esi, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x21], bl
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov dword [0x1018b09c], ecx
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
je 0x10136f94
jmp 0x10136dd3
mov eax, 0x416
xor ecx, ecx
mov edx, 0x1f82
mov dword [0x1018b09c], 0xf15
mov si, word [ebp - 0x24]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x50], edx
je 0x10136ea8
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, ecx
add edx, 1
add eax, 0xffffe074
mov esi, dword [ebp - 0x28]
mov di, word [esi + ecx*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x5a], di
mov word [ebp - 0x5c], si
jb 0x10136f52
mov ax, word [ebp - 0x5a]
mov word [ebp - 0x5c], ax
mov ax, word [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x58]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x48]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], eax
jne 0x10136f08
jmp 0x10136e0b
mov eax, dword [ebp - 0x18]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402d68
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4083a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x244
push edi
xor esi, esi
lea eax, [ebp - 0x248]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x402db7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00402eb8
leave
ret
push str.kernel32.dll
lea eax, [ebp - 0x248]
push 0x122
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, esi
je 0x402da7
push 0x406ab0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
jne 0x402dff
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x402da9
push esi
push esi
push 1
push esi
call eax
mov esi, eax
neg esi
sbb esi, esi
neg esi
jmp 0x402df4

Function at 0x402eb8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4083a8]
jne 0x402ec2
repz ret
jmp fcn.0040340c
Function at 0x3931640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3a28a11
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x214]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0x20
call fcn.039313c0
push eax
lea ecx, [esp + 0xcc]
call fcn.039f0100
mov dword [esp + 0x21c], 0
mov eax, dword [0x3a56b80]
push eax
push 0x5c
lea ecx, [esp + 0xd0]
call fcn.039ef330
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0xd0]
call fcn.03931250
mov byte [esp + 0x21c], 1
mov edx, dword [0x3a56b80]
push edx
push 0
push eax
lea ecx, [esp + 0x178]
call fcn.039f01a0
mov byte [esp + 0x21c], 3
lea ecx, [esp + 0x24]
call fcn.039ef660
mov eax, dword [0x3a56b80]
push eax
push 0x3a3ad5c
lea ecx, [esp + 0xd0]
call fcn.039efdd0
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x16c]
push 0
push 0
push 3
push 0
push 1
push 0x81
push edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], 0x14
call fcn.0398e670
cmp eax, 0xffffffff
je 0x3931771
push eax
call fcn.0398a3b0
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc], eax
jmp 0x3931794
push 0x18
push 1
push esi
call dword [0x3a5fd58]
test eax, eax
je 0x3931794
or dword [esp + 8], 0x88
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], 1
cmp dword [esp + 0xc], 0
jne 0x39317a2
cmp dword [esp + 0x20], 0
je 0x39317d3
lea ecx, [esp + 4]
push ecx
call fcn.03983b50
add esp, 4
cmp eax, 0xffffffff
jne 0x39317ca
push 0
push 0x3a3ad58
push str.failed_to_create_process_default_activation_context
push 0
call dword [0x3a5fd48]
jmp 0x39317d3
push eax
call fcn.03981b20
add esp, 4
mov byte [esp + 0x21c], 0
lea ecx, [esp + 0x16c]
call fcn.039ef660
mov dword [esp + 0x21c], 0xffffffff
lea ecx, [esp + 0xc8]
call fcn.039ef660
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x21c
ret

Function at 0x3931d50
Capabilities:
Create thread

Disassembly:
push 0
push 0
push eax
push 0x3931cb0
push 0
push 0
call fcn.03a01906
add esp, 0x18
push 0xf51e0
call dword [0x3a5fd68]
push 0
call dword [0x3a5fd44]
int3
Function at 0x393f190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3a29e23
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.039f1340
mov dword [esp + 0x24], 0
push 0x10
call fcn.0393d940
add esp, 4
mov dword [esp + 4], eax
mov byte [esp + 0x24], 1
test eax, eax
je 0x393f1e9
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.039f0fc0
jmp 0x393f1eb
xor eax, eax
mov byte [esp + 0x24], 0
push eax
lea ecx, [esp + 0xc]
call fcn.039f1360
test al, al
jne 0x393f221
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 8]
call fcn.039f1890
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x24
ret
lea ecx, [esp + 8]
call fcn.039f1f80
test eax, eax
je 0x393f1fe
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x30]
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x34]
mov dword [eax], edx
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 8]
call fcn.039f1890
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x24
ret

Function at 0x393fc80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
test eax, eax
jne 0x393fc90
pop ebx
ret
sub ebx, dword [eax + ecx + 0x10]
push ebp
push esi
mov esi, dword [eax + ecx + 0x24]
push edi
mov edi, dword [eax + ecx + 0x20]
mov eax, dword [eax + ecx + 0x18]
add edi, ecx
add esi, ecx
xor edx, edx
test eax, eax
jbe 0x393fcbd
lea ecx, [ecx]
movzx ebp, word [esi + edx*2]
cmp ebp, ebx
je 0x393fcc4
inc edx
cmp edx, eax
jb 0x393fcb0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [edi + edx*4]
pop edi
pop esi
pop ebp
add eax, ecx
pop ebx
ret
Function at 0x394e380
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x3a2b3d3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor esi, esi
push esi
push str.sprof_CreateThread__hs_d_d_d_n
lea ecx, [esp + 0x1c]
call fcn.039d9200
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x30]
cmp ebx, esi
je 0x394e3cf
cmp ebx, 0x2800
jae 0x394e3cf
mov ebx, 0x2800
push 0xd0
call fcn.0393d940
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], 1
cmp eax, esi
je 0x394e3f2
mov ecx, eax
call fcn.039468c0
mov esi, eax
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esi], eax
mov dword [esi + 4], ecx
call dword [0x3a5fd78]
mov dword [esp + 0x30], eax
call fcn.0393dee0
mov ebp, dword [esp + 0x3c]
test al, al
je 0x394e44c
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push edx
push ebp
push esi
push 0x394e2f0
push ebx
push eax
call fcn.03a01906
mov esi, dword [esp + 0x58]
add esp, 0x18
mov edi, eax
test esi, esi
je 0x394e481
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [esi], ecx
push edx
jmp 0x394e47b
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x2c]
push eax
push ebp
push esi
push fcn.0394e030
push ebx
push ecx
call fcn.03a01906
mov esi, dword [esp + 0x58]
add esp, 0x18
mov edi, eax
test esi, esi
je 0x394e481
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esi], edx
push eax
call dword [0x3a5fde0]
mov ecx, dword [0x3a75168]
test byte [ecx + 3], 1
je 0x394e4b2
test esi, esi
je 0x394e495
mov esi, dword [esi]
jmp 0x394e497
xor esi, esi
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push esi
push edi
push ebp
push edx
push ebx
push eax
push str.CreateThread_start_addr_x_stack_size_x_param_x_flags_x____Handle_x_ThreadId_x_n
call fcn.0393dda0
add esp, 0x1c
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.039d9270
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x1c

Function at 0x3951cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3a2b858
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.039d9be0
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x30]
push 1
lea eax, [esp + 0xc]
push eax
push 0x3a786b8
push str.SoftwareThinstallRuntimeObjectsLayers
push 0x80000002
push ebx
push ecx
call fcn.03972ee0
add esp, 0x1c
cmp al, bl
je 0x3951d2c
mov ecx, dword [0x3a786c8]
sub ecx, dword [0x3a786c4]
mov eax, 0x5397829d
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x3951d2c
mov bl, 1
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 8]
call fcn.039519b0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret
Function at 0x395a140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov esi, eax
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x395a147
movzx ecx, word [edx]
sub eax, edi
sar eax, 1
add edx, 2
cmp ecx, eax
je 0x395a165
pop edi
xor al, al
pop esi
ret
movzx eax, word [esi]
movzx ecx, word [edx]
add edx, 2
push ebx
test ax, ax
je 0x395a199
mov bx, word [edx]
mov edi, eax
xor edi, ecx
add edx, 2
cmp di, bx
jne 0x395a19f
and eax, 0x7e
shl ecx, 6
or eax, ecx
add esi, 2
movzx ecx, ax
movzx eax, word [esi]
test ax, ax
jne 0x395a174
pop ebx
pop edi
mov al, 1
pop esi
ret
pop ebx
pop edi
xor al, al
pop esi
ret
Function at 0x395bf60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
cmp byte [0x3a789d1], 0
jne 0x395bf8e
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
add esp, 0x10
ret
push ebx
push ebp
push esi
push edi
call fcn.0395a580
mov ebx, eax
mov edi, ebx
lea ecx, [edi + 2]
mov edi, edi
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x395bfa0
mov eax, dword [esp + 0x24]
sub edi, ecx
mov ecx, dword [esp + 0x28]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x10], edx
mov edx, 1
sub edx, ecx
mov dword [esp + 0x14], edx
mov edx, 2
sub edx, ecx
mov dword [esp + 0x18], edx
mov edx, 3
sub edx, ecx
mov ebp, 0xfffffffe
sar edi, 1
lea esi, [eax + 2]
mov dword [esp + 0x1c], edx
sub ebp, eax
lea ebx, [ebx]
lea eax, [esi + ebp]
cdq
idiv edi
mov eax, dword [esp + 0x10]
add esi, 4
mov dl, byte [ebx + edx*2]
xor dl, byte [eax + ecx]
mov byte [ecx], dl
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx]
cdq
idiv edi
movzx eax, byte [ebx + edx*2]
xor al, byte [esi - 5]
mov edx, dword [esp + 0x18]
mov byte [ecx + 1], al
lea eax, [edx + ecx]
cdq
idiv edi
movzx eax, byte [ebx + edx*2]
xor al, byte [esi - 4]
mov edx, dword [esp + 0x1c]
mov byte [ecx + 2], al
lea eax, [edx + ecx]
cdq
idiv edi
add ecx, 4
movzx eax, byte [ebx + edx*2]
xor al, byte [esi - 3]
lea edx, [esi + ebp]
mov byte [ecx - 1], al
cmp edx, 0x10
jb 0x395bff0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x395cbc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x3a35a7b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xec]
mov ebx, dword [esp + 0xe8]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x20], ecx
call dword [0x3a60060]
lea ecx, [esp + 0x2c]
call fcn.039efdc0
xor edi, edi
mov dword [esp + 0xdc], edi
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push str.RegisteredObjects_ls
push ecx
call fcn.039f08d0
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
call dword [0x3a6005c]
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
call fcn.0395c7a0
test al, al
je 0x395cc9a
mov ebp, dword [0x3a5fd68]
jmp 0x395cc70
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x395ccff
inc edi
cmp edi, 0xc8
jg 0x395ccb2
push 0x64
call ebp
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
call fcn.0395c7a0
test al, al
jne 0x395cc70
mov dword [esp + 0xdc], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.039ef660
xor al, al
jmp 0x395cd2c
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0x400
call dword [0x3a5feb4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
push ecx
push str.___ls_did_not_completed_registration_after_20_seconds__killing_
push edx
mov esi, eax
call fcn.039f0800
add esp, 0xc
test esi, esi
je 0x395ccf1
push 0
push esi
call dword [0x3a5fe70]
push esi
call dword [0x3a5fd90]
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
call fcn.0395c9c0
jmp 0x395cc9a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
mov dword [esp + 0xdc], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.039ef660
mov al, 1
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.03a00f6a
add esp, 0xcc
ret
Function at 0x3966650
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x3a2ce2b
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0xa8], eax
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xcc]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xd4]
push 1
push edx
push 0
lea edx, [esp + 0x18]
push edx
push 0
push ecx
push eax
push 0
push esi
mov dword [esp + 0x30], 0
call fcn.039655a0
add esp, 0x24
lea ecx, [esp + 0x10]
call fcn.039efdc0
mov dword [esp + 0xc0], 0
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x39666e6
push 0
sub eax, edx
sar eax, 1
push eax
push edi
push 0
push 0
push esi
lea ecx, [esp + 0x24]
call fcn.03962040
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.039ef660
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.03a00f6a
add esp, 0xb8
ret

Function at 0x3967ad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3a2f4cb
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov edi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xcc]
mov esi, dword [esp + 0xd4]
push 1
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], 0
call fcn.03966ae0
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.039efdc0
mov dword [esp + 0xc4], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push ecx
push ebx
push edx
push eax
lea ecx, [esp + 0x24]
push str._x._x._x._x
push ecx
call fcn.039f08d0
mov edx, dword [esi]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add esp, 0x18
push 0
push 1
push 0
push edx
push esi
push 3
push 0
push eax
push ecx
push 0
push edi
lea ecx, [esp + 0x3c]
call fcn.03966ee0
mov dword [esp + 0xc4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.039ef660
xor eax, eax
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.03a00f6a
add esp, 0xb8
ret
Function at 0x396d3c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x3a2d634
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xec]
mov esi, dword [esp + 0xf4]
mov edi, dword [esp + 0xf8]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xe0], eax
lea ecx, [esp + 0x30]
call fcn.039efdc0
mov ebx, 1
mov byte [esp + 0xe0], bl
lea eax, [esp + 0x30]
push eax
push edi
push esi
call fcn.03961ae0
mov esi, dword [esp + 0x40]
add esi, esi
lea ecx, [esi + 2]
push ecx
call fcn.0393d960
mov edx, dword [esp + 0x40]
push esi
mov edi, eax
push edx
push edi
call fcn.03a014a0
mov ecx, dword [esp + 0x50]
xor eax, eax
push 0x60
mov word [edi + ecx*2], ax
call fcn.0393d940
add esp, 0x20
mov dword [esp + 0x1c], eax
mov byte [esp + 0xe0], 2
test eax, eax
je 0x396d496
mov edx, dword [esp + 0x104]
push edx
mov ecx, eax
call fcn.0396d340
mov esi, eax
jmp 0x396d498
xor esi, esi
mov byte [esp + 0xe0], bl
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x104]
push 0x3a78b38
mov dword [esi + 0xc], edi
mov dword [esi], ecx
mov dword [esi + 4], ebx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
mov dword [esp + 0x18], ebx
call dword [0x3a5ff28]
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
push eax
call fcn.039685c0
add esp, 0x10
test al, al
je 0x396d529
mov eax, dword [esp + 0x1c]
add dword [eax + 4], ebx
cmp dword [esp + 0x14], 0
je 0x396d517
sub dword [esp + 0x14], ebx
push 0x3a78b38
call dword [0x3a5ff24]
mov ecx, esi
call fcn.0396a110
push esi
call fcn.0393d9e0
add esp, 4
jmp 0x396d55c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x3a78b10]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
call fcn.03946d40
cmp dword [esp + 0x14], 0
je 0x396d55c
sub dword [esp + 0x14], ebx
push 0x3a78b38
call dword [0x3a5ff24]
mov byte [esp + 0xe0], 0
lea ecx, [esp + 0x30]
call fcn.039ef660
mov dword [esp + 0xe0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.03961a00
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.03a00f6a
add esp, 0xd0
ret