joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a4d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x520fa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.0048a5e0
xor ebx, ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x30], ebx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x549ad8
call fcn.0048a680
push ecx
mov byte [esp + 0x34], 1
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x549d04
call fcn.0048a680
mov ecx, 0x55b3d0
mov byte [esp + 0x34], bl
call fcn.00499670
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
cmp ax, bx
push ebx
jge 0x40a585
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x549ad8
call fcn.0048a680
push ecx
mov byte [esp + 0x34], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x549cfc
call fcn.0048a680
mov ecx, 0x55b3d0
mov byte [esp + 0x34], bl
call fcn.00499670
jmp 0x40a682
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x549cf4
call fcn.0048a680
mov ecx, dword [0x55b3d4]
call fcn.0049bb70
mov eax, dword [edi + 0x18]
lea ebp, [edi + 0x14]
cmp eax, ebx
je 0x40a5ba
mov ecx, dword [ebp + 8]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x40a5e5
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x549ad8
call fcn.0048a680
push ecx
mov byte [esp + 0x34], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x549cec
jmp 0x40a56d
push 6
push 0x549ce4
lea ecx, [esp + 0x18]
call fcn.0048ac30
xor esi, esi
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x40a677
mov edx, dword [ebp + 8]
sub edx, eax
sar edx, 2
cmp esi, edx
jae 0x40a677
mov eax, dword [edi + 0x18]
xor ecx, ecx
mov cl, byte [eax + esi*4 + 1]
push ecx
push 4
lea ecx, [esp + 0x18]
call fcn.0048a9f0
mov eax, dword [edi + 0x18]
lea ecx, [esp + 0x10]
mov dl, byte [eax + esi*4]
push edx
push 5
call fcn.0048a9f0
push esi
mov ecx, ebp
call fcn.00405cb0
mov dl, byte [eax + 3]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push ebx
push ecx
mov ecx, edi
call fcn.0040efb0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x3c], 4
call fcn.0048a5f0
mov ecx, dword [0x55b3d4]
mov byte [esp + 0x38], bl
call fcn.0049bc40
inc esi
jmp 0x40a5f7
mov ecx, dword [0x55b3d4]
call fcn.0049c370
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0048a720
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x4735c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x528d70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
push 0x64
mov dword [esp + 0x40], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esp + 0x48]
mov dword [esp + 0x28], esi
mov byte [esp + 0x24], al
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov cl, byte [esp + 0x48]
mov dword [esp + 0x18], esi
mov byte [esp + 0x14], cl
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov bl, 2
push 0x74
push 0x54d058
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], bl
call fcn.0048a680
mov edx, dword [esp + 0x1c]
push eax
push 1
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 3
call fcn.00405d10
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.0048a720
push esi
lea ecx, [esp + 0x18]
call fcn.00405cb0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0048a5f0
mov ecx, dword [esp + 0x4c]
call fcn.0048a8d0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, eax
mov byte [esp + 0x3c], 1
mov ebx, eax
je 0x47368f
mov ecx, edi
call fcn.0048a720
add edi, 4
cmp edi, ebx
jne 0x47367d
mov edi, dword [esp + 0x18]
push edi
call fcn.00514120
push esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.00514120
add esp, 8
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0048a720
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 8
Function at 0x49bb70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52b330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x30]
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x2c], ebx
call fcn.0048a5f0
lea ecx, [esp + 0x10]
push ecx
call fcn.0049de10
add esp, 8
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push edx
mov byte [esp + 0x28], 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.0040d030
mov ecx, esi
call fcn.0049baf0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49bbf9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49bbf0
cmp al, 0xff
je 0x49bbf0
dec al
mov byte [ecx], al
jmp 0x49bbf9
push ecx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.0048a720
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8

Function at 0x49c990
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x52b47f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.0048a5e0
mov ecx, 0xe
mov esi, 0x54eab4
lea edi, [esp + 0x18]
mov ebp, dword [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x5c], 1
mov ebx, ebp
jle 0x49ca0f
mov eax, ecx
xor edx, edx
mov edi, 0x38
div edi
mov al, byte [ebp]
mov dl, byte [esp + edx + 0x18]
xor dl, al
mov al, dl
shr al, 4
shl dl, 4
or al, dl
inc ebp
not al
mov byte [ebp - 1], al
inc ecx
cmp ecx, esi
jl 0x49c9e6
push esi
push ebx
lea ecx, [esp + 0x18]
call fcn.0048ac10
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0048a5f0
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.0048a720
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
Function at 0x49cca0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x52b4d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
call fcn.0048a5e0
mov al, byte [esp + 0x38]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
mov byte [esp + 0x1c], al
call fcn.00405cc0
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x38], 3
call fcn.0048a5f0
lea ecx, [esp + 0x18]
call fcn.0048a8d0
mov eax, dword [0x531160]
lea ecx, [esp + 0x3c]
push eax
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.00407be0
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x49cd3f
lea edx, [esp + 0x38]
lea ecx, [esi + 8]
push edx
call fcn.0048a980
test al, al
jne 0x49cd3f
mov esi, dword [esi]
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x49cd25
mov eax, dword [edi + 4]
cmp esi, eax
je 0x49cdd5
mov eax, dword [0x531160]
lea edx, [esp + 0x3c]
push eax
push 0
lea ecx, [esi + 0xc]
push edx
call fcn.00407be0
mov eax, dword [edi + 4]
push 0x1c
lea ebx, [esi + 8]
mov ebp, dword [eax]
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
call fcn.00514b36
add esp, 4
mov ecx, ebp
test ebp, ebp
jne 0x49cd80
mov ecx, eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x49cd8c
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [ebp + 4], eax
mov ecx, dword [eax + 4]
push ebx
mov dword [ecx], eax
add eax, 8
push eax
call fcn.0049e720
mov eax, dword [edi + 8]
add esp, 8
inc eax
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, ebx
mov dword [edx + 4], eax
call fcn.0049e8a0
push esi
call fcn.00514120
mov eax, dword [edi + 8]
add esp, 4
dec eax
mov dword [edi + 8], eax
jmp 0x49ce02
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push eax
push edx
mov ecx, edi
call fcn.0049e680
cmp dword [edi + 8], 0x64
jbe 0x49ce02
mov eax, dword [edi + 4]
mov ecx, edi
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0049e6e0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.00405cc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.0048a720
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.0048a720
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x49ce52
mov al, byte [ecx - 1]
test al, al
je 0x49ce48
cmp al, 0xff
je 0x49ce48
dec al
mov byte [ecx - 1], al
jmp 0x49ce52
dec ecx
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x14
Function at 0x4a01f0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x52b8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x30], 1
call fcn.0048a5f0
lea ecx, [esp + 0x14]
push ecx
call fcn.0049de10
mov dl, byte [esp + 0x3c]
sub esp, 8
mov ecx, esp
xor ebx, ebx
mov dword [esp + 0x18], esp
mov byte [esp + 0x38], 2
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x531160]
lea edx, [esp + 0x44]
push eax
push ebx
push edx
call fcn.00407be0
sub esp, 0x10
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x4c], 3
call fcn.0040d030
mov ecx, esi
mov byte [esp + 0x48], 2
call fcn.004a00f0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4a02aa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a02a1
cmp al, 0xff
je 0x4a02a1
dec al
mov byte [ecx], al
jmp 0x4a02aa
push ecx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x28], bl
call fcn.0048a720
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
je 0x4a02e7
mov al, byte [ecx - 1]
cmp al, bl
je 0x4a02dd
cmp al, 0xff
je 0x4a02dd
dec al
mov byte [ecx - 1], al
jmp 0x4a02e7
dec ecx
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x20]
mov ax, si
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x14
Function at 0x4a2580
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x52b9de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov al, byte [esp + 0x28]
mov dword [esi + 0xc], ebx
mov byte [esi + 8], al
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov cl, byte [esp + 0x28]
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x18], cl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dl, byte [esp + 0x3c]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x20], esp
mov dword [esi], fcn.004a2690
push ebx
mov ecx, edi
mov byte [esp + 0x34], 3
mov byte [edi], dl
call fcn.00405cc0
mov eax, dword [0x531160]
lea ecx, [esp + 0x4c]
push eax
push ebx
push ecx
mov ecx, edi
call fcn.00407be0
sub esp, 0x10
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 4
call fcn.0040d030
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
mov byte [esp + 0x44], 3
call fcn.004a2690
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x4a2649
mov al, byte [ecx - 1]
cmp al, bl
je 0x4a263f
cmp al, 0xff
je 0x4a263f
dec al
mov byte [ecx - 1], al
jmp 0x4a2649
dec ecx
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], ebx
cmp ecx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
je 0x4a2679
mov al, byte [ecx - 1]
cmp al, bl
je 0x4a266f
cmp al, 0xff
je 0x4a266f
dec al
mov byte [ecx - 1], al
jmp 0x4a2679
dec ecx
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x24
Function at 0x4a8710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52bef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x24]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
push edi
mov byte [esp + 0x14], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00408220
test al, al
je 0x4a8787
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov dword [esp + 0x34], ebx
call fcn.004a82e0
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4a87c5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a87bc
cmp al, 0xff
je 0x4a87bc
dec al
mov byte [ecx], al
jmp 0x4a87c5
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4ab500
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x40c
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [0x55ebac]
mov esi, dword [esp + 0x41c]
test ecx, ecx
push edi
mov byte [esp + 0x13], 0
je 0x4ab551
mov ebx, dword [esp + 0x424]
mov eax, dword [ecx]
push ebx
push esi
call dword [eax + 0x10]
mov eax, dword [0x55ebac]
test eax, eax
je 0x4ab558
cmp byte [eax + 0x90], 1
jne 0x4ab558
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x40c
ret 8
mov ebx, dword [esp + 0x424]
call fcn.004a1d60
test al, al
je 0x4ab570
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x40c
ret 8
cmp dword [ebp], 0
je 0x4ab702
mov al, byte [ebp + 8]
mov dl, bl
inc al
lea edi, [esp + 0x23]
mov byte [ebp + 8], al
mov cl, al
mov eax, ebx
mov byte [esp + 0x22], cl
sar eax, 8
mov byte [esp + 0x1e], al
mov ecx, ebx
not al
mov byte [esp + 0x20], al
mov eax, ecx
not dl
shr ecx, 2
mov byte [esp + 0x1c], 0xcf
mov byte [esp + 0x1d], 0x33
mov byte [esp + 0x1f], bl
mov byte [esp + 0x21], dl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 7]
xor cl, cl
test esi, esi
jle 0x4ab5d7
mov dl, byte [esp + eax + 0x1c]
add cl, dl
inc eax
cmp eax, esi
jl 0x4ab5cc
mov byte [esp + ebx + 0x23], cl
add ebx, 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
push eax
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
xor bl, bl
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 4]
sub eax, edi
cmp eax, ecx
ja 0x4ab6f0
mov ecx, dword [ebp]
lea eax, [esp + 0x11]
push 1
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp eax, 1
jne 0x4ab608
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x13]
test bl, bl
mov byte [esp + 0x13], al
jne 0x4ab65f
cmp cl, 0xcf
jne 0x4ab608
cmp al, 0x33
jne 0x4ab608
mov byte [esp + 0x21c], cl
mov byte [esp + 0x21d], al
mov bl, 1
mov esi, 2
jmp 0x4ab608
mov byte [esp + esi + 0x21c], al
inc esi
cmp esi, 9
jne 0x4ab608
mov al, byte [esp + 0x21e]
mov cl, byte [esp + 0x21f]
xor dx, dx
xor bx, bx
mov dl, al
mov bl, cl
shl edx, 8
add edx, ebx
cmp dx, 1
je 0x4ab696
xor bl, bl
jmp 0x4ab608
mov dl, byte [esp + 0x220]
not dl
cmp al, dl
jne 0x4ab68f
mov al, byte [esp + 0x221]
not al
cmp cl, al
jne 0x4ab68f
mov al, byte [ebp + 8]
mov cl, byte [esp + 0x222]
cmp cl, al
jne 0x4ab6cb
mov cl, byte [esp + 0x223]
not cl
cmp al, cl
je 0x4ab6d4
xor bl, bl
xor esi, esi
jmp 0x4ab608
xor cl, cl
xor eax, eax
mov bl, byte [esp + eax + 0x21c]
add cl, bl
inc eax
cmp eax, 8
jl 0x4ab6d8
cmp cl, byte [esp + 0x224]
je 0x4ab711
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x4ab5ea
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40c
ret 8
mov eax, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 8
Function at 0x4ac240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52c214
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x531e1c
mov dword [esp + 0x40], 3
call fcn.004ac790
mov eax, dword [esi + 0x74]
push eax
mov dword [esp + 0x18], eax
call fcn.00514120
xor ebx, ebx
add esp, 4
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
mov byte [esp + 0x40], 1
je 0x4ac358
mov edi, dword [esi + 0x4c]
add edi, 4
dec eax
cmp eax, ebx
mov dword [esi + 0x4c], edi
mov ecx, edi
mov dword [esi + 0x6c], eax
je 0x4ac2bc
cmp ecx, dword [esi + 0x48]
jne 0x4ac34d
mov eax, dword [esi + 0x50]
lea ecx, [eax + 4]
mov dword [esi + 0x50], ecx
mov eax, dword [eax]
push eax
call fcn.00514120
mov eax, dword [esi + 0x6c]
add esp, 4
cmp eax, ebx
jne 0x4ac31e
lea ecx, [esp + 0x18]
call fcn.004b23f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 0x44]
mov edi, dword [esp + 0x24]
mov ebp, edx
mov edx, dword [esp + 0x20]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x64]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.00514120
add esp, 4
jmp 0x4ac34d
mov eax, dword [esi + 0x50]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x30]
call fcn.004ad840
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x44]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
jne 0x4ac2a0
mov eax, dword [esi + 0x34]
push eax
mov dword [esp + 0x18], eax
call fcn.00514120
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
add esi, 4
add esp, 4
mov dword [esp + 0x14], esi
mov ebp, dword [esi + 0x18]
mov edi, dword [esi + 0x14]
cmp edi, ebp
mov dword [esp + 0x40], 4
je 0x4ac398
mov ecx, edi
call fcn.0048a720
add edi, 4
cmp edi, ebp
jne 0x4ac38a
mov eax, dword [esi + 0x14]
push eax
call fcn.00514120
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebx
je 0x4ac3d1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4ac3c8
cmp al, 0xff
je 0x4ac3c8
dec al
mov byte [ecx], al
jmp 0x4ac3d1
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x4b4e80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x52c796
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov byte [esi + 8], al
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov cl, byte [esp + 0xb]
mov dword [esp + 0x18], edi
mov byte [esi + 0x20], cl
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.004e27e0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa0], edi
mov dword [esi], 0x531e70
mov dword [esi + 0x18], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4b4f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52c7b6
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], 0x531e70
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 1
call fcn.004e29a0
mov eax, dword [esi + 0x24]
push eax
mov dword [esp + 0xc], eax
call fcn.00514120
xor edi, edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov eax, dword [esi + 0xc]
push eax
mov dword [esp + 0x10], eax
call fcn.00514120
mov ecx, dword [esp + 0x14]
add esp, 8
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4c28b0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x52d26f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
xor bl, bl
call fcn.0048a5e0
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x40], 1
test esi, esi
je 0x4c2a7e
mov edi, dword [esp + 0x50]
test edi, edi
je 0x4c2a7e
mov ecx, dword [ebp + 0x60]
call fcn.00501690
dec eax
cmp eax, 9
ja case.default.0x4c290f
jmp dword [eax*4 + 0x4c2ab8]
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.0048ac10
lea eax, [esp + 0x10]
push eax
mov esi, dword [esp + 0x4c]
mov ecx, esi
call fcn.0048a5f0
mov dword [esp + 0x14], 1
jmp 0x4c2a93
xor eax, eax
test esi, esi
jle 0x4c294e
mov cl, byte [eax + edi]
add bl, cl
inc eax
cmp eax, esi
jl 0x4c2944
mov byte [esi + edi], bl
jmp 0x4c2a66
xor eax, eax
test esi, esi
jle 0x4c2966
mov cl, byte [eax + edi]
add bl, cl
inc eax
cmp eax, esi
jl 0x4c295c
mov ecx, dword [ebp + 0x60]
not bl
call fcn.00501690
cmp eax, 0xa
jne 0x4c2977
dec bl
mov byte [esi + edi], bl
jmp 0x4c2a66
xor eax, eax
test esi, esi
jle 0x4c298f
mov cl, byte [eax + edi]
add bl, cl
inc eax
cmp eax, esi
jl 0x4c2985
not bl
inc bl
mov byte [esi + edi], bl
jmp 0x4c2a66
xor ecx, ecx
xor eax, eax
test esi, esi
jle 0x4c29af
movzx dx, byte [eax + edi]
add ecx, edx
inc eax
cmp eax, esi
jl 0x4c29a3
mov byte [esi + edi], cl
inc esi
xor eax, eax
mov al, ch
mov byte [esi + edi], al
jmp 0x4c2a66
xor ecx, ecx
xor eax, eax
test esi, esi
jle 0x4c29d3
movzx dx, byte [eax + edi]
add ecx, edx
inc eax
cmp eax, esi
jl 0x4c29c7
xor eax, eax
inc esi
mov al, ch
mov byte [esi + edi - 1], al
mov byte [esi + edi], cl
jmp 0x4c2a66
xor eax, eax
test esi, esi
jle 0x4c29f4
mov cl, byte [eax + edi]
xor bl, cl
inc eax
cmp eax, esi
jl 0x4c29ea
mov byte [esi + edi], bl
jmp 0x4c2a66
xor eax, eax
mov edx, 0xff
test esi, esi
mov dword [esp + 0x4c], eax
jle 0x4c2a5b
xor ecx, ecx
mov ebx, 8
mov cl, byte [eax + edi]
mov eax, ecx
lea ecx, [esp + 0x18]
mov ebp, eax
add ecx, 4
and ebp, 1
mov dword [ecx - 4], ebp
sar eax, 1
dec ebx
jne 0x4c2a18
lea eax, [esp + 0x34]
mov ebp, 8
mov ecx, dword [eax]
shl ecx, 7
mov dword [eax], ecx
xor ecx, edx
test cl, 0x80
je 0x4c2a46
add edx, edx
xor edx, 0x1d
jmp 0x4c2a48
shl edx, 1
sub eax, 4
dec ebp
jne 0x4c2a31
mov eax, dword [esp + 0x4c]
inc eax
cmp eax, esi
mov dword [esp + 0x4c], eax
jl 0x4c2a08
not edx
and edx, 0xff
mov byte [esi + edi], dl
lea eax, [esi + 1]
lea ecx, [esp + 0x10]
push eax
push edi
call fcn.0048ac10
lea edx, [esp + 0x10]
push edx
jmp 0x4c2926
mov esi, dword [esp + 0x48]
push 0
mov ecx, esi
call fcn.0048a610
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.0048a720
mov ecx, dword [esp + 0x38]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc