joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ff0
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
je 0x407005
cmp dword [ebp + 0xc], 0
jne 0x40700c
xor eax, eax
jmp 0x407118
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.004072d0
lea ecx, [ebp - 8]
call fcn.00407290
push eax
lea ecx, [ebp - 8]
call fcn.00407f90
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00407fb0
lea ecx, [ebp - 8]
call fcn.004066c0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 3
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x407088
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
call fcn.00407310
mov eax, dword [ebp - 0x1c]
jmp 0x407118
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
jne 0x407107
lea ecx, [ebp - 0x18]
call fcn.004072b0
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00407260
push eax
push 0
push 0x414878
lea ecx, [ebp - 8]
call fcn.004066c0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00407fb0
push 3
lea ecx, [ebp - 0x18]
call fcn.004066c0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
push 5
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.004066c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x18]
call fcn.00407310
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 8]
call fcn.00407310
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x407120
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x407145
mov eax, 1
jmp 0x407184
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40715a
mov eax, 1
jmp 0x407184
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x407182
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x407182
mov eax, 1
jmp 0x407184
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x408730
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x40876c
xor eax, eax
jmp 0x4087a0
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004087b0
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x4087b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00409e70
mov eax, dword [0x41833c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0xffffffff
je 0x4087d9
cmp dword [ebp + 0xc], 0
je 0x4087d9
cmp dword [ebp + 0x10], 0
jg 0x4087e0
xor eax, eax
jmp 0x40891e
mov dword [ebp - 0xc], 0x1000
mov eax, dword [ebp + 0x10]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0x80000fff
jns 0x40880a
dec eax
or eax, 0xfffff000
inc eax
mov dword [ebp - 0x1014], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x101c], 0
jmp 0x40883b
mov edx, dword [ebp - 0x101c]
add edx, 1
mov dword [ebp - 0x101c], edx
mov eax, dword [ebp - 0x101c]
cmp eax, dword [ebp - 8]
jge 0x4088ab
push 0x1000
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x1010]
push edx
call fcn.0040a200
add esp, 0xc
push 0
lea eax, [ebp - 0x1018]
push eax
push 0x1000
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x408888
xor eax, eax
jmp 0x40891e
cmp dword [ebp + 0x14], 0
je 0x40889e
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x1018]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
add eax, 0x1000
mov dword [ebp - 4], eax
jmp 0x40882c
cmp dword [ebp - 0x1014], 0
jle 0x408919
mov ecx, dword [ebp - 0x1014]
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x1010]
push eax
call fcn.0040a200
add esp, 0xc
push 0
lea ecx, [ebp - 0x1018]
push ecx
mov edx, dword [ebp - 0x1014]
push edx
lea eax, [ebp - 0x1010]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4088f7
xor eax, eax
jmp 0x40891e
cmp dword [ebp + 0x14], 0
je 0x40890d
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
add eax, dword [ebp - 0x1018]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
add edx, 0x1000
mov dword [ebp - 4], edx
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409c53
mov esp, ebp
pop ebp
ret
Function at 0x408930
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 4]
call fcn.004072b0
lea eax, [ebp - 4]
push eax
call fcn.00408c20
add esp, 4
test eax, eax
jne 0x408968
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 4]
call fcn.00407310
mov eax, dword [ebp - 0xc]
jmp 0x408a5b
lea ecx, [ebp - 4]
call fcn.004066c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 4]
call fcn.004066c0
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00408730
test eax, eax
jne 0x4089a3
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 4]
call fcn.00407310
mov eax, dword [ebp - 0x10]
jmp 0x408a5b
lea ecx, [ebp - 8]
call fcn.004072b0
lea ecx, [ebp - 8]
push ecx
call fcn.00408c20
add esp, 4
lea ecx, [ebp - 8]
call fcn.004066c0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp dword [ebp + 0xc], 0
je 0x4089ec
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.00407310
lea ecx, [ebp - 4]
call fcn.00407310
mov eax, dword [ebp - 0x14]
jmp 0x408a5b
lea ecx, [ebp - 8]
call fcn.004066c0
push eax
lea ecx, [ebp - 4]
call fcn.004066c0
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00408a70
test eax, eax
jne 0x408a26
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 8]
call fcn.00407310
lea ecx, [ebp - 4]
call fcn.00407310
mov eax, dword [ebp - 0x18]
jmp 0x408a5b
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408e30
lea ecx, [ebp - 4]
call fcn.004066c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 8]
call fcn.00407310
lea ecx, [ebp - 4]
call fcn.00407310
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8

