joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fb700
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0x40
push edi
mov ecx, dword [esi]
lea edi, [esi + 0x18]
and ecx, 0x3f
mov byte [ecx + esi + 0x18], 0x80
inc ecx
sub eax, ecx
cmp eax, 8
jae 0x4fb743
push eax
lea eax, [esi + 0x18]
add eax, ecx
push 0
push eax
call fcn.005205c0
push 0x40
push edi
push esi
call fcn.004fb8e0
add esp, 0x18
mov eax, 0x40
xor ecx, ecx
add eax, 0xfffffff8
push eax
lea eax, [esi + 0x18]
add eax, ecx
push 0
push eax
call fcn.005205c0
shl dword [esi], 3
mov eax, dword [esi]
mov byte [esi + 0x50], al
mov eax, dword [esi]
shr eax, 8
mov byte [esi + 0x51], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x52], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x53], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x54], al
mov eax, dword [esi + 4]
shr eax, 8
mov byte [esi + 0x55], al
movzx eax, byte [esi + 6]
push 0x40
mov byte [esi + 0x56], al
movzx eax, byte [esi + 7]
push edi
push esi
mov byte [esi + 0x57], al
call fcn.004fb8e0
mov ecx, dword [ebp + 8]
movzx eax, byte [esi + 8]
push 0x98
push 0
mov byte [ecx], al
mov eax, dword [esi + 8]
shr eax, 8
mov byte [ecx + 1], al
movzx eax, byte [esi + 0xa]
mov byte [ecx + 2], al
movzx eax, byte [esi + 0xb]
mov byte [ecx + 3], al
movzx eax, byte [esi + 0xc]
mov byte [ecx + 4], al
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [ecx + 5], al
movzx eax, byte [esi + 0xe]
mov byte [ecx + 6], al
movzx eax, byte [esi + 0xf]
mov byte [ecx + 7], al
movzx eax, byte [esi + 0x10]
mov byte [ecx + 8], al
mov eax, dword [esi + 0x10]
shr eax, 8
mov byte [ecx + 9], al
movzx eax, byte [esi + 0x12]
mov byte [ecx + 0xa], al
movzx eax, byte [esi + 0x13]
mov byte [ecx + 0xb], al
movzx eax, byte [esi + 0x14]
mov byte [ecx + 0xc], al
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [ecx + 0xd], al
movzx eax, byte [esi + 0x16]
mov byte [ecx + 0xe], al
movzx eax, byte [esi + 0x17]
push esi
mov byte [ecx + 0xf], al
call fcn.005205c0
add esp, 0x24
pop edi
pop esi
pop ebp
ret
Function at 0x4fc6a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x5b1fe4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x94], 0x67452301
push eax
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
call fcn.004fb830
lea eax, [ebp - 0x9c]
push eax
push esi
call fcn.004fb700
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop esi
call fcn.0050804f
mov esp, ebp
pop ebp
ret

Function at 0x4fc730
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [0x5b9934], eax
mov dword [ebp + 0xc], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x4fc772
push 0
push dword [ebp + 8]
push 0x4fc7a0
push 0xe
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x5b9930], eax
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4fc930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x5b1fe4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0x14], 0x40
lea eax, [ebp - 0x408]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push eax
mov eax, 0x20119
mov edi, 0x20219
cmovne eax, edi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4fc9ce
push 0x400
push eax
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x404]
push eax
mov dword [ebp - 0x40c], 0x400
call fcn.005205c0
add esp, 0xc
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push esi
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x408]
test eax, eax
je 0x4fc9e0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050804f
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0050804f
mov esp, ebp
pop ebp
ret
Function at 0x503da0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548128
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5b1fe4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
mov edi, dword [ebp + 0xc]
push 2
push eax
call fcn.00506db9
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.00506dda
add esp, 0xc
test eax, eax
je 0x503dfc
push eax
call fcn.0050721a
add esp, 4
push 2
push 0
mov dword [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x503e1c
cmp eax, 0x80010119
jne 0x503eeb
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x503e43
cmp eax, 0x80010119
jne 0x503eeb
push edi
push 0x58f62c
push 1
push 0
push 0x58f6fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x503e67
cmp eax, 0x80010119
jne 0x503eeb
mov ebx, dword [edi]
lea ecx, [ebp - 0x48]
push str.ROOTCIMV2
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], eax
call fcn.00503c10
mov eax, dword [eax]
mov byte [ebp - 4], 2
test eax, eax
je 0x503e8c
mov eax, dword [eax]
jmp 0x503e8e
xor eax, eax
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push ebx
call dword [ebp - 0x44]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
mov ebx, eax
call fcn.00504320
test ebx, ebx
jns 0x503eba
cmp ebx, 0x80010119
jne 0x503edb
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [esi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x503ef5
cmp eax, 0x80010119
je 0x503ef5
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
jmp 0x503ef7
mov bl, 1
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 3
push eax
call fcn.00506dff
add esp, 4
test eax, eax
je 0x503f17
push eax
call fcn.0050721a
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.00506d5d
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050804f
mov esp, ebp
pop ebp
ret
Function at 0x506103
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5b1fe4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x506128
xor eax, eax
jmp 0x506184
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x506155
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x506155
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x506209
cmp dword [edi + 0x4c], 0
je 0x50617e
mov ecx, edi
call fcn.00505fce
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x506194
push dword [edi + 0x4c]
push ebx
call fcn.005059fb
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x506183
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0050804f
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x54a428]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x50617e
cmp eax, 1
jle 0x5061dc
cmp eax, 3
jne 0x50617e
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x506170
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x5061f9
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.0052bc58
add esp, 0x10
cmp esi, eax
jne 0x50617e
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x50617e
mov ax, bx
jmp 0x506183

Function at 0x50b478
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x53accf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0053a992

Function at 0x53acda
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0053ab13

Function at 0x5400d4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0053fd94
Function at 0x406069
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6e2a64]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x20
call fcn.0040e350
push eax
call fcn.0040d949
add esp, 0xc
test eax, eax
je 0x4060f5
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push 0
call fcn.0040d8a8
add esp, 0xc
test eax, eax
je 0x4060ec
mov dword [ebp - 0x14], 1
push 0xc
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp + eax - 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax - 0xc], ecx
push 0xc
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 8], 2
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
call fcn.0040d7fe
add esp, 0x18
push dword [ebp - 0x18]
call fcn.0040e8cf
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00644dd6
mov esp, ebp
pop ebp
ret

