joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4064a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x4064b0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4064c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4069c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x41f280]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x406a3a
xor eax, eax
cmp ecx, ebp
je 0x406a22
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x406a48
cmp ecx, ebp
je 0x406adb
push ecx
jmp 0x406ad5
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x406aaa
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.004069c0
mov ebx, eax
cmp ebx, ebp
jne 0x406af8
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x406a70
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x406abd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.00406b70
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x406adb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a585
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x406b07
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x406add
Function at 0x4075f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x417ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x41f280]
xor eax, ebp
mov dword [ebp + 0x404], 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 + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x40766f
call fcn.00405dd0
mov esi, eax
jmp 0x407751
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x40768b
call fcn.00405dd0
jmp 0x407748
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x4076a4
call fcn.00405dd0
jmp 0x407748
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x4076d8
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x4076c6
lea eax, [ebp]
call fcn.004064f0
lea esi, [ebp - 0x1c]
call fcn.004046e0
mov eax, 0x8007000e
jmp 0x407763
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00405d90
mov dword [ebp - 4], 1
jmp 0x407701
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x40770f
mov esi, 0x8007000e
jmp 0x40774a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x40772d
call fcn.00405dd0
jmp 0x407748
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.004074a0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x407761
lea eax, [ebp]
call fcn.004064f0
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 + 0x404]
xor ecx, ebp
call fcn.0040a585
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407ae0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x417e1c
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x41f280]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41f280]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
xor ebx, ebx
mov eax, 1
mov dword [esp + 0x30], ebx
test byte [0x421980], al
jne 0x407b60
or dword [0x421980], eax
xor eax, eax
push 0x418380
mov dword [0x42197c], 7
mov dword [0x421978], ebx
mov word [0x421968], ax
call fcn.0040afc1
add esp, 4
cmp dword [0x421978], ebx
je 0x407b80
xor ecx, ecx
push 0xffffffffffffffff
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], cx
push ebx
jmp 0x407d18
push ebx
push 0x1a
lea edx, [esp + 0x58]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x50]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407b96
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x54]
mov esi, 0x421964
call fcn.00404b10
mov edi, esi
lea eax, [esp + 0x14]
call fcn.00407a70
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x270], ebx
call fcn.00403070
mov edi, 8
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x407bf4
mov eax, dword [esp + 0x18]
push eax
call fcn.0040a57a
add esp, 4
mov ebx, 0x41b4f8
mov ecx, 0x421964
lea esi, [esp + 0x14]
call fcn.004039f0
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x421964
mov dword [esp + 0x270], 1
call fcn.00403070
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x407c3f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040a57a
add esp, 4
mov ebx, 0x41af8c
mov ecx, 0x421964
lea esi, [esp + 0x14]
call fcn.004039f0
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x421964
mov dword [esp + 0x270], 2
call fcn.00403070
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x407c8a
mov edx, dword [esp + 0x18]
push edx
call fcn.0040a57a
add esp, 4
mov ebx, 0x41b4f4
mov ecx, 0x421964
lea esi, [esp + 0x34]
call fcn.004039f0
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x421964
mov dword [esp + 0x270], 3
call fcn.00403070
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x4c], edi
jb 0x407cd5
mov eax, dword [esp + 0x38]
push eax
call fcn.0040a57a
add esp, 4
xor ecx, ecx
cmp dword [0x42197c], edi
mov edi, dword [0x421968]
mov esi, 7
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], 0
mov word [esp + 0x38], cx
jae 0x407d00
mov edi, 0x421968
call fcn.00407d50
xor edx, edx
push 0xffffffffffffffff
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], 0
mov word [ebp + 4], dx
push edx
push 0x421964
mov ecx, ebp
call fcn.00403070
mov eax, ebp
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.0040a585
add esp, 0x254
ret
Function at 0x407d50
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x417cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x41f280]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
mov eax, dword [0x41f280]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
cmp edi, ebx
je 0x407e0d
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebp
xor eax, eax
mov word [esp + 0x30], ax
mov eax, edi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407db0
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x30]
call fcn.00404b10
mov dword [esp + 0x54], ebx
push 0x41b4f4
mov ebx, 1
xor eax, eax
mov edx, esi
call fcn.00404a30
mov esi, eax
cmp esi, 0xffffffff
jne 0x407e14
push edi
call ebp
test eax, eax
jne 0x407ea0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x407ea0
lea ecx, [esp + 0x2c]
call fcn.00402d80
xor al, al
jmp 0x407ecd
lea ecx, [esp + 0x2c]
lea ebp, [esi + 1]
push ecx
mov ecx, ebp
xor edx, edx
lea esi, [esp + 0x14]
call fcn.00407f30
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x407e3c
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407e66
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], esi
jae 0x407e55
lea eax, [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x407eeb
push 0x41b4f4
mov ebx, 1
mov eax, ebp
lea edx, [esp + 0x30]
call fcn.00404a30
cmp dword [esp + 0x28], 8
mov esi, eax
jb 0x407e91
mov edx, dword [esp + 0x14]
push edx
call fcn.0040a57a
add esp, 4
cmp esi, 0xffffffff
jne 0x407e14
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebp
test eax, eax
jne 0x407eb7
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x407e04
cmp dword [esp + 0x44], 8
jb 0x407ecb
mov eax, dword [esp + 0x30]
push eax
call fcn.0040a57a
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040a585
add esp, 0x48
ret
cmp dword [esp + 0x28], esi
jb 0x407efe
mov eax, dword [esp + 0x14]
push eax
call fcn.0040a57a
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], cx
cmp dword [esp + 0x44], esi
jb 0x407f28
mov edx, dword [esp + 0x30]
push edx
call fcn.0040a57a
add esp, 4
xor al, al
jmp 0x407ecd
Function at 0x4085b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi + 0x70], 0
jne 0x4085c5
xor al, al
pop esi
add esp, 0x20
ret 4
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esi + 0x70]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
push 0x41
add eax, dword [esp + 0x24]
push 0
cdq
sub eax, edx
sar eax, 1
push 0
push eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 0x70]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x70]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
pop esi
add esp, 0x20
ret 4
Function at 0x408c70
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [ebx + 0x58]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
jmp 0x408c90
mov esi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x58]
test edi, edi
je 0x408c9e
cmp edi, eax
je 0x408ca3
call fcn.0040ac85
cmp dword [esp + 0xc], esi
je 0x408dcf
test edi, edi
jne 0x408dc4
call fcn.0040ac85
xor eax, eax
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x408cca
call fcn.0040ac85
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x408ce6
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 8]
lea esi, [edi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x408d27
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408d16
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x408d3c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x408d7a
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408d69
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x408d88
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00408ec0
push edi
call fcn.0040a57a
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x408dcb
call fcn.0040ac85
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, dword [eax + 0x14]
jne 0x408db5
call fcn.0040ac85
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
jmp 0x408c90
mov eax, dword [edi]
jmp 0x408cbc
mov eax, dword [eax]
jmp 0x408da7
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebx + 0x6c]
mov dword [ecx + 4], ecx
xor ecx, ecx
mov dword [ebx + 0x70], ecx
cmp eax, dword [ebx + 0x6c]
je 0x408e05
mov esi, dword [eax]
push eax
call fcn.0040a57a
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x6c]
jne 0x408de6
mov dword [ebx + 0x50], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx + 0x50], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408ec0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x41802b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x41f280]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CThreadHolder.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x408f31
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408f20
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
cmp dword [esi + 0x14], 0
jne 0x408f42
push esi
call fcn.00409010
call fcn.00409090
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esi + 0x18]
sub esi, 0x10
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x408f69
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x409b90
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
push esi
lea eax, [esp + 4]
push eax
push 0x20
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x409bfc
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push esi
mov dword [esp + 0x14], 1
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp + 4]
push esi
push esi
push 0x10
lea edx, [esp + 0x14]
push edx
push esi
push eax
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x14
ret

Function at 0x40a585
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f280]
jne 0x40a58f
repz ret
jmp fcn.0040cc57

Function at 0x41294e
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.0040e0fd
and dword [ebp - 4], 0
cmp dword [0x4214fc], 0
mov ebx, eax
jne 0x4129ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x412ab0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x412ab0
push eax
call fcn.0040e08b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4214fc], eax
call esi
push eax
call fcn.0040e08b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x421500], eax
call esi
push eax
call fcn.0040e08b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x421504], eax
call esi
push eax
call fcn.0040e08b
pop ecx
mov dword [0x42150c], eax
test eax, eax
je 0x4129ff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040e08b
pop ecx
mov dword [0x421508], eax
mov eax, dword [0x421508]
cmp eax, ebx
je 0x412a57
cmp dword [0x42150c], ebx
je 0x412a57
push eax
call fcn.0040e106
push dword [0x42150c]
mov esi, eax
call fcn.0040e106
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x412a57
test edi, edi
je 0x412a57
call esi
test eax, eax
je 0x412a4e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x412a4e
test byte [ebp - 0xc], 1
jne 0x412a57
or dword [ebp + 0x10], 0x200000
jmp 0x412a90
mov eax, dword [0x421500]
cmp eax, ebx
je 0x412a90
push eax
call fcn.0040e106
pop ecx
test eax, eax
je 0x412a90
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x412a90
mov eax, dword [0x421504]
cmp eax, ebx
je 0x412a90
push eax
call fcn.0040e106
pop ecx
test eax, eax
je 0x412a90
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4214fc]
call fcn.0040e106
pop ecx
test eax, eax
je 0x412ab0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x412ab2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6096caf0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x6096cc8c
pushal
mov esi, 0x6093f015
lea edi, [esi - 0x3e015]
push edi
or ebp, 0xffffffff
jmp 0x6096cb1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6096cb21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6096cb10
mov eax, 1
add ebx, ebx
jne 0x6096cb33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6096cb44
jne 0x6096cb54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6096cb54
dec eax
add ebx, ebx
jne 0x6096cb50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6096cb28
xor ecx, ecx
sub eax, 3
jb 0x6096cb6c
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6096cbde
sar eax, 1
mov ebp, eax
jmp 0x6096cb77
add ebx, ebx
jne 0x6096cb77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x6096cb84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x6096cba8
inc ecx
add ebx, ebx
jne 0x6096cb94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6096cb89
jne 0x6096cba5
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6096cb89
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6096cbc8
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6096cbb9
jmp 0x6096cb16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6096cbc8
add edi, ecx
jmp 0x6096cb16
pop esi
mov edi, esi
mov ecx, 0x2288
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6096cbe6
cmp byte [edi], 0xd
jne 0x6096cbe6
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 eax, ebx
loop 0x6096cbeb
lea edi, [esi + 0x69000]
mov eax, dword [edi]
or eax, eax
je 0x6096cc5a
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6c000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6c03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6096cc18
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6c040]
or eax, eax
je 0x6096cc54
mov dword [ebx], eax
add ebx, 4
jmp 0x6096cc35
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6096cc8b
cmp al, 0xef
ja 0x6096cc7e
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6096cc60
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6096cc6d
popal
jmp section.UPX0
Function at 0x401a3b
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4274b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x43363c]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi + 4], eax
mov ecx, dword [0x43363c]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 8], ecx
mov edx, dword [0x43363c]
mov dword [esi + 0xc], edx
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 2
call fcn.0041b6c6
mov eax, dword [0x43363c]
mov dword [esi + 0x24], eax
mov ecx, dword [0x43363c]
mov dword [esi + 0x28], ecx
mov edx, dword [0x43363c]
mov dword [esi + 0x2c], edx
mov eax, dword [0x43363c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0x429598
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov ecx, dword [0x43363c]
mov dword [esi + 0x80], ecx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x20], 9
mov dword [esi], 0x429594
call fcn.00401bf0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

Function at 0x401af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42752b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], 0x429594
lea ecx, [edi + 0x80]
mov dword [esp + 0x1c], 8
call fcn.0041c043
lea ebx, [edi + 0x34]
mov dword [esp + 0x10], ebx
mov dword [ebx], 0x429598
mov esi, dword [ebx + 4]
mov byte [esp + 0x1c], 9
test esi, esi
je 0x401b6c
mov eax, dword [ebx + 8]
mov ecx, eax
dec eax
test ecx, ecx
je 0x401b60
push ebp
lea ebp, [eax + 1]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
add esi, 0x10
dec ebp
jne 0x401b51
pop ebp
mov ebx, dword [ebx + 4]
push ebx
call fcn.0041c508
add esp, 4
lea ecx, [edi + 0x30]
mov byte [esp + 0x1c], 6
call fcn.0041c043
lea ecx, [edi + 0x2c]
mov byte [esp + 0x1c], 5
call fcn.0041c043
lea ecx, [edi + 0x28]
mov byte [esp + 0x1c], 4
call fcn.0041c043
lea ecx, [edi + 0x24]
mov byte [esp + 0x1c], 3
call fcn.0041c043
lea ecx, [edi + 0x10]
mov byte [esp + 0x1c], 2
call fcn.0041b6f9
lea ecx, [edi + 0xc]
mov byte [esp + 0x1c], 1
call fcn.0041c043
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0
call fcn.0041c043
lea ecx, [edi + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0041c043
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret