joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4191a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5311f0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5d2280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x48], 0x40000
mov dword [esi + 0x24], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x4c], 0x40000
mov dword [esi + 0x28], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x50], 0x40000
mov dword [esi + 0x2c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x54], 0x40000
mov dword [esi + 0x30], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x58], 0x40000
push 0x40d9c0
push fcn.00419190
push 4
push 4
lea eax, [esi + 0x2f8]
mov dword [ebp - 4], 0
push eax
mov dword [esi], vtable.NCompress::NBcj2::CDecoder.0
mov dword [esi + 4], vtable.NCompress::NBcj2::CDecoder.1.0
mov dword [esi + 8], vtable.NCompress::NBcj2::CDecoder.2.0
mov dword [esi + 0xc], vtable.NCompress::NBcj2::CDecoder.3.0
mov dword [esi + 0x10], vtable.NCompress::NBcj2::CDecoder.4.0
mov dword [esi + 0x14], vtable.NCompress::NBcj2::CDecoder.5.0
mov dword [esi + 0x18], vtable.NCompress::NBcj2::CDecoder.6.0
mov word [esi + 0x2e0], 0
mov dword [esi + 0x2e8], 0
mov dword [esi + 0x2ec], 0
mov dword [esi + 0x2f0], 0
mov dword [esi + 0x2f4], 0
call fcn.00522c2c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53160a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5d2280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [edi]
mov dword [esi], ecx
test ecx, ecx
je 0x41d962
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [ebp - 4], 1
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 2
mov dword [esi + 4], ecx
test ecx, ecx
je 0x41d97d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 4
mov dword [esi + 8], ecx
test ecx, ecx
je 0x41d991
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 6
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x41d9a5
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
movzx eax, byte [edi + 0x10]
lea ecx, [esi + 0x18]
mov byte [esi + 0x10], al
movzx eax, byte [edi + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [edi + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [edi + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [edi + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [edi + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [edi + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [edi + 0x17]
mov byte [esi + 0x17], al
lea eax, [edi + 0x18]
push eax
mov byte [ebp - 4], 7
call fcn.00407f80
lea eax, [edi + 0x24]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x24]
push eax
call fcn.00407f80
lea eax, [edi + 0x30]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x30]
push eax
call fcn.00407f80
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
movq xmm0, qword [edi + 0x44]
movq qword [esi + 0x44], xmm0
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
movzx eax, byte [edi + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x74]
mov dword [esi + 0x70], eax
lea eax, [edi + 0x78]
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x78]
push eax
mov byte [ebp - 4], 0xa
call fcn.0041dbf0
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [esi + 0xa8]
call fcn.0041dbf0
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov dword [esi + 0xd8], eax
mov eax, esi
mov dword [esi + 0xdc], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41dac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5316a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5d2280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x11], 0
mov word [edi + 0x15], 0
mov byte [edi + 0x17], 0
call fcn.00408160
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.00408160
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
call fcn.00408160
lea esi, [edi + 0x78]
mov dword [edi + 0x44], 0
xor eax, eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], eax
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 6
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.00408160
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 7
call fcn.00408160
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00408160
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 9
call fcn.00408160
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531737
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5d2280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi], vtable.COpenCallbackImp.0
mov dword [edi + 4], vtable.COpenCallbackImp.1.0
mov dword [edi + 8], vtable.COpenCallbackImp.2.0
mov dword [edi + 0xc], vtable.COpenCallbackImp.3.0
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 2
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.00408160
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 3
call fcn.00408160
lea esi, [edi + 0x60]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0040b670
lea ecx, [esi + 0x28]
call fcn.00408160
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 5
call fcn.0041bf40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ddd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531760
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5d2280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.00522dfc
push dword [esi + 0xc0]
call fcn.00522dfc
push dword [esi + 0x9c]
call fcn.00522dfc
push dword [esi + 0x90]
call fcn.00522dfc
push dword [esi + 0x30]
call fcn.00522dfc
push dword [esi + 0x24]
call fcn.00522dfc
push dword [esi + 0x18]
call fcn.00522dfc
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x41de50
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x41de64
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x41de78
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x41de8b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x421c60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531d70
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x5d2280]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x820], edi
mov dword [ebp - 4], 0
lea esi, [eax + 0x68]
mov dword [ebp - 0x824], esi
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x81c], eax
lea eax, [ebp - 0x81c]
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x818], 0
mov byte [ebp - 0x816], 0
call fcn.004238e0
add esp, 4
test eax, eax
je 0x421dae
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebp - 0x816], 0
je 0x421d36
mov byte [edi + 0x1c], 1
push dword [esi + 0x44]
call fcn.004077f0
cmp byte [esi + 0x40], 0
je 0x421d30
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00522be6
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x41], 1
jmp 0x421d14
cmp byte [ebp - 0x818], 0
jne 0x421dc4
mov eax, dword [edi + 0x20]
push 0
push dword [eax + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x800
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.00524c10
add esp, 0xc
lea eax, [ebp - 0x814]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00423670
lea ecx, [ebp - 0x814]
push ecx
push eax
call fcn.00422f90
add esp, 8
test eax, eax
jne 0x421cf0
mov ecx, edi
mov byte [ebp - 0x818], 1
mov byte [edi + 0x1c], al
call fcn.004219d0
jmp 0x421cf4
cmp byte [ebp - 0x818], 0
jne 0x421dc4
cmp byte [ebp - 0x816], 0
jne 0x421cf0
mov ecx, edi
mov byte [edi + 0x1c], 0
call fcn.004219d0
jmp 0x421cf4
Function at 0x4238e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531e2c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5d2280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.00522db5
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x423969
push 8
call fcn.00522db5
add esp, 4
test eax, eax
je 0x423940
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], 0x4239a0
jmp 0x423942
xor eax, eax
mov dword [ebp - 0x14], eax
lea edi, [esi + 4]
mov byte [ebp - 4], 1
push edi
push 0
push eax
push 0x4236f0
push 0
push 0
call fcn.00526efb
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x423988
jmp 0x42396b
xor esi, esi
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00522be6
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.005240ed
int3
Function at 0x4a46f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53213d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5d2280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.00522db5
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4a473b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
jmp 0x4a473d
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x4a48d0
push 0
push 0
call fcn.00526efb
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4a4784
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00522be6
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [edi], 0
call fcn.005240ed
int3
Function at 0x522730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea esi, [ebp - 0x12c]
xor bl, bl
mov edi, 0x10
nop dword [eax]
movzx eax, bl
lea esi, [esi + 4]
add ecx, eax
add bl, 4
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [ebp - 4]
shl edx, 8
or edx, eax
mov dword [esi - 4], edx
sub edi, 1
jne 0x522750
lea eax, [ebp - 0x128]
mov ebx, 0x30
nop
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax + 0x30]
mov edi, edx
mov ecx, edx
ror edi, 0x12
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 0x11
ror edx, 0x13
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
mov dword [eax + 0x38], edi
sub ebx, 1
jne 0x522790
mov ebx, dword [ebp - 4]
add ebx, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0x40
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [ebp - 0x14], xmm0
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov esi, dword [ebp - 0x20]
mov eax, ebx
ror eax, 0xb
mov ecx, ebx
ror edi, 0x19
not ecx
and ecx, dword [ebp - 0xc]
xor edi, eax
mov eax, ebx
ror eax, 6
xor edi, eax
mov eax, dword [ebp - 0x10]
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 4]
add edi, ecx
add dword [ebp - 4], 4
add edi, dword [eax + 0x537cc0]
add edi, dword [ebp + eax - 0x12c]
add edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, edx
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
add ebx, edi
mov eax, esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov ecx, eax
mov dword [ebp - 0x20], eax
ror eax, 0xd
ror ecx, 0x16
xor ecx, eax
mov eax, dword [ebp - 0x24]
ror eax, 2
xor ecx, eax
mov eax, esi
or eax, edx
and esi, edx
and eax, dword [ebp - 0x24]
add ecx, edi
or eax, esi
add eax, ecx
sub dword [ebp - 0x28], 1
mov dword [ebp - 0x24], eax
jne 0x5227f3
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
mov edx, 8
mov eax, dword [ecx]
lea ecx, [ecx + 4]
add dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x522893
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x522a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
xor eax, eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
cmp dword [ebp + 0xc], eax
jbe 0x522bd7
mov edx, dword [ebp + 8]
push esi
push edi
mov ecx, dword [ebx + 0x40]
mov al, byte [edx + eax]
mov byte [ebx + ecx], al
inc dword [ebx + 0x40]
cmp dword [ebx + 0x40], 0x40
jne 0x522bc5
xor al, al
lea esi, [ebp - 0x138]
mov byte [ebp - 1], al
mov edi, 0x10
nop dword [eax + eax]
movzx ecx, al
lea esi, [esi + 4]
movzx eax, byte [ecx + ebx]
add ecx, ebx
shl eax, 8
movzx edx, byte [ecx + 1]
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
shl edx, 8
or edx, eax
mov al, byte [ebp - 1]
add al, 4
mov dword [esi - 4], edx
mov byte [ebp - 1], al
sub edi, 1
jne 0x522a60
lea eax, [ebp - 0x134]
lea ebx, [edi + 0x30]
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax + 0x30]
mov edi, edx
mov ecx, edx
ror edi, 0x12
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 0x11
ror edx, 0x13
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
mov dword [eax + 0x38], edi
sub ebx, 1
jne 0x522aa0
mov ebx, dword [ebp - 0x30]
add ebx, 0x50
mov dword [ebp - 8], 0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], 0x40
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [ebp - 0x18], xmm0
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov edi, ebx
mov esi, dword [ebp - 0x24]
mov eax, ebx
ror eax, 0xb
mov ecx, ebx
ror edi, 0x19
not ecx
and ecx, dword [ebp - 0x10]
xor edi, eax
mov eax, ebx
ror eax, 6
xor edi, eax
mov eax, dword [ebp - 0x14]
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 8]
add edi, ecx
add dword [ebp - 8], 4
add edi, dword [eax + 0x537cc0]
add edi, dword [ebp + eax - 0x138]
add edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, edx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
add ebx, edi
mov eax, esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov ecx, eax
mov dword [ebp - 0x24], eax
ror eax, 0xd
ror ecx, 0x16
xor ecx, eax
mov eax, dword [ebp - 0x28]
ror eax, 2
xor ecx, eax
mov eax, esi
or eax, edx
and esi, edx
and eax, dword [ebp - 0x28]
add ecx, edi
or eax, esi
add eax, ecx
sub dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], eax
jne 0x522b03
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x38]
mov edx, 8
mov eax, dword [ecx]
lea ecx, [ecx + 4]
add dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x522ba3
mov ebx, dword [ebp - 0x30]
add dword [ebx + 0x48], 0x200
mov dword [ebx + 0x40], edx
adc dword [ebx + 0x4c], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp + 0xc]
jb 0x522a32
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x523390
Capabilities:
Terminate process

