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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b2bd8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x449cd9
inc eax
mov dword [esi + 0x10], eax
jmp 0x449dec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x449ced
mov eax, 0xffffffc7
jmp 0x449dee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x449cfe
cmp dword [esi + 8], eax
jne 0x449ced
cmp dword [esi + 8], eax
jne 0x449d17
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x449d17
mov eax, 0xffffffc7
jmp 0x449dee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x449d2b
push eax
mov ecx, ebx
call fcn.004494d0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00418ff0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x449d5c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00419010
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00448c40
test eax, eax
mov dword [esp + 0x38], eax
je 0x449d8f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xf3a650
call fcn.004191f0
mov eax, dword [esp + 0x38]
jmp 0x449dee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00449b00
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x449dd3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00449b20
mov esi, eax
test esi, esi
jne 0x449e03
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00449b00
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x449da5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xf3a650
call fcn.004191f0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xf3a650
call fcn.004191f0
mov eax, esi
jmp 0x449dee
Function at 0x4565f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x456623
push esi
call fcn.004596f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45661c
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 0x4566a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x456692
mov eax, dword [esi + 8]
test eax, eax
je 0x456647
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 0x45668e
cmp eax, 2
je 0x456692
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45663a
cmp eax, 3
je 0x45666d
cmp eax, 1
jne 0x45663a
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 0x45663a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45663a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004566d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4566b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004566d0
add esp, 4
pop esi
ret
Function at 0x465ac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b39e0
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.00465670
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004656f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004656f0
lea ecx, [esi + 0xc]
call fcn.004a3119
lea ecx, [esi + 0x10]
call fcn.004a3119
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00466c80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00466c80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00466c80
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004a318e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a318e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4701f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x470315
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4702f9
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x47024b
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x470229
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

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

Disassembly:
push 0xffffffffffffffff
push 0x704278
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7c4680]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x7c8d04]
mov edx, dword [eax + 0xc]
mov ecx, 0x7c8d04
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push 0x7278f8
push ecx
mov dword [esp + 0x24], 0
call fcn.00487590
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 0xc
push edi
push edx
push eax
mov ecx, esi
call 0x4f9170
mov esi, eax
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0446
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x4a2b40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6ebcf0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
xor byte [ebx + 0x55], dl

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

Disassembly:
xor byte [ebx + 0x55], dl
push esi
push edi
mov eax, dword [0x7c4680]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x24], edi
xor ebp, ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov ebx, dword [esp + 0x54]
lea eax, [esp + 0x38]
push eax
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push ebx
mov byte [esp + 0x58], 1
mov dword [esp + 0x34], ebx
call fcn.00480430
inc dword [ebx - 0x3b7cef40]
add al, 0x8b
iretd
mov dword [esi], eax
call fcn.004976f0
mov edx, dword [0x7c8d04]
mov eax, dword [edx + 0xc]
mov ecx, 0x7c8d04
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov byte [esp + 0x4c], 2
jle 0x4a2d53
mov bl, 3
lea ebx, [ebx]

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

Disassembly:
push 0xffffffffffffffff
push 0x6ebd40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7c4680]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x24], edi
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov ebx, dword [esp + 0x48]
lea eax, [esp + 0x2c]
push eax
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push ebx
mov byte [esp + 0x4c], 1
mov dword [esp + 0x34], ebx
call fcn.00480430
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [esi], eax
call fcn.004976f0
mov edx, dword [0x7c8d04]
mov eax, dword [edx + 0xc]
mov ecx, 0x7c8d04
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
cmp eax, ebp
mov byte [esp + 0x40], 2
jle 0x4a2fb6
mov bl, 3
lea ebx, [ebx]

Function at 0x4a9700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6ec212
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
Function at 0x4aafc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6ec378
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x7c4680]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x7c4680]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edx, dword [0x727d28]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [0x727d20]
mov dword [esp + 0xc], eax
mov eax, dword [0x727d2c]
mov esi, ecx
mov ecx, dword [0x727d24]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
mov dword [esp + 0x38], eax
je 0x4ab092
cmp dword [esi + 4], eax
je 0x4ab092
lea edx, [esp + 8]
push edx
push 0x75beb0
lea eax, [esp + 0x24]
push eax
call ecx
test eax, eax
mov eax, dword [esp + 8]
jl 0x4ab092
test eax, eax
je 0x4ab092
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
test esi, esi
mov eax, dword [esp + 8]
jge 0x4ab0b5
test eax, eax
mov dword [esp + 0x38], 0xffffffff
je 0x4ab08e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
jmp 0x4ab0cb
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4ab0ae
cmp dword [esi + 4], 0
je 0x4ab0ae
push esi
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x24]
push edx
call ecx
jmp 0x4ab070
mov esi, 0x80004005
jmp 0x4ab07a
test eax, eax
mov dword [esp + 0x38], 0xffffffff
je 0x4ab0c9
invalid
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
Function at 0x4afdf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6ec7d0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7c4680]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x7c8d04]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x7c8d04
mov dword [esp + 0x54], ebx
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x54], 1
call fcn.004841b0
add eax, 0x90
push eax
lea ecx, [esp + 0x1c]
call fcn.00401e88
call fcn.004841b0
cmp dword [esi + 0x30], ebx
je 0x4afe60
fld dword [0x72573c]
jmp 0x4afe66
fld dword [0x728654]
push 0xc
fstp dword [esp + 0x18]
push 2
push ebx
call int.00484430
fld dword [esp + 0x20]
add esp, 0xc
push ebx
push 2
push ebx
push ecx
mov edi, eax
fstp dword [esp]
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.00482da0
fild dword [esi + 0x40]
lea ecx, [esp + 0x14]
push ecx
fstp dword [esp + 0x20]
push 0xfe000000
fild dword [esi + 0x44]
fstp dword [esp + 0x1c]
fld dword [0x728650]
fstp dword [esp + 0x44]
fld dword [0x72864c]
fstp dword [esp + 0x48]
fld dword [esp + 0x24]
fstp dword [esp + 0x4c]
fld dword [esp + 0x1c]
mov dword [esp + 0x1c], ebx
fstp dword [esp + 0x50]
call 0x6e62e8
cmp edi, ebx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
jne 0x4afee8
lea edi, [esp + 0x28]
mov esi, dword [esi + 0x24]
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], ebx
call 0x6e62ee
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
mov dword [esp + 0x2c], ebx
call 0x6e6300
mov edx, dword [esp + 0x20]
push ebx
push edx
mov dword [esp + 0x2c], eax
call 0x6e633c
cmp eax, ebx
je 0x4aff25
mov dword [esp + 0x24], eax
cmp edi, ebx
mov esi, dword [esp + 0x5c]
mov eax, dword [esi - 0xc]
je 0x4aff34
mov edi, dword [edi]
jmp 0x4aff36
xor edi, edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x44]
push ecx
push edi
push eax
push esi
push ebp
call 0x6e6342
mov edx, dword [esp + 0x20]
push edx
call 0x6e6306
push ebp
call 0x6e62e2
mov eax, dword [esp + 0x34]
push eax
call 0x6e62d0
mov ecx, dword [esp + 0x28]
push ecx
call 0x6e6336
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x54], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4aff96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4affba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
Function at 0x4affd0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6ec7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x7c4680]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004af9c0
mov eax, dword [esi + 0x4c]
xor edi, edi
push edi
sub esp, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], esp
mov eax, esp
lea ecx, [esp + 0x28]
push ecx
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], 0x36
call dword [0x71aad8]
mov eax, dword [esi + 0x24]
push 0x728664
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [ecx], eax
call fcn.0047ef00
lea edx, [esi + 0x50]
push edx
lea eax, [esp + 0x2c]
push 0x728658
push eax
call fcn.00489f20
mov eax, dword [esp + 0x34]
add esp, 0x24
mov dword [esp + 0x30], edi
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.00401fd0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.004afdf0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b00a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x43bc40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043544c
xor ebx, ebx
cmp dword [0x453af4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43bd16
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43bdf6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43bdf6
push eax
call fcn.004353de
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x453af4], eax
call esi
push eax
call fcn.004353de
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x453af8], eax
call esi
push eax
call fcn.004353de
mov dword [0x453afc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00435c5a
test eax, eax
pop ecx
pop ecx
je 0x43bce4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004328e2
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43bd16
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004353de
cmp eax, ebx
pop ecx
mov dword [0x453b04], eax
je 0x43bd16
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004353de
pop ecx
mov dword [0x453b00], eax
mov eax, dword [0x453b00]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43bd9b
cmp dword [0x453b04], ecx
je 0x43bd9b
push eax
call fcn.00435455
push dword [0x453b04]
mov esi, eax
call fcn.00435455
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43bd9b
cmp edi, ebx
je 0x43bd9b
call esi
cmp eax, ebx
je 0x43bd68
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43bd68
test byte [ebp - 0x18], 1
jne 0x43bd9b
lea eax, [ebp - 0x10]
push eax
call fcn.00435c91
test eax, eax
pop ecx
je 0x43bd83
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004328e2
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43bd92
or dword [ebp + 0x10], 0x200000
jmp 0x43bdd6
or dword [ebp + 0x10], 0x40000
jmp 0x43bdd6
mov eax, dword [0x453af8]
cmp eax, dword [ebp - 8]
je 0x43bdd6
push eax
call fcn.00435455
cmp eax, ebx
pop ecx
je 0x43bdd6
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43bdd6
mov eax, dword [0x453afc]
cmp eax, dword [ebp - 8]
je 0x43bdd6
push eax
call fcn.00435455
cmp eax, ebx
pop ecx
je 0x43bdd6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x453af4]
call fcn.00435455
cmp eax, ebx
pop ecx
je 0x43bdf6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43bdf8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40e7f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48753b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047c003
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40e872
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00479edd
mov eax, dword [eax]
push 0x1014cc0
push eax
call fcn.0046c1f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047c28e
test bl, bl
je 0x40e872
push 0x1014cc0
lea ecx, [esp + 0xc]
call fcn.0047c61e
push 0x1014ccc
lea ecx, [esp + 0xc]
call fcn.0047c61e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40e8ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047c28e
jmp 0x40e979
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40e932
lea edx, [esp + 0x7c]
push 0x1014cc8
push edx
call fcn.0046c1f4
add esp, 8
test eax, eax
je 0x40e932
lea eax, [esp + 0x7c]
push 0x1014cc4
push eax
call fcn.0046c1f4
add esp, 8
test eax, eax
je 0x40e932
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40e8c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047c28e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40f180
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40f1e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc