joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db224
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4db37f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
call fcn.004daaec
mov dword [ebp - 0xc], eax
mov eax, esi
xor edx, edx
call fcn.00405de0
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x4db279
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
jmp 0x4db27c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
dec eax
sub al, 2
jae 0x4db28b
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4db1f0]
call fcn.004078d4
add esp, 4
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.0040369c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, edi
call fcn.00405e6c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov ebx, eax
test ebx, ebx
jne 0x4db2e1
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405f8c
mov edx, dword [esi]
mov eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4db2f4
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x802
jle 0x4db349
mov eax, edx
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4db30c
sub esi, 4
mov esi, dword [esi]
push 0x4db39c
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c820
push dword [ebp - 0x1c]
push 0x4db3dc
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.0040c820
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00406380
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dl, 1
call fcn.004daa80
mov eax, dword [ebp - 0xc]
call fcn.004dab1c
mov edx, dword [ebp + 0xc]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db386
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405dd8
lea eax, [ebp - 4]
mov edx, dword [0x4db1f0]
call fcn.004078e0
ret
Function at 0x4dc254
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dc2fe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4dc28d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4dc297
cmp eax, 0
jne 0x4dc297
mov eax, dword [ebp - 8]
call fcn.00405060
jmp 0x4dc2e8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
dec ecx
test ecx, ecx
jl 0x4dc2c6
inc ecx
xor esi, esi
mov eax, esi
mov edi, 0x16
cdq
idiv edi
movzx eax, byte [edx + str.vkj8ze67dpa9wx3my2h5gu]
xor byte [ebx], al
inc ebx
inc esi
dec ecx
jne 0x4dc2ae
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00495078
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040841c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc305
lea eax, [ebp - 0xc]
call fcn.00405060
ret
Function at 0x403073
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x403073
lcall 0x5de5, 0x8b10c483
jmp loc.00805580
Function at 0x2001687
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x2012008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.02006ed0
add esp, 0xc
mov ecx, 0x201047c
lea ebx, [ebp - 0x110]
call fcn.020019c7
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x20016f9
mov ecx, 0x201049c
call fcn.020019c7
mov eax, ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
mov dword [ebp - 0x21c], eax
cmp eax, ebx
jne 0x2001701
xor eax, eax
inc eax
jmp 0x20017a5
push 0x44
pop esi
push esi
lea eax, [ebp - 0x278]
push ebx
push eax
call fcn.02006ed0
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x248], ax
xor eax, eax
lea edi, [ebp - 0x22c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x24c], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x218]
push eax
dec esi
call edi
cmp byte [eax + esi], 0x5c
jne 0x2001775
lea eax, [ebp - 0x218]
push eax
call edi
mov byte [eax + esi], bl
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x278]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 5
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.020035b0
leave
ret
Function at 0x2001d1e
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x144
mov eax, dword [0x2012008]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push edi
xor ebx, ebx
push 0x3f
lea eax, [ebp - 0xb]
push ebx
push eax
mov byte [ebp - 0xc], bl
call fcn.02006ed0
push 0x3f
lea eax, [ebp + 0x35]
push ebx
push eax
mov byte [ebp + 0x34], bl
call fcn.02006ed0
mov edi, 0x9c
push edi
lea eax, [ebp - 0xa8]
push ebx
push eax
call fcn.02006ed0
add esp, 0x24
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x2001eb7
mov eax, dword [ebp - 0xa4]
sub eax, 4
je 0x2001e36
dec eax
je 0x2001df2
dec eax
je 0x2001da2
mov byte [esi], bl
jmp 0x2001e49
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
jne 0x2001dbf
cmp byte [ebp - 0xe], 1
setne al
lea eax, [eax*4 + 0x18]
jmp 0x2001e47
cmp eax, 1
jne 0x2001dd2
cmp byte [ebp - 0xe], al
sete al
dec al
and al, 0xfd
add al, 0x20
jmp 0x2001e47
cmp eax, 2
jne 0x2001de2
cmp byte [ebp - 0xe], 1
jne 0x2001e49
mov byte [esi], 0x24
jmp 0x2001e49
cmp eax, 3
jne 0x2001e49
cmp byte [ebp - 0xe], 1
jne 0x2001e49
mov byte [esi], 0x26
jmp 0x2001e49
cmp dword [ebp - 0xa0], ebx
jne 0x2001dff
mov byte [esi], 0xc
jmp 0x2001e49
cmp dword [ebp - 0xa0], 1
jne 0x2001e0d
mov byte [esi], 0x10
jmp 0x2001e49
cmp dword [ebp - 0xa0], 2
jne 0x2001e49
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x2001e27
mov byte [esi], 0x15
jmp 0x2001e49
cmp byte [ebp - 0xe], 1
setne al
dec al
and al, 0xfd
add al, 0x14
jmp 0x2001e47
cmp dword [ebp - 0xa0], 0x5a
sete al
lea eax, [eax*4 + 4]
mov byte [esi], al
mov ecx, 0x201047c
lea ebx, [ebp - 0xc]
call fcn.020019c7
mov ecx, 0x2010764
lea ebx, [ebp + 0x34]
call fcn.020019c7
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0xcc]
rep stosd dword es:[edi], eax
mov eax, ebx
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x2001e97
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x2001ea0
lea ecx, [ebp - 0xcc]
push ecx
call eax
cmp word [ebp - 0xcc], 9
je 0x2001eb4
cmp word [ebp - 0xcc], 6
jne 0x2001eb7
or byte [esi], 1
mov ecx, dword [ebp + 0x74]
pop edi
xor ecx, ebp
pop ebx
call fcn.020035b0
add ebp, 0x78
leave
ret
Function at 0x200265d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x2012008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 0x2949d
xor ebx, ebx
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
call fcn.02003fd3
pop ecx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x2002694
xor eax, eax
jmp 0x200271b
push edi
mov edi, 0x19ce22
push edi
call fcn.02003fd3
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x20026ad
push dword [ebp - 8]
jmp 0x2002712
mov ecx, dword [ebp - 8]
push esi
mov edx, 0x2025950
call fcn.02001a53
push edi
push ebx
push dword [ebp - 0x10]
call fcn.02006ed0
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x10]
push edi
lea esi, [ebp - 0xc]
call fcn.020031f0
add esp, 0x1c
push dword [ebp - 8]
test eax, eax
jge 0x20026f0
call fcn.020035bf
push edi
call fcn.020035bf
pop ecx
jmp 0x2002717
call fcn.020035bf
pop ecx
push ebx
push ebx
push 2
push ebx
push ebx
push 0xc0000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x2002729
push edi
call fcn.020035bf
pop ecx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.020035b0
leave
ret
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x200274f
push edi
call fcn.020035bf
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x200271a
xor ebx, ebx
inc ebx
jmp 0x200273d

Function at 0x2002754
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
and dword [ebp - 4], 0
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 0x14]
push esi
lea esi, [ecx + eax + 0x18]
xor ecx, ecx
cmp cx, word [eax + 6]
jae 0x20027f8
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esi, 0x10
mov ebx, 0x1000
mov eax, dword [esi]
test eax, eax
jne 0x20027ba
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x20027e2
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call fcn.02006ed0
jmp 0x20027df
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call fcn.020097c0
mov eax, dword [ebp - 0xc]
mov dword [esi - 8], eax
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx eax, word [eax + 6]
inc dword [ebp - 4]
add esi, 0x28
cmp dword [ebp - 4], eax
jl 0x200278a
pop edi
pop ebx
pop esi
leave
ret
Function at 0x2002a38
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x2002a4e
xor eax, eax
leave
ret
push edi
mov edi, dword [eax + 0x3c]
add edi, eax
cmp dword [edi], 0x4550
je 0x2002a63
xor eax, eax
jmp 0x2002b54
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
mov ebx, 0x2000
push ebx
push dword [edi + 0x50]
push dword [edi + 0x34]
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x2002a96
push 0x40
push ebx
push dword [edi + 0x50]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
je 0x2002b49
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov eax, dword [ebp - 4]
push 0x40
xor ecx, ecx
push 0x1000
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0x10], ecx
push dword [edi + 0x50]
push eax
call esi
push 0x40
push 0x1000
push dword [edi + 0x54]
push dword [ebp - 4]
call esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x3c]
add ecx, dword [edi + 0x54]
mov dword [ebp - 8], eax
push ecx
push esi
push eax
call fcn.020097c0
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 4]
push ebx
push edi
mov dword [ebx], eax
push esi
mov dword [eax + 0x34], ecx
call fcn.02002754
mov esi, dword [ebp - 4]
mov eax, esi
add esp, 0x18
sub eax, dword [edi + 0x34]
je 0x2002b18
push eax
mov eax, ebx
call fcn.020028be
pop ecx
call fcn.02002937
test eax, eax
je 0x2002b42
push ebx
call fcn.020027fb
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
pop ecx
test eax, eax
je 0x2002b50
add eax, esi
je 0x2002b42
push 0
xor edi, edi
inc edi
push edi
push esi
call eax
test eax, eax
jne 0x2002b4d
mov esi, ebx
call fcn.02002be2
xor eax, eax
jmp 0x2002b52
mov dword [ebx + 0x10], edi
mov eax, ebx
pop esi
pop ebx
pop edi
leave
ret
Function at 0x20031b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x20031e7
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x20031e0
mov eax, 1
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret

Function at 0x2003520
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x2012008]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 4], eax
cmp eax, ebx
je 0x2003599
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x200358a
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.020035b0
add esp, 0x14
ret

Function at 0x20035b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2012008]
jne 0x20035ba
repz ret
jmp fcn.02004da9
Function at 0x200da25
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.02007b5e
and dword [ebp - 4], 0
cmp dword [0x204ffd0], 0
mov ebx, eax
jne 0x200dad6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x200db87
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x200db87
push eax
call fcn.02007aec
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x204ffd0], eax
call esi
push eax
call fcn.02007aec
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x204ffd4], eax
call esi
push eax
call fcn.02007aec
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x204ffd8], eax
call esi
push eax
call fcn.02007aec
pop ecx
mov dword [0x204ffe0], eax
test eax, eax
je 0x200dad6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.02007aec
pop ecx
mov dword [0x204ffdc], eax
mov eax, dword [0x204ffdc]
cmp eax, ebx
je 0x200db2e
cmp dword [0x204ffe0], ebx
je 0x200db2e
push eax
call fcn.02007b67
push dword [0x204ffe0]
mov esi, eax
call fcn.02007b67
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x200db2e
test edi, edi
je 0x200db2e
call esi
test eax, eax
je 0x200db25
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x200db25
test byte [ebp - 0xc], 1
jne 0x200db2e
or dword [ebp + 0x10], 0x200000
jmp 0x200db67
mov eax, dword [0x204ffd4]
cmp eax, ebx
je 0x200db67
push eax
call fcn.02007b67
pop ecx
test eax, eax
je 0x200db67
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x200db67
mov eax, dword [0x204ffd8]
cmp eax, ebx
je 0x200db67
push eax
call fcn.02007b67
pop ecx
test eax, eax
je 0x200db67
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x204ffd0]
call fcn.02007b67
pop ecx
test eax, eax
je 0x200db87
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x200db89
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45f7e1
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.00455bb8
and dword [ebp - 4], 0
cmp dword [0x493288], 0
mov ebx, eax
jne 0x45f892
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45f943
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x473330
push edi
call esi
test eax, eax
je 0x45f943
push eax
call fcn.00455b46
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x493288], eax
call esi
push eax
call fcn.00455b46
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49328c], eax
call esi
push eax
call fcn.00455b46
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x493290], eax
call esi
push eax
call fcn.00455b46
pop ecx
mov dword [0x493298], eax
test eax, eax
je 0x45f892
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00455b46
pop ecx
mov dword [0x493294], eax
mov eax, dword [0x493294]
cmp eax, ebx
je 0x45f8ea
cmp dword [0x493298], ebx
je 0x45f8ea
push eax
call fcn.00455bc1
push dword [0x493298]
mov esi, eax
call fcn.00455bc1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45f8ea
test edi, edi
je 0x45f8ea
call esi
test eax, eax
je 0x45f8e1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45f8e1
test byte [ebp - 0xc], 1
jne 0x45f8ea
or dword [ebp + 0x10], 0x200000
jmp 0x45f923
mov eax, dword [0x49328c]
cmp eax, ebx
je 0x45f923
push eax
call fcn.00455bc1
pop ecx
test eax, eax
je 0x45f923
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45f923
mov eax, dword [0x493290]
cmp eax, ebx
je 0x45f923
push eax
call fcn.00455bc1
pop ecx
test eax, eax
je 0x45f923
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x493288]
call fcn.00455bc1
pop ecx
test eax, eax
je 0x45f943
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45f945
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ed0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x16365e6c
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x715e7633
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4028e7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1800
call fcn.004118d0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
push dword [ebp + 0x10]
mov edi, ecx
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.jinstall.cfg
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push ebx
push dword [ebp + 8]
lea esi, [edi + 0x90]
mov ecx, edi
mov dword [esi], 1
call fcn.0040171c
and dword [esi], 0
test eax, eax
mov dword [ebp + 0xc], eax
jge 0x4029a8
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov ebx, 0x800
push ebx
lea eax, [ebp - 0x1000]
push eax
push 0x7d5
push dword [0x427df4]
call esi
push ebx
lea eax, [ebp - 0x800]
push eax
push 0x7d4
push dword [0x427df4]
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x1000]
push eax
lea eax, [ebp - 0x1800]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [edi + 0x78], 0
jne 0x4029a8
push 0x10
lea eax, [ebp - 0x800]
push eax
lea eax, [ebp - 0x1800]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x402d91
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
push 0x1f4
mov esi, ecx
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x402b52
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x7d0
push dword [esi + 0x74]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x402e03
push 0xd5e5e7
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xbc], edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0xc0], eax
xor eax, eax
pop edi
inc eax
pop esi
leave
ret 0x10

Function at 0x40859e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, ebx
je 0x4085ed
cmp dword [ebp - 4], ebx
jbe 0x4085ea
cmp dword [ebp - 4], 2
jbe 0x4085f4
cmp dword [ebp - 4], 7
jne 0x4085ea
mov ecx, dword [edi]
cmp ecx, 2
jb 0x4085ea
add ecx, esi
cmp byte [ecx - 1], bl
jne 0x4085ea
cmp byte [ecx - 2], bl
je 0x4085ed
push 0xd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov ecx, dword [edi]
cmp byte [ecx + esi - 1], bl
jmp 0x4085e8