joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b0e0
Capabilities:
Hash data with md5

Disassembly:
movzx eax, word [0x452b98]
sub eax, 0x28084a89
mov word [0x452b98], ax
mov dword [ecx], 0
dec dword [0x440ad0]
mov eax, dword [0x440ad0]
mov edx, dword [0x441fc8]
imul eax, eax, 0x3669e696
or edx, eax
movzx eax, word [0x4565f0]
sub eax, edx
mov word [0x4565f0], ax
mov dword [ecx + 4], 0
mov edx, dword [0x43a150]
imul edx, edx, 0xa541e18
mov dword [0x43a150], edx
mov dword [ecx + 8], 0x67452301
mov eax, dword [0x446f0c]
mov edx, dword [0x444470]
sub eax, edx
mov dword [0x446f0c], eax
mov dword [ecx + 0xc], 0xefcdab89
movzx eax, word [0x4500aa]
mov edx, dword [0x43af54]
cwde
or edx, eax
mov word [0x4500aa], dx
mov dword [ecx + 0x10], 0x98badcfe
mov eax, dword [0x444264]
mov edx, dword [0x4444a4]
sar eax, 1
and edx, eax
sub dword [0x43a430], edx
dec dword [0x4444a4]
mov dword [ecx + 0x14], 0x10325476
mov eax, dword [0x44042c]
xor eax, 0x2931cb95
or dword [0x4411b8], eax
ret
Function at 0x4038f8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
and dword [ebp - 4], 0
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
mov edi, edx
lea ecx, [ebp - 4]
push 0x2002
call fcn.004054f3
test al, al
jne 0x40391f
xor bl, bl
jmp 0x403955
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40391b
push dword [ebp + 8]
push edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x40391b
and dword [ebp - 4], 0
mov bl, 1
lea ecx, [ebp - 4]
call fcn.00405514
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x403b07
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x403c93
Capabilities:
Create directory

Disassembly:
mov eax, 0x429a38
call fcn.00428650
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x403cb6
mov al, 1
jmp 0x403cfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403cc7
xor al, al
jmp 0x403cfc
lea ecx, [ebp - 0x44]
call fcn.00403ed5
lea ecx, [ebp - 0x1c]
call fcn.00402679
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0040418c
test al, al
je 0x403cf1
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00402153
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40417d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40418b
or eax, eax
ret

Function at 0x40eee1
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x42a6de
call fcn.00428650
push ecx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [esi], 0x42d03c
mov dword [esi + 4], 0x42d028
mov dword [esi + 8], 0x42d018
mov dword [esi + 0xc], 0x42c804
mov dword [esi + 0x10], 0x42d004
mov dword [esi + 0x14], eax
mov byte [esi + 0x18], al
mov dword [ebp - 0x10], esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
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
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
call fcn.00402679
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402679
lea edi, [esi + 0x60]
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00403ed5
lea ecx, [edi + 0x28]
call fcn.00402679
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 5
call fcn.0040ac77
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42cff0
mov dword [esi + 4], 0x42cfdc
mov dword [esi + 8], 0x42cfcc
mov dword [esi + 0xc], 0x42cfbc
mov dword [esi + 0x10], 0x42cfa8
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x410895
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x42a972
call fcn.00428650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x42d108
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.00402679
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402679
or dword [esi + 0x64], 0xffffffff
mov byte [esi + 0x60], bl
mov byte [esi + 0x61], bl
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 5
call fcn.00402679
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.00402679
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42d0d4
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x42aa85
call fcn.00428650
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.00410e09
push dword [esi + 0x24]
call fcn.00402153
push dword [esi + 0x18]
call fcn.00402153
push dword [esi + 0xc]
call fcn.00402153
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x42d13c
mov dword fs:[0], ecx
pop esi
leave
ret

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

Disassembly:
mov eax, 0x42aa85
call fcn.00428650
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.00410e09
push dword [esi + 0x24]
call fcn.00402153
push dword [esi + 0x18]
call fcn.00402153
push dword [esi + 0xc]
call fcn.00402153
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x42d13c
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x41221f
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x42acb0
call fcn.00428650
sub esp, 0x320
push ebx
mov dword [ebp - 0x1c], ecx
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.00402679
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
cmp byte [esi], 0
je 0x41228c
push dword [esi + 0xc]
lea ecx, [ebp - 0x40]
push dword [esi + 8]
call fcn.004120db
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0041217b
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040281c
push dword [ebp - 0x58]
call fcn.00402153
push dword [ebp - 0x40]
and byte [ebp - 4], 0
call fcn.00402153
pop ecx
pop ecx
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.00402b19
lea ebx, [eax + 1]
lea eax, [ebp - 0x4c]
push ebx
push eax
mov ecx, edi
call fcn.004096fb
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
lea eax, [eax + ebx*2]
push eax
call fcn.004026bc
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004121c1
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.004121c1
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040274c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00402996
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402a09
lea ecx, [ebp - 0x18]
call fcn.00402996
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402a09
lea ecx, [ebp - 0x18]
call fcn.00402996
cmp byte [esi + 1], 0
je 0x412368
mov edx, 0x3f4
lea ecx, [ebp - 0x40]
call fcn.00405970
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00402a09
push dword [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00402153
lea ecx, [ebp - 0x18]
mov dword [esp], 0x42d230
call fcn.00402a45
push 0
lea edx, [ebp - 0x78]
lea ecx, [esi + 0x10]
call fcn.00405924
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402a45
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call esi
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi]
push 0x110
lea eax, [ebp - 0x32c]
push 0x2b4
push eax
push 0x80
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4123bf
push dword [ebp + 0xc]
push dword [ebx + 4]
call esi
push 0
push dword [ebp - 0x32c]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x18]
call fcn.00402153
push dword [ebp - 0x34]
call fcn.00402153
push dword [ebp - 0x4c]
call fcn.00402153
push dword [ebp - 0x28]
call fcn.00402153
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x412596
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x42ace8
call fcn.00428650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
or eax, 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x38]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov byte [esi + 3], bl
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
call fcn.00402679
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.00402679
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.00402679
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
call fcn.0041262c
lea ecx, [esi + 0x98]
call fcn.004273d0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4125a2
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x42ace8
call fcn.00428650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
or eax, 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x38]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov byte [esi + 3], bl
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
call fcn.00402679
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.00402679
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.00402679
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
call fcn.0041262c
lea ecx, [esi + 0x98]
call fcn.004273d0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x414dc7
Capabilities:
Get file system object information

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
ret 0xc

Function at 0x414fd8
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
lea eax, [esp]
neg cl
sbb ecx, ecx
and cl, 1
add ecx, 0x100
or cx, 0x4010
push ecx
push 0x2b4
push eax
push 0x90
push 0x42c960
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0x2b4
ret
Function at 0x415593
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x42b163
call fcn.00428650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x42d108
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
mov dword [esi + 8], ebx
call fcn.00402679
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402679
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x24], bl
mov byte [esi + 0x25], bl
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi], 0x42d3cc
mov byte [esi + 0x30], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x425b70
Capabilities:
Check for software breakpoints

Disassembly:
mov byte [0xd858a167], al
mov ebp, 0x7ca173f3
cdq
ja 0x425b90
xchg al, cl
cmc
or dl, byte [0x874c7834]
mov al, 0xa2
sbb ebx, dword [edx]
invalid
sub al, 0x9b
salc
cld
loopne 0x425beb
sbb byte [ebp - 0x113075ca], ch
loop 0x425baf
jae 0x425b8b
push esp
pop esp
invalid

Function at 0x425c10
Capabilities:
Check for software breakpoints

Disassembly:
call 0x653347bf
int3
add byte [eax + ebp], al
ret
je 0x425baa
mov dword [0x98f4346a], eax
add byte [ebx], al
push ecx
mov dh, 0x2b
xor edx, edx
push edi
inc eax
cmp ah, ah
ja 0x425bba
pushal
mov esp, 0x4af6808
push ds
or byte [eax - 0x51], ch
add al, 0x1e
imul edi, dword [ecx + ecx*4 + 0x1b9438a0], 0xfffffffe
out dx, eax
rcl byte [0x8c060743], 0x58
sub byte [edi + ebp*4 - 0x57af66b5], al
jle 0x425c3c
mov ebx, 0x5bee67c6
test byte [esp + edi*4 - 0x70], 0xc4
cmp al, 0xcc
nop
les edi, [esp + ecx*8]
jg 0x425bd0
fistp qword [ecx - 0x69]
cmpsd dword [esi], dword es:[edi]
ficomp dword [ebp - 0x6343477a]
dec eax
jecxz 0x425bd2
in eax, dx
jl 0x425be6
mov byte [0x70fa8bdc], al
sal ah, 1
mov al, 0x2f
inc esp
mov byte [eax - 1], al
pop esp
nop
dec edi
fsubr dword [ebx + 0x7c]
test ah, dh
int1
mov byte [0xc4ec0c70], al
jg 0x425c52
in al, dx
les edi, [edi + 0x12]
pop esp
rol ah, 1
jl 0x425c0c
test edi, edi
xor dh, al
int3
xchg ebx, eax
nop
in al, dx
and bl, bl
retf 0xaab1
Function at 0x4045a0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00404600

Function at 0x404600
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x408050]
test esi, esi
jle 0x4046ed
mov edi, dword [0x408054]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x404634
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x4046e6
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x404620
mov dword [esp], eax
mov ebx, eax
call fcn.00404f40
test eax, eax
mov edi, eax
je 0x40472a
lea ebx, [esi + esi*2]
mov esi, dword [0x408054]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.00405040
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x408054]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40470a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x4046df
sub eax, 0x40
and eax, 0xffffffbf
je 0x4046df
mov eax, dword [esp + 0x20]
add ebx, dword [0x408054]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x4046f4
add dword [0x408050], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x40463e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004045a0
mov eax, dword [0x408054]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.004045a0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004045a0
lea esi, [esi]
Function at 0x404bf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x408408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x408400]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x404c45
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x404c3e
test esi, esi
je 0x404c3e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x404c20
mov dword [esp], 0x408408
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x404e60
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x404e98
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x404e8e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x404e9a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x404e80
xor eax, eax
pop ebx
pop esi
ret
Function at 0x10001590
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c0cd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x100b7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x100aee30]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x19032f09
mov dword [ebp - 0x2c], 0x1e091802
mov byte [ebp - 0x28], 0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x17
jb 0x100015e8
mov byte [ebp - 0x28], 0
mov dl, 0x6b
mov dword [ebp - 0x20], 0x190e006b
xor ecx, ecx
mov dword [ebp - 0x1c], 0x58070e05
mov dword [ebp - 0x18], 0x70f4559
mov word [ebp - 0x14], 7
lea eax, [ebp - 0x1f]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x10001629
mov dl, byte [ebp - 0x20]
jmp 0x10001618
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x13], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x3f]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10018430
cmp al, 0xe9
jne 0x100016e5
movaps xmm0, xmmword [0x100af820]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x53
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x10001664
xorps xmm0, xmm0
mov byte [ebp - 0x13], 0
lea ecx, [ebp - 0x23]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001690
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10002540
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.1001d6c0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100016e5
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100016db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100016f7
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10084bdf
int3
Function at 0x10001700
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c0fd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x100b7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dl, 0x33
mov dword [ebp - 0x20], 0x5e5a4733
mov dword [ebp - 0x1c], 0x47567456
xor ecx, ecx
mov dword [ebp - 0x18], 0x565e5a67
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x1f]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xb
jae 0x10001767
mov dl, byte [ebp - 0x20]
jmp 0x10001756
mov byte [ebp - 0x14], 0
mov dl, 0xf
mov dword [ebp - 0x38], 0x7d6a640f
xor ecx, ecx
mov dword [ebp - 0x34], 0x3c636a61
mov dword [ebp - 0x30], 0x636b213d
mov word [ebp - 0x2c], 0x63
nop word [eax + eax]
lea eax, [ebp - 0x37]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x100017a1
mov dl, byte [ebp - 0x38]
jmp 0x10001790
lea eax, [ebp - 0x37]
mov byte [ebp - 0x2b], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1f]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10018430
cmp al, 0xe9
jne 0x10001865
movaps xmm0, xmmword [0x100afd30]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x7e
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x10
jb 0x100017e0
xorps xmm0, xmm0
mov byte [ebp - 0x2b], 0
lea ecx, [ebp - 0x3b]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001810
sub ecx, edx
lea eax, [ebp - 0x3b]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002540
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.1001d6c0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10001865
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000185b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001877
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10084bdf
int3

Function at 0x10001d20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
ret
Function at 0x10001d30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b18f8
push 0x10080fc0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x100b7040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001dc5
xor al, al
jmp 0x10001e4e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001df0
xor al, al
jmp 0x10001e4e
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001e3b
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1007f9e5
mov esp, ebp
pop ebp
ret