Function at 0x406898
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x6b6ad4
push 0x40
push 0
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.006475a0
add esp, 0xc
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
and dword [ecx + eax + 0x44], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
and dword [ecx + eax + 0x44], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x67452301
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xefcdab89
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x98badcfe
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x10325476
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x409a7a
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and dword [eax], 0
and dword [eax + 4], 0
mov eax, dword [ebp - 4]
and dword [eax + 8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x6a09e667
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xbb67ae85
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x3c6ef372
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xa54ff53a
push 4
pop eax
shl eax, 2
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x510e527f
push 4
pop eax
imul eax, eax, 5
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x9b05688c
push 4
pop eax
imul eax, eax, 6
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x1f83d9ab
push 4
pop eax
imul eax, eax, 7
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x5be0cd19
mov esp, ebp
pop ebp
ret
Function at 0x4110c8
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0x5c
push 0
push dword [ebp + 8]
call fcn.006475a0
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
xor eax, eax
inc eax
pop ebp
ret

Function at 0x4196df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4196fe
xor eax, eax
jmp 0x419779
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x419714
xor eax, eax
jmp 0x419779
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x41975c
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jae 0x41975c
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
jmp 0x419735
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jb 0x419768
xor eax, eax
jmp 0x419779
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x419776
xor eax, eax
jmp 0x419779
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44fe19
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 4], eax
and dword [ebp - 0x10], 0
jmp 0x44fe53
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x10], eax
jge 0x44ff61
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x44feda
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x44fed5
mov eax, dword [ebp + 0x14]
push dword [eax + 0x34]
push 4
push 0x1000
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
push ecx
mov eax, dword [ebp + 0x14]
call dword [eax + 0x1c]
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44feb0
xor eax, eax
jmp 0x44ff64
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
push dword [ebp - 0x14]
push 0
push dword [ebp - 8]
call fcn.006475a0
add esp, 0xc
jmp 0x44fe43
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x10]
push eax
push dword [ebp + 0xc]
call fcn.0044fdfd
pop ecx
pop ecx
test eax, eax
jne 0x44fef9
xor eax, eax
jmp 0x44ff64
mov eax, dword [ebp + 0x14]
push dword [eax + 0x34]
push 4
push 0x1000
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
push ecx
mov eax, dword [ebp + 0x14]
call dword [eax + 0x1c]
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44ff2c
xor eax, eax
jmp 0x44ff64
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 8]
call fcn.00647020
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
jmp 0x44fe43
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x50640b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x30
mov eax, 0x66d273
call fcn.006457b0
lea eax, [ebp - 0x30]
mov word [ebp - 0x1d], 0x656e
push eax
lea eax, [ebp - 0x20]
mov word [ebp - 0x16], 0x6c6c
xor ebx, ebx
mov dword [ebp - 0x1b], 0x2e32336c
push eax
mov word [ebp - 0x20], 0x656b
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x14], bl
mov dword [ebp - 0x28], 0x41656c
mov dword [ebp - 0x2c], 0x69466574
mov dword [ebp - 0x30], 0x61657243
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x506471
xor al, al
jmp 0x5064b0
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.005079b9
push ebx
push ebx
push 3
push ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x3c]
xor ebx, ebx
inc ebx
push ebx
push SysReAllocStringLen
push 5
call fcn.00507a0d
push eax
call esi
cmp eax, 0xffffffff
jne 0x5064a6
xor bl, bl
lea ecx, [ebp - 0x3c]
call fcn.00507a08
mov al, bl
call fcn.0064575a
ret
Function at 0x506c28
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x14c
mov eax, 0x66d309
call fcn.006457b0
lea eax, [ebp - 0x20]
mov word [ebp - 0x1d], 0x7061
push eax
xor ebx, ebx
mov word [ebp - 0x1a], 0x3233
mov word [ebp - 0x20], 0x6441
mov byte [ebp - 0x1b], 0x69
mov dword [ebp - 0x17], 0x6c6c64
mov byte [ebp - 0x1e], 0x76
mov byte [ebp - 0x18], 0x2e
call fcn.005088f0
mov dword [ebp - 0x158], eax
pop ecx
test eax, eax
je 0x506e59
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2f], 0x73557465
push ecx
push eax
mov word [ebp - 0x2b], 0x7265
mov dword [ebp - 0x28], 0x41656d61
mov byte [ebp - 0x30], 0x47
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x29], 0x4e
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x506e4d
xor eax, eax
lea edi, [ebp - 0x14c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x14c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.005079b9
lea eax, [ebp - 0x150]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0x150], 0x100
push eax
call esi
lea eax, [ebp - 0x40]
mov word [ebp - 0x3d], 0x6572
push eax
lea eax, [ebp - 0x140]
mov word [ebp - 0x40], 0x7563
push eax
mov dword [ebp - 0x3a], 0x65737574
mov word [ebp - 0x36], 0x72
mov byte [ebp - 0x3b], 0x6e
mov byte [ebp - 0x3e], 0x72
call fcn.005075c4
pop ecx
pop ecx
movzx ecx, bl
inc ebx
test eax, eax
push 0xd
cmove ecx, ebx
mov dword [ebp - 0x154], ecx
lea ecx, [ebp - 0x14c]
call fcn.00507a0d
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.005075c4
pop ecx
pop ecx
mov ecx, dword [ebp - 0x154]
test eax, eax
movzx ecx, cl
cmovne ebx, ecx
lea ecx, [ebp - 0x14c]
push 0xe
call fcn.00507a0d
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.005075c4
pop ecx
pop ecx
push 1
pop esi
test eax, eax
movzx ebx, bl
push 0xf
lea ecx, [ebp - 0x14c]
cmove ebx, esi
call fcn.00507a0d
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.005075c4
pop ecx
pop ecx
test eax, eax
movzx ecx, bl
mov edx, esi
cmovne edx, ecx
lea ecx, [ebp - 0x14c]
push 0x10
mov dword [ebp - 0x154], edx
call fcn.00507a0d
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.005075c4
pop ecx
pop ecx
mov ecx, dword [ebp - 0x154]
test eax, eax
movzx ebx, cl
lea ecx, [ebp - 0x14c]
push 0x11
cmove ebx, esi
call fcn.00507a0d
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.005075c4
pop ecx
pop ecx
test eax, eax
movzx ecx, bl
mov edx, esi
cmovne edx, ecx
lea ecx, [ebp - 0x14c]
push 0x12
mov dword [ebp - 0x154], edx
call fcn.00507a0d
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.005075c4
pop ecx
pop ecx
mov ecx, dword [ebp - 0x154]
test eax, eax
movzx ebx, cl
lea ecx, [ebp - 0x14c]
push 0x13
cmove ebx, esi
call fcn.00507a0d
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.005075c4
pop ecx
pop ecx
movzx ecx, bl
test eax, eax
push esi
pop ebx
cmovne ebx, ecx
lea ecx, [ebp - 0x14c]
call fcn.00507a08
push dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
call fcn.0064575a
ret
Function at 0x50760a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x60
mov eax, dword [0x6e2a64]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
push ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x48]
push edi
push eax
mov word [esp + 0x50], 0x6441
mov dword [esp + 0x59], 0x6c6c64
mov dword [esp + 0x53], 0x33697061
mov word [esp + 0x57], 0x2e32
mov byte [esp + 0x52], 0x76
call fcn.005088f0
mov edi, eax
xor ebp, ebp
xor ebx, ebx
xor esi, esi
pop ecx
test edi, edi
je 0x50771f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [esp + 0x38]
push eax
push edi
mov word [esp + 0x44], 0x6570
mov word [esp + 0x4c], 0x41
mov dword [esp + 0x47], 0x4579654b
mov dword [esp + 0x40], 0x4f676552
mov byte [esp + 0x46], 0x6e
mov byte [esp + 0x4b], 0x78
call esi
mov ebp, eax
mov dword [esp + 0x2c], 0x756c6156
lea eax, [esp + 0x24]
mov word [esp + 0x33], 0x41
push eax
push edi
mov word [esp + 0x38], 0x4565
mov word [esp + 0x2e], 0x5167
mov word [esp + 0x31], 0x7265
mov word [esp + 0x2c], 0x6552
mov byte [esp + 0x33], 0x79
mov byte [esp + 0x3a], 0x78
mov byte [esp + 0x30], 0x75
call esi
mov ebx, eax
mov dword [esp + 0x64], 0x79654b
lea eax, [esp + 0x5c]
mov word [esp + 0x5f], 0x6c43
push eax
push edi
mov word [esp + 0x6a], 0x6573
mov word [esp + 0x64], 0x6552
mov byte [esp + 0x69], 0x6f
mov byte [esp + 0x66], 0x67
call esi
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0xf013f
push 0
push dword [esp + 0x28]
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x507762
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x190
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x24]
push dword [esp + 0x2c]
call ebx
push dword [esp + 0x18]
call esi
mov ecx, dword [esp + 0x6c]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00644dd6
add esp, 0x60
ret