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

Disassembly:
push 0xffffffffffffffff
push 0x4ebca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push 6
push 0x5102ac
lea ecx, [esp + 0x10]
call fcn.004bea10
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call fcn.004be970
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 8]
shr eax, 8
push eax
push 1
mov byte [esp + 0x28], 1
call fcn.004bedb0
mov cl, byte [esi + 0x2c]
push ecx
push 2
lea ecx, [esp + 0x10]
call fcn.004bedb0
push 1
push 3
lea ecx, [esp + 0x10]
call fcn.004bedb0
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x30], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x50fb6c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x30], 1
call fcn.004cb760
xor ebx, ebx
mov dl, bl
lea ecx, [esp + 8]
add dl, 5
push edx
push 5
call fcn.004bedb0
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00420950
test ax, ax
jl 0x443645
inc ebx
cmp ebx, 6
jl 0x443530
push 2
mov ecx, 0x520174
call fcn.004bec90
cmp al, 0x7f
jne 0x4435b0
push 4
mov ecx, 0x520174
call fcn.004bec90
cmp al, 0x31
jne 0x4435b0
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50fa6c
jmp 0x4436a3
push 0
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x30], 4
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x510fe0
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x30], 1
call fcn.004cb760
cmp ax, 4
je 0x4436b7
xor ebx, ebx
mov dl, bl
lea ecx, [esp + 8]
add dl, 0xb
push edx
push 5
call fcn.004bedb0
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00420950
inc ebx
cmp ebx, 4
jl 0x4435fa
push 4
push 5
lea ecx, [esp + 0x10]
call fcn.004bedb0
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.00420950
test ax, ax
jge 0x443679
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.004beab0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.004beab0
or ax, 0xffff
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x1c
ret
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x30], 5
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x510fd8
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x30], 1
call fcn.004cb760
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.004beab0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.004beab0
mov ecx, dword [esp + 0x18]
pop esi
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x4776a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x200
lea eax, [esp]
push ebx
push esi
push edi
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, str._vinfo.dat
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x512284
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004dfa8f
mov edx, dword [esp + 0x218]
lea ecx, [esp + 0x21c]
mov esi, eax
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.004dfa1e
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004df914
push esi
call fcn.004df8be
add esp, 0x28
pop edi
pop esi
pop ebx
add esp, 0x200
ret
Function at 0x4a2cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f2e40
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x84]
test eax, eax
jne 0x4a2cec
xor esi, esi
jmp 0x4a2cf7
mov esi, dword [edi + 0x88]
sub esi, eax
sar esi, 2
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x510ec0
call fcn.004bea10
push ebx
call fcn.004d0560
mov ecx, dword [0x52020c]
add esp, 8
call fcn.004d1040
test si, si
jle 0x4a2d5b
xor ebp, ebp
movsx ebx, si
push 0
push ebp
lea ecx, [edi + 0x80]
call fcn.00411b50
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004be980
mov ecx, dword [0x52020c]
call fcn.004d1240
inc ebp
dec ebx
jne 0x4a2d31
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x50f9d0
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x50f5c0
call fcn.004bea10
sub esp, 0x10
lea eax, [edi + 0x68]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x3c], 0
call fcn.004118e0
push ecx
lea edx, [edi + 0x7c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x40], 1
call fcn.004be980
mov ecx, dword [0x52020c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004d15e0
mov ecx, dword [0x52020c]
call fcn.004d17f0
push 0xa
mov ebp, eax
call fcn.004bba40
add esp, 4
cmp bp, si
je 0x4a2e27
dec esi
test si, si
jl 0x4a2cde
cmp si, bp
jne 0x4a2e1c
movsx eax, bp
push 1
mov cl, byte [eax + edi + 0x45]
push ecx
push 0
lea ecx, [edi + 0x78]
call fcn.004bec90
push eax
mov ecx, edi
call fcn.004a32a0
test ax, ax
jl 0x4a2e2b
dec esi
test si, si
jge 0x4a2df6
jmp 0x4a2cde
mov ax, 0xffdb
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x4a2e40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f2e70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 6
push 0x510368
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
call fcn.004bea10
movzx bp, byte [esp + 0x34]
mov byte [esp + 0x24], 1
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x44], esp
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x510ec0
call fcn.004bea10
push edi
call fcn.004d0560
mov ecx, dword [0x52020c]
add esp, 8
call fcn.004d1040
mov ecx, dword [0x52020c]
push 1
call fcn.004c9da0
xor ebx, ebx
test bp, bp
jle 0x4a2ef9
mov al, bl
lea ecx, [esp + 0x10]
add al, 0x11
push eax
push 5
call fcn.004bedb0
push 0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.004be980
mov ecx, dword [0x52020c]
call fcn.004d1240
inc ebx
cmp bx, bp
jl 0x4a2ec5
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f9d0
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x50f5c0
call fcn.004bea10
sub esp, 0x10
lea eax, [esi + 0x68]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x3c], 2
call fcn.004118e0
push ecx
lea edx, [esi + 0x7c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x40], 3
call fcn.004be980
mov ecx, dword [0x52020c]
mov byte [esp + 0x3c], 1
call fcn.004d15e0
sub esp, 0x10
lea eax, [esp + 0x48]
mov edi, esp
mov dword [esp + 0x44], esp
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.004be980
push edi
call fcn.004d0560
mov ecx, dword [0x52020c]
add esp, 8
call fcn.004d12c0
mov ecx, dword [0x52020c]
call fcn.004d17f0
push 0xa
mov edi, eax
call fcn.004bba40
add esp, 4
cmp di, bp
je 0x4a3074
mov al, byte [0x5201a9]
test al, al
je 0x4a3030
test di, di
je 0x4a3001
cmp di, 2
je 0x4a3001
cmp di, 1
jne 0x4a2e81
mov ebx, dword [esp + 0x2c]
xor cx, cx
mov cl, bl
push 1
push ecx
lea ecx, [esi + 0x78]
call fcn.004bec90
push eax
push ebx
mov ecx, esi
call fcn.004a32a0
mov edi, eax
test di, di
jl 0x4a3099
jmp 0x4a2e81
mov ebx, dword [esp + 0x2c]
xor dx, dx
mov dl, bl
push 1
push edx
lea ecx, [esi + 0x78]
call fcn.004bec90
mov cl, byte [esp + 0x34]
sub al, cl
mov ecx, esi
push eax
push ebx
call fcn.004a32a0
mov edi, eax
test di, di
jl 0x4a3099
jmp 0x4a2e81
test di, di
je 0x4a2fd4
cmp di, 2
je 0x4a2fd4
cmp di, 1
jne 0x4a2e81
mov ebx, dword [esp + 0x2c]
xor ax, ax
mov al, bl
push 1
push eax
lea ecx, [esi + 0x78]
call fcn.004bec90
mov cl, byte [esp + 0x34]
add al, cl
mov ecx, esi
push eax
push ebx
call fcn.004a32a0
mov edi, eax
test di, di
jl 0x4a3099
jmp 0x4a2e81
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.004beab0
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], 0xffffffff
call fcn.004beab0
mov ax, 0xffdb
jmp 0x4a30bb
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.004beab0
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], 0xffffffff
call fcn.004beab0
mov ax, di
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x10
Function at 0x4a30d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f2e90
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x4a3100
xor edi, edi
jmp 0x4a310b
mov edi, dword [esi + 0x88]
sub edi, eax
sar edi, 2
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x38], esp
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x510ec0
call fcn.004bea10
push ebp
call fcn.004d0560
mov ecx, dword [0x52020c]
add esp, 8
call fcn.004d1040
test di, di
jle 0x4a317b
movsx eax, di
xor ebp, ebp
mov dword [esp + 0x28], eax
push 0
push ebp
lea ecx, [esi + 0x80]
call fcn.00411b50
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004be980
mov ecx, dword [0x52020c]
call fcn.004d1240
mov eax, dword [esp + 0x28]
inc ebp
dec eax
mov dword [esp + 0x28], eax
jne 0x4a3149
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x50f9d0
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50f5c0
call fcn.004bea10
sub esp, 0x10
lea edx, [esi + 0x68]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x38], 0
call fcn.004118e0
push ecx
lea eax, [esi + 0x7c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x3c], 1
call fcn.004be980
mov ecx, dword [0x52020c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d15e0
mov ecx, dword [0x52020c]
call fcn.004d17f0
push 0xa
mov ebp, eax
call fcn.004bba40
add esp, 4
cmp bp, di
je 0x4a3282
mov al, byte [0x5201a9]
test al, al
je 0x4a323a
test bp, bp
je 0x4a3270
cmp bp, 1
jne 0x4a30f2
xor dx, dx
push 1
mov dl, bl
lea ecx, [esi + 0x78]
push edx
call fcn.004bec90
sub al, byte [esp + 0x30]
jmp 0x4a3253
test bp, bp
jne 0x4a3266
xor ax, ax
push 1
mov al, bl
lea ecx, [esi + 0x78]
push eax
call fcn.004bec90
add al, byte [esp + 0x30]
push eax
push ebx
mov ecx, esi
call fcn.004a32a0
test ax, ax
jl 0x4a3286
jmp 0x4a30f2
cmp bp, 1
jne 0x4a30f2
xor cx, cx
push 1
mov cl, bl
push ecx
lea ecx, [esi + 0x78]
call fcn.004bec90
jmp 0x4a3253
mov ax, 0xffdb
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 8
Function at 0x4a70e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f32f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
call fcn.004be970
push 6
push 0x512dfc
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004bea10
push 6
push 0x512df4
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.004bea10
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0xc]
shr eax, 8
push eax
push 1
mov byte [esp + 0x30], 2
call fcn.004bedb0
mov cl, byte [esi + 0x2c]
push ecx
push 2
lea ecx, [esp + 0x14]
call fcn.004bedb0
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x38], 3
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50fb6c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x38], 2
call fcn.004cb760
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push ebx
push 4
call fcn.004bedb0
xor edi, edi
push edi
push 5
lea ecx, [esp + 0x14]
call fcn.004bedb0
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.004a56a0
test ax, ax
jl 0x4a724f
inc edi
cmp di, 2
jl 0x4a71a9
sub bl, 0x5b
lea ecx, [esp + 0x10]
push ebx
push 5
call fcn.004bedb0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x3c], 4
call fcn.004be980
mov ecx, 0x520200
mov byte [esp + 0x38], 2
call fcn.004cb760
push 2
push 5
lea ecx, [esp + 0x14]
call fcn.004bedb0
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.004a56a0
test ax, ax
jge 0x4a7294
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004beab0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004beab0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004beab0
or ax, 0xffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x38], 5
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x512dec
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x38], 2
call fcn.004cb760
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004beab0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004beab0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004beab0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x4cda40
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f5930
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.004be980
lea ecx, [esp + 0x14]
push ecx
call fcn.004d0560
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 [0x4f73d0]
lea edx, [esp + 0x44]
push eax
push ebx
push edx
call fcn.00411c90
sub esp, 0x10
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x4c], 3
call fcn.004118e0
mov ecx, esi
mov byte [esp + 0x48], 2
call fcn.004cd940
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4cdafa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4cdaf1
cmp al, 0xff
je 0x4cdaf1
dec al
mov byte [ecx], al
jmp 0x4cdafa
push ecx
call fcn.004deb10
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.004beab0
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
je 0x4cdb37
mov al, byte [ecx - 1]
cmp al, bl
je 0x4cdb2d
cmp al, 0xff
je 0x4cdb2d
dec al
mov byte [ecx - 1], al
jmp 0x4cdb37
dec ecx
push ecx
call fcn.004deb10
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 0x4cddf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f5990
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.004be980
lea ecx, [esp + 0x10]
push ecx
call fcn.004d0560
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.004118e0
mov ecx, esi
call fcn.004cdd70
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4cde79
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4cde70
cmp al, 0xff
je 0x4cde70
dec al
mov byte [ecx], al
jmp 0x4cde79
push ecx
call fcn.004deb10
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.004beab0
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8
Function at 0x4cf090
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4f5aef
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.004be970
mov ecx, 0xe
mov esi, 0x513e18
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 0x4cf10f
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 0x4cf0e6
push esi
push ebx
lea ecx, [esp + 0x18]
call fcn.004beef0
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004be980
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.004beab0
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 0x4cf3a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f5b48
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.004be970
mov al, byte [esp + 0x38]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
mov byte [esp + 0x1c], al
call fcn.00411e90
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x38], 3
call fcn.004be980
lea ecx, [esp + 0x18]
call fcn.004beca0
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x3c]
push eax
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.00411c90
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x4cf43f
lea edx, [esp + 0x38]
lea ecx, [esi + 8]
push edx
call fcn.004bed50
test al, al
jne 0x4cf43f
mov esi, dword [esi]
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x4cf425
mov eax, dword [edi + 4]
cmp esi, eax
je 0x4cf4d5
mov eax, dword [0x4f73d0]
lea edx, [esp + 0x3c]
push eax
push 0
lea ecx, [esi + 0xc]
push edx
call fcn.00411c90
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.004df7b5
add esp, 4
mov ecx, ebp
test ebp, ebp
jne 0x4cf480
mov ecx, eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4cf48c
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.004d0db0
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.004d0f30
push esi
call fcn.004deb10
mov eax, dword [edi + 8]
add esp, 4
dec eax
mov dword [edi + 8], eax
jmp 0x4cf502
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push eax
push edx
mov ecx, edi
call fcn.004d0ca0
cmp dword [edi + 8], 0x64
jbe 0x4cf502
mov eax, dword [edi + 4]
mov ecx, edi
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004d0d00
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.00411e90
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004beab0
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.004beab0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4cf552
mov al, byte [ecx - 1]
test al, al
je 0x4cf548
cmp al, 0xff
je 0x4cf548
dec al
mov byte [ecx - 1], al
jmp 0x4cf552
dec ecx
push ecx
call fcn.004deb10
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 0x4d6c20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f62be
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.004d6d30
push ebx
mov ecx, edi
mov byte [esp + 0x34], 3
mov byte [edi], dl
call fcn.00411e90
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x4c]
push eax
push ebx
push ecx
mov ecx, edi
call fcn.00411c90
sub esp, 0x10
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 4
call fcn.004118e0
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
mov byte [esp + 0x44], 3
call fcn.004d6d30
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x4d6ce9
mov al, byte [ecx - 1]
cmp al, bl
je 0x4d6cdf
cmp al, 0xff
je 0x4d6cdf
dec al
mov byte [ecx - 1], al
jmp 0x4d6ce9
dec ecx
push ecx
call fcn.004deb10
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 0x4d6d19
mov al, byte [ecx - 1]
cmp al, bl
je 0x4d6d0f
cmp al, 0xff
je 0x4d6d0f
dec al
mov byte [ecx - 1], al
jmp 0x4d6d19
dec ecx
push ecx
call fcn.004deb10
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