Function at 0x408c20
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1114
call fcn.00409e70
mov eax, dword [0x41833c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x100c], 0x400
push 0x800
push 0
lea eax, [ebp - 0x1008]
push eax
call fcn.00409850
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x808]
push ecx
call fcn.00409850
add esp, 0xc
lea edx, [ebp - 0x1008]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 4], 0xa
push 0x100
push 0
lea eax, [ebp - 0x1110]
push eax
call fcn.00409850
add esp, 0xc
mov dword [ebp - 0x1114], 0
jmp 0x408cb7
mov ecx, dword [ebp - 0x1114]
add ecx, 1
mov dword [ebp - 0x1114], ecx
cmp dword [ebp - 0x1114], 0xa
jge 0x408d2f
push 0x80
lea edx, [ebp - 0x1110]
push edx
call fcn.00408d40
add esp, 8
lea eax, [ebp - 0x1110]
push eax
lea ecx, [ebp - 0x1008]
push ecx
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x4148a0
lea eax, [ebp - 0x808]
push eax
call fcn.00408fc0
add esp, 8
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408d2a
lea edx, [ebp - 0x808]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407330
mov eax, 1
jmp 0x408d31
jmp 0x408ca8
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00409c53
mov esp, ebp
pop ebp
ret
Function at 0x409000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 8
push 0
mov eax, dword [ebp + 0x14]
push eax
call fcn.00409850
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x409035
xor eax, eax
jmp 0x40907e
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x409061
xor eax, eax
jmp 0x40907e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4095c5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x419368], 0
push esi
jne 0x409538
call fcn.0040945e
test eax, eax
je 0x40957b
mov eax, dword [0x419368]
cmp eax, 1
jne 0x409559
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40957b
pop esi
ret
push eax
call dword [0x419370]
test eax, eax
jne 0x4095c3
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 0x40957f
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x419368]
call dword [0x419370]
mov edi, eax
test edi, edi
je 0x4095a4
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4095c0
mov edi, esi
add esi, 0xff0
push edi
push dword [0x419368]
call dword [0x41936c]
add edi, 0x10
cmp edi, esi
jb 0x4095ac
mov eax, edi
pop edi
pop esi
ret
jmp 0x409525

Function at 0x409c53
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41833c]
jne 0x409c5d
repz ret
jmp fcn.0040cf8d
Function at 0x40f9ed
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040aea6
and dword [ebp - 4], 0
cmp dword [0x419e14], 0
mov ebx, eax
jne 0x40fa9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40fb4f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40fb4f
push eax
call fcn.0040ae34
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x419e14], eax
call esi
push eax
call fcn.0040ae34
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x419e18], eax
call esi
push eax
call fcn.0040ae34
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x419e1c], eax
call esi
push eax
call fcn.0040ae34
pop ecx
mov dword [0x419e24], eax
test eax, eax
je 0x40fa9e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ae34
pop ecx
mov dword [0x419e20], eax
mov eax, dword [0x419e20]
cmp eax, ebx
je 0x40faf6
cmp dword [0x419e24], ebx
je 0x40faf6
push eax
call fcn.0040aeaf
push dword [0x419e24]
mov esi, eax
call fcn.0040aeaf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40faf6
test edi, edi
je 0x40faf6
call esi
test eax, eax
je 0x40faed
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40faed
test byte [ebp - 0xc], 1
jne 0x40faf6
or dword [ebp + 0x10], 0x200000
jmp 0x40fb2f
mov eax, dword [0x419e18]
cmp eax, ebx
je 0x40fb2f
push eax
call fcn.0040aeaf
pop ecx
test eax, eax
je 0x40fb2f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40fb2f
mov eax, dword [0x419e1c]
cmp eax, ebx
je 0x40fb2f
push eax
call fcn.0040aeaf
pop ecx
test eax, eax
je 0x40fb2f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x419e14]
call fcn.0040aeaf
pop ecx
test eax, eax
je 0x40fb4f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40fb51
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x456a92
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 0x456b67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x456b31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x456b5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00456b71
test eax, eax
je 0x456b67
add ebx, 0x14
jmp 0x456b3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x456b71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x456ddd
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 0x456ddd
mov eax, 1
test eax, eax
je 0x456ddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x456ddd
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 0x456dd3
mov ebx, eax
and eax, 0x80000000
jne 0x456d4a
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 0x456ddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x456ddd
mov eax, 1
test eax, eax
je 0x456ddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x456ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x456ca5
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 0x456ddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x456b67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x456ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x456ca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x456e9d
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 0x456fee
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 0x456fee
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.00456ff8
test eax, eax
je 0x456fee
add ebx, 0x28
dec ecx
jne 0x456fc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x45709e
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 0x4570c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x45712e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x4570e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x45712e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x457105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x45712e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x457123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x45712e
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 0x45716b
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
Function at 0x457172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4571a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4571a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x457dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00457f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00457f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00457eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00457f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00457ecb
push ecx
push dword [ebp + 8]
call fcn.00457f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00457f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00457ecb
push ecx
push dword [ebp + 8]
call fcn.00457f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00457f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00457ecb
push ecx
push dword [ebp + 8]
call fcn.00457f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00457f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00457ecb
cmp ecx, 0x2b
jne 0x457e0f
leave
ret 0xc

Function at 0x4594b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x459544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x476b0
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4595d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x476b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x476b0
call fcn.004593fa
push 0x476b0
push dword [ebp + 0xc]
call fcn.004571a8
test eax, eax
jne 0x4595b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x476b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004595dd
test eax, eax
je 0x4595d6
jmp 0x459574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4595d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x45960b
Capabilities:
Terminate process

Disassembly:
call fcn.00459618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]