joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47aad0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4afc21
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4dbe18]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov byte [esp + 0x17], bl
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
push 0x206
lea edx, [esp + 0x56]
xor ecx, ecx
push ebx
mov dword [esp + 0x26c], ebx
push edx
mov word [esp + 0x5c], cx
call fcn.0048f0a0
add esp, 0xc
lea eax, [esp + 0x50]
push eax
push ebx
push ebx
push 0x25
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x47ab9e
lea eax, [esp + 0x50]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47ab60
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x54]
lea esi, [esp + 0x38]
call fcn.004052b0
cmp dword [esp + 0x48], ebx
jne 0x47ab9e
cmp dword [esp + 0x4c], 8
jb 0x47ab97
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00480ff0
add esp, 4
xor al, al
jmp 0x47aca5
call fcn.0047af20
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test al, al
jne 0x47abbc
call fcn.0047afb0
test al, al
je 0x47ac2d
lea edx, [esp + 0x34]
push edx
mov ebx, str.Shcore.dll
lea esi, [esp + 0x1c]
call fcn.0040aed0
add esp, 4
mov byte [esp + 0x264], 1
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0x47abed
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
je 0x47ac0b
push str.SetProcessDpiAwareness
push eax
call ebp
test eax, eax
je 0x47ac0b
push 1
call eax
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x264], 0
cmp dword [esp + 0x30], esi
jb 0x47ac26
mov eax, dword [esp + 0x1c]
push eax
call fcn.00480ff0
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x47ac8d
lea ecx, [esp + 0x34]
push ecx
mov ebx, str.User32.dll
lea esi, [esp + 0x1c]
call fcn.0040aed0
add esp, 4
mov byte [esp + 0x264], 2
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0x47ac5e
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
je 0x47ac7a
push str.SetProcessDPIAware
push eax
call ebp
test eax, eax
je 0x47ac7a
call eax
test eax, eax
setne byte [esp + 0x17]
cmp dword [esp + 0x30], esi
jb 0x47ac8d
mov edx, dword [esp + 0x1c]
push edx
call fcn.00480ff0
add esp, 4
cmp dword [esp + 0x4c], 8
jb 0x47aca1
mov eax, dword [esp + 0x38]
push eax
call fcn.00480ff0
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0048ac3c
add esp, 0x254
ret
Function at 0x47adb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4dbe18]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.0048f0a0
add esp, 0xc
push 0x104
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x47ae09
xor eax, eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0048ac3c
add esp, 0x20c
ret
push str.ntdll.dll
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x47adf2
push str.RtlGetVersion
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0048ac3c
add esp, 0x20c
ret

Function at 0x47ae50
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4dbe18]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.0048f0a0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 5
jne 0x47ae9c
mov eax, 1
cmp dword [esp + 8], eax
je 0x47ae9e
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0048ac3c
add esp, 0x118
ret

Function at 0x47aec0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4dbe18]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.0048f0a0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
sbb eax, eax
xor ecx, esp
inc eax
call fcn.0048ac3c
add esp, 0x118
ret

Function at 0x47b0a0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, eax
lea eax, [esp + 0x10]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x47b146
mov eax, dword [edi + 0x20c]
test eax, eax
je 0x47b0cf
push eax
call fcn.0048c860
add esp, 4
push esi
call fcn.0048c93d
add esp, 4
mov dword [edi + 0x20c], eax
test eax, eax
je 0x47b146
push eax
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47b146
mov eax, dword [edi + 0x20c]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push str.VarFileInfoTranslation
push eax
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47b146
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04x
push 0x208
add edi, 4
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x47b3b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4afbcb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4dbe18]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp esi, 0x23
je 0x47b40c
cmp esi, 0x1a
je 0x47b40c
mov eax, 0x4bcd08
mov ecx, edi
call fcn.00404900
jmp 0x47b511
push 0x206
lea ecx, [esp + 0x32]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x38], ax
call fcn.0048f0a0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x47b45b
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov word [edi + 4], ax
push ebx
mov eax, 0x4bcd08
mov esi, edi
call fcn.004052b0
jmp 0x47b511
xor ecx, ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47b475
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x30]
lea esi, [esp + 0x14]
call fcn.004052b0
push str.360TotalSecurity
mov eax, 0x11
mov edx, esi
mov dword [esp + 0x244], ebx
call fcn.0040adf0
mov eax, esi
cmp byte [esp + 0x248], bl
jne 0x47b4e5
push 0xffffffffffffffff
xor edx, edx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
mov ecx, edi
mov word [edi + 4], dx
call fcn.00404cb0
cmp dword [esp + 0x28], 8
jb 0x47b511
mov eax, dword [esp + 0x14]
push eax
call fcn.00480ff0
add esp, 4
jmp 0x47b511
call fcn.00480ee0
test al, al
je 0x47b4fc
lea ecx, [esp + 0x10]
push ecx
mov esi, edi
call fcn.00404940
jmp 0x47b508
mov eax, 0x4bcd08
mov ecx, edi
call fcn.00404900
lea ecx, [esp + 0x10]
call fcn.00404970
mov eax, edi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0048ac3c
add esp, 0x238
ret
Function at 0x47b6d0
Capabilities:
Check for peb beingdebugged flag
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b0a12
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov esi, ecx
push eax
mov ebx, 0x4bd884
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebp
call fcn.0040aed0
add esp, 4
mov dword [esp + 0x28], ebp
mov ebx, 1
mov dword [esp + 0x14], ebx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
lea eax, [esp + 0x18]
push eax
call fcn.0047eab0
add esp, 4
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x14], 3
lea edi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x47b750
sub eax, edi
sar eax, 1
push ecx
mov edx, esi
call fcn.0040adf0
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b78f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x14], ebp
je 0x47b7ba
cmp dword [esi + 0x18], 8
jb 0x47b79f
mov edi, dword [esi + 4]
jmp 0x47b7a2
lea edi, [esi + 4]
cmp edi, ebp
je 0x47b7ba
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x47b7ba
push edi
push ebp
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x47bd20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4af131
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], edx
mov dword [esp + 0x14], edi
mov byte [edi + 4], dl
mov dword [esp + 0x3c], edx
mov eax, dword [eax]
xor ecx, ecx
mov word [esp + 0x1c], cx
mov ecx, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edx
lea ebx, [ecx + 2]
mov si, word [ecx]
add ecx, 2
cmp si, dx
jne 0x47bd86
sub ecx, ebx
sar ecx, 1
push ecx
lea esi, [esp + 0x1c]
call fcn.004052b0
push edi
mov ecx, esi
mov dword [esp + 0x40], 1
call fcn.0047bbb0
add esp, 4
cmp dword [esp + 0x30], 8
jb 0x47bdc6
mov edx, dword [esp + 0x1c]
push edx
call fcn.00480ff0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x47c060
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4afbcb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4dbe18]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea ecx, [esp + 0x32]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x18], ebx
mov word [esp + 0x38], ax
call fcn.0048f0a0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x47c0ec
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov word [edi + 4], ax
push ebx
mov eax, 0x4bcd08
mov esi, edi
call fcn.004052b0
jmp 0x47c167
xor ecx, ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47c106
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x30]
lea esi, [esp + 0x14]
call fcn.004052b0
push str.360TotalSecurity
mov eax, 0x11
mov edx, esi
mov dword [esp + 0x244], ebx
call fcn.0040adf0
mov eax, esi
call fcn.00480ee0
test al, al
je 0x47c152
mov edx, esi
push edx
mov esi, edi
call fcn.00404940
jmp 0x47c15e
mov eax, 0x4bcd08
mov ecx, edi
call fcn.00404900
lea ecx, [esp + 0x10]
call fcn.00404970
mov eax, edi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0048ac3c
add esp, 0x238
ret

Function at 0x47c190
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47c21b
lea ecx, [esp + 4]
push ecx
push esi
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x10]
push str.Path
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c1f5
sub eax, edx
sar eax, 1
je 0x47c21d
cmp word [esi + eax*2 - 2], 0x5c
je 0x47c21d
mov edx, 0x5c
mov word [esi + eax*2], dx
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret
Function at 0x47e640
Capabilities:
Check os version

Disassembly:
sub esp, 0x144
mov eax, dword [0x4dbe18]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, dword [0x4e0dcc]
test eax, eax
jl 0x47e67b
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0048ac3c
add esp, 0x144
ret
xor eax, eax
push esi
push 0x11c
push eax
lea edx, [esp + 0x30]
push edx
mov dword [0x4e0dcc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.0048f0a0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x11c
call esi
test eax, eax
jne 0x47e6eb
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], 0x114
call esi
test eax, eax
je 0x47e73d
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47e73d
lea edx, [esp + 4]
push edx
call eax
mov eax, dword [esp + 4]
cmp ax, 9
je 0x47e71d
cmp ax, 6
jne 0x47e73d
mov eax, 1
mov dword [0x4e0dcc], eax
pop esi
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0048ac3c
add esp, 0x144
ret
mov ecx, dword [esp + 0x144]
pop esi
xor ecx, esp
xor al, al
call fcn.0048ac3c
add esp, 0x144
ret
Function at 0x47e8d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xc
cmp byte [0x4e6650], 0
push esi
mov esi, eax
jne 0x47ea7d
push 0x4e6654
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x4e6650], 0
je 0x47e907
push 0x4e6654
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
add esp, 0xc
ret
push edi
xor ecx, ecx
push ecx
push 0x28
push 0x4e6238
xor eax, eax
push ecx
mov dword [0x4e6440], 0
mov dword [0x4e664c], 0
mov word [0x4e6238], ax
mov word [0x4e6444], cx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x47e958
push str.:windows_
push 0x4e6238
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x47e9e2
xor edi, edi
call fcn.0047aec0
test al, al
jne 0x47ea71
test esi, esi
je 0x47ea71
push esi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x47e9d1
test eax, eax
je 0x47e9d1
lea edx, [esp + 8]
push edx
push 8
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x47e9d1
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push 0x4e6238
push ecx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
test eax, eax
je 0x47e9c6
mov edi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x10]
call fcn.00401040
test edi, edi
je 0x47ea71
push 0x4e6238
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, 0x4e6238
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47e9f5
push 0x104
sub eax, edx
push 0x4e6444
sar eax, 1
push 0x4e6238
mov dword [0x4e6440], eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x47ea29
cmp eax, 0x104
jb 0x47ea31
xor eax, eax
mov word [0x4e6444], ax
push 0x4e6444
push 0x4e6238
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x47ea4e
xor ecx, ecx
mov word [0x4e6444], cx
mov eax, 0x4e6444
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47ea56
sub eax, edx
sar eax, 1
mov dword [0x4e664c], eax
mov byte [0x4e6650], 1
push 0x4e6654
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
add esp, 0xc
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00402d40
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
mov esi, 5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x401147
cmp dword [ebp - 0x210], 2
jl 0x401147
push 0x4078a8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040120c
mov ecx, dword [edi + 4]
push ecx
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.00401181
push 0x4078a8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00401181
add esp, 0x24
cmp dword [ebp - 0x210], 2
jle 0x4010be
mov ecx, dword [edi + 8]
push ecx
call fcn.004011f6
add esp, 4
mov esi, eax
imul esi, esi, 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x44
lea edx, [ebp - 0x264]
push 0
push edx
call fcn.00402d40
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x264]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x20c]
push edx
push 0
mov dword [ebp - 0x264], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40115e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401172
mov esp, ebp
pop ebp
ret 0x10
pop edi
mov eax, 0xa0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401172
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00401172
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401172
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409004]
jne 0x40117c
repz ret
jmp fcn.0040140f

Function at 0x402320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add al, 0xfc
invalid
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x402374
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00401ee9
push eax
push esi
push dword [ebp + 8]
call fcn.00401e9e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00401ed9
jb 0x402370
jmp 0x4022e1
jg 0x402371
invalid
invalid
mov byte [ebp - 0x80], 0x51
Function at 0x402609
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4025b0
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4025ce
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40262c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x402613
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40261c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x402626
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x402608
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x402592
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x402679
dec eax
je 0x402670
sub eax, 3
je 0x402667
mov dword [ebp - 4], 0x40
jmp 0x402696
mov dword [ebp - 4], 4
jmp 0x40267c
mov dword [ebp - 4], 0x20
jmp 0x40267c
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4026c8
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x402648
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00401ed9
inc ebx
xor al, 0x89
inc esp
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x4026d4
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402740
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00401ee9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401e9e
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
invalid
invalid
int 0xfc
Function at 0x402dba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00401eb7
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00401ee9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401e9e
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00401ed9
pop esi
test dl, al
jp 0x402f3e
add al, 1
add byte [eax], al
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.00401ed9
sub dword [edi - 0x3f], eax
stosb byte es:[edi], al
and byte [ebp - 0x20], 0
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.00401ee9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401e9e
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
call dword [eax + 0x68]
add al, 1
add byte [eax], al
invalid