joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4194b1
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00416c94
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4194ee
call fcn.004190fa
mov dword [esi + 0xc], 1
jmp 0x4194f3
call fcn.004190fa
cmp dword [esi], 0
je 0x41953c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x419514
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00404a28
jmp 0x419526
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401f70
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004049f9
jmp 0x419560
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x419560
push dword [esi]
push dword [ebp + 8]
call fcn.0040dcee
pop esi
pop ebp
ret 0xc

Function at 0x4449a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00408906
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4449d9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004445dd
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x444a37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x444a5b
cmp dword [edi + 0x74], 0
jne 0x444a5b
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00408906
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004449f8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x47373f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x473759
call fcn.00408906
mov esi, dword [eax + 0xc]
push dword [0x56a738]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x473777
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47376f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4737a4
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x473771
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0047366d
mov esi, eax
jmp 0x473796

Function at 0x4be8d1
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004f15c1
call fcn.00408337
cmp dword [eax + 0x14], 0
jne 0x4be8ee
mov ecx, esi
pop esi
jmp fcn.004be3d6
pop esi
ret

Function at 0x4c1b3e
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004878e7
call fcn.00408337
cmp dword [eax + 0x14], 0
jne 0x4c1b5b
mov ecx, esi
pop esi
jmp fcn.004c1511
pop esi
ret

Function at 0x4d28b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4d28cd
mov edi, dword [esi + 0xc]
jmp 0x4d290d
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d28e6
call fcn.0040cb96
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d28fb
call fcn.0040cb96
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d290d
call fcn.0040cb96
call fcn.00408906
cmp dword [eax + 0x3c], 0
je 0x4d2922
push edi
mov ecx, ebx
call fcn.004d16df
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d27cf
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4d2940
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d294c
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4f7029
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x565540]
jne 0x4f7033
repz ret
jmp fcn.004fe653
Function at 0x5020c2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x5020e9
call fcn.004f8d2f
mov dword [eax], esi
call fcn.004f8d1c
push 0x16
pop esi
mov dword [eax], esi
call fcn.004fe8e3
mov eax, esi
jmp 0x50213e
test dword [ebp + 0xc], 0xfffffff9
jne 0x5020cf
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x502116
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f8d42
pop ecx
call fcn.004f8d1c
mov eax, dword [eax]
jmp 0x50213e
test al, 0x10
jne 0x50213c
test al, 1
je 0x50213c
test byte [ebp + 0xc], 2
je 0x50213c
call fcn.004f8d2f
mov dword [eax], 5
call fcn.004f8d1c
mov dword [eax], 0xd
jmp 0x50210d
xor eax, eax
pop esi
pop ebp
ret

Function at 0x50a578
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x565540]
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.004fe07b
and dword [ebp - 0x14], 0
cmp dword [0x56cfcc], 0
mov dword [ebp - 0x18], eax
jne 0x50a62b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x50a6d3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x546348
push ebx
call edi
test eax, eax
je 0x50a6d3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x546338
push ebx
mov dword [0x56cfcc], eax
call edi
push eax
call esi
push 0x546324
push ebx
mov dword [0x56cfd0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x56cfd4], eax
call edi
push eax
call esi
mov dword [0x56cfdc], eax
test eax, eax
je 0x50a62b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x56cfd8], eax
mov eax, dword [0x56cfd8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x50a684
cmp dword [0x56cfdc], ecx
je 0x50a684
push eax
call esi
push dword [0x56cfdc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x50a684
test ebx, ebx
je 0x50a684
call edi
test eax, eax
je 0x50a67b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x50a67b
test byte [ebp - 8], 1
jne 0x50a684
or dword [ebp + 0x10], 0x200000
jmp 0x50a6b7
mov eax, dword [0x56cfd0]
cmp eax, dword [ebp - 0x18]
je 0x50a6b7
push eax
call esi
test eax, eax
je 0x50a6b7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x50a6b7
mov eax, dword [0x56cfd4]
cmp eax, dword [ebp - 0x18]
je 0x50a6b7
push eax
call esi
test eax, eax
je 0x50a6b7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x56cfcc]
call esi
test eax, eax
je 0x50a6d3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x50a6d5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f7029
leave
ret
Function at 0x12fd53c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x12fd546
pushal
call 0x12fd54c
pop ebp
sub ebp, 0x10
sub ebp, 0xefd53c
jmp 0x12fd562
mov eax, 0xefd53c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b1
mov edx, 0xd2a26d6d
xor byte [eax], dl
inc eax
dec ecx
jne 0x12fd579
jmp 0x12fd58c
out 0xa0, al
out 0xe4, al
push ecx
insd dword es:[edi], dx
insd dword es:[edi], dx
insd dword es:[edi], dx
in al, dx
lodsb al, byte [esi]
xchg ebp, eax
insd dword es:[edi], dx
insd dword es:[edi], dx
insd dword es:[edi], dx
outsb dx, byte [esi]
mov al, byte [0x6d6d6ad5]
insd dword es:[edi], dx
xlatb
inc ebp
insd dword es:[edi], dx
insd dword es:[edi], dx
insd dword es:[edi], dx
lcall 0x61ec, 0xe6a56e8f
insd dword es:[edi], dx
insd dword es:[edi], dx
insd dword es:[edi], dx
outsb dx, byte [esi]
test al, 0x3d
cmp eax, 0x4cbb2905
insd dword es:[edi], dx
add eax, 0x6da09395
insb byte es:[edi], dx
inc ecx
dec ecx
add eax, 0xc990be55
test dword [eax + 0x6d], ebp
insd dword es:[edi], dx
insd dword es:[edi], dx
test byte [ebp + 0x6d], al
insd dword es:[edi], dx
insd dword es:[edi], dx
cmp byte [ecx], bh
xor dh, ah
call 0x6e9d433e
out 0xf8, al
popal
insd dword es:[edi], dx
insd dword es:[edi], dx
insd dword es:[edi], dx
out 0xe0, al
jge 0x12fd650
insd dword es:[edi], dx
insd dword es:[edi], dx
lodsb al, byte [esi]
test byte [edi + 0x5c], ch
outsd dx, dword [esi]
out dx, al
scasd eax, dword es:[edi]
imul esp, dword [edx], 0x929299e8
xchg edx, eax
xor byte [edi - 0x1e19929f], ch
dec ecx
imul ebp, dword [ebp + 0x6d], 0xbb29056d
dec esp
insd dword es:[edi], dx
add eax, 0x6da09395
insb byte es:[edi], dx
inc ecx
dec ecx
cmp al, 0x85
push 0x846d6d6d
outsd dx, dword ds:[esi]
insd dword es:[edi], dx
insd dword es:[edi], dx
cmp al, ah
add dword [ecx + 0x6d], ecx
xchg edx, eax
sbb byte [ecx - 0x6e], ah
sbb byte [ebp - 0x7b], ah
jmp 0xe79d4395
insd dword es:[edi], dx
insd dword es:[edi], dx
insd dword es:[edi], dx
invalid
Function at 0x402d58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x409010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402df0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402dd0
xor eax, eax
push ebp
push 0x402dc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402e0c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402dd0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x409010]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x409010], ax
mov esp, ebp
pop ebp
ret

