joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8b14
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4a8b26
add esp, 0xfffffff0
call fcn.00405a0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00445cb8
mov eax, dword [0x54cc00]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a8f50
mov eax, dword [0x54cc14]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a8f5c
mov eax, ebx
call fcn.004a8f68
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42e844]
call fcn.004054b4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42e844]
call fcn.004054b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42e844]
call fcn.004054b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42e844]
call fcn.004054b4
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42e844]
call fcn.004054b4
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4a3e98
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x44b200]
call fcn.00450370
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44b200]
call fcn.00450370
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44b200]
call fcn.00450370
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x44b200]
call fcn.00450370
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44b200]
call fcn.00450370
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004a94c0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a9330
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a9330
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a9330
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a9330
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a9330
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a8c9d
call fcn.00405a64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a90d0
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 0x4a927b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4a925c
mov dl, 1
mov eax, dword [0x4319a4]
call fcn.0043e664
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406fc0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4a924b
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.00478e98
test al, al
je 0x4a923e
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, 0x4a928c
lea eax, [ebp - 0x394]
call fcn.0041bb00
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4a923e
xor eax, eax
push ebp
push 0x4a9237
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 0x4a92fc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4a9220
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407c28
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 0x4a9220
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a923e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4a9141
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0043e5a0
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 0x4a9282
lea eax, [ebp - 0x3a0]
call fcn.00406fc0
ret

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

Disassembly:
push ecx
mov eax, dword [0x5532c0]
cmp byte [eax + 0xad], 0
jne 0x4a9e4a
cmp dword [0x5532d8], 0
jne 0x4a9e0a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x549e30]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5532d8], eax
cmp dword [0x5532d4], 0
jne 0x4a9e25
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5532d4], eax
cmp dword [0x5532dc], 0
jne 0x4a9e4a
push esp
push 0
push 0
mov eax, dword [0x549e2c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5532dc], eax
pop edx
ret
Function at 0x4aa110
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4aa127
add esp, 0xfffffff0
call fcn.00405a0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00445cb8
mov eax, dword [0x54c9c0]
cmp byte [eax], 0
jne 0x4aa154
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x54cf64]
cmp word [eax + 2], 0
jne 0x4aa16e
mov eax, dword [0x54cf64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ac1a4
mov eax, dword [0x54d130]
cmp word [eax + 2], 0
jne 0x4aa188
mov eax, dword [0x54d130]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ac3a8
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44b200]
call fcn.00450370
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4ac824
mov dl, 1
mov eax, dword [0x42e844]
call fcn.004054b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42e844]
call fcn.004054b4
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 [0x44ea00]
call fcn.00457064
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4aa368
mov eax, dword [0x54cd0c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00457464
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4acae4
mov dl, 1
mov eax, dword [0x42e844]
call fcn.004054b4
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x54cd0c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041b910
test eax, eax
je 0x4aa299
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041b6fc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041b8f4
test eax, eax
je 0x4aa2b1
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.00407c28
push ebx
push 0x4abb90
call fcn.004a04bc
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x54c9c0]
cmp byte [eax], 0
jne 0x4aa302
mov eax, ebx
call fcn.004aa4dc
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.004acd10
mov eax, ebx
call fcn.004ad940
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4aa35f
call fcn.00405a64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aa7a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4aa84a
cmp dword [ebx + 0x94], 0
jne 0x4aa844
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4aa6f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4aa844
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 0x4aa80a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4aa844
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.0043a684
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4aa819
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5532c0]
cmp dword [eax + 0x170], 0
je 0x4aabcd
test bl, bl
jne 0x4aab1b
cmp dword [esi + 0x9c], 0
jne 0x4aab10
mov eax, esi
call fcn.004ad790
push eax
push 0x4aa974
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4aaae1
mov eax, dword [0x5532c0]
cmp byte [eax + 0xd3], 0
je 0x4aaae1
mov eax, dword [esi + 0xd8]
call fcn.00408c4c
mov edi, eax
cmp edi, 0
jl 0x4aaae1
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 0x4aaaca
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4aab10
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043a684
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4aaaf0
inc dword [esi + 0x9c]
jmp 0x4aabcd
cmp dword [esi + 0x9c], 0
jle 0x4aabcd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4aabcd
cmp dword [esi + 0x44], 0
je 0x4aab78
mov eax, dword [0x5532c0]
cmp byte [eax + 0xd3], 0
je 0x4aab78
mov eax, dword [esi + 0xd8]
call fcn.00408c4c
mov edi, eax
cmp edi, 0
jl 0x4aab78
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 0x4aab61
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4aaba7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043a684
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4aab87
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 [0x49e394]
call fcn.00408e0c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4ab7dc
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 0x4ab847
cmp byte [ebx + 0xd3], 0
jne 0x4ab847
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.00407148
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4ab834
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4ab854
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004073a0
jmp 0x4ab854
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004073a0
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4acef8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4acf66
mov eax, esi
call fcn.00472ee0
test al, al
je 0x4acf66
mov eax, dword [ebx + 0x84]
call fcn.00472b34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4acf66
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4acf5a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00472b34
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00469ed8
jmp 0x4acf66
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004acd30
pop esi
pop ebx
ret
Function at 0x4c3948
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4c3a70
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.004c3834
mov eax, dword [esi]
call fcn.00408c44
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x416b20]
call fcn.00408e0c
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004045f0
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004045f0
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00408c44
mov dword [ebp - 0xc], eax
mov eax, dword [0x54d328]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.004b2db4
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404cd8
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00408c44
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.004b2d90
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004b2b48
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004b2dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3a77
lea eax, [ebp - 4]
mov edx, dword [0x416b20]
call fcn.00408e18
ret

Function at 0x4ec2a4
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00407d00
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x4ec2c9
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.00407b8c
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4ec2e8
mov eax, ebx
mov edx, dword [esp]
call fcn.00407d00
pop ecx
pop edx
pop ebx
ret
Function at 0x53af4c
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x53b088
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3ec]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x53b065
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3ec]
mov edx, dword [ebp - 0xc]
call fcn.0043a684
mov ebx, eax
cmp byte [ebx + 0x18], 3
je 0x53b059
lea eax, [ebp - 0x18]
mov edx, dword [ebx + 0xc]
call fcn.00407c64
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0053a640
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3dc]
lea eax, [ebp - 4]
call fcn.00407dd8
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0041b1a0
test al, al
je 0x53b059
xor edx, edx
push ebp
push 0x53b04f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00407b8c
mov edi, eax
push edi
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x53b045
call sub.kernel32.dll_GetLastError_1
mov esi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x53b03f
test ah, 4
je 0x53b03f
test al, 0x10
je 0x53b03f
mov eax, dword [ebp - 4]
call fcn.00407b8c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x53b045
push esi
call sub.kernel32.dll_SetLastError
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53b059
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x53af91
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b08f
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00407020
lea eax, [ebp - 4]
call fcn.00406fc0
ret
Function at 0x53b2d4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x448], edx
mov dword [ebp - 0x44c], edx
mov edi, eax
xor eax, eax
push ebp
push 0x53b426
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov eax, 2
call fcn.00538184
mov dword [ebp - 8], eax
mov dword [ebp - 0x23c], 0x22c
xor eax, eax
push ebp
push 0x53b401
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.005381a4
mov esi, eax
jmp 0x53b3e2
mov eax, dword [ebp - 0x234]
push eax
push 0
push 0x411
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
jbe 0x53b3d2
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, ebx
call fcn.0040d3f4
push 0x208
lea ecx, [ebp - 0x444]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0040d424
test eax, eax
jbe 0x53b3d2
lea eax, [ebp - 0x44c]
lea edx, [ebp - 0x444]
mov ecx, 0x104
call fcn.00407c28
mov eax, dword [ebp - 0x44c]
lea edx, [ebp - 0x448]
call fcn.0041a668
mov eax, dword [ebp - 0x448]
mov edx, dword [edi + 0x3e4]
call fcn.0041a4e8
test al, al
je 0x53b3d2
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 4], eax
mov byte [edi + 0x3e9], 1
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.005381c4
mov esi, eax
test esi, esi
jne 0x53b33f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b408
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x53dd84
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004070a4
mov eax, dword [ebp - 8]
call fcn.004070a4
lea ebx, [ebp - 0x44]
xor eax, eax
push ebp
push 0x53de2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x3c
call fcn.00404cd8
mov dword [ebx], 0x3c
mov dword [ebx + 4], 0x40
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00407b8c
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.00407b8c
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 1
xor eax, eax
mov dword [ebx + 0x20], eax
push ebx
call sub.shell32.dll_ShellExecuteExW
push 0xffffffffffffffff
mov eax, dword [ebx + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53de31
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407020
ret
Function at 0x583df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x118000]
push edi
or ebp, 0xffffffff
jmp 0x583e12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x583e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x583e08
mov eax, 1
add ebx, ebx
jne 0x583e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x583e3c
jne 0x583e5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x583e5b
dec eax
add ebx, ebx
jne 0x583e48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x583e20
add ebx, ebx
jne 0x583e57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x583ead
xor ecx, ecx
sub eax, 3
jb 0x583e73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x583ee2
sar eax, 1
mov ebp, eax
jmp 0x583e7e
add ebx, ebx
jne 0x583e7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x583e4c
inc ecx
add ebx, ebx
jne 0x583e8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x583e4c
add ebx, ebx
jne 0x583e99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x583e8e
jne 0x583eaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x583e8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x583ecc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x583ebe
jmp 0x583e0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x583ecc
add edi, ecx
jmp 0x583e0e
pop esi
mov edi, esi
mov ecx, 0x909e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x583eea
cmp byte [edi], 0x16
jne 0x583eea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x583eef
lea edi, [esi + 0x179000]
mov eax, dword [edi]
or eax, eax
je 0x583f5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d4600]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d46c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x583f1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d46cc]
or eax, eax
je 0x583f58
mov dword [ebx], eax
add ebx, 4
jmp 0x583f39
call dword [esi + 0x1d46dc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x583f8f
cmp al, 0xef
ja 0x583f82
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x583f64
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x583f71
mov ebp, dword [esi + 0x1d46d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x583fc3
sub esp, 0xffffff80
jmp 0x50d1a8
Function at 0x405c8c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422aa4], 0
push esi
jne 0x405cc3
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c9d
mov dword [ecx*4 + 0x422aa0], eax
inc ecx
cmp ecx, 0x100
jl 0x405c98
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cf4
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422aa0]
xor eax, esi
inc ecx
dec edx
jne 0x405cd6
pop edi
not eax
pop esi
ret 0xc

Function at 0x4ddfce
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1cb2530
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x4de04e
arpl word [edx + esi], si
xor byte [edi + 3], 0x40
invalid
insb byte es:[edi], dx
cld
xchg esp, eax
mov esp, 0xedbe2df4
cwde
imul ecx, dword [edx - 0x4d1ea694], 0xffffffcd
dec byte [edi]
aam 0x1f
xchg edi, eax
sub dl, al
push ebp
pop esp
out 0x56, al
lea ecx, [ecx + 0x77fa16e9]
ja 0x4de096
in al, dx
nop
sub byte [ebp + 0x10], bl
mov bh, al
or ebx, dword [ebx + 0x65]
fst qword [ebp + 0x7e8051f8]
das
add al, 0xbc
xchg ecx, eax
inc esi
jl 0x4de069
pop ecx
mov bl, ah
pop ecx
push edx
fstp xword [esp + eax*4 - 0x1f461841]
adc al, 0xb6
sahf
sbb al, 0x86
push 0x273c48be
mov dl, 0x5f
pop edi
xor eax, 0x9bb08c24
je 0x4de083
mov ecx, dword [edx + 0x6f]
pop edi
push cs
jbe 0x4de0b4
push eax
sub eax, 0x5d82284c
or eax, 0x24ffd70
or dword [ebx + 0x384db0b], 0xffffffbc
push es
pop eax
out dx, al
loop 0x4de044
or ebx, ebx
test byte [ebx], al
mov esp, 0xe2ee5806
xchg byte [ecx + 0x22], al
in al, dx
inc ecx
and ch, ah
push ss
clc
mov edi, dword [ebx - 0x77]
cdq
or edx, dword [edi + 0x3c]
mov edx, dword [edi + 0x4a]
invalid