joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a821c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a83c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4a83aa
mov dl, 1
mov eax, dword [0x426ed4]
call fcn.00432d1c
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406838
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4a8399
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0048a944
test al, al
je 0x4a838c
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4a83d8
lea eax, [ebp - 0x394]
call fcn.00411d44
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4a838c
xor eax, eax
push ebp
push 0x4a8385
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4a8448
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4a836e
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a20
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x4a836e
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a838c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4a828f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00432c58
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a83d0
lea eax, [ebp - 0x3a0]
call fcn.00406828
ret

Function at 0x4a8f28
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4c4280]
cmp byte [eax + 0xad], 0
jne 0x4a8f9a
cmp dword [0x4c4298], 0
jne 0x4a8f5a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4bdeac]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4c4298], eax
cmp dword [0x4c4294], 0
jne 0x4a8f75
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4c4294], eax
cmp dword [0x4c429c], 0
jne 0x4a8f9a
push esp
push 0
push 0
mov eax, dword [0x4bdea8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4c429c], eax
pop edx
ret
Function at 0x4a92c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a92d7
add esp, 0xfffffff0
call fcn.004052c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043b2a4
mov eax, dword [0x4bdf5c]
cmp byte [eax], 0
jne 0x4a9304
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4be1b8]
cmp word [eax + 2], 0
jne 0x4a931e
mov eax, dword [0x4be1b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ab3b8
mov eax, dword [0x4be294]
cmp word [eax + 2], 0
jne 0x4a9338
mov eax, dword [0x4be294]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ab5c8
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x445b34]
call fcn.0044ab3c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4abb78
mov dl, 1
mov eax, dword [0x42490c]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42490c]
call fcn.00404d78
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4491cc]
call fcn.00451934
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a9518
mov eax, dword [0x4be0ac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00451dc8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4abe60
mov dl, 1
mov eax, dword [0x42490c]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4be0ac]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00411b90
test eax, eax
je 0x4a9449
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00411974
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00411b74
test eax, eax
je 0x4a9461
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406a20
push ebx
push 0x4aad88
call fcn.0049efd0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4bdf5c]
cmp byte [eax], 0
jne 0x4a94b2
mov eax, ebx
call fcn.004a968c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004ac08c
mov eax, ebx
call fcn.004accc0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a950f
call fcn.0040531c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a9960
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a9a02
cmp dword [ebx + 0x94], 0
jne 0x4a99fc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a98ac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a99fc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a99c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a99fc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0042f6e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a99d1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a9c20
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4c4280]
cmp dword [eax + 0x170], 0
je 0x4a9d85
test bl, bl
jne 0x4a9cd3
cmp dword [esi + 0x9c], 0
jne 0x4a9cc8
mov eax, esi
call fcn.004acb10
push eax
push 0x4a9b2c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a9c99
mov eax, dword [0x4c4280]
cmp byte [eax + 0xd3], 0
je 0x4a9c99
mov eax, dword [esi + 0xd8]
call fcn.00407e3c
mov edi, eax
cmp edi, 0
jl 0x4a9c99
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a9c82
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a9cc8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f6e0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a9ca8
inc dword [esi + 0x9c]
jmp 0x4a9d85
cmp dword [esi + 0x9c], 0
jle 0x4a9d85
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a9d85
cmp dword [esi + 0x44], 0
je 0x4a9d30
mov eax, dword [0x4c4280]
cmp byte [eax + 0xd3], 0
je 0x4a9d30
mov eax, dword [esi + 0xd8]
call fcn.00407e3c
mov edi, eax
cmp edi, 0
jl 0x4a9d30
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a9d19
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a9d5f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f6e0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a9d3f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x49cea8]
call fcn.00407ffc
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4aa9d4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4aaa3f
cmp byte [ebx + 0xd3], 0
jne 0x4aaa3f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406974
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4aaa2c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4aaa4c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406838
jmp 0x4aaa4c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406838
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4ac274
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4ac2e2
mov eax, esi
call fcn.00484870
test al, al
je 0x4ac2e2
mov eax, dword [ebx + 0x84]
call fcn.004844c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ac2e2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4ac2d6
push 0
mov eax, dword [ebx + 0x84]
call fcn.004844c4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047b498
jmp 0x4ac2e2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004ac0ac
pop esi
pop ebx
ret
Function at 0x4b3814
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
xor ecx, ecx
mov dword [ebp - 0x408], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406820
xor eax, eax
push ebp
push 0x4b38e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00406838
lea eax, [ebp - 0x404]
xor ecx, ecx
mov edx, 0x200
call fcn.0040476c
cmp byte [0x4c42e0], 0x40
jne 0x4b3894
movzx eax, byte [0x4b38f4]
push eax
lea eax, [ebp - 0x408]
push eax
mov ecx, 0x4b3904
mov edx, 0x4b3930
mov eax, dword [ebp - 4]
call fcn.00417454
mov edx, dword [ebp - 0x408]
lea eax, [ebp - 4]
call fcn.0040688c
push 0x200
lea eax, [ebp - 0x404]
push eax
mov eax, dword [ebp - 4]
call fcn.004068c4
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsW
test eax, eax
jbe 0x4b38c4
mov eax, ebx
lea edx, [ebp - 0x404]
mov ecx, 0x200
call fcn.00406a20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b38ec
lea eax, [ebp - 0x408]
call fcn.00406828
lea eax, [ebp - 4]
call fcn.00406828
ret

Function at 0x4b3a84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov esi, eax
xor ebx, ebx
push 2
push 0
mov eax, esi
call fcn.004068c4
push eax
call sub.kernel32.dll_LoadLibraryExW_1
mov esi, eax
test esi, esi
je 0x4b3b1c
push 0x10
push 1
push esi
call sub.kernel32.dll_FindResourceW
mov edi, eax
test edi, edi
je 0x4b3b1c
push edi
push esi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x4b3b1c
mov edx, dword [eax + 0x30]
mov dword [ebp], edx
mov edx, dword [eax + 0x34]
shr edx, 0x10
mov word [ebp + 4], dx
movzx edx, word [eax + 0x34]
mov word [ebp + 6], dx
mov edx, dword [eax + 0x44]
and edx, 1
cmp edx, 1
sete dl
mov byte [ebp + 8], dl
mov edx, dword [eax + 0x44]
and edx, 2
cmp edx, 2
sete dl
mov byte [ebp + 9], dl
mov edx, dword [eax + 0x44]
and edx, 8
cmp edx, 8
sete dl
mov byte [ebp + 0xa], dl
mov eax, dword [eax + 0x44]
and eax, 0x20
cmp eax, 0x20
sete al
mov byte [ebp + 0xb], al
push esi
call sub.kernel32.dll_FreeLibrary_1
mov bl, 1
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b3e2c
Capabilities:
Query service status

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov byte [esp], 0xff
push 1
push 0x4b3ee0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov esi, eax
test esi, esi
je 0x4b3ed4
push 4
push 0x4b3f00
push esi
call sub.advapi32.dll_OpenServiceW
mov ebp, eax
test ebp, ebp
jne 0x4b3e6a
push esi
call sub.advapi32.dll_CloseServiceHandle
jmp 0x4b3ed4
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
push ebp
call sub.advapi32.dll_QueryServiceStatusEx
test eax, eax
jne 0x4b3ed4
mov edi, dword [esp + 4]
mov eax, edi
call fcn.004041d4
mov ebx, eax
lea eax, [esp + 4]
push eax
push edi
push ebx
push 0
push ebp
call sub.advapi32.dll_QueryServiceStatusEx
test eax, eax
jne 0x4b3eb6
mov edx, edi
mov eax, ebx
call fcn.004041f0
push ebp
call sub.advapi32.dll_CloseServiceHandle
push esi
call sub.advapi32.dll_CloseServiceHandle
jmp 0x4b3ed4
mov eax, ebx
movzx eax, byte [eax + 4]
mov byte [esp], al
mov edx, edi
mov eax, ebx
call fcn.004041f0
push ebp
call sub.advapi32.dll_CloseServiceHandle
push esi
call sub.advapi32.dll_CloseServiceHandle
movzx eax, byte [esp]
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4b408c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406820
xor eax, eax
push ebp
push 0x4b4198
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040476c
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 0
lea eax, [ebp - 4]
call fcn.00407224
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004068c4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4b4156
push 0x10
push 0x4b41a8
push 0x4b41c0
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x60]
call fcn.004110f4
push dword [ebp - 0x60]
push 0x4b4204
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00406dd8
mov eax, dword [ebp - 0x5c]
call fcn.004068c4
push eax
mov eax, esi
call fcn.004844c4
push eax
call sub.user32.dll_MessageBoxW
jmp 0x4b4175
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b419f
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00406830
lea eax, [ebp - 4]
call fcn.00406828
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x401007
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x82c
cmp dword [0x44290c], 0x594
push ebx
mov ebx, dword [eax]
push esi
push edi
mov edi, dword [eax + 4]
jne 0x401038
push 0
lea eax, [ebp - 0x82c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4335b8]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4335bc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc]
call fcn.00401000
mov eax, dword [0x4335c0]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4335c4]
add esi, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, ebx
shl eax, 4
cmp dword [0x44290c], 0xc
mov dword [ebp - 4], eax
jne 0x4010b1
push 0
lea eax, [ebp - 0x42c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
push ecx
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x44290c]
cmp eax, 0xfa9
jne 0x4010cd
mov dword [0x442908], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010eb
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and dword [0x442860], 0
mov ecx, dword [ebp - 8]
and dword [ebp - 0x14], 0
mov edx, ebx
lea eax, [esi + ebx]
shr edx, cl
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [0x442904], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, edx
sub edi, eax
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, edi
shr edx, cl
lea eax, [esi + edi]
mov dword [ebp - 0xc], eax
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], eax
xor dword [ebp - 4], edx
sub ebx, dword [ebp - 4]
add esi, 0x61c88647
dec dword [ebp - 0x18]
jne 0x401074
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ebx
pop ebx
leave
ret 4
Function at 0x40476d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432680]
jne 0x404777
repz ret
jmp fcn.0040927e

Function at 0x40bfed
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.004030c2
and dword [ebp - 4], 0
cmp dword [0x437c34], 0
mov ebx, eax
jne 0x40c09e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c14f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c14f
push eax
call fcn.00403050
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x437c34], eax
call esi
push eax
call fcn.00403050
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x437c38], eax
call esi
push eax
call fcn.00403050
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x437c3c], eax
call esi
push eax
call fcn.00403050
pop ecx
mov dword [0x437c44], eax
test eax, eax
je 0x40c09e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403050
pop ecx
mov dword [0x437c40], eax
mov eax, dword [0x437c40]
cmp eax, ebx
je 0x40c0f6
cmp dword [0x437c44], ebx
je 0x40c0f6
push eax
call fcn.004030cb
push dword [0x437c44]
mov esi, eax
call fcn.004030cb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c0f6
test edi, edi
je 0x40c0f6
call esi
test eax, eax
je 0x40c0ed
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c0ed
test byte [ebp - 0xc], 1
jne 0x40c0f6
or dword [ebp + 0x10], 0x200000
jmp 0x40c12f
mov eax, dword [0x437c38]
cmp eax, ebx
je 0x40c12f
push eax
call fcn.004030cb
pop ecx
test eax, eax
je 0x40c12f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c12f
mov eax, dword [0x437c3c]
cmp eax, ebx
je 0x40c12f
push eax
call fcn.004030cb
pop ecx
test eax, eax
je 0x40c12f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x437c34]
call fcn.004030cb
pop ecx
test eax, eax
je 0x40c14f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c151
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40baa9
Capabilities:
Encode data using xor

Disassembly:
jmp 0x5d34e491
push esp
xor eax, 0x4429d951
jno 0x40b9e0
popal
sub bl, al
nop
rcl byte [ecx], 0xc1
dec edx
dec ebx
push 0x49f7eff7
inc esi
into
xchg byte [edi - 0x2e78fc0], bh
dec eax
nop
call 0xb4328f83
adc byte [edx - 0xf], al
mov bl, 0x10
inc edx
int1
xchg ebx, eax
shr dword [eax + 0x7d], 1
outsb dx, byte [esi]
lcall 0xef01, 0x5a483cf
sbb ch, bl
dec ebp
and bh, cl
jne 0x40ba67
adc byte [ebx + 8], dh
fst dword [edx]
xor eax, 0x50d18b04
adc byte [ebp - 0x5d], 0x24
add dword [ecx + 0x35], esp
aaa
ret
mov bl, 0x4b
je 0x40baf1
jne 0x40ba43
fmul qword [ecx]
xor al, byte [eax]
xchg ecx, eax
mov ch, 0x92
jl 0x40baec
invalid
and dword [ebx - 0x1f129faa], esi
invalid
in eax, dx
loopne 0x40baba
adc byte [esi + 0x7150aea9], ch
test eax, 0xa0335430
insb byte es:[edi], dx
push esi
in eax, 0x30
rcr byte [edi - 0x7a3f3b16], 3
xlatb
jne 0x40bb32
adc dword [edi - 0x22], ebx
rol ecx, 0x29
dec ecx
mov bl, 0xee
test dword [ecx + 0x4f], ecx
jecxz 0x40bb01
push esp
mov al, byte ss:[0x86cd0658]
mov byte [0x911944ca], al
test bl, dh
add al, 0x6d
adc bh, bl
cmpsd dword [esi], dword es:[edi]
dec ebx
add eax, 0xcf3ec740
adc al, 0xf
out 0x13, al
sbb eax, 0x67c1a174
push 0xa71cc164
iretd
sub esp, dword [ecx + 0x7e3df30d]
frstor dword [ebx + 0x34]
sub dword [ebx], edx
inc edi
xor bh, ah
invalid

Function at 0x40f1f9
Capabilities:
Encode data using xor

Disassembly:
out 0xde, al
add al, 0x3e
xor eax, 0x313161be
invalid
Function at 0x420e89
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0x52
jne 0x420e16
dec ecx
test eax, 0xbcb356d1
fnstenv [edi + edx*2]
mov al, byte gs:[0x5f3ddc32]
hlt
and eax, 0x5c9a7825
je 0x420e40
cdq
sbb dword ds:[esi], edx
xor al, 0x6c
xchg esp, eax
invalid
call 0x2cf95e5f
xor edi, dword [ebp - 0x12a01334]
pop edi
in eax, dx
daa
cmp al, 0x1f
in al, 0x8f
popfd
fcmovu st(0), st(2)
sub dword [0xcc44474], edi
inc esi
pop ecx
shr dword [esp + ecx*2], 2
fsubr qword [ebx + ebx + 0x68]
adc eax, 0xd57d9c42
xor al, 0xa3
pop ebp
mov dword [edx + 0x5eb150b4], esi
xchg edx, eax
xchg esp, eax
pushfd
dec eax
adc dword [eax], esi
push es
wait
jae 0x420e92
fnsave dword [edx]
dec ecx
mov dword [0x949e3da9], eax
sbb dword [esi], edx
nop
pop esp
movsb byte es:[edi], byte [esi]
adc dword [esi - 0x32d23733], esi
or bl, al
ror esi, 1
jl 0x420e6d
xor byte [esi - 0x77a553c4], bl
ljmp 0xa74a
Function at 0x44eed9
Capabilities:
Encode data using xor

Disassembly:
imul eax
jg 0x44eee0
push eax
stosd dword es:[edi], eax
test al, 0xa2
invalid
scasb al, byte es:[edi]
add ch, dh
sub edi, dword [esp + edi - 0x599f0d9e]
mov eax, dword [0xa045817f]
push eax
sub eax, 0xd8349e09
push edx
movsd dword es:[edi], dword [esi]
salc
jbe 0x44ef10
invalid
and eax, 0xc7a62349
push eax
repne scasb al, byte es:[edi]
cwde
jle 0x44ef25
or edi, eax
invalid
sal esi, 0x88
outsb dx, byte [esi]
jnp 0x44ee9d
mov al, byte [0xc146f341]
iretd
push ds
xchg esi, eax
stosb byte es:[edi], al
and byte [edi - 0x10], al
push esi
or al, 0x4e
mov ecx, 0x60987ee9
test eax, 0x54696982
add dword [esi + 0x7b], ecx
add byte [ebp - 0x50], ah
or eax, 0xd560d63d
out dx, eax
dec ecx
fadd st(2)
js 0x44ef84
ret
adc byte [0xdf6f0a83], 0xf6
invalid

Function at 0x44f839
Capabilities:
Encode data using xor

Disassembly:
pand mm0, qword [ecx + edi*8 + 0x1ccaedc1]
xor cl, ch
xor bl, byte [ebx]
pop ebx
or al, 0x7b
salc
out dx, al
inc edx
mov byte [edx + 0x47fa635f], 0x87
mov al, byte [0x700f4004]
inc ecx
mov ss, word [0xdd6ae22f]
xchg dword [eax + 0x1a], ebx
dec ebx
inc esi
rcr byte [ebx], 1
xor al, 0x55
jg 0x44f846
add eax, dword [ecx + eax*4]
invalid