joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46adb0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x51be07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 0
call fcn.0043450e
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 1
call fcn.0043450e
lea ecx, [esp + 8]
mov byte [esp + 0x44], 2
call fcn.0043450e
push 0xa
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 3
call fcn.0051238e
mov edi, dword [esp + 0x50]
lea ecx, [esp + 8]
push edi
mov byte [esp + 0x48], 4
call fcn.00434676
push 0x28
push edi
nop
nop
nop
nop
nop
nop
mov esi, eax
add esp, 8
test esi, esi
je 0x46ae67
push esi
lea ecx, [esp + 0x14]
call fcn.00434676
sub esi, edi
lea eax, [esp + 0x50]
push esi
push eax
lea ecx, [esp + 0x10]
call fcn.00434808
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 5
call fcn.00434640
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 4
call fcn.004344e4
lea ecx, [esp + 8]
call fcn.00512262
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0051241e
test eax, eax
jne 0x46af8d
mov eax, dword [esp + 8]
xor esi, esi
mov ecx, dword [eax - 8]
test ecx, ecx
jbe 0x46aecb
mov edi, dword [0x52fe80]
mov al, byte [esi + eax]
mov byte [esp + 0x50], al
mov ecx, dword [esp + 0x50]
and ecx, 0xff
push ecx
call edi
add esp, 4
test eax, eax
mov eax, dword [esp + 8]
jne 0x46aec3
cmp byte [esi + eax], 0x5f
jne 0x46aede
mov ecx, dword [eax - 8]
inc esi
cmp esi, ecx
jb 0x46ae9e
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
call fcn.00434640
jmp 0x46af73
push ebp
push 0x56
lea ecx, [esp + 0x14]
call fcn.0051226e
mov eax, dword [esp + 0xc]
mov ebp, dword [0x52fe78]
xor esi, esi
mov edi, dword [eax - 8]
xor ecx, ecx
push 8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
push ecx
lea ecx, [esp + 0x14]
call fcn.00434628
lea edx, [eax + esi*8]
lea eax, [esp + 0x20]
push edx
push eax
call ebp
add esp, 0xc
xor eax, eax
mov cl, byte [eax + 0x5bc228]
mov dl, byte [esp + eax + 0x1c]
add cl, al
xor dl, cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 8
jb 0x46af1f
lea edx, [esp + 0x1c]
push 8
lea eax, [esp + 0x58]
push edx
push eax
call fcn.00412a00
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 6
call fcn.0043466a
lea ecx, [esp + 0x54]
mov byte [esp + 0x48], 4
call fcn.004344e4
mov ecx, edi
inc esi
shr ecx, 3
cmp esi, ecx
jbe 0x46aef9
pop ebp
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.0051225c
mov ecx, eax
call fcn.00434676
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
push esi
call fcn.0043465e
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 3
call fcn.0051230a
lea ecx, [esp + 8]
mov byte [esp + 0x44], 2
call fcn.004344e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 1
call fcn.004344e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
call fcn.004344e4
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x46cdc6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51c258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00434ac0
xor edi, edi
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esi], 0x54bb38
call fcn.00434aba
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x46e548
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51c4a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.00434ac0
lea ecx, [esi + 0x30]
mov dword [esp + 0x20], 0
call fcn.00472f00
mov ecx, esi
mov byte [esp + 0x20], 1
mov dword [esi], 0x54c2a0
call fcn.00434aba
xor ecx, ecx
xor eax, eax
push ecx
push ecx
mov dword [esi + 0x20], eax
push ecx
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], ecx
nop
nop
nop
nop
nop
nop
mov dword [esi + 0x2c], eax
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0
mov word [esp + 0xc], 2
call fcn.0046fe10
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x473250
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51cbd9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 8]
mov dword [esp + 0x1c], 1
mov ecx, edi
call fcn.0043450e
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.0043450e
lea ebx, [esi + 0x10]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call fcn.0043450e
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 4
call fcn.0043450e
push 0x5c669c
mov ecx, ebx
mov byte [esp + 0x20], 5
call fcn.00434676
lea eax, [esp + 0x28]
lea ecx, [esi + 0x14]
push eax
call fcn.00434640
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
xor ebx, ebx
push 0x5b9208
lea ecx, [esp + 0x28]
mov dword [esi], edx
mov dword [esi + 0x18], ebx
call fcn.0051231c
push 0x5c
lea ecx, [esp + 0x28]
call fcn.00434778
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
call fcn.00434808
push eax
mov ecx, ebp
mov byte [esp + 0x20], 6
call fcn.00434640
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 5
call fcn.004344e4
push 0x5b9208
mov ecx, ebp
call fcn.00434814
mov ecx, dword [esp + 0x24]
push 0x5c
mov ebp, dword [ecx - 8]
lea ecx, [esp + 0x28]
call fcn.00434778
sub ebp, eax
lea edx, [esp + 0x2c]
push ebp
push edx
lea ecx, [esp + 0x2c]
call fcn.0043480e
push eax
mov ecx, edi
mov byte [esp + 0x20], 7
call fcn.00434640
mov byte [esp + 0x1c], 5
lea ecx, [esp + 0x2c]
call fcn.004344e4
push 0x5b9208
mov ecx, edi
call fcn.0051231c
push 0x5b9208
mov ecx, edi
call fcn.00434814
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00473440
lea ecx, [esp + 0x2c]
call fcn.004344e4
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.004344e4
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004344e4
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x4741d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x5bc888
lea eax, [esp + 0x14]
push 0x5c7778
push eax
call fcn.0043462e
mov eax, dword [eax]
mov ebp, dword [0x52fe24]
push 0x5b9904
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.004344e4
mov ebx, dword [0x52fe14]
test edi, edi
je 0x474238
xor esi, esi
xor ecx, ecx
push edi
mov cl, byte [esi + 0x54c620]
xor ecx, 0x7d
push ecx
call ebx
add esp, 8
inc esi
cmp esi, 0xee28
jb 0x474213
push edi
nop
nop
nop
nop
nop
nop
add esp, 4
push 0x5bc874
lea edx, [esp + 0x14]
push 0x5c7778
push edx
call fcn.0043462e
mov eax, dword [eax]
push 0x5b9904
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.004344e4
test edi, edi
je 0x47428f
xor esi, esi
xor eax, eax
push edi
mov al, byte [esi + 0x55b448]
xor eax, 0x7d
push eax
call ebx
add esp, 8
inc esi
cmp esi, 0x16c60
jb 0x47426a
push edi
nop
nop
nop
nop
nop
nop
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x476890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51d0c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x5721b4
mov eax, dword [esi + 0x28]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], edi
je 0x4768c7
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x4768d4
mov edx, dword [eax]
push eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x28]
cmp eax, edi
je 0x4768e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x28], edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x4768f4
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x476904
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x20], edi
mov edx, dword [esi + 0x34]
mov edi, dword [0x52f238]
push edx
call edi
mov eax, dword [esi + 0x38]
push eax
call edi
mov ecx, dword [esi + 0x30]
push ecx
call edi
mov edx, dword [esi + 0x2c]
push edx
call edi
mov ecx, esi
call fcn.00475760
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00475760
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x479a30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 4], eax
lea edi, [ecx + ecx + 2]
push edi
nop
nop
nop
nop
nop
nop
mov esi, eax
add esp, 4
test esi, esi
jne 0x479a69
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
push esi
nop
nop
nop
nop
nop
nop
push esi
nop
nop
nop
nop
nop
nop
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp + 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp ecx, 1
mov eax, dword [eax + 0xc]
lea edx, [eax + 0xc]
mov dword [ebp + 8], edx
jne 0x479aaa
mov ebx, dword [edx]
mov dword [ebp + 8], edx
jmp 0x479ad0
cmp ecx, 2
jne 0x479abb
add eax, 0x14
mov edx, eax
mov dword [ebp + 8], eax
mov ebx, dword [edx]
jmp 0x479ad0
cmp ecx, 3
jne 0x479ac6
add eax, 0x1c
mov dword [ebp + 8], eax
mov edx, dword [ebp + 8]
mov ebx, dword [edx]
jmp 0x479ad0
mov ecx, dword [ebp + 0xc]
mov esi, ebx
lea eax, [ecx*8]
sub esi, eax
mov ecx, 0x12
add esi, 8
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x250]
push eax
push ecx
nop
nop
nop
nop
nop
nop
lea edx, [ebp - 0x250]
push edx
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp - 8]
push ecx
push eax
nop
nop
nop
nop
nop
nop
add esp, 0x14
test eax, eax
je 0x479b2e
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 4], 1
mov dword [edx], eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x50]
cmp eax, 1
je 0x479b4b
cmp eax, 2
jne 0x479b43
mov ebx, dword [ebp - 0x48]
jmp 0x479b4b
cmp eax, 3
jne 0x479b4b
mov ebx, dword [ebp - 0x40]
cmp ebx, dword [ebp + 8]
jne 0x479acd
mov eax, dword [ebp - 8]
push eax
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ce80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51d660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ecx
lea ecx, [esp + 0x3c]
mov eax, esp
mov dword [esp + 4], esp
lea edx, [esp + 0x2c]
push ecx
push edx
push eax
mov dword [esp + 0x2c], 5
call fcn.0043465e
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov byte [esp + 0x28], 6
call fcn.0043475a
mov byte [esp + 0x24], 5
call fcn.0047dcf0
mov ecx, eax
call fcn.0047e700
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 8], esp
push edx
call fcn.0043475a
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 8], esp
push eax
mov byte [esp + 0x28], 8
call fcn.0043475a
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x2c], 9
call fcn.0043475a
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x30], 0xa
call fcn.0043475a
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x34], 0xb
call fcn.0043475a
mov byte [esp + 0x30], 5
call fcn.0047d570
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 4
call fcn.004344e4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.004344e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 2
call fcn.004344e4
mov byte [esp + 0x1c], 1
lea ecx, [esp + 0x30]
call fcn.004344e4
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c], 0
call fcn.004344e4
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004344e4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x480600
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x40
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [esp + 0x50]
mov ecx, dword [eax]
cmp ebx, 1
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 4], edx
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0xc], edx
jae 0x480641
lea eax, [esp + 0x54]
push 0x5abea0
push eax
mov dword [esp + 0x5c], 0x5bd654
call fcn.0051272a
cmp ebx, 0x38
jbe 0x48064b
mov ebx, 0x38
mov ecx, ebx
push esi
mov esi, dword [esp + 0x50]
mov edx, ecx
push edi
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp + 0x10]
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x12
mov esi, 0x572668
mov edi, edx
mov dword [esp + 0x58], 0x12
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x58]
mov ecx, 0x400
mov esi, 0x5726b0
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
mov esi, edx
xor edx, edx
mov dword [esp + 0x5c], 4
mov edi, edx
xor edx, edx
mov dl, byte [ecx]
shl edi, 8
or edx, edi
inc ecx
inc eax
cmp eax, ebx
jne 0x4806b6
xor eax, eax
lea ecx, [esp + 0x18]
mov edi, dword [esp + 0x5c]
dec edi
mov dword [esp + 0x5c], edi
jne 0x48069f
mov edi, dword [esi]
add esi, 4
xor edi, edx
mov edx, dword [esp + 0x58]
mov dword [esi - 4], edi
dec edx
mov dword [esp + 0x58], edx
jne 0x480695
xor edi, edi
lea esi, [ebp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00480760
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
add esi, 4
inc edi
mov dword [esi], edx
inc edi
add esi, 4
cmp edi, 0x12
jb 0x4806e3
lea eax, [ebp + 0x58]
mov dword [esp + 0x5c], 4
mov ebx, eax
xor edi, edi
mov esi, ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00480760
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
add esi, 4
inc edi
mov dword [esi], edx
inc edi
add esi, 4
cmp edi, 0x100
jl 0x480719
mov eax, dword [esp + 0x5c]
add ebx, 0x400
dec eax
mov dword [esp + 0x5c], eax
jne 0x480715
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc
Function at 0x481850
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51dd1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x1c]
push ebp
push esi
push edi
lea esi, [eax + 7]
mov edi, ecx
shr esi, 3
shl esi, 3
push esi
mov dword [esp + 0x10], 0
call fcn.00434622
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add esp, 4
mov ebp, eax
push ecx
push esi
push ebp
push edx
mov ecx, edi
call fcn.00481390
call fcn.00434b38
mov eax, dword [eax]
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
call fcn.00434676
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
mov dword [esp + 0x1c], 1
rep stosb byte es:[edi], al
call fcn.00434616
mov esi, dword [esp + 0x24]
add esp, 4
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.0043475a
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0
call fcn.004344e4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x481920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51dd57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
mov eax, dword [eax - 8]
lea edi, [eax + 0xa]
push edi
call fcn.00434622
mov ecx, dword [esp + 0x30]
add esp, 4
mov esi, eax
lea edx, [esp + 0x28]
push ecx
push edi
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0043475a
mov ecx, ebp
call fcn.00481790
call fcn.00434b38
mov eax, dword [eax]
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.00434676
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
mov byte [esp + 0x20], 2
rep stosb byte es:[edi], al
call fcn.00434616
mov esi, dword [esp + 0x28]
add esp, 4
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043475a
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.004344e4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.004344e4
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret 0xc
Function at 0x483b40
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x51e368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004828a0
mov dword [esi], fcn.0047dc90
mov eax, dword [0x5bd694]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x20], 0
call fcn.00434676
mov ebx, dword [0x52fe14]
mov byte [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov byte [esi + 0xb1], 1
mov eax, dword [0x627a1c]
test eax, eax
jne 0x483c0d
push 0x5b9904
push 0x5bd80c
nop
nop
nop
nop
nop
nop
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x483be8
xor edi, edi
xor ecx, ecx
push ebp
mov cl, byte [edi + 0x574c70]
xor ecx, 0x7d
push ecx
call ebx
add esp, 8
inc edi
cmp edi, 0x316
jb 0x483bc3
push ebp
nop
nop
nop
nop
nop
nop
add esp, 4
push 0x10
push 0
push 0
push 1
push 0x5bd80c
push 0
nop
nop
nop
nop
nop
nop
push 0x5bd80c
mov dword [0x627a1c], eax
nop
nop
nop
nop
nop
nop
mov eax, dword [0x627a20]
test eax, eax
jne 0x483c7b
push 0x5b9904
push 0x5bd7f4
nop
nop
nop
nop
nop
nop
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x483c56
xor edi, edi
xor edx, edx
push ebp
mov dl, byte [edi + 0x574f88]
xor edx, 0x7d
push edx
call ebx
add esp, 8
inc edi
cmp edi, 0x316
jb 0x483c31
push ebp
nop
nop
nop
nop
nop
nop
add esp, 4
push 0x10
push 0
push 0
push 1
push 0x5bd7f4
push 0
nop
nop
nop
nop
nop
nop
push 0x5bd7f4
mov dword [0x627a20], eax
nop
nop
nop
nop
nop
nop
mov eax, dword [0x627a14]
test eax, eax
jne 0x483ce9
push 0x5b9904
push 0x5bd7d4
nop
nop
nop
nop
nop
nop
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x483cc4
xor edi, edi
xor eax, eax
push ebp
mov al, byte [edi + 0x5752a0]
xor eax, 0x7d
push eax
call ebx
add esp, 8
inc edi
cmp edi, 0x316
jb 0x483c9f
push ebp
nop
nop
nop
nop
nop
nop
add esp, 4
push 0x10
push 0
push 0
push 1
push 0x5bd7d4
push 0
nop
nop
nop
nop
nop
nop
push 0x5bd7d4
mov dword [0x627a14], eax
nop
nop
nop
nop
nop
nop
mov eax, dword [0x627a18]
test eax, eax
jne 0x483d57
push 0x5b9904
push 0x5bd7b4
nop
nop
nop
nop
nop
nop
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x483d32
xor edi, edi
xor ecx, ecx
push ebp
mov cl, byte [edi + 0x5755b8]
xor ecx, 0x7d
push ecx
call ebx
add esp, 8
inc edi
cmp edi, 0x316
jb 0x483d0d
push ebp
nop
nop
nop
nop
nop
nop
add esp, 4
push 0x10
push 0
push 0
push 1
push 0x5bd7b4
push 0
nop
nop
nop
nop
nop
nop
push 0x5bd7b4
mov dword [0x627a18], eax
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x484ff0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x51e56e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x24], ebp
call fcn.004828a0
mov al, byte [esp + 0x13]
lea esi, [ebp + 0xb0]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp], fcn.0047dc90
mov ecx, dword [0x5bd6bc]
push ecx
lea ecx, [ebp + 4]
mov byte [esp + 0x34], 1
call fcn.00434676
mov eax, 0x78
mov ecx, 0x64
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], ecx
push 0x5bd880
lea ecx, [esp + 0x18]
mov dword [ebp + 0xc0], 0xffffffff
call fcn.00434760
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, eax
mov byte [esp + 0x30], 2
sar edx, 2
cmp edx, 1
mov edi, eax
jae 0x48515b
mov edx, dword [esi + 4]
cmp edx, ebx
je 0x4850a3
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x4850a8
mov ecx, 1
cmp edx, ebx
jne 0x4850b0
xor eax, eax
jmp 0x4850b5
sub eax, edx
sar eax, 2
add eax, ecx
cmp eax, ebx
mov dword [esp + 0x20], eax
jge 0x4850c1
xor eax, eax
shl eax, 2
push eax
call fcn.00434622
mov dword [esp + 0x20], eax
mov ebx, eax
mov eax, dword [esi + 4]
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x485100
jmp 0x4850e4
mov eax, dword [esp + 0x18]
push eax
push ebx
call fcn.0046a930
mov eax, dword [esp + 0x20]
add esp, 8
add eax, 4
add ebx, 4
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x4850e0
lea ecx, [esp + 0x14]
push ecx
push 1
push ebx
mov ecx, esi
call fcn.00488300
mov edx, dword [esi + 8]
add ebx, 4
push ebx
push edx
push edi
mov ecx, esi
call fcn.0046a400
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.0046a3d0
mov eax, dword [esi + 4]
push eax
call fcn.00434616
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, esi
lea eax, [edi + edx*4]
mov dword [esi + 0xc], eax
call fcn.00437290
lea ecx, [edi + eax*4 + 4]
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
jmp 0x4851d8
mov edx, eax
sub edx, edi
sar edx, 2
cmp edx, 1
jae 0x4851a7
lea ecx, [edi + 4]
push ecx
push eax
push edi
mov ecx, esi
call fcn.0046a400
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
mov ecx, eax
push edx
sub ecx, edi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.00488300
mov ecx, dword [esi + 8]
lea eax, [esp + 0x14]
push eax
push ecx
push edi
call fcn.00488420
add esp, 0xc
jmp 0x4851d4
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.0046a400
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.00488450
lea edx, [esp + 0x20]
lea eax, [edi + 4]
push edx
push eax
push edi
call fcn.00488420
add esp, 0x18
add dword [esi + 8], 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004344e4
push 5
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x70], eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret