joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426a1a
Capabilities:
Create directory

Disassembly:
push ecx
and dword [esp], 0
push 0
push 0x426a0b
push esi
call fcn.0042694d
mov eax, dword [esi]
add esp, 0xc
cmp dword [eax - 0xc], 0
je 0x426a40
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
mov eax, esi
pop ecx
ret

Function at 0x426a85
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x108
lea ebp, [esp - 4]
mov eax, dword [0x458264]
xor eax, ebp
mov dword [ebp + 0x108], eax
push 0xc
mov eax, 0x442eeb
call fcn.00431e2b
mov eax, dword [ebp + 0x114]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
lea esi, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, ecx
mov byte [ebp], bl
mov dword [ebp - 4], ebx
call fcn.00426a1a
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], ebx
je 0x426aef
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x426adb
mov eax, 0x44d300
lea edx, [ebp]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
cmp eax, ebx
jne 0x426aef
mov byte [ebp], bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040113c
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
call fcn.00401f1d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.0042cc45
add ebp, 0x10c
leave
ret
Function at 0x427144
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0xc
call fcn.0042e83c
mov esi, eax
pop ecx
test esi, esi
je 0x427173
mov edi, 0x45a964
push edi
lea ecx, [esi + 4]
call fcn.004021e1
push edi
lea ecx, [esi + 8]
call fcn.004021e1
jmp 0x427175
xor esi, esi
push dword [ebp + 8]
lea edi, [esi + 4]
mov ecx, edi
mov byte [esi], 0
call fcn.0040222e
push dword [ebp + 0xc]
lea ebx, [esi + 8]
mov ecx, ebx
call fcn.0040222e
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
push esi
push 0x427117
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ecx, dword [ebx]
mov al, byte [esi]
sub ecx, 0x10
mov byte [ebp - 1], al
call fcn.0040113c
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.0040113c
push esi
call fcn.0042cc3a
mov al, byte [ebp - 1]
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4271d8
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x44445a
call fcn.00431df8
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x44d38c
push 0x13
push 0x2331
mov dword [ebp - 0x10], esi
call fcn.004262bf
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
add esp, 0xc
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x42732b
push dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x44d3a0
push 0x31
push 0x277
mov dword [ebp - 0x10], esi
call fcn.004262bf
add esp, 0xc
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x42732b
push dword [ebp - 0x10]
call edi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x44d38c
push 0x13
push 0x2331
mov dword [ebp - 0x10], esi
call fcn.004262bf
add esp, 0xc
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x42732b
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x18]
push eax
call fcn.00426bd2
pop ecx
mov dword [ebp - 4], esi
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.00401f1d
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040113c
push 0x44d3d4
push 0xc
push 0x2b7c
call fcn.004262bf
add esp, 0xc
push eax
lea edi, [ebp - 0x14]
call fcn.004077c0
push esi
push 0x80
push 4
push esi
push 2
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
je 0x427320
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040113c
mov al, 1
jmp 0x42732d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040113c
xor al, al
call fcn.00431ed0
ret
Function at 0x4273e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, eax
mov eax, dword [esi]
push 0
push eax
mov byte [ebp - 1], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
push edi
call fcn.0042ead3
mov esi, dword [esi]
pop ecx
push eax
push edi
push 0
push esi
mov dword [ebp - 8], eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x42745d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4494bc
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42745d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
mov esi, dword [ebp + 8]
mov edx, eax
shr edx, 0x10
mov word [esi], dx
mov edx, dword [ebp + 0xc]
mov word [edx], ax
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0x10
mov word [edx], cx
mov word [ebx], ax
mov byte [ebp - 1], 1
push dword [ebp - 8]
call fcn.0042d64f
mov al, byte [ebp - 1]
pop ecx
pop edi
pop esi
test al, al
jne 0x427486
mov edx, dword [ebp + 8]
xor ecx, ecx
mov word [edx], cx
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov word [ebx], cx
leave
ret

Function at 0x427543
Capabilities:
Enumerate processes

Disassembly:
push ebx
push esi
mov esi, 0x128
push esi
xor ebx, ebx
push ebx
push edi
call fcn.0042ded0
add esp, 0xc
push edi
push dword [esp + 0x10]
mov dword [edi], esi
call sub.KERNEL32.DLL_Process32First
jmp 0x42757a
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 8]
je 0x427580
push edi
push dword [esp + 0x10]
mov dword [edi], esi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x427565
jmp 0x427582
mov bl, 1
pop esi
mov al, bl
pop ebx
ret

Function at 0x427a2a
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
sub esp, 0x204
lea ebp, [esp - 4]
mov eax, dword [0x458264]
xor eax, ebp
mov dword [ebp + 0x204], eax
push 0xc
mov eax, 0x442db5
call fcn.00431df8
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x44946e
mov ecx, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
call fcn.00401f1d
push 0x104
lea eax, [ebp + 0x100]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
lea eax, [ebp + 0x100]
push eax
mov byte [ebp + 0x103], bl
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
test eax, eax
je 0x427ac9
push dword [ebp - 0x10]
lea eax, [ebp]
push str.0x_X
push 0x100
push eax
call fcn.0042e97f
add esp, 0x10
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0040227b
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 + 0x204]
xor ecx, ebp
call fcn.0042cc45
add ebp, 0x208
leave
ret
Function at 0x4281b1
Capabilities:
Get user security identifier

Disassembly:
push 0x1c
mov eax, 0x442d81
call fcn.00431df8
mov ebx, ecx
push 0x45a964
lea ecx, [ebp - 0x24]
call fcn.004021e1
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], 8
call fcn.00402078
mov eax, dword [ebx]
mov esi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push edi
lea ecx, [ebp - 0x10]
push ecx
push edi
push eax
push edi
call esi
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], edi
je 0x428277
push dword [ebp - 0x10]
call fcn.0042ead3
pop ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], eax
call fcn.004022a0
mov ebx, dword [ebx]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
push ebx
push edi
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.00406909
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], edi
call sub.ADVAPI32.dll_ConvertSidToStringSidA
test eax, eax
je 0x42826b
push dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
call fcn.0040227b
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
jmp 0x42826e
mov dword [ebp - 0x14], edi
push dword [ebp - 0x20]
call fcn.0042d64f
pop ecx
cmp dword [ebp - 0x14], edi
jne 0x428282
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040113c
cmp dword [ebp - 0x14], 1
sete al
call fcn.00431ed0
ret
Function at 0x4283e3
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x130
lea ebp, [esp - 4]
mov eax, dword [0x458264]
xor eax, ebp
mov dword [ebp + 0x130], eax
push 8
mov eax, 0x442d51
call fcn.00431df8
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, ecx
push 0x44946e
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
call fcn.00401f1d
mov esi, 0x94
push esi
lea eax, [ebp + 0x9c]
push edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x14], 1
call fcn.0042ded0
add esp, 0xc
lea eax, [ebp + 0x9c]
mov dword [ebp + 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExA]
push eax
call esi
test eax, eax
je 0x428597
cmp dword [ebp + 0xac], edi
jne 0x428484
push 0x44d5b0
push 0xa
push 0x2565
call fcn.004262bf
add esp, 0xc
push eax
mov ecx, ebx
call fcn.0040227b
jmp 0x428597
cmp dword [ebp + 0xac], 1
jne 0x4284f8
push 0x44d5bc
push 7
push 0x1816
call fcn.004262bf
add esp, 0xc
push eax
mov ecx, ebx
call fcn.0040227b
cmp dword [ebp + 0xa4], 0x5a
jb 0x4284c0
push 0x44d5c4
push 3
push 0x12ac
jmp 0x4284e3
cmp dword [ebp + 0xa4], 0xa
jb 0x4284d7
push 0x44d5c8
push 3
push 0x2697
jmp 0x4284e3
push 0x44d5cc
push 3
push 0x19b7
call fcn.004262bf
add esp, 0xc
push eax
mov ecx, ebx
call fcn.00401fd3
jmp 0x428597
cmp dword [ebp + 0xac], 2
jne 0x428597
mov ebx, 0x9c
push ebx
lea eax, [ebp]
push edi
push eax
call fcn.0042ded0
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], ebx
call esi
test eax, eax
je 0x428561
lea eax, [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x96]
push eax
movzx eax, word [ebp + 0x94]
push eax
push dword [ebp + 8]
push dword [ebp + 4]
push 0x44d5d0
push 0x1b
push 0x1e8
call fcn.004262bf
add esp, 0xc
push eax
push dword [ebp - 0x10]
call fcn.00403f05
add esp, 0x1c
jmp 0x428594
lea eax, [ebp + 0xb0]
push eax
push dword [ebp + 0xa4]
push dword [ebp + 0xa0]
push 0x44d5ec
push 0x13
push 0x1648
call fcn.004262bf
add esp, 0xc
push eax
push dword [ebp - 0x10]
call fcn.00403f05
add esp, 0x14
mov ebx, dword [ebp - 0x10]
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 + 0x130]
xor ecx, ebp
call fcn.0042cc45
add ebp, 0x134
leave
ret

Function at 0x4289a0
Capabilities:
Get geographical location

Disassembly:
push ebp
sub esp, 0xb0
lea ebp, [esp - 4]
mov eax, dword [0x458264]
xor eax, ebp
mov dword [ebp + 0xb0], eax
push 8
mov eax, 0x442715
call fcn.00431df8
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
push 0x45a964
mov dword [ebp - 0x10], ecx
call fcn.004021e1
and dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
push 0x55
lea eax, [ebp]
push eax
push 0x59
mov edi, 0x400
push edi
mov dword [ebp - 0x14], 1
call esi
test eax, eax
jle 0x428a35
push 0x55
lea eax, [ebp + 0x58]
push eax
push 0x5a
push edi
call esi
test eax, eax
jle 0x428a35
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp]
push eax
push 0x44d630
push 6
push 0x9a9
call fcn.004262bf
add esp, 0xc
push eax
push dword [ebp - 0x10]
call fcn.00403f05
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xb0]
xor ecx, ebp
call fcn.0042cc45
add ebp, 0xb4
leave
ret
Function at 0x4299f5
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x44429f
call fcn.00431df8
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
mov byte [ebp - 0xd], bl
cmp dword [eax - 0xc], ebx
jne 0x429a1f
push 0x80070057
call dword [sym.imp.KERNEL32.DLL_SetLastError]
jmp 0x429b75
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004266c2
pop ecx
pop ecx
push str.EnableLUA
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.00401f1d
push str._DQ6JB_fF_
push 0x3f
push 0x2163
mov byte [ebp - 4], 1
call fcn.004262bf
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.00401f1d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
xor eax, eax
mov byte [ebp - 4], 2
call fcn.0042505c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
test eax, eax
seta byte [ebp - 0xe]
add ecx, 0xfffffff0
call fcn.0040113c
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040113c
cmp byte [ebp - 0xe], bl
je 0x429b02
push dword [esi]
lea ecx, [ebp - 0x1c]
call fcn.00401f1d
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
cmp byte [eax], bl
je 0x429af8
sub eax, edi
js 0x429af8
mov ecx, eax
mov eax, esi
call fcn.004068f4
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 0xe], al
call fcn.0040113c
cmp byte [ebp - 0xe], 0x49
je 0x429ade
cmp byte [ebp - 0xe], 0x69
jne 0x429b02
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00402206
call fcn.004287be
pop ecx
mov byte [ebp - 0xd], al
jmp 0x429b6a
push 0x80070057
call fcn.00401000
push 0x44
pop esi
push esi
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.0042ded0
push 5
pop eax
push 0x10
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x44], 1
call fcn.0042ded0
add esp, 0x18
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x429b6a
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [ebp - 0xd], 1
cmp dword [ebp - 0x2c], ebx
je 0x429b60
push dword [ebp - 0x2c]
call esi
cmp dword [ebp - 0x28], ebx
je 0x429b6a
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040113c
mov al, byte [ebp - 0xd]
call fcn.00431ed0
ret
Function at 0x42c0e9
Capabilities:
Encode data using xor

Disassembly:
push 0
mov eax, 0x442f90
call fcn.00431df8
mov ebx, ecx
xor edi, edi
push 0x44946e
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], edi
call fcn.00406689
test eax, eax
je 0x42c11b
mov eax, dword [ebp + 0xc]
push dword [eax - 0xc]
mov ecx, ebx
push eax
call fcn.0042bfc3
cmp dword [ebp + 0x10], edi
jle 0x42c135
mov eax, dword [ebp + 8]
mov ecx, ebx
lea esi, [edi + eax]
call fcn.0042c074
xor byte [esi], al
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x42c120
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040113c
call fcn.00431ed0
ret 0xc

Function at 0x42c148
Capabilities:
Encode data using xor

Disassembly:
push 4
mov eax, 0x441da3
call fcn.00431df8
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esi
push 0x44946e
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 1
call fcn.00406689
test eax, eax
je 0x42c181
mov eax, dword [ebp + 0x10]
push dword [eax - 0xc]
mov ecx, edi
push eax
call fcn.0042bfc3
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], esi
jle 0x42c1b3
push esi
lea ecx, [ebp + 0xc]
call fcn.0041bfce
mov ecx, edi
mov bl, al
call fcn.0042c074
xor bl, al
movzx eax, bl
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.0040b1c3
mov eax, dword [ebp + 0xc]
inc esi
cmp esi, dword [eax - 0xc]
jl 0x42c189
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00402206
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040113c
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040113c
mov eax, dword [ebp + 8]
call fcn.00431ed0
ret 0xc

Function at 0x42cb00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x45a9a8], 0
push esi
jne 0x42ca73
call fcn.0042c999
test eax, eax
je 0x42cab6
mov eax, dword [0x45a9a8]
cmp eax, 1
jne 0x42ca94
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x42cab6
pop esi
ret
push eax
call dword [0x45a9b0]
test eax, eax
jne 0x42cafe
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42caba
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x45a9a8]
call dword [0x45a9b0]
mov edi, eax
test edi, edi
je 0x42cadf
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x42cafb
mov edi, esi
add esi, 0xff0
push edi
push dword [0x45a9a8]
call dword [0x45a9ac]
add edi, 0x10
cmp edi, esi
jb 0x42cae7
mov eax, edi
pop edi
pop esi
ret
jmp 0x42ca60

Function at 0x42cc45
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458264]
jne 0x42cc4f
repz ret
jmp fcn.004320ec
Function at 0x43b931
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.00432c6c
and dword [ebp - 4], 0
cmp dword [0x45b380], 0
mov ebx, eax
jne 0x43b9e2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43ba93
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x448a7c
push edi
call esi
test eax, eax
je 0x43ba93
push eax
call fcn.00432bfa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45b380], eax
call esi
push eax
call fcn.00432bfa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45b384], eax
call esi
push eax
call fcn.00432bfa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45b388], eax
call esi
push eax
call fcn.00432bfa
pop ecx
mov dword [0x45b390], eax
test eax, eax
je 0x43b9e2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00432bfa
pop ecx
mov dword [0x45b38c], eax
mov eax, dword [0x45b38c]
cmp eax, ebx
je 0x43ba3a
cmp dword [0x45b390], ebx
je 0x43ba3a
push eax
call fcn.00432c75
push dword [0x45b390]
mov esi, eax
call fcn.00432c75
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43ba3a
test edi, edi
je 0x43ba3a
call esi
test eax, eax
je 0x43ba31
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43ba31
test byte [ebp - 0xc], 1
jne 0x43ba3a
or dword [ebp + 0x10], 0x200000
jmp 0x43ba73
mov eax, dword [0x45b384]
cmp eax, ebx
je 0x43ba73
push eax
call fcn.00432c75
pop ecx
test eax, eax
je 0x43ba73
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43ba73
mov eax, dword [0x45b388]
cmp eax, ebx
je 0x43ba73
push eax
call fcn.00432c75
pop ecx
test eax, eax
je 0x43ba73
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b380]
call fcn.00432c75
pop ecx
test eax, eax
je 0x43ba93
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43ba95
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x405660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40566f
pop dword [ebp - 0x28]
mov eax, 0xbec3b1b5
sub eax, 0xbe835b46
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3d5f2
push 0
mov eax, 0xa9b78603
add eax, 0x56895ad5
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x673908c7
add ecx, 0x98c74fdd
mov esi, eax
mov edx, 0x413bc4
add edx, dword [ebp - 0x28]
mov ebx, 0xcd951a58
add ebx, 0x2ae728e5
sub dword [ebp - 0x18], ecx
mov edi, dword [edx]
xor dword [ebp - 0x24], edx
sub edi, ebx
add dword [ebp - 0x1c], ecx
mov dword [esi], edi
xor dword [ebp - 0x14], 0xaecb418f
add esi, 4
add edx, 0x4d104b1e
sub edx, 0x4d104b1a
loop 0x4056c8
add eax, 0x3dd12b05
sub eax, 0x3dcfd5a2
xor ebx, ebx
add ebx, eax
add eax, 0x77d7b653
sub eax, 0x77d7b64e
mov ecx, 0xf191f92e
sub ecx, 0xf151f92e
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x409607
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.00404f19
and dword [ebp - 4], 0
cmp dword [0x412990], 0
mov ebx, eax
jne 0x4096b8
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409769
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409769
push eax
call fcn.00405660
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x412990], eax
call esi
push eax
call fcn.00405660
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412994], eax
call esi
push eax
call fcn.00405660
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x412998], eax
call esi
push eax
call fcn.00405660
pop ecx
mov dword [0x4129a0], eax
test eax, eax
je 0x4096b8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405660
pop ecx
mov dword [0x41299c], eax
mov eax, dword [0x41299c]
cmp eax, ebx
je 0x409710
cmp dword [0x4129a0], ebx
je 0x409710
push eax
call fcn.00405660
push dword [0x4129a0]
mov esi, eax
call fcn.00405660
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409710
test edi, edi
je 0x409710
call esi
test eax, eax
je 0x409707
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409707
test byte [ebp - 0xc], 1
jne 0x409710
or dword [ebp + 0x10], 0x200000
jmp 0x409749
mov eax, dword [0x412994]
cmp eax, ebx
je 0x409749
push eax
call fcn.00405660
pop ecx
test eax, eax
je 0x409749
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409749
mov eax, dword [0x412998]
cmp eax, ebx
je 0x409749
push eax
call fcn.00405660
pop ecx
test eax, eax
je 0x409749
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x412990]
call fcn.00405660
pop ecx
test eax, eax
je 0x409769
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40976b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x408b8e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x408b9d
pop dword [ebp - 8]
mov eax, 0xa3701acd
sub eax, 0xa32f8f30
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x33998
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xecc57cf8
sub ecx, 0xecc54b65
xor ebx, ebx
add ebx, eax
mov edx, 0xa546a8a
sub edx, 0xa132ec6
add edx, dword [ebp - 8]
mov edi, 0x60fa9eff
add dword [ebp - 4], 0x604a8ab5
mov esi, dword [edx]
sub dword [ebp - 4], 0x5331f45f
add esi, edi
xor dword [ebp - 4], 0xad3dfaef
mov dword [ebx], esi
xor dword [ebp - 4], eax
add ebx, 0x4072ed67
add ebx, 0xbf8d129d
add edx, 0xd0e36660
sub edx, 0xd0e3665c
loop 0x408bf3
add eax, 0xb5a1f662
add eax, 0x4a5ec2bd
mov ebx, eax
add eax, 0xd91d13f8
add eax, 0x26e2ec0d
mov ecx, 0x328fe143
sub ecx, 0x324fe143
add ecx, dword [ebp - 8]
call ebx
leave
ret