Function at 0x403458
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a034], 0
je 0x4034b9
cmp word [0x40a208], 0xd7b2
jne 0x403481
cmp dword [0x40a210], 0
jbe 0x403481
mov eax, 0x40a204
call dword [0x40a220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x409058
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4034e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40901c], 0
jne 0x4034d5
push 0
push 0x409050
push 0x409058
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403614
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027e4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x40a035], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4035dc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x40425c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4042c2
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004038d8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c4c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4042ac
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4042c9
lea eax, [ebp - 0x10]
call fcn.00403658
ret
Function at 0x404ecc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
mov ebx, eax
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x44
call fcn.00402bc0
mov dword [ebp - 0x44], 0x44
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
mov eax, ebx
call fcn.00403d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x404f55
xor eax, eax
push ebp
push 0x404f4e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404f55
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_CloseHandle
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405038
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00403f68
mov eax, dword [ebp - 8]
call fcn.00403a3c
xor eax, eax
push ebp
push 0x4050df
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00403d24
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4050ba
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00403904
push eax
lea eax, [ebp - 8]
call fcn.00403a9c
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 0xc], 0
andnps xmm1, xmmword [ebx + 0x575653ec]
push ebp
mov ebp, esp
push ebx
push esi
push edi

Function at 0x4053e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
leave
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0040514e
sbb esp, dword [eax + ebx*2 + 0x67]
lea eax, [ebp - 0x58]
push eax
call fcn.0040515e
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00405113
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40543c
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040514e
cmp dl, cl
mov byte [eax - 0x73], 0x45
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x4054f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
neg dl
mov byte [ebp - 9], 0xbf
call fcn.0040515e
push eax
push esi
push dword [ebp + 8]
call fcn.00405113
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040515e
push eax
push esi
push dword [ebp + 8]
call fcn.00405113
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
aam 0x88
pop ebp
aam 0x50

Function at 0x40556c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
aam 0x88
pop ebp
aam 0x50
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
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040515e
Function at 0x692058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x6921a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x69207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x69206a
add dl, dl
jne 0x692089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6920dc
xor eax, eax
add dl, dl
jne 0x692096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x69217d
add dl, dl
jne 0x6920a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6920b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6920bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6920c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x6920d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x692075
mov eax, 1
add dl, dl
jne 0x6920ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6920f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6920e1
sub eax, ebx
mov ebx, 1
jne 0x692128
mov ecx, 1
add dl, dl
jne 0x69210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x692119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x692105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x692075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x69213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x69214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x692136
cmp eax, 0x7d00
jae 0x69216d
cmp eax, 0x500
jb 0x692168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x692075
cmp eax, 0x7f
ja 0x692170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x692075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x69219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x692075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401207
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4182e8]
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [0x4182ec]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], eax
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], edx
call fcn.00401200
mov ebx, dword [ebp - 0x18]
add ebx, 0x23f
cmp dword [0xec34e4], 0x14
jne 0x401265
push 0
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4182f0]
mov eax, dword [0x4182f4]
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, esi
mov dword [ebp - 0xc], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xec34e4], 0xfa9
mov dword [ebp - 8], eax
mov eax, dword [0xec34e0]
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp dword [0xec34e4], 0x3eb
mov dword [0xec34e0], eax
mov eax, dword [0xec3438]
cmove eax, dword [ebp - 0xc]
mov dword [0xec3438], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
and dword [ebp - 0x10], 0
mov dword [0xec34dc], 0xf4ea3dee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 4]
sub edx, eax
mov dword [ebp - 0x14], eax
mov eax, edx
mov dword [ebp - 0xc], edx
shl eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + edx]
and dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 0x10], eax
cmp dword [0xec34e4], 0xb03
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jne 0x401363
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
add ebx, 0x61c88647
mov ecx, dword [ebp - 0x24]
sub esi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
dec edi
jne 0x401279
mov edi, dword [ebp - 0x2c]
mov dword [edi], esi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret