joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a39c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df0b3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5265f0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
push 0x2000
call fcn.00437cf0
or edi, 0xffffffff
xor ebx, ebx
push 0x400
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.CSoftwareInterface.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call fcn.004b3e82
mov dword [esi + 0x1c], eax
push 0x200
mov byte [eax], bl
call fcn.004b3e82
mov dword [esi + 0x20], eax
push 0x400
mov byte [eax], bl
call fcn.004b3e82
mov dword [esi + 0x30], eax
push 0x200
mov byte [eax], bl
call fcn.004b3e82
mov dword [esi + 0x34], eax
push 0x210
mov byte [eax], bl
call fcn.004b3e57
add esp, 0x14
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x20], 1
je 0x4a3a73
mov ecx, eax
call fcn.00422450
jmp 0x4a3a75
xor eax, eax
push 0xc
mov byte [esp + 0x24], bl
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov byte [esi + 0x40], bl
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x84], ebx
call fcn.004b3e57
add esp, 4
cmp eax, ebx
je 0x4a3abe
mov ecx, eax
call fcn.004a39a0
mov dword [esi + 0x80], eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov dword [esi + 0x80], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x4a3b10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4dc498
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5265f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CSoftwareInterface.0
mov eax, dword [esi + 0x30]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], edi
je 0x4a3b58
push eax
call fcn.004b3e87
add esp, 4
mov dword [esi + 0x30], edi
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x4a3b6b
push eax
call fcn.004b3e87
add esp, 4
mov dword [esi + 0x34], edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x4a3b7b
push eax
call fcn.004b3e87
add esp, 4
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x4a3b8e
push eax
call fcn.004b3e87
add esp, 4
mov dword [esi + 0x20], edi
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x4a3ba1
push eax
call fcn.004b3e87
add esp, 4
mov dword [esi + 0x1c], edi
mov ecx, dword [esi + 0x80]
cmp ecx, edi
je 0x4a3bc8
call fcn.004a65d0
mov ecx, dword [esi + 0x80]
cmp ecx, edi
je 0x4a3bc2
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x80], edi
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00437d10
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4b1080
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push edi
push str.rootwmi
mov ebx, ecx
call esi
push str.MSSmBios_RawSMBiosTables
mov ebp, eax
call esi
mov edi, eax
push 0x4f1f7c
mov dword [esp + 0x2c], edi
call esi
xor esi, esi
push 2
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x4b122a
push esi
push 2
push esi
push 3
push 6
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x4b10f5
cmp eax, 0x80010119
jne 0x4b11d1
lea eax, [esp + 0x10]
push eax
push 0x4f6f5c
push 1
push esi
push 0x4f701c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4b11d1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push ebp
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x4b11d1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push esi
push esi
push edi
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
jl 0x4b11d1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x20]
push edx
push 1
push 0xfa0
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x24], 1
jne 0x4b11d1
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x2c]
push esi
push ecx
push eax
call edx
cmp word [esp + 0x30], 0x2011
jne 0x4b11d1
mov eax, dword [esp + 0x38]
mov edi, dword [eax + 0x10]
cmp edi, esi
je 0x4b11d1
cmp edi, 0x4000
jg 0x4b11d1
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0xc]
push edi
push eax
push ecx
call fcn.004c4ce0
mov edx, dword [ebx + 0x10]
add esp, 0xc
mov word [edx + 6], di
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4b11e5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4b11f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4b120d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
push ebp
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret
Function at 0x4b4e2e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4df5a7
call fcn.004c579b
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004bcac3
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x4b4e79
call fcn.004bcac3
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x4b4e8a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4b4e97
or eax, 0xffffffff
jmp 0x4b4ff3
mov ecx, esi
call fcn.004b4953
mov dword [ebp - 0x14], eax
call fcn.004b7861
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x4b4f15
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4b4f15
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4b4f15
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0040a960
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x4b4f15
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x4b4f15
mov ecx, ebx
call fcn.004bbecc
test eax, eax
je 0x4b4f15
push 0
mov ecx, ebx
call fcn.004bbee7
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.004b91fc
push dword [ebp - 0x14]
call fcn.004b77b9
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.004b4c36
xor edi, edi
cmp eax, edi
je 0x4b4f72
test byte [esi + 0x3c], 0x10
je 0x4b4f5c
push 4
pop edi
mov ecx, esi
call fcn.004bbdf1
test ax, 0x100
je 0x4b4f52
push 5
pop edi
push edi
mov ecx, esi
call fcn.004b732a
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4b4f72
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004bbf4e
or dword [ebp - 4], 0xffffffff
jmp 0x4b4f9d
cmp dword [ebp - 0x28], edi
je 0x4b4fab
push 1
mov ecx, ebx
call fcn.004bbee7
cmp dword [ebp - 0x2c], edi
je 0x4b4fbb
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4b4fd4
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x4b4fd4
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.004b498d
cmp dword [esi + 0x58], edi
je 0x4b4ff0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.004c5807
ret
Function at 0x4b87f2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4b882b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b87b5
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b76b2
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x4ba316
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4ba359
call fcn.004bcac3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ba359
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4ba374
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004b9ed0
test ebx, ebx
mov esi, eax
je 0x4ba372
test edi, edi
je 0x4ba372
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4bbfcb
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4df8ed
call fcn.004c5768
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4bbff0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4bc03c
call fcn.004bc162
push eax
lea ecx, [ebp - 0x10]
call fcn.004014b0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004b3ed1
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401220
mov eax, esi
call fcn.004c5807
ret 8
Function at 0x4bd98e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5265f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x4bd9cb
push 0x4f44f0
push 4
push eax
call fcn.004c447c
push eax
call fcn.004019c0
add esp, 0x10
jmp 0x4bd9dd
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4bda48
push edi
call fcn.004c5865
mov edi, dword [eax]
call fcn.004c5865
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.004c50c6
add esp, 0x18
mov ebx, eax
call fcn.004c5865
cmp dword [eax], 0
je 0x4bda28
call fcn.004c5865
push dword [eax]
call fcn.00420fb0
pop ecx
jmp 0x4bda2f
call fcn.004c5865
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4bda48
cmp ebx, esi
jae 0x4bda48
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x4bda4a
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2fd1
leave
ret
Function at 0x4bfe75
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4bfea3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4bfec1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004bfddf
jmp 0x4bfec1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4bfec1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004bfddf
test edi, edi
mov eax, edi
jne 0x4bfeab
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x52ea8c]
test ecx, ecx
je 0x4bff84
jmp 0x4bfe74
ret 8

Function at 0x4c2fd1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5265f0]
jne 0x4c2fdb
repz ret
jmp fcn.004cac0c

Function at 0x4c766d
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x526780]
je 0x4c7688
inc edi
cmp edi, 0x17
jb 0x4c7679
cmp edi, 0x17
jae 0x4c7808
push ebp
push 3
call fcn.004d3f7f
cmp eax, 1
pop ecx
je 0x4c77d4
push 3
call fcn.004d3f7f
test eax, eax
pop ecx
jne 0x4c76bc
cmp dword [0x5265c8], 1
je 0x4c77d4
cmp ebx, 0xfc
je 0x4c7807
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x52eb50
push ebp
call fcn.004c5045
add esp, 0xc
test eax, eax
je 0x4c76f2
push esi
push esi
push esi
push esi
push esi
call fcn.004c8bcf
add esp, 0x14
push 0x104
mov esi, 0x52eb69
push esi
push 0
mov byte [0x52ec6d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c7736
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004c5045
add esp, 0xc
test eax, eax
je 0x4c7736
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004c8bcf
add esp, 0x14
push esi
call fcn.004cc810
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4c777b
push esi
call fcn.004cc810
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x52ee64
push 0x4f592c
sub ecx, eax
push ecx
push eax
call fcn.004c55d6
add esp, 0x14
test eax, eax
je 0x4c777b
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004c8bcf
add esp, 0x14
jmp 0x4c777d
xor esi, esi
push 0x4f5928
push ebx
push ebp
call fcn.004c3b97
add esp, 0xc
test eax, eax
je 0x4c779d
push esi
push esi
push esi
push esi
push esi
call fcn.004c8bcf
add esp, 0x14
push dword [edi*8 + 0x526784]
push ebx
push ebp
call fcn.004c3b97
add esp, 0xc
test eax, eax
je 0x4c77bf
push esi
push esi
push esi
push esi
push esi
call fcn.004c8bcf
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004d3dc2
add esp, 0xc
jmp 0x4c7807
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4c7807
cmp ebp, 0xffffffff
je 0x4c7807
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x526784]
push dword [esi]
call fcn.004cc810
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4d3dc2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004c8231
xor ebx, ebx
cmp dword [0x52f658], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4d3e98
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4d3f78
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4d3f78
push eax
call fcn.004c81c3
mov dword [esp], 0x4f5d54
push edi
mov dword [0x52f658], eax
call esi
push eax
call fcn.004c81c3
mov dword [esp], 0x4f5d40
push edi
mov dword [0x52f65c], eax
call esi
push eax
call fcn.004c81c3
mov dword [0x52f660], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004c7080
test eax, eax
pop ecx
pop ecx
je 0x4d3e66
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004c8bcf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4d3e98
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004c81c3
cmp eax, ebx
pop ecx
mov dword [0x52f668], eax
je 0x4d3e98
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004c81c3
pop ecx
mov dword [0x52f664], eax
mov eax, dword [0x52f664]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4d3f1d
cmp dword [0x52f668], ecx
je 0x4d3f1d
push eax
call fcn.004c823a
push dword [0x52f668]
mov esi, eax
call fcn.004c823a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4d3f1d
cmp edi, ebx
je 0x4d3f1d
call esi
cmp eax, ebx
je 0x4d3eea
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4d3eea
test byte [ebp - 0x18], 1
jne 0x4d3f1d
lea eax, [ebp - 0x10]
push eax
call fcn.004c70b7
test eax, eax
pop ecx
je 0x4d3f05
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004c8bcf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4d3f14
or dword [ebp + 0x10], 0x200000
jmp 0x4d3f58
or dword [ebp + 0x10], 0x40000
jmp 0x4d3f58
mov eax, dword [0x52f65c]
cmp eax, dword [ebp - 8]
je 0x4d3f58
push eax
call fcn.004c823a
cmp eax, ebx
pop ecx
je 0x4d3f58
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4d3f58
mov eax, dword [0x52f660]
cmp eax, dword [ebp - 8]
je 0x4d3f58
push eax
call fcn.004c823a
cmp eax, ebx
pop ecx
je 0x4d3f58
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x52f658]
call fcn.004c823a
cmp eax, ebx
pop ecx
je 0x4d3f78
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4d3f7a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4db62d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5265f0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004db5c2
mov eax, 0x400000
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 fcn.004c43d0
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 0x4db67c
cmp dword [ebp - 0x1c], 5
jb 0x4db694
jmp 0x4db690
cmp dword [ebp - 0x10], 1
jne 0x4db694
cmp dword [ebp - 0x1c], 4
ja 0x4db690
jne 0x4db694
cmp dword [ebp - 0x18], 0
jbe 0x4db694
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4f6ee8
call fcn.004db496
test eax, eax
jge 0x4db6b5
mov byte [0x52f771], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004c2fd1
add ebp, 0x78
leave
ret
Function at 0x413e80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x413ea2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413ea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413e98
mov eax, 1
add ebx, ebx
jne 0x413ebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413eb0
jne 0x413ecc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413eb0
xor ecx, ecx
sub eax, 3
jb 0x413ee0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x413f52
mov ebp, eax
add ebx, ebx
jne 0x413eeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x413ef8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x413f1c
inc ecx
add ebx, ebx
jne 0x413f08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x413efd
jne 0x413f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413efd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x413f3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x413f2d
jmp 0x413e9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x413f3c
add edi, ecx
jmp 0x413e9e
pop esi
mov edi, esi
mov ecx, 0x3f7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x413f5a
cmp byte [edi], 2
jne 0x413f5a
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 0x413f5f
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x413fd7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1502c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x150f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x413f8c
mov ecx, edi
jns 0x413fbb
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 + 0x150f8]
or eax, eax
je 0x413fd1
mov dword [ebx], eax
add ebx, 4
jmp 0x413fa9
call dword [esi + 0x15100]
mov ebp, dword [esi + 0x150fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x41400b
sub esp, 0xffffff80
jmp 0x40a4f2

Function at 0x40497e
Capabilities:
Encode data using xor

Disassembly:
loopne 0x40497b
inc ecx
add byte [edx + 0x6a], dl
add byte [edx - 0x3a], ch
push edx
push 0
push 0xffffffffffffffc6
push 0x6202dc
call fcn.00404f60
test byte [ecx + 0xa], 0xf6
je 0x4049b3
mov eax, dword [0x4102e0]
push eax
call 0x3fdbca
mov eax, esi
mov dword [0x644102e0], 0
invalid
mov edi, dword [edx]
fadd qword [edx]
test dword [eax], 0x40f32368
add byte [ecx + 5], dl
sub al, 1
add byte [eax], al
mov edx, dword [0x4102dc]
push edx
push ds
invalid
Function at 0x401266
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a1004]
jne 0x401270
repz ret
jmp fcn.004017cd

Function at 0x408849
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a1004]
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.00403ea2
and dword [ebp - 0x14], 0
cmp dword [0x4a3d9c], 0
mov dword [ebp - 0x18], eax
jne 0x4088fc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4089a4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4089a4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a3d9c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a3da0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a3da4], eax
call edi
push eax
call esi
mov dword [0x4a3dac], eax
test eax, eax
je 0x4088fc
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a3da8], eax
mov eax, dword [0x4a3da8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408955
cmp dword [0x4a3dac], ecx
je 0x408955
push eax
call esi
push dword [0x4a3dac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408955
test ebx, ebx
je 0x408955
call edi
test eax, eax
je 0x40894c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40894c
test byte [ebp - 8], 1
jne 0x408955
or dword [ebp + 0x10], 0x200000
jmp 0x408988
mov eax, dword [0x4a3da0]
cmp eax, dword [ebp - 0x18]
je 0x408988
push eax
call esi
test eax, eax
je 0x408988
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408988
mov eax, dword [0x4a3da4]
cmp eax, dword [ebp - 0x18]
je 0x408988
push eax
call esi
test eax, eax
je 0x408988
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a3d9c]
call esi
test eax, eax
je 0x4089a4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4089a6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401266
leave
ret