joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f2e10
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 + 0x80]
test eax, eax
jne 0x4a2cdc
xor esi, esi
jmp 0x4a2ce7
mov esi, dword [edi + 0x84]
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 0x510e30
call fcn.004be240
push ebx
call fcn.004cfca0
mov ecx, dword [0x5200b4]
add esp, 8
call fcn.004d0780
test si, si
jle 0x4a2d48
xor ebp, ebp
movsx ebx, si
push 0
push ebp
lea ecx, [edi + 0x7c]
call fcn.00413d50
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004be1b0
mov ecx, dword [0x5200b4]
call fcn.004d0980
inc ebp
dec ebx
jne 0x4a2d21
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x50f9d4
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x50f5c0
call fcn.004be240
sub esp, 0x10
lea eax, [edi + 0x64]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x3c], 0
call fcn.00413ad0
push ecx
lea edx, [edi + 0x78]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x40], 1
call fcn.004be1b0
mov ecx, dword [0x5200b4]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004d0d40
mov ecx, dword [0x5200b4]
call fcn.004d0f50
push 0xa
mov ebp, eax
call fcn.004bb3e0
add esp, 4
cmp bp, si
je 0x4a2e14
dec esi
test si, si
jl 0x4a2cce
cmp si, bp
jne 0x4a2e09
movsx eax, bp
push 1
mov cl, byte [eax + edi + 0x41]
push ecx
push 0
lea ecx, [edi + 0x74]
call fcn.004be4c0
push eax
mov ecx, edi
call fcn.004a3290
test ax, ax
jl 0x4a2e18
dec esi
test si, si
jge 0x4a2de3
jmp 0x4a2cce
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 0x4a2e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f2e40
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 0x5102d4
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
call fcn.004be240
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 0x510e30
call fcn.004be240
push edi
call fcn.004cfca0
mov ecx, dword [0x5200b4]
add esp, 8
call fcn.004d0780
mov ecx, dword [0x5200b4]
push 1
call fcn.004d0a00
xor ebx, ebx
test bp, bp
jle 0x4a2ee9
mov al, bl
lea ecx, [esp + 0x10]
add al, 0x11
push eax
push 5
call fcn.004be5e0
push 0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.004be1b0
mov ecx, dword [0x5200b4]
call fcn.004d0980
inc ebx
cmp bx, bp
jl 0x4a2eb5
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f9d4
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x50f5c0
call fcn.004be240
sub esp, 0x10
lea eax, [esi + 0x64]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x3c], 2
call fcn.00413ad0
push ecx
lea edx, [esi + 0x78]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x40], 3
call fcn.004be1b0
mov ecx, dword [0x5200b4]
mov byte [esp + 0x3c], 1
call fcn.004d0d40
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.004be1b0
push edi
call fcn.004cfca0
mov ecx, dword [0x5200b4]
add esp, 8
call fcn.004d0a20
mov ecx, dword [0x5200b4]
call fcn.004d0f50
push 0xa
mov edi, eax
call fcn.004bb3e0
add esp, 4
cmp di, bp
je 0x4a3064
mov al, byte [0x520051]
test al, al
je 0x4a3020
test di, di
je 0x4a2ff1
cmp di, 2
je 0x4a2ff1
cmp di, 1
jne 0x4a2e71
mov ebx, dword [esp + 0x2c]
xor cx, cx
mov cl, bl
push 1
push ecx
lea ecx, [esi + 0x74]
call fcn.004be4c0
push eax
push ebx
mov ecx, esi
call fcn.004a3290
mov edi, eax
test di, di
jl 0x4a3089
jmp 0x4a2e71
mov ebx, dword [esp + 0x2c]
xor dx, dx
mov dl, bl
push 1
push edx
lea ecx, [esi + 0x74]
call fcn.004be4c0
mov cl, byte [esp + 0x34]
sub al, cl
mov ecx, esi
push eax
push ebx
call fcn.004a3290
mov edi, eax
test di, di
jl 0x4a3089
jmp 0x4a2e71
test di, di
je 0x4a2fc4
cmp di, 2
je 0x4a2fc4
cmp di, 1
jne 0x4a2e71
mov ebx, dword [esp + 0x2c]
xor ax, ax
mov al, bl
push 1
push eax
lea ecx, [esi + 0x74]
call fcn.004be4c0
mov cl, byte [esp + 0x34]
add al, cl
mov ecx, esi
push eax
push ebx
call fcn.004a3290
mov edi, eax
test di, di
jl 0x4a3089
jmp 0x4a2e71
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.004be2e0
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], 0xffffffff
call fcn.004be2e0
mov ax, 0xffdb
jmp 0x4a30ab
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.004be2e0
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], 0xffffffff
call fcn.004be2e0
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 0x4a30c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f2e60
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 + 0x80]
test eax, eax
jne 0x4a30f0
xor edi, edi
jmp 0x4a30fb
mov edi, dword [esi + 0x84]
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 0x510e30
call fcn.004be240
push ebp
call fcn.004cfca0
mov ecx, dword [0x5200b4]
add esp, 8
call fcn.004d0780
test di, di
jle 0x4a3168
movsx eax, di
xor ebp, ebp
mov dword [esp + 0x28], eax
push 0
push ebp
lea ecx, [esi + 0x7c]
call fcn.00413d50
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004be1b0
mov ecx, dword [0x5200b4]
call fcn.004d0980
mov eax, dword [esp + 0x28]
inc ebp
dec eax
mov dword [esp + 0x28], eax
jne 0x4a3139
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x50f9d4
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50f5c0
call fcn.004be240
sub esp, 0x10
lea edx, [esi + 0x64]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x38], 0
call fcn.00413ad0
push ecx
lea eax, [esi + 0x78]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x3c], 1
call fcn.004be1b0
mov ecx, dword [0x5200b4]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d0d40
mov ecx, dword [0x5200b4]
call fcn.004d0f50
push 0xa
mov ebp, eax
call fcn.004bb3e0
add esp, 4
cmp bp, di
je 0x4a326f
mov al, byte [0x520051]
test al, al
je 0x4a3227
test bp, bp
je 0x4a325d
cmp bp, 1
jne 0x4a30e2
xor dx, dx
push 1
mov dl, bl
lea ecx, [esi + 0x74]
push edx
call fcn.004be4c0
sub al, byte [esp + 0x30]
jmp 0x4a3240
test bp, bp
jne 0x4a3253
xor ax, ax
push 1
mov al, bl
lea ecx, [esi + 0x74]
push eax
call fcn.004be4c0
add al, byte [esp + 0x30]
push eax
push ebx
mov ecx, esi
call fcn.004a3290
test ax, ax
jl 0x4a3273
jmp 0x4a30e2
cmp bp, 1
jne 0x4a30e2
xor cx, cx
push 1
mov cl, bl
push ecx
lea ecx, [esi + 0x74]
call fcn.004be4c0
jmp 0x4a3240
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 0x4a6f10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f32c0
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.004be1a0
push 6
push 0x512ca8
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004be240
push 6
push 0x512ca0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.004be240
mov ax, word [esi + 0x2c]
lea ecx, [esp + 0xc]
sar eax, 8
push eax
push 1
mov byte [esp + 0x30], 2
call fcn.004be5e0
mov cl, byte [esi + 0x2c]
push ecx
push 2
lea ecx, [esp + 0x14]
call fcn.004be5e0
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x38], 3
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50fb4c
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x38], 2
call fcn.004caf10
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push ebx
push 4
call fcn.004be5e0
xor edi, edi
push edi
push 5
lea ecx, [esp + 0x14]
call fcn.004be5e0
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.004a5660
test ax, ax
jl 0x4a7080
inc edi
cmp di, 2
jl 0x4a6fda
sub bl, 0x5b
lea ecx, [esp + 0x10]
push ebx
push 5
call fcn.004be5e0
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.004be240
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x3c], 4
call fcn.004be1b0
mov ecx, 0x5200a8
mov byte [esp + 0x38], 2
call fcn.004caf10
push 2
push 5
lea ecx, [esp + 0x14]
call fcn.004be5e0
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.004a5660
test ax, ax
jge 0x4a70c5
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004be2e0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004be2e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004be2e0
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.004be240
push ecx
mov byte [esp + 0x38], 5
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x512c98
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x38], 2
call fcn.004caf10
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004be2e0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004be2e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004be2e0
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 0x4cd1d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f58c0
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.004be1b0
lea ecx, [esp + 0x14]
push ecx
call fcn.004cfca0
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.00413e90
sub esp, 0x10
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x4c], 3
call fcn.00413ad0
mov ecx, esi
mov byte [esp + 0x48], 2
call fcn.004cd0d0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4cd28a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4cd281
cmp al, 0xff
je 0x4cd281
dec al
mov byte [ecx], al
jmp 0x4cd28a
push ecx
call fcn.004de1a0
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.004be2e0
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
je 0x4cd2c7
mov al, byte [ecx - 1]
cmp al, bl
je 0x4cd2bd
cmp al, 0xff
je 0x4cd2bd
dec al
mov byte [ecx - 1], al
jmp 0x4cd2c7
dec ecx
push ecx
call fcn.004de1a0
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 0x4cd580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f5920
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.004be1b0
lea ecx, [esp + 0x10]
push ecx
call fcn.004cfca0
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.00413ad0
mov ecx, esi
call fcn.004cd500
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4cd609
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4cd600
cmp al, 0xff
je 0x4cd600
dec al
mov byte [ecx], al
jmp 0x4cd609
push ecx
call fcn.004de1a0
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.004be2e0
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8
Function at 0x4ce820
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4f5a7f
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.004be1a0
mov ecx, 0xe
mov esi, 0x513cac
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 0x4ce89f
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 0x4ce876
push esi
push ebx
lea ecx, [esp + 0x18]
call fcn.004be720
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004be1b0
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.004be2e0
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 0x4ceb30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f5ad8
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.004be1a0
mov al, byte [esp + 0x38]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
mov byte [esp + 0x1c], al
call fcn.00414090
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x38], 3
call fcn.004be1b0
lea ecx, [esp + 0x18]
call fcn.004be4d0
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x3c]
push eax
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.00413e90
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x4cebcf
lea edx, [esp + 0x38]
lea ecx, [esi + 8]
push edx
call fcn.004be580
test al, al
jne 0x4cebcf
mov esi, dword [esi]
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x4cebb5
mov eax, dword [edi + 4]
cmp esi, eax
je 0x4cec65
mov eax, dword [0x4f73d0]
lea edx, [esp + 0x3c]
push eax
push 0
lea ecx, [esi + 0xc]
push edx
call fcn.00413e90
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.004dee45
add esp, 4
mov ecx, ebp
test ebp, ebp
jne 0x4cec10
mov ecx, eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4cec1c
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.004d04f0
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.004d0670
push esi
call fcn.004de1a0
mov eax, dword [edi + 8]
add esp, 4
dec eax
mov dword [edi + 8], eax
jmp 0x4cec92
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push eax
push edx
mov ecx, edi
call fcn.004d03e0
cmp dword [edi + 8], 0x64
jbe 0x4cec92
mov eax, dword [edi + 4]
mov ecx, edi
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004d0440
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.00414090
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004be2e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.004be2e0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4cece2
mov al, byte [ecx - 1]
test al, al
je 0x4cecd8
cmp al, 0xff
je 0x4cecd8
dec al
mov byte [ecx - 1], al
jmp 0x4cece2
dec ecx
push ecx
call fcn.004de1a0
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 0x4d6290
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f622e
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.004d63a0
push ebx
mov ecx, edi
mov byte [esp + 0x34], 3
mov byte [edi], dl
call fcn.00414090
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x4c]
push eax
push ebx
push ecx
mov ecx, edi
call fcn.00413e90
sub esp, 0x10
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 4
call fcn.00413ad0
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
mov byte [esp + 0x44], 3
call fcn.004d63a0
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x4d6359
mov al, byte [ecx - 1]
cmp al, bl
je 0x4d634f
cmp al, 0xff
je 0x4d634f
dec al
mov byte [ecx - 1], al
jmp 0x4d6359
dec ecx
push ecx
call fcn.004de1a0
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 0x4d6389
mov al, byte [ecx - 1]
cmp al, bl
je 0x4d637f
cmp al, 0xff
je 0x4d637f
dec al
mov byte [ecx - 1], al
jmp 0x4d6389
dec ecx
push ecx
call fcn.004de1a0
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 0x4d6ec0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x40c
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [0x520530]
mov esi, dword [esp + 0x41c]
test ecx, ecx
push edi
mov byte [esp + 0x13], 0
je 0x4d6f11
mov ebx, dword [esp + 0x424]
mov eax, dword [ecx]
push ebx
push esi
call dword [eax + 0x10]
mov eax, dword [0x520530]
test eax, eax
je 0x4d6f18
cmp byte [eax + 0x90], 1
jne 0x4d6f18
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x40c
ret 8
mov ebx, dword [esp + 0x424]
call fcn.004ccc40
test al, al
je 0x4d6f30
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x40c
ret 8
cmp dword [ebp], 0
je 0x4d70c2
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 0x4d6f97
mov dl, byte [esp + eax + 0x1c]
add cl, dl
inc eax
cmp eax, esi
jl 0x4d6f8c
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 0x4d70b0
mov ecx, dword [ebp]
lea eax, [esp + 0x11]
push 1
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp eax, 1
jne 0x4d6fc8
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x13]
test bl, bl
mov byte [esp + 0x13], al
jne 0x4d701f
cmp cl, 0xcf
jne 0x4d6fc8
cmp al, 0x33
jne 0x4d6fc8
mov byte [esp + 0x21c], cl
mov byte [esp + 0x21d], al
mov bl, 1
mov esi, 2
jmp 0x4d6fc8
mov byte [esp + esi + 0x21c], al
inc esi
cmp esi, 9
jne 0x4d6fc8
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 0x4d7056
xor bl, bl
jmp 0x4d6fc8
mov dl, byte [esp + 0x220]
not dl
cmp al, dl
jne 0x4d704f
mov al, byte [esp + 0x221]
not al
cmp cl, al
jne 0x4d704f
mov al, byte [ebp + 8]
mov cl, byte [esp + 0x222]
cmp cl, al
jne 0x4d708b
mov cl, byte [esp + 0x223]
not cl
cmp al, cl
je 0x4d7094
xor bl, bl
xor esi, esi
jmp 0x4d6fc8
xor cl, cl
xor eax, eax
mov bl, byte [esp + eax + 0x21c]
add cl, bl
inc eax
cmp eax, 8
jl 0x4d7098
cmp cl, byte [esp + 0x224]
je 0x4d70d1
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x4d6faa
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 0x4d7c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f63c4
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], 0x4f8158
mov dword [esp + 0x40], 3
call fcn.004d8150
mov eax, dword [esi + 0x74]
push eax
mov dword [esp + 0x18], eax
call fcn.004de1a0
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 0x4d7d18
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 0x4d7c7c
cmp ecx, dword [esi + 0x48]
jne 0x4d7d0d
mov eax, dword [esi + 0x50]
lea ecx, [eax + 4]
mov dword [esi + 0x50], ecx
mov eax, dword [eax]
push eax
call fcn.004de1a0
mov eax, dword [esi + 0x6c]
add esp, 4
cmp eax, ebx
jne 0x4d7cde
lea ecx, [esp + 0x18]
call fcn.004d9360
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.004de1a0
add esp, 4
jmp 0x4d7d0d
mov eax, dword [esi + 0x50]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x30]
call fcn.004d93d0
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 0x4d7c60
mov eax, dword [esi + 0x34]
push eax
mov dword [esp + 0x18], eax
call fcn.004de1a0
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 0x4d7d58
mov ecx, edi
call fcn.004be2e0
add edi, 4
cmp edi, ebp
jne 0x4d7d4a
mov eax, dword [esi + 0x14]
push eax
call fcn.004de1a0
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 0x4d7d91
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4d7d88
cmp al, 0xff
je 0x4d7d88
dec al
mov byte [ecx], al
jmp 0x4d7d91
push ecx
call fcn.004de1a0
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