joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4062dc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebx
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
jne 0x4062a4
test ecx, edi
cli
invalid
jmp dword [esi - 0x3a]
test edx, edi
cli
invalid
invalid
jns 0x4062b2
test ebx, edi
cli
invalid
call [ecx*4 - 0x5137b]
call dword [eax - 0x18]
jge 0x4062ef
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00405630
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.0040566b
add esi, dword [esi + 5]
jbe 0x406386
jne 0x4062a4
test ecx, edi
cli
invalid
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x40635f
cmp dword [ebp - 0x398], 0
je 0x406529

Function at 0x4071f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
invalid
test dword [ebp - 8], edi
invalid
Function at 0x401207
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x41a2f8]
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a2fc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 8], edx
call fcn.00401200
mov ebx, dword [ebp - 0x14]
add ebx, 0x23f
cmp dword [0xae21ac], 0x14
jne 0x401265
push 0
lea eax, [ebp - 0x82c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov edx, dword [ebp - 8]
mov ecx, dword [0x41a300]
mov eax, dword [0x41a304]
push 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
pop edi
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, esi
mov dword [ebp - 8], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xae21ac], 0xfa9
mov dword [ebp - 0xc], eax
mov eax, dword [0xae21a8]
cmove eax, dword [ebp - 8]
and dword [ebp - 8], 0
cmp dword [0xae21ac], 0x3eb
mov dword [0xae21a8], eax
mov eax, dword [0xae2100]
cmove eax, dword [ebp - 8]
mov dword [0xae2100], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
and dword [ebp - 4], 0
mov dword [0xae21a4], 0xf4ea3dee
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 8]
sub edx, eax
mov dword [ebp - 0x10], eax
mov eax, edx
mov dword [ebp - 8], edx
shl eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + edx]
mov dword [ebp - 4], edx
shr dword [ebp - 4], cl
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, eax
cmp dword [0xae21ac], 0xb03
mov dword [ebp - 0xc], ecx
jne 0x401359
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
jmp 0x40135c
mov eax, dword [ebp - 4]
xor ecx, eax
add ebx, 0x61c88647
sub esi, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], esi
dec edi
jne 0x401279
mov edi, dword [ebp - 0x28]
mov dword [edi], esi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cbce
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419f20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408d7c
mov dword [ebp - 0x14], eax
cmp dword [0x43d99c], esi
jne 0x40ccc1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cc4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cda1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cda1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cda1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43d99c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43d9a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43d9a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43d9ac], eax
test eax, eax
je 0x40ccbe
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43d9a8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cce6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ccd9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ccfb
push 4
pop eax
jmp 0x40cda3
cmp dword [ebp - 0x14], esi
je 0x40ccfb
push dword [0x43d99c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cce0
mov eax, dword [0x43d9a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cd59
cmp dword [0x43d9ac], edi
je 0x40cd59
push eax
call ebx
push dword [0x43d9ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cd59
test eax, eax
je 0x40cd59
call ecx
test eax, eax
je 0x40cd4e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cd4e
test byte [ebp - 8], 1
jne 0x40cd59
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cd89
mov eax, dword [0x43d9a0]
cmp eax, edi
je 0x40cd86
push eax
call ebx
test eax, eax
je 0x40cd86
call eax
mov esi, eax
test esi, esi
je 0x40cd86
mov eax, dword [0x43d9a4]
cmp eax, edi
je 0x40cd86
push eax
call ebx
test eax, eax
je 0x40cd86
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43d99c]
call ebx
test eax, eax
je 0x40cda1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cda3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404328
mov esp, ebp
pop ebp
ret
Function at 0x401cd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44607c]
jne 0x401cdf
repz ret
jmp fcn.00402908

Function at 0x40837a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44607c]
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.00405b1d
and dword [ebp - 0x14], 0
cmp dword [0x448e64], 0
mov dword [ebp - 0x18], eax
jne 0x40842d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4084d5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4084d5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x448e64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x448e68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x448e6c], eax
call edi
push eax
call esi
mov dword [0x448e74], eax
test eax, eax
je 0x40842d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x448e70], eax
mov eax, dword [0x448e70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408486
cmp dword [0x448e74], ecx
je 0x408486
push eax
call esi
push dword [0x448e74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408486
test ebx, ebx
je 0x408486
call edi
test eax, eax
je 0x40847d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40847d
test byte [ebp - 8], 1
jne 0x408486
or dword [ebp + 0x10], 0x200000
jmp 0x4084b9
mov eax, dword [0x448e68]
cmp eax, dword [ebp - 0x18]
je 0x4084b9
push eax
call esi
test eax, eax
je 0x4084b9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4084b9
mov eax, dword [0x448e6c]
cmp eax, dword [ebp - 0x18]
je 0x4084b9
push eax
call esi
test eax, eax
je 0x4084b9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x448e64]
call esi
test eax, eax
je 0x4084d5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4084d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cd5
leave
ret
Function at 0x471620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx], ch
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.0047078b
jg 0x47169b
adc al, byte [eax - 0x22f5b]
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
mov ebp, 0xfffffafd

Function at 0x471680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00470769
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
invalid
invalid
Function at 0x47404e
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20
mov eax, dword [0x6216ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
call fcn.004109e0
test al, al
jne 0x47409f
lea eax, [esp + 4]
push esi
push eax
call fcn.00473bb0
mov eax, dword [esp + 0xc]
mov esi, 8
add esp, 8
cmp dword [esp + 0x18], esi
jae 0x47407b
lea eax, [esp + 4]
push 5
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x18], esi
jb 0x47409f
mov ecx, dword [esp + 4]
push ecx
call fcn.00548a36
add esp, 4
mov ecx, dword [esp + 0x20]
pop esi
xor ecx, esp
call fcn.00548a41
add esp, 0x20
ret
Function at 0x515da5
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x62b6dc]
push esi
mov esi, ecx
cmp eax, 0xffffffff
jne 0x515db1
xor eax, eax
jmp 0x515dbe
mov ecx, dword [0x62b6dc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esi + 8]
mov esi, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push 0
push esi
mov esi, dword [esp + 0x18]
push 0x5d2984
push 0
push 0
add ecx, 0x24
push esi
push ecx
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, eax
call edx
pop esi
ret 0xc

Function at 0x51b650
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret
Function at 0x404060
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x408
mov eax, dword [0x41f004]
xor eax, esp
mov dword [esp + 0x404], eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [esp + 0xc]
push 0xffffffffffffffff
push 0x400
push eax
call fcn.00401000
push dword [eax + 4]
push dword [eax]
call fcn.00407ae7
add esp, 0x20
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.004040bd
mov esp, ebp
pop ebp
ret

Function at 0x40d36c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040d00e

Function at 0x40e06a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub dh, al
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24

Function at 0x40e0d7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040dca8
push eax
push esi
push dword [ebp + 8]
call fcn.0040dc5d
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x40e133
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040dca8
push eax
push esi
push dword [ebp + 8]
call fcn.0040dc5d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040dc98
fisub dword [esi + 0x5a]
outsd dx, dword [esi]
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0040dc98
adc eax, 0x8d066399
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x40e37f
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40e36f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40e38d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
or byte [ecx], al
add byte [eax], al
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40e3eb
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40e3d2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40e3db
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40e3e5
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40e3c7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40e351
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x40e95b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
enter 0xfffffffffffffffa, 0xffffffffffffffff
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x40e98c
cmp dword [ebp - 0x398], 0
je 0x40eb56
cmp dword [ebp + 0xc], 1
je 0x40eb56
cmp dword [ebp + 0xc], 8
jne 0x40eb1e
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.0040dca8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040dc5d
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
invalid
test dword [edx - 7], esp
invalid
Function at 0x40f08c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x40f0a5
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x40f0ee
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x40f098
call fcn.0040dc98
pop ecx
cdq
push ebp
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0040dc98
lea ecx, [edi + 0x13]
pop es
lea eax, [ebp - 0x72c]
push eax
call fcn.0040dca8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040dc5d
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.0040dc98
adc eax, 0x8dc1c501
test eax, ebp
clc
invalid

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, dword [esi + 8]
jbe 0x4039cd
lea eax, [edi + 0x80]
push ebx
push eax
call dword [sym.imp.MSVCR71.dll_malloc]
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x403997
push 0x8007000e
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [esi]
test eax, eax
push dword [esi + 8]
je 0x4039b4
push eax
push ebx
call sub.MSVCR71.dll_memcpy
push dword [esi]
call dword [sym.imp.MSVCR71.dll_free]
add esp, 0x10
jmp 0x4039c1
lea eax, [esi + 0xc]
push eax
push ebx
call sub.MSVCR71.dll_memcpy
add esp, 0xc
lea eax, [edi + 0x80]
mov dword [esi], ebx
mov dword [esi + 8], eax
pop ebx
mov dword [esi + 4], edi
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x404cd3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
push edi
push 0
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esi]
cmp ecx, 1
je 0x404d02
cmp ecx, 7
je 0x404d02
cmp ecx, 2
jne 0x404d13
test eax, eax
jne 0x404d13
mov ecx, dword [edi]
test ecx, ecx
je 0x404d13
lea eax, [ecx + ecx]
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x4063c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x410048], 0
je 0x4063d3
pop ebp
jmp dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
jmp fcn.00406217

Function at 0x407bf1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [0x410048], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
je 0x407c24
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.ADVAPI32.dll_RegSetValueExW]
jmp 0x407ccc
push esi
push edi
push 1
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call fcn.00406118
test eax, eax
jge 0x407c3f
push 8
pop edi
jmp 0x407cb8
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jbe 0x407c9f
cmp esi, 2
jbe 0x407c83
cmp esi, 7
jne 0x407c9f
push dword [ebp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x18]
call fcn.00406118
test eax, eax
jl 0x407c3a
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
inc dword [ebp + 0x1c]
mov byte [eax + ecx], bl
jmp 0x407ca2
push 1
push ebx
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x18]
call fcn.00406118
test eax, eax
jl 0x407c3a
mov eax, dword [ebp - 4]
shr dword [ebp + 0x1c], 1
jmp 0x407ca2
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x1c]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 4]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18