joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401da0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
push 0
push 0
push 0
call esi
push 0x30
call fcn.0040dac5
mov dword [ebp - 0x24], eax
add esp, 4
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x24], 4
mov dword [eax + 4], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], esi
mov dword [eax], vtable.CMainWnd.0
mov dword [eax + 0x2c], 0x1770
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 0xc
call fcn.004029f0
mov ebx, eax
test ebx, ebx
js 0x401f83
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0x43249c
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x78]
mov esi, dword [0x438ccc]
add esi, 0x10
mov dword [ebp - 0x2c], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x438d68]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402980
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0xc]
xorps xmm0, xmm0
push dword [ebp - 0x24]
movups xmmword [ebp - 0x20], xmm0
lea eax, [esi + 0x20]
push eax
push 0x4378b8
call fcn.00402220
add esp, 8
movzx eax, ax
push eax
push 0
push 0x188
push 0x80000000
push 0x431228
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, esi
call fcn.00402060
test eax, eax
je 0x401f61
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
push 0
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
push 0x406120
push 0
push 0
mov byte [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x38], eax
call fcn.00402890
call fcn.00402740
mov eax, dword [edi + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00405620
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401f57
push eax
call esi
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x401f61
push eax
call esi
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x401f6f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0xc], 0
call fcn.004025b0
lea ecx, [ebp - 0x78]
call fcn.00401fb0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d2ba
mov esp, ebp
pop ebp
ret
Function at 0x4043b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x43700c]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00404300
mov esi, eax
test esi, esi
jne 0x4044a7
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x404479
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.004043b0
mov esi, eax
test esi, esi
jne 0x4044a7
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x404440
mov eax, dword [esp + 0xc]
test eax, eax
je 0x404490
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.004044f0
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4044b6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0040d2ba
mov esp, ebp
pop ebp
ret 4
Function at 0x4050d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425eb6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x40517c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x40517c
call fcn.004035c0
mov esi, eax
jmp 0x40526c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40519f
call fcn.004035c0
jmp 0x40525f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4051bd
call fcn.004035c0
jmp 0x40525f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4051de
mov esi, 0x8007000e
jmp 0x405261
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00403570
jmp 0x405208
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x40521f
mov esi, 0x8007000e
jmp 0x405261
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40523f
call fcn.004035c0
jmp 0x40525f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00404f70
mov esi, eax
test edi, edi
je 0x40526c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x405290
lea ecx, [ebp - 0x418]
call fcn.00403520
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040d2ba
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405c60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405c79
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405cb6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x405cb2
nop word [eax + eax]
cmp esi, edx
jae 0x405cb6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x405ca0
cmp esi, edx
jb 0x405cbd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4062e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425fab
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0040f870
add esp, 0xc
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
mov dword [ebp - 0x428], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallMasterPDF
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4063b1
lea eax, [ebp - 0x438]
mov dword [ebp - 0x428], 1
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x438], 0x208
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x420]
jmp 0x4063ee
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0040f870
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push 0x432904
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
push 0
push str._check_updateserver
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x434]
call fcn.00406550
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x406453
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x434], 0
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x406464
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d2ba
mov esp, ebp
pop ebp
ret
Function at 0x406550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x468
mov eax, dword [0x43700c]
xor eax, esp
mov dword [esp + 0x464], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0xc], eax
test edi, edi
jne 0x406594
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x464]
xor ecx, esp
call fcn.0040d2ba
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 8], 0
jne 0x4065a3
call fcn.00406760
test eax, eax
je 0x40657c
cmp dword [ebp + 0x10], 0
je 0x4065b2
xor dword [esi + 4], 0x8000000
jmp 0x4065b9
or dword [esi + 4], 0x8000000
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0040f870
add esp, 0xc
mov dword [esp + 0x20], 0x44
lea eax, [esp + 0x68]
mov dword [esp + 0x28], str.winsta0default
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
push 0x400
push 0
push eax
call fcn.0040f870
add esp, 0xc
lea eax, [esp + 0x68]
push dword [esp + 0xc]
push edi
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push dword [esi + 8]
lea eax, [esp + 0x78]
push dword [esi + 4]
push 0
push 0
push 0
push eax
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x406645
test eax, eax
jne 0x40664a
mov edi, 1
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40665b
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x406666
push eax
call esi
mov ecx, dword [esp + 0x46c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0040d2ba
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406680
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4066c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d2ba
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40672d
mov edi, dword [ebp + 0xc]
nop
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004108e9
add esp, 8
test eax, eax
jne 0x406719
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x406719
cmp dword [ebp - 0x234], edi
je 0x406749
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4066e0
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d2ba
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp - 0x228]
jmp 0x40672d
Function at 0x406760
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, ecx
push str.WTSGetActiveConsoleSessionId
push str.kernel32.dll
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.WTSQueryUserToken
push str.Wtsapi32.dll
mov dword [ebp - 0x10], eax
call edi
push eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4067b8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4067af
call eax
mov esi, eax
mov dword [ebx + 4], 0x20
lea eax, [ebp - 8]
mov dword [ebp - 0x1c], 0
push eax
push esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
call edi
test eax, eax
jne 0x40682d
push esi
push str.explorer.exe
call fcn.00406680
test eax, eax
jne 0x406808
push esi
push str.winlogon.exe
call fcn.00406680
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0xf00ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [ebp - 4]
jmp 0x40683c
mov eax, dword [ebp - 8]
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x14]
push ecx
push 4
lea ecx, [ebp - 0xc]
push ecx
push 0x13
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x40685a
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
jmp 0x406880
lea eax, [ebp - 0x1c]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push ebx
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push 1
push dword [ebx]
lea esi, [ebx + 8]
push esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x4068a0
or dword [ebx + 4], 0x400
mov ebx, 1
jmp 0x4068a8
mov dword [esi], 0
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4068b5
push edi
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x4068bf
push eax
call esi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4068c9
push ecx
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406990
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x1000
push 0
push 0
push 4
push dword [ecx]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x406a81
cmp byte [esi], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x4069ff
xor ecx, ecx
jmp 0x406a0d
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406a04
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004070c0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push ebx
push edi
push eax
call fcn.00406ab0
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x406a7d
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x406a74
test cl, 0x1f
je 0x406a50
call fcn.00413380
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x406a5c
call fcn.00413380
sub ecx, eax
cmp ecx, 4
jae 0x406a68
call fcn.00413380
cmp ecx, 0x23
jbe 0x406a72
call fcn.00413380
mov ecx, eax
push ecx
call fcn.0040d2b5
add esp, 4
xor eax, eax
jmp 0x406a86
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d2ba
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402de9
Capabilities:
Create pipe
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1804
call fcn.00409a10
mov eax, dword [0x246198c]
mov ecx, dword [0x246141c]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x402ec3
mov edi, ecx
mov ebx, eax
cmp dword [0x246198c], 0x959
jne 0x402eb3
push esi
lea eax, [esp + 0x814]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x402a34
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
lea eax, [esp + 0x1014]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.00402bd7
add edi, 8
dec ebx
jne 0x402e18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4073ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437bc0]
jne 0x4073d8
repz ret
jmp fcn.0040934c

Function at 0x407cdb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x437bc0]
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.00404d23
and dword [ebp - 0x14], 0
cmp dword [0x44ef5c], 0
mov dword [ebp - 0x18], eax
jne 0x407d8e
push 0x402944
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407e36
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402938
push ebx
call edi
test eax, eax
je 0x407e36
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402928
push ebx
mov dword [0x44ef5c], eax
call edi
push eax
call esi
push 0x402914
push ebx
mov dword [0x44ef60], eax
call edi
push eax
call esi
push 0x4028f8
push ebx
mov dword [0x44ef64], eax
call edi
push eax
call esi
mov dword [0x44ef6c], eax
test eax, eax
je 0x407d8e
push 0x4028e0
push ebx
call edi
push eax
call esi
mov dword [0x44ef68], eax
mov eax, dword [0x44ef68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407de7
cmp dword [0x44ef6c], ecx
je 0x407de7
push eax
call esi
push dword [0x44ef6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407de7
test ebx, ebx
je 0x407de7
call edi
test eax, eax
je 0x407dde
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407dde
test byte [ebp - 8], 1
jne 0x407de7
or dword [ebp + 0x10], 0x200000
jmp 0x407e1a
mov eax, dword [0x44ef60]
cmp eax, dword [ebp - 0x18]
je 0x407e1a
push eax
call esi
test eax, eax
je 0x407e1a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407e1a
mov eax, dword [0x44ef64]
cmp eax, dword [ebp - 0x18]
je 0x407e1a
push eax
call esi
test eax, eax
je 0x407e1a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44ef5c]
call esi
test eax, eax
je 0x407e36
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407e38
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004073ce
leave
ret
Function at 0x440e90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x34000]
push edi
jmp 0x440eaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x440eb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x440ea0
mov eax, 1
add ebx, ebx
jne 0x440ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x440eb8
jne 0x440ed4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440eb8
xor ecx, ecx
sub eax, 3
jb 0x440ee8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x440f5a
mov ebp, eax
add ebx, ebx
jne 0x440ef3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x440f00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x440f24
inc ecx
add ebx, ebx
jne 0x440f10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x440f05
jne 0x440f21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440f05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x440f44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x440f35
jmp 0x440ea6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x440f44
add edi, ecx
jmp 0x440ea6
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x440f62
cmp byte [edi], 9
jne 0x440f62
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x440f67
lea edi, [esi + 0x3e000]
mov eax, dword [edi]
or eax, eax
je 0x440fdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x63148]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x63228]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x440f94
mov ecx, edi
jns 0x440fc3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x63230]
or eax, eax
je 0x440fd9
mov dword [ebx], eax
add ebx, 4
jmp 0x440fb1
call dword [esi + 0x6322c]
mov ebp, dword [esi + 0x63234]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x441013
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x100512e5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
invalid
add ebx, dword [esp]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 4]
add esp, 8
push esi
mov esi, 0x77b322f8
call fcn.10034b78
jg 0x10034afe
nop
xor ebx, 0x85bd795b
sub ebx, 0xe6c44bce
add ebx, 0x80a84b2a
jmp 0x10034b5c
Function at 0x10068010
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1006803d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1006803d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret