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

Disassembly:
push 0xffffffffffffffff
push 0x4ad4b3
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 0x55d2ce
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x4da498
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], 0x4d82a8
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 [fcn.004b00a8]
push eax
mov ecx, edi
call 0x562967
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call 0x56402c
test eax, eax
je 0x506d5c
mov ecx, dword [esp + 0x3c]
call 0x562994
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.004b0448]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x506d20
push edi
mov ecx, esi
call 0x55fffb
mov ecx, esi
call fcn.00506ec0
cmp dword [esp + 0x38], 1
jne 0x506d55
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 0x560136
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 0x509790
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x5097c3
push esi
call fcn.0050c890
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x5097bc
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 0x509849
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x509832
mov eax, dword [esi + 8]
test eax, eax
je 0x5097e7
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 0x50982e
cmp eax, 2
je 0x509832
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5097da
cmp eax, 3
je 0x50980d
cmp eax, 1
jne 0x5097da
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 0x5097da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x5097da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00509870
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x509858
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00509870
add esp, 4
pop esi
ret
Function at 0x527050
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ae7f0
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 0x5271f7
mov ecx, dword [0x4f6f34]
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 0x52714c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00525d70
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call 0x55bda6
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call 0x55bcb9
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4f3f3c
call 0x55bd27
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00526130
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call 0x55bda6
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call 0x55bcb9
lea ecx, [esp + 0xc]
call 0x55c181
mov ecx, dword [esp + 0xc]
push 0x4f497c
push ecx
call 0x539964
add esp, 8
test eax, eax
je 0x527174
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x5270ad
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call 0x55bcb9
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call 0x55bcb9
jmp 0x5271fb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00526df0
test eax, eax
push 0
je 0x5271df
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00525490
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5271c5
cmp eax, 0x64
jg 0x5271b3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [fcn.004b039c]
mov esi, eax
jmp 0x527150
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [fcn.004b039c]
mov esi, eax
jmp 0x527150
cmp eax, 0x64
jge 0x52714c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [fcn.004b039c]
mov esi, eax
jmp 0x527150
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00525490
mov esi, eax
jmp 0x527150
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x527205
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 0x533eb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4aeaa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.005342b0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x529e1c
call 0x53aeaf
mov ecx, dword [0x4d9d64]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00531620
mov esi, 0x4d9dbc
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x533f57
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x533f4e
cmp al, 0xff
je 0x533f4e
dec al
mov byte [ecx], al
jmp 0x533f57
push ecx
call 0x55ba23
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call 0x557bb0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x533f9d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x533f94
cmp al, 0xff
je 0x533f94
dec al
mov byte [ecx], al
jmp 0x533f9d
push ecx
call 0x55ba23
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call 0x53af36
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x42fba7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x44a350]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x10
xor ebx, ebx
push 1
push ebx
mov dword [ebp - 0x20], eax
mov esi, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], 0x720050
mov dword [ebp - 0x18], 0x760069
mov dword [ebp - 0x14], 0x740061
mov dword [ebp - 0x10], 0x420065
mov dword [ebp - 0xc], 0x690075
mov dword [ebp - 8], 0x64006c
call dword [0x43d13c]
mov edi, eax
cmp edi, ebx
jne 0x42fc32
call dword [fcn.0043d054]
cmp esi, ebx
je 0x42fc0e
mov dword [esi], eax
cmp dword [ebp - 0x20], ebx
je 0x42fc2b
push eax
push fcn.00444280
push 0xffffffffffffffff
push 0x104
push dword [ebp - 0x20]
call fcn.0044c0ff
add esp, 0x14
xor eax, eax
jmp 0x42fd1c
push edi
push ebx
call dword [0x43d140]
cmp eax, ebx
jne 0x42fc57
call dword [fcn.0043d054]
cmp esi, ebx
je 0x42fc4a
mov dword [esi], eax
cmp dword [ebp - 0x20], ebx
je 0x42fc2b
push eax
push 0x444288
jmp 0x42fc19
push eax
call dword [0x43d148]
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x42fc7e
call dword [fcn.0043d054]
cmp esi, ebx
je 0x42fc71
mov dword [esi], eax
cmp dword [ebp - 0x20], ebx
je 0x42fc2b
push eax
push 0x444290
jmp 0x42fc19
push edi
push ebx
call dword [0x43d144]
cmp eax, ebx
jne 0x42fca6
call dword [fcn.0043d054]
cmp esi, ebx
je 0x42fc96
mov dword [esi], eax
cmp dword [ebp - 0x20], ebx
je 0x42fc2b
push eax
push 0x444298
jmp 0x42fc19
add eax, 0xffffffdd
cmp eax, ebx
jbe 0x42fcfd
mov edx, dword [ebp - 0x24]
push 0x18
lea esi, [eax + edx]
pop ecx
lea edi, [ebp - 0x1c]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x42fcc4
sbb edx, edx
sbb edx, 0xffffffff
cmp edx, ebx
je 0x42fccd
dec eax
jne 0x42fcad
jmp 0x42fcfd
mov ecx, dword [ebp - 0x24]
push 5
lea esi, [eax + ecx]
call fcn.0044ae55
pop ecx
mov ecx, eax
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosb byte es:[edi], al
xor edi, edi
lea eax, [esi + 0x1a]
mov dl, byte [eax]
mov byte [edi + ecx], dl
inc edi
add eax, 2
cmp edi, 4
jb 0x42fce8
mov dword [ebp - 0x28], ecx
cmp ecx, ebx
jne 0x42fd19
cmp dword [ebp - 0x20], ebx
je 0x42fd19
push 0x4442a0
push 0xffffffffffffffff
push 0x104
push dword [ebp - 0x20]
call fcn.0044c0ff
add esp, 0x10
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044bca1
leave
ret
Function at 0x434384
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43b673
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x44a350]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], esi
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
jb 0x4343d3
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.00434ca6
pop ecx
pop ecx
test al, al
je 0x434417
cmp dword [esp + 0xc], 1
jne 0x434417
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp byte [eax + ecx], 0x31
je 0x434408
cmp eax, esi
je 0x434427
push eax
jmp 0x434421
cmp eax, esi
je 0x434413
push eax
call fcn.0044ae4a
pop ecx
mov al, 1
jmp 0x434429
cmp dword [esp + 0x14], esi
je 0x434427
push dword [esp + 0x14]
call fcn.0044ae4a
pop ecx
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x434830
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4004c
call 0x45bde0
mov eax, dword [0x44a350]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x38
mov dword [ebp - 0x4000c], eax
mov eax, dword [ebp + 0xc]
push 0x444ca0
mov dword [ebp - 0x40010], eax
xor esi, esi
push 0xffffffffffffffff
lea eax, [ebp - 0x40048]
push eax
mov dword [ebp - 0x40028], esi
mov dword [ebp - 0x40024], esi
mov dword [ebp - 0x40020], esi
call 0x461a10
cmp eax, esi
jne 0x434965
mov ebx, 0x20000
push dword [ebp - 0x4000c]
lea eax, [ebp - 0x40008]
push ebx
push 1
push eax
call fcn.0044d0ec
push dword [ebp - 0x4000c]
mov dword [ebp - 0x40044], eax
call fcn.0044cda7
add esp, 0x14
test eax, eax
jne 0x434956
push dword [ebp - 0x4000c]
call fcn.0044cd7f
neg eax
sbb esi, esi
lea eax, [ebp - 0x40008]
pop ecx
and esi, 4
mov dword [ebp - 0x40048], eax
lea eax, [ebp - 0x20008]
mov dword [ebp - 0x4003c], eax
push esi
lea eax, [ebp - 0x40048]
push eax
mov dword [ebp - 0x40038], ebx
call 0x460f80
push dword [ebp - 0x40010]
mov edi, ebx
sub edi, dword [ebp - 0x40038]
lea eax, [ebp - 0x20008]
push edi
push 1
push eax
call fcn.0044d260
add esp, 0x10
cmp eax, edi
jne 0x434956
push dword [ebp - 0x40010]
call fcn.0044cda7
pop ecx
test eax, eax
jne 0x434956
cmp dword [ebp - 0x40038], eax
je 0x4348e2
cmp esi, 4
jne 0x434892
lea eax, [ebp - 0x40048]
push eax
call 0x460020
xor eax, eax
jmp 0x434965
lea eax, [ebp - 0x40048]
push eax
call 0x460020
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044bca1
leave
ret 8
Function at 0x4381ae
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44a350]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea ebx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x6573736d
mov dword [ebp - 0xc], 0x2e736563
mov dword [ebp - 8], 0x657865
call fcn.00437fac
test eax, eax
je 0x43821a
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0x7263694d
mov dword [ebp - 0x28], 0x666f736f
mov dword [ebp - 0x24], 0x65532074
mov dword [ebp - 0x20], 0x69727563
mov dword [ebp - 0x1c], 0x43207974
mov dword [ebp - 0x18], 0x6e65696c
mov word [ebp - 0x14], 0x74
call fcn.00438045
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0044bca1
leave
ret

Function at 0x43871a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x44a350]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x34]
xor ebx, ebx
push eax
xor esi, esi
mov dword [ebp - 0x34], ebx
call dword [fcn.0043d1f0]
push eax
call dword [0x43d088]
cmp dword [ebp - 0x34], 1
jne 0x43874f
mov esi, pe_nt_image_headers32
lea eax, [ebp - 0x2c]
push eax
or esi, 0x20019
push esi
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x80000002
mov dword [ebp - 0x28], 0x54464f53
mov dword [ebp - 0x24], 0x45524157
mov dword [ebp - 0x20], 0x63694d5c
mov dword [ebp - 0x1c], 0x6f736f72
mov dword [ebp - 0x18], 0x575c7466
mov dword [ebp - 0x14], 0x6f646e69
mov dword [ebp - 0x10], 0x44207377
mov dword [ebp - 0xc], 0x6e656665
mov dword [ebp - 8], 0x726564
call dword [0x43d01c]
test eax, eax
je 0x4387b1
xor al, al
jmp 0x4387e8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push 0x445648
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], 4
call dword [0x43d018]
test eax, eax
jne 0x4387dd
cmp dword [ebp - 0x30], 1
je 0x4387ad
push dword [ebp - 0x2c]
call dword [0x43d00c]
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044bca1
leave
ret
Function at 0x444320
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, eax
xor esi, esi
push ebx
mov dword [ebp - 4], esi
call fcn.00444420
add esp, 4
cmp eax, 0x64
jl 0x44434a
cmp eax, 0xc8
jl 0x4443ce
cmp eax, 0xcc
je 0x4443ce
cmp eax, 0x130
je 0x4443ce
cmp eax, 0xcd
je 0x4443ce
cmp ebx, 4
jbe 0x444397
lea ecx, [ebx - 4]
mov eax, 4
mov edx, 0xa0d0a0d
jmp 0x444376
mov edi, dword [ebp + 8]
test esi, esi
jne 0x4443c4
cmp dword [edi + eax - 4], edx
jne 0x444388
mov dword [ebp - 4], eax
mov esi, 1
inc eax
lea edi, [eax - 4]
cmp edi, ecx
jbe 0x444373
test esi, esi
jne 0x4443c4
mov edi, dword [ebp + 8]
cmp ebx, 2
jbe 0x4443c4
add ebx, 0xfffffffe
mov eax, 2
test esi, esi
jne 0x4443c4
mov ecx, 0xa0a
cmp cx, word [edi + eax - 2]
jne 0x4443bc
mov dword [ebp - 4], eax
mov esi, 1
inc eax
lea edx, [eax - 2]
cmp edx, ebx
jbe 0x4443a4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 2
jbe 0x44440a
lea ecx, [ebx - 2]
mov eax, 4
jmp 0x4443e0
test esi, esi
jne 0x4443c4
mov edx, 0xa0d
cmp dx, word [eax + edi - 4]
jne 0x4443f8
mov dword [ebp - 4], eax
mov esi, 1
inc eax
lea edx, [eax - 4]
cmp edx, ecx
jbe 0x4443e0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445ea0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bb69
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x44a350]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
xor edi, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 1
cmp dword [ebp + 0x10], ebx
je 0x446021
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
dec dword [ebp + 0x10]
mov byte [ebp + edi - 0x10], cl
inc edi
inc eax
mov dword [ebp + 0xc], eax
cmp edi, 3
jne 0x445f6b
mov al, byte [ebp - 0x10]
mov dl, al
and al, 3
shl al, 4
shr dl, 2
mov cl, al
mov al, byte [ebp - 0xf]
mov byte [ebp - 0x14], dl
mov dl, al
and al, 0xf
add al, al
shr dl, 4
add cl, dl
mov byte [ebp - 0x13], cl
lea ecx, [eax + eax]
mov al, byte [ebp - 0xe]
mov dl, al
shr dl, 6
and al, 0x3f
mov byte [ebp - 0x11], al
add ecx, edx
mov byte [ebp - 0x12], cl
xor edi, edi
cmp dword [0x44b96c], 0x10
mov eax, dword [0x44b958]
jae 0x445f54
mov eax, 0x44b958
movzx ecx, byte [ebp + edi - 0x14]
mov bl, byte [ecx + eax]
call fcn.00446380
inc edi
cmp edi, 4
jl 0x445f41
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x445ef1
cmp edi, ebx
je 0x446021
cmp edi, 3
jge 0x445f93
mov edx, 3
sub edx, edi
push edx
lea eax, [ebp + edi - 0x10]
push ebx
push eax
call fcn.0044add0
add esp, 0xc
mov al, byte [ebp - 0x10]
mov cl, al
and al, 3
shl al, 4
mov dl, al
mov al, byte [ebp - 0xf]
shr cl, 2
mov byte [ebp - 0x14], cl
mov cl, al
and al, 0xf
add al, al
shr cl, 4
add dl, cl
mov byte [ebp - 0x13], dl
mov dword [ebp + 0x10], ebx
lea edx, [eax + eax]
mov al, byte [ebp - 0xe]
mov cl, al
shr cl, 6
and al, 0x3f
mov byte [ebp - 0x11], al
lea eax, [edi + 1]
add edx, ecx
mov byte [ebp - 0x12], dl
cmp eax, ebx
jle 0x446006
cmp dword [0x44b96c], 0x10
mov eax, dword [0x44b958]
jae 0x445fe8
mov eax, 0x44b958
mov edx, dword [ebp + 0x10]
movzx ecx, byte [ebp + edx - 0x14]
mov bl, byte [ecx + eax]
call fcn.00446380
mov eax, dword [ebp + 0x10]
inc eax
lea ecx, [edi + 1]
mov dword [ebp + 0x10], eax
cmp eax, ecx
jl 0x445fd5
cmp edi, 3
jge 0x446021
mov eax, 3
sub eax, edi
mov dword [ebp + 0x10], eax
mov bl, 0x3d
call fcn.00446380
dec dword [ebp + 0x10]
jne 0x446015
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ccf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4850ab
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.00479849
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40cd72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004773a0
mov eax, dword [eax]
push 0x49f1d0
push eax
call fcn.004697c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00479ad4
test bl, bl
je 0x40cd72
push 0x49f1d0
lea ecx, [esp + 0xc]
call fcn.00479e64
push 0x4a2d54
lea ecx, [esp + 0xc]
call fcn.00479e64
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 0x40cdae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00479ad4
jmp 0x40ce79
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 0x40ce32
lea edx, [esp + 0x7c]
push 0x4a2d50
push edx
call fcn.004697c4
add esp, 8
test eax, eax
je 0x40ce32
lea eax, [esp + 0x7c]
push 0x4a2d4c
push eax
call fcn.004697c4
add esp, 8
test eax, eax
je 0x40ce32
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 0x40cdc2
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.00479ad4
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 0x40d670
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 0x40d6d2
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
Function at 0x40d6e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48512b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ab13c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40d818
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40d746
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00479ad4
xor eax, eax
jmp 0x40d88f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00479c11
push esi
lea ecx, [esp + 0xc]
call fcn.00479ea0
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4a2d8c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40d86d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4a2d84
push closesocket
call fcn.0040d670
test eax, eax
jne 0x40d86d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4a2d70
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040d670
test eax, eax
jne 0x40d86d
lea eax, [esp + 0x14]
push 0x4a2d68
push eax
call fcn.0046a800
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d84c
lea ecx, [esp + 0x14]
push 0x4a2d64
push ecx
call fcn.0046a780
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d84c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40d84f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00479bc1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40d75e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00479ad4
xor eax, eax
jmp 0x40d88f
mov byte [esi], 0
push 0x4a2d60
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00479ad4
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4