joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42167c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x433024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041b6cd
and dword [ebp - 0x14], 0
cmp dword [0x4363d4], 0
mov dword [ebp - 0x18], eax
jne 0x42172f
push 0x42c7ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4217d7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42c7e0
push ebx
call edi
test eax, eax
je 0x4217d7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x42c7d0
push ebx
mov dword [0x4363d4], eax
call edi
push eax
call esi
push 0x42c7bc
push ebx
mov dword [0x4363d8], eax
call edi
push eax
call esi
push 0x42c7a0
push ebx
mov dword [0x4363dc], eax
call edi
push eax
call esi
mov dword [0x4363e4], eax
test eax, eax
je 0x42172f
push 0x42c788
push ebx
call edi
push eax
call esi
mov dword [0x4363e0], eax
mov eax, dword [0x4363e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x421788
cmp dword [0x4363e4], ecx
je 0x421788
push eax
call esi
push dword [0x4363e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x421788
test ebx, ebx
je 0x421788
call edi
test eax, eax
je 0x42177f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42177f
test byte [ebp - 8], 1
jne 0x421788
or dword [ebp + 0x10], 0x200000
jmp 0x4217bb
mov eax, dword [0x4363d8]
cmp eax, dword [ebp - 0x18]
je 0x4217bb
push eax
call esi
test eax, eax
je 0x4217bb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4217bb
mov eax, dword [0x4363dc]
cmp eax, dword [ebp - 0x18]
je 0x4217bb
push eax
call esi
test eax, eax
je 0x4217bb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4363d4]
call esi
test eax, eax
je 0x4217d7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4217d9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004161d1
leave
ret
Function at 0x425a56
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x436438], 0
push esi
push edi
jne 0x4259cc
call fcn.00425938
test eax, eax
je 0x425a11
mov eax, dword [0x436438]
cmp eax, 1
jne 0x4259ed
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x425a11
jmp 0x425a53
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x425a53
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x425a15
xor eax, eax
jmp 0x425a53
mov eax, dword [esi]
push dword [0x436438]
call edi
mov edi, eax
test edi, edi
je 0x425a37
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x425a53
lea edi, [esi + 0xff0]
push esi
push dword [0x436438]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x425a3d
mov eax, esi
pop edi
pop esi
ret
jmp 0x4259b8

Function at 0x426400
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x433024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.00426290
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [ebp - 0xc], ecx
shr ecx, 3
and ecx, 0x3f
mov dword [ebp - 8], edx
mov eax, 0x38
cmp ecx, 0x38
jb 0x426469
mov eax, 0x78
sub eax, ecx
push 0x435130
call fcn.00426290
lea eax, [ebp - 0xc]
push eax
mov eax, 8
call fcn.00426290
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
push 0x58
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
push 0
push esi
mov dword [edi + 0xc], ecx
call fcn.004161e0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.004161d1
mov esp, ebp
pop ebp
ret 8
Function at 0x426680
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x435270]
movzx ecx, byte [eax + 4]
mov byte [eax], dl
movzx edx, byte [ecx + 0x435270]
movzx ecx, byte [eax + 8]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 0x435270]
movzx ecx, byte [eax + 0xc]
mov byte [eax + 8], dl
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 0xc], dl
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 1], dl
movzx ecx, byte [eax + 5]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 5], dl
movzx ecx, byte [eax + 9]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 9], dl
movzx ecx, byte [eax + 0xd]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 0xd], dl
movzx ecx, byte [eax + 2]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 2], dl
movzx ecx, byte [eax + 6]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 6], dl
movzx ecx, byte [eax + 0xa]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 0xa], dl
movzx ecx, byte [eax + 0xe]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 0xe], dl
movzx ecx, byte [eax + 3]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 3], dl
movzx ecx, byte [eax + 7]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 7], dl
movzx ecx, byte [eax + 0xb]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 0xb], dl
movzx ecx, byte [eax + 0xf]
movzx edx, byte [ecx + 0x435270]
mov byte [eax + 0xf], dl
ret

Function at 0x426760
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x435170]
movzx ecx, byte [eax + 4]
mov byte [eax], dl
movzx edx, byte [ecx + 0x435170]
movzx ecx, byte [eax + 8]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 0x435170]
movzx ecx, byte [eax + 0xc]
mov byte [eax + 8], dl
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 0xc], dl
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 1], dl
movzx ecx, byte [eax + 5]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 5], dl
movzx ecx, byte [eax + 9]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 9], dl
movzx ecx, byte [eax + 0xd]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 0xd], dl
movzx ecx, byte [eax + 2]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 2], dl
movzx ecx, byte [eax + 6]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 6], dl
movzx ecx, byte [eax + 0xa]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 0xa], dl
movzx ecx, byte [eax + 0xe]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 0xe], dl
movzx ecx, byte [eax + 3]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 3], dl
movzx ecx, byte [eax + 7]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 7], dl
movzx ecx, byte [eax + 0xb]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 0xb], dl
movzx ecx, byte [eax + 0xf]
movzx edx, byte [ecx + 0x435170]
mov byte [eax + 0xf], dl
ret
Function at 0x427030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x427083
mov ebx, ecx
and ebx, 0x80000003
jns 0x427064
dec ebx
or ebx, 0xfffffffc
inc ebx
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov dl, byte [ecx + edi]
sar eax, 2
add eax, esi
mov byte [eax + ebx*4], dl
mov eax, dword [esi + 0x10]
add eax, eax
inc ecx
add eax, eax
cmp ecx, eax
jl 0x427055
mov ecx, dword [esi + 0x18]
mov eax, esi
call fcn.00426840
mov eax, dword [esi + 0x18]
dec eax
cmp eax, 1
jl 0x427132
mov ecx, eax
add ecx, ecx
lea ebx, [esi + ecx*8 + 0x3d]
mov dword [ebp - 4], eax
call fcn.004264e0
mov eax, esi
call fcn.00426680
movzx edx, byte [ebx - 1]
xor byte [esi], dl
movzx eax, byte [ebx]
xor byte [esi + 4], al
movzx ecx, byte [ebx + 1]
xor byte [esi + 8], cl
movzx edx, byte [ebx + 2]
xor byte [esi + 0xc], dl
movzx eax, byte [ebx + 3]
xor byte [esi + 1], al
movzx ecx, byte [ebx + 4]
xor byte [esi + 5], cl
movzx edx, byte [ebx + 5]
xor byte [esi + 9], dl
movzx eax, byte [ebx + 6]
xor byte [esi + 0xd], al
movzx ecx, byte [ebx + 7]
xor byte [esi + 2], cl
movzx edx, byte [ebx + 8]
xor byte [esi + 6], dl
movzx eax, byte [ebx + 9]
xor byte [esi + 0xa], al
movzx ecx, byte [ebx + 0xa]
xor byte [esi + 0xe], cl
movzx edx, byte [ebx + 0xb]
xor byte [esi + 3], dl
movzx eax, byte [ebx + 0xc]
xor byte [esi + 7], al
movzx ecx, byte [ebx + 0xd]
xor byte [esi + 0xb], cl
movzx edx, byte [ebx + 0xe]
xor byte [esi + 0xf], dl
mov edi, esi
call fcn.00426a60
sub ebx, 0x10
dec dword [ebp - 4]
jne 0x4270a5
call fcn.004264e0
mov eax, esi
call fcn.00426680
movzx eax, byte [esi + 0x3c]
xor byte [esi], al
movzx ecx, byte [esi + 0x3d]
xor byte [esi + 4], cl
movzx edx, byte [esi + 0x3e]
xor byte [esi + 8], dl
movzx eax, byte [esi + 0x3f]
xor byte [esi + 0xc], al
movzx ecx, byte [esi + 0x40]
xor byte [esi + 1], cl
movzx edx, byte [esi + 0x41]
xor byte [esi + 5], dl
movzx eax, byte [esi + 0x42]
xor byte [esi + 9], al
movzx ecx, byte [esi + 0x43]
xor byte [esi + 0xd], cl
movzx edx, byte [esi + 0x44]
xor byte [esi + 2], dl
movzx eax, byte [esi + 0x45]
xor byte [esi + 6], al
movzx ecx, byte [esi + 0x46]
xor byte [esi + 0xa], cl
movzx edx, byte [esi + 0x47]
xor byte [esi + 0xe], dl
movzx eax, byte [esi + 0x48]
xor byte [esi + 3], al
movzx ecx, byte [esi + 0x49]
xor byte [esi + 7], cl
movzx edx, byte [esi + 0x4a]
xor byte [esi + 0xb], dl
movzx eax, byte [esi + 0x4b]
xor byte [esi + 0xf], al
mov ecx, dword [esi + 0x10]
add ecx, ecx
add ecx, ecx
xor eax, eax
test ecx, ecx
jle 0x4271da
lea ebx, [ebx]
mov edi, eax
shr edi, 2
mov edx, eax
add edi, esi
and edx, 3
mov dl, byte [edi + edx*4]
mov edi, dword [ebp + 8]
mov byte [eax + edi], dl
inc eax
cmp eax, ecx
jl 0x4271c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4271f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x427242
mov ebx, ecx
and ebx, 0x80000003
jns 0x427223
dec ebx
or ebx, 0xfffffffc
inc ebx
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov dl, byte [ecx + edi]
sar eax, 2
add eax, esi
mov byte [eax + ebx*4], dl
mov eax, dword [esi + 0x10]
add eax, eax
inc ecx
add eax, eax
cmp ecx, eax
jl 0x427214
xor ecx, ecx
mov eax, esi
call fcn.00426840
mov ecx, dword [esi + 0x18]
mov ebx, 1
dec ecx
cmp ecx, ebx
jl 0x4272f1
lea edi, [esi + 0x4d]
nop
mov eax, esi
call fcn.00426760
call fcn.004265b0
mov ecx, esi
call fcn.00426f00
movzx edx, byte [edi - 1]
xor byte [esi], dl
movzx eax, byte [edi]
xor byte [esi + 4], al
movzx ecx, byte [edi + 1]
xor byte [esi + 8], cl
movzx edx, byte [edi + 2]
xor byte [esi + 0xc], dl
movzx eax, byte [edi + 3]
xor byte [esi + 1], al
movzx ecx, byte [edi + 4]
xor byte [esi + 5], cl
movzx edx, byte [edi + 5]
xor byte [esi + 9], dl
movzx eax, byte [edi + 6]
xor byte [esi + 0xd], al
movzx ecx, byte [edi + 7]
xor byte [esi + 2], cl
movzx edx, byte [edi + 8]
xor byte [esi + 6], dl
movzx eax, byte [edi + 9]
xor byte [esi + 0xa], al
movzx ecx, byte [edi + 0xa]
xor byte [esi + 0xe], cl
movzx edx, byte [edi + 0xb]
xor byte [esi + 3], dl
movzx eax, byte [edi + 0xc]
xor byte [esi + 7], al
movzx ecx, byte [edi + 0xd]
xor byte [esi + 0xb], cl
movzx edx, byte [edi + 0xe]
xor byte [esi + 0xf], dl
mov eax, dword [esi + 0x18]
inc ebx
dec eax
add edi, 0x10
cmp ebx, eax
jle 0x427260
mov eax, esi
call fcn.00426760
call fcn.004265b0
mov ecx, dword [esi + 0x18]
lea eax, [ecx*4]
movzx edx, byte [esi + eax*4 + 0x3c]
xor byte [esi], dl
movzx edx, byte [esi + eax*4 + 0x3d]
xor byte [esi + 4], dl
movzx edx, byte [esi + eax*4 + 0x3e]
xor byte [esi + 8], dl
movzx edx, byte [esi + eax*4 + 0x3f]
xor byte [esi + 0xc], dl
add ecx, 4
add ecx, ecx
movzx ecx, byte [esi + ecx*8]
xor byte [esi + 1], cl
movzx edx, byte [esi + eax*4 + 0x41]
xor byte [esi + 5], dl
movzx ecx, byte [esi + eax*4 + 0x42]
xor byte [esi + 9], cl
movzx edx, byte [esi + eax*4 + 0x43]
xor byte [esi + 0xd], dl
movzx ecx, byte [esi + eax*4 + 0x44]
xor byte [esi + 2], cl
movzx edx, byte [esi + eax*4 + 0x45]
xor byte [esi + 6], dl
movzx ecx, byte [esi + eax*4 + 0x46]
xor byte [esi + 0xa], cl
movzx edx, byte [esi + eax*4 + 0x47]
xor byte [esi + 0xe], dl
movzx ecx, byte [esi + eax*4 + 0x48]
xor byte [esi + 3], cl
movzx edx, byte [esi + eax*4 + 0x49]
xor byte [esi + 7], dl
movzx ecx, byte [esi + eax*4 + 0x4a]
xor byte [esi + 0xb], cl
movzx edx, byte [esi + eax*4 + 0x4b]
xor byte [esi + 0xf], dl
mov ecx, dword [esi + 0x10]
add ecx, ecx
add ecx, ecx
xor eax, eax
test ecx, ecx
jle 0x4273b1
mov edi, eax
shr edi, 2
mov edx, eax
add edi, esi
and edx, 3
mov dl, byte [edi + edx*4]
mov edi, dword [ebp + 8]
mov byte [eax + edi], dl
inc eax
cmp eax, ecx
jl 0x427397
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4278b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429258
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x433024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx - 0xc]
mov ecx, dword [edx - 8]
lea esi, [eax + eax + 2]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x427900
xor eax, eax
lea ecx, [ebp + 0x10]
call fcn.00402a91
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edx
mov edx, dword [ecx + 4]
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test eax, eax
mov eax, dword [ebp + 0x10]
jne 0x427958
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427941
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427971
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x427990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00421aa0
mov eax, dword [0x433024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0xffe
mov ebx, ecx
push eax
lea ecx, [ebp - 0x1002]
push ecx
mov dword [ebp - 0x1008], 0x800
mov word [ebp - 0x1004], ax
call fcn.004161e0
add esp, 0xc
lea edx, [ebp - 0x1008]
push edx
mov edx, dword [esi + 4]
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x100c]
push ecx
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427a2b
lea eax, [ebp - 0x1004]
push eax
call fcn.00416aee
add esp, 4
lea ecx, [ebp - 0x1004]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00402b67
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004161d1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004161d1
mov esp, ebp
pop ebp
ret
Function at 0x51da92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x51db67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x51db31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x51db5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051db71
test eax, eax
je 0x51db67
add ebx, 0x14
jmp 0x51db3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x51db71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x51dddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x51dddd
mov eax, 1
test eax, eax
je 0x51dddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x51dddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x51ddd3
mov ebx, eax
and eax, 0x80000000
jne 0x51dd4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x51dddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x51dddd
mov eax, 1
test eax, eax
je 0x51dddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x51dddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x51dca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x51dddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x51db67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x51dddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x51dca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x51de9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x51dfee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x51dfee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.0051dff8
test eax, eax
je 0x51dfee
add ebx, 0x28
dec ecx
jne 0x51dfc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x51e09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x51e0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x51e12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x51e0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x51e12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x51e105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x51e12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x51e123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x51e12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x51e16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10