Disassembly:
test byte [0x5d22e8], 0x20
jne 0x5233ae
vmovq xmm0, xmm0
vcvttpd2qq xmm0, xmm0
vmovd eax, xmm0
vpextrd edx, xmm0, 1
ret
mov ecx, esp
add esp, 0xfffffff8
and esp, 0xfffffff8
movsd qword [esp], xmm0
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov esp, ecx
btr edx, 0x1f
sbb ecx, ecx
cmp edx, 0x41e00000
jae 0x52340e
cvttsd2si eax, xmm0
cdq
ret
mov ecx, edx
bts edx, 0x14
shr ecx, 0x14
and edx, 0x1fffff
sub ecx, 0x433
jge 0x523408
neg ecx
push ebx
xor ebx, ebx
shrd ebx, eax, cl
je 0x523401
cvttss2si ebx, dword [0x537e0c]
pop ebx
shrd eax, edx, cl
shr edx, cl
ret
shld edx, eax, cl
shl eax, cl
ret
cmp edx, 0x43e00000
jae 0x523427
test ecx, ecx
je 0x5233d8
call 0x5233d8
neg eax
adc edx, 0
neg edx
ret
jecxz 0x52342f
ja 0x52342f
test eax, eax
je 0x523437
cvttss2si ecx, dword [0x537e08]
mov edx, SysReAllocStringLen
xor eax, eax
ret

Function at 0x523b13
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x523b52
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x523b52
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x523b52
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x523b52
cmp dword [ecx + 0x74], 0xe
jbe 0x523b52
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x5302b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5302dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5302dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10014e70
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x10014eae
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10014ea6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10014eb0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10014e96
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10014f80
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10014f96
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10014fb1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1001b51d
Capabilities:
Encode data using xor

Disassembly:
call 0x1001b496
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1001b4c6
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1001b4e2
xor edx, 0
jmp 0x1001b4ed
xor edx, edx
jmp 0x1001b504
jmp 0x1001b510
xor eax, eax
push 0x8427d7c0
call 0x1001b51d
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001b559
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1001b532
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1001b570
add eax, 0
jno 0x1001b575
add esi, 0
ret 0x10
Function at 0x1001c2de
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1001c300
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1001c4a2
cmp edi, dword [ebp + 0x10]
jb 0x1001c4a2
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1001bdca
inc edi
jmp 0x1001c389
jmp 0x1001c396
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bdca
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bdca
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1001c3ea
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1001c3ce
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001c418
add dword [eax], 0x39
jle 0x1001c3f4
sub al, 0xf5
mov ch, al
call fcn.1001c42d
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001e105
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1001e11b
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1001e12c
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001e16d
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx