joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58a060
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x677ac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x67e64c]
push 0
lea ecx, [esp + 0x20]
call fcn.0066c307
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00589a00
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0066c235
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00668988
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00668988
push 1
push 0
push 0
mov ecx, esi
call fcn.00668930
push 1
push 0
push 1
mov ecx, esi
call fcn.00668930
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0066c379
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x58a1e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x677ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0066c307
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00589a00
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0066c235
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x67e64c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x58a2a4
cmp dword [esp + 0x40], 1
jne 0x58a2a2
cmp ecx, eax
jge 0x58a2a4
mov eax, ecx
cmp eax, 0xc8
jge 0x58a2b0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0058a060
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x67e648]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0066c379
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x58aa20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x677b53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00666c9f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0xbae330
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0xb933b8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x67e100]
push eax
mov ecx, edi
call fcn.0066c5af
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0066e358
test eax, eax
je 0x58ab3c
mov ecx, dword [esp + 0x3c]
call fcn.0066c5dc
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x67e66c]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x58ab00
push edi
mov ecx, esi
call fcn.00669b0b
mov ecx, esi
call fcn.0058aca0
cmp dword [esp + 0x38], 1
jne 0x58ab35
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00669c75
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x58d550
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x58d583
push esi
call fcn.005905f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x58d57c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x58d609
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x58d5f2
mov eax, dword [esi + 8]
test eax, eax
je 0x58d5a7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x58d5ee
cmp eax, 2
je 0x58d5f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x58d59a
cmp eax, 3
je 0x58d5cd
cmp eax, 1
jne 0x58d59a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x58d59a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x58d59a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0058d630
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x58d618
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0058d630
add esp, 4
pop esi
ret
Function at 0x5a1cf7
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6788d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call fcn.006641c1
mov eax, dword [0xcaa4c0]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x48], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ebx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0xb94a54
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x5a1d54
push ebx
call dword [0x67e3e4]
inc eax
push eax
call fcn.006652df
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call dword [0x67e3b8]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5ad024
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x5ad1dd
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x5ad156
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x5ad156
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x5ad13d
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x5ad13d
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.005ae290
mov ebp, eax
test ebp, ebp
je 0x5ad135
push ebp
mov ecx, esi
call fcn.005af680
test eax, eax
je 0x5ad135
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x5ad135
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x5ad0f6
xor eax, eax
jmp 0x5ad0fe
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.005b0020
inc ebx
xor ebp, ebp
jmp 0x5ad087
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x5ad060
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.005ae5a0
test eax, eax
pop ebx
je 0x5ad1dd
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.005ae290
mov edi, eax
cmp edi, ebp
je 0x5ad1dd
push edi
mov ecx, esi
call fcn.005af680
test eax, eax
je 0x5ad1dd
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.005ae7e0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.005ae850
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.005b0020
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x5b7410
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x679bd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0xb95a74
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.00663556
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.00663556
mov edi, dword [0x67e600]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], 0xb95a60
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [0x67e76c]
lea ecx, [esp + 0xb0]
push ecx
call dword [0x67e0fc]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.005b7f30
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x5be660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67a1b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.005be130
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.005be1a0
push 0
mov ecx, esi
call fcn.005be5e0
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x5be798
lea ecx, [esp + 0xc]
call fcn.005be4e0
cmp eax, 1
jae 0x5be6e7
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005be150
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x5be734
push 0
lea ecx, [esp + 0x10]
call fcn.005be560
push eax
push edi
mov ecx, 0xce0fdc
call fcn.005bdd60
test eax, eax
jne 0x5be73c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005be150
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.005be1a0
push edi
mov ecx, 0xce0fdc
call fcn.005bdcc0
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.005be550
push eax
call dword [0x67e37c]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x5be798
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [0x67e250]
test eax, eax
mov dword [esi + 4], eax
je 0x5be798
push 0
push 0
push 0
push 2
push eax
call dword [0x67e24c]
test eax, eax
mov dword [esi + 8], eax
jne 0x5be7c8
push 1
mov ecx, esi
call fcn.005be5e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005be150
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.005be150
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x5c8ac8
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x67a8b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00666c9f
lea edi, [esi + 0x48]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], 0xb96088
call fcn.005c8020
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.005c8020
lea ecx, [edi + 0x64]
mov byte [esp + 0x18], 2
call fcn.005c8020
lea ecx, [edi + 0x78]
mov byte [esp + 0x18], 3
call fcn.005c8020
mov dword [edi], 0xb96080
lea ecx, [esi + 0xd4]
mov byte [esp + 0x18], 4
call fcn.005c9320
mov ecx, dword [esp + 0x10]
mov dword [esi], 0xb95fc8
mov dword [esi + 0x34c], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5c8c00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x67a924
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0xb95fc8
lea ecx, [esi + 0xd4]
mov dword [esp + 0x18], 1
call fcn.005c97a0
lea edi, [esi + 0x48]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x78]
mov byte [esp + 0x18], 4
mov dword [ecx], 0xb96090
call fcn.005c8220
lea ecx, [edi + 0x64]
mov byte [esp + 0x18], 3
mov dword [ecx], 0xb96090
call fcn.005c8220
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 2
mov dword [ecx], 0xb96090
call fcn.005c8220
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0xb96090
call fcn.005c8220
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00667758
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5d42f0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67b4f0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5d4497
mov ecx, dword [0xcaa4c0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x5d43ec
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.005d3010
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.006656d7
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0066559e
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0xc99cdc
call fcn.0066560c
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.005d33d0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.006656d7
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0066559e
lea ecx, [esp + 0xc]
call fcn.00665ab2
mov ecx, dword [esp + 0xc]
push 0xc9a71c
push ecx
call fcn.00646544
add esp, 8
test eax, eax
je 0x5d4414
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x5d434d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0066559e
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0066559e
jmp 0x5d449b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.005d4090
test eax, eax
push 0
je 0x5d447f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.005d2730
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5d4465
cmp eax, 0x64
jg 0x5d4453
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [0x67e43c]
mov esi, eax
jmp 0x5d43f0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [0x67e43c]
mov esi, eax
jmp 0x5d43f0
cmp eax, 0x64
jge 0x5d43ec
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [0x67e43c]
mov esi, eax
jmp 0x5d43f0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.005d2730
mov esi, eax
jmp 0x5d43f0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x5d44a5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x5e61c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67bc00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005e5d70
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.005e5df0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.005e5df0
lea ecx, [esi + 0xc]
call fcn.00665529
lea ecx, [esi + 0x10]
call fcn.00665529
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.005e7380
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.005e7380
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.005e7380
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0066559e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0066559e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5efb90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x5efbc3
push esi
call fcn.005f4a90
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x5efbbc
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5efc49
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5efc32
mov eax, dword [esi + 8]
test eax, eax
je 0x5efbe7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x5efc2e
cmp eax, 2
je 0x5efc32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5efbda
cmp eax, 3
je 0x5efc0d
cmp eax, 1
jne 0x5efbda
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x5efbda
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x5efbda
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.005efc80
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5efc69
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.005efc80
add esp, 4
pop esi
ret

Function at 0x620880
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x62088b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x62098e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0xb99230]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xb99230]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xb99230]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xb99230]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xb99230]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xb99230]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xb99230]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xb99230]
xor eax, edx
inc ecx
dec edi
jne 0x6208a6
pop edi
test esi, esi
je 0x6209b0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xb99230]
xor eax, edx
inc ecx
dec esi
jne 0x620992
pop esi
pop ebx
not eax
ret
Function at 0x40386a
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x218
mov ebx, dword [esp + 0x234]
mov edi, dword [esp + 0x230]
mov esi, ebx
and esi, 0x300
lea eax, [esi + 9]
mov ecx, esp
push ecx
push eax
push edi
push dword [esp + 0x238]
call fcn.00407c6e
test eax, eax
jne 0x403947
mov dword [esp + 4], esi
test bl, 2
je 0x4038d3
xor eax, eax
lea ecx, [esp + 8]
mov dword [ecx], eax
lea edx, [esp + 0xe]
push eax
push eax
push eax
push eax
push ecx
push edx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x403929
lea ebp, [esp + 0xe]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x105
push ebp
push 0
push dword [esp + 0xc]
call esi
test eax, eax
jne 0x403903
test bl, 1
jne 0x403929
push ebx
push ebp
push dword [esp + 8]
call fcn.0040386a
test eax, eax
je 0x4038dd
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406d65
test eax, eax
je 0x403939
push 0
push dword [esp + 8]
push edi
push dword [esp + 0x238]
call eax
jmp 0x403947
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x403947
push edi
push dword [esp + 0x230]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret 0xc