joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c755
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [esi + 8]
mov edx, dword [esi]
mov edi, dword [esi + 4]
cmp eax, edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0xc]
setl bl
cmp ecx, edi
setl bh
mov byte [ebp - 1], bl
mov byte [ebp + 0xf], bh
test bl, bl
je 0x45c788
mov dword [esi], eax
mov dword [esi + 8], edx
test bh, bh
je 0x45c792
mov dword [esi + 4], ecx
mov dword [esi + 0xc], edi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x108]
call fcn.00458fb9
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add dword [esi + 8], ecx
add dword [esi + 0xc], eax
add dword [esi], ecx
add dword [esi + 4], eax
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
sub edi, dword [esi]
sub ebx, dword [esi + 4]
inc edi
inc ebx
push 0
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_GetDC]
push ebx
push edi
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 8]
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dh, byte [ebp + 0xf]
mov dword [ebp - 0x14], eax
mov ecx, ebx
test dh, dh
je 0x45c803
neg ecx
mov dl, byte [ebp - 1]
mov eax, edi
test dl, dl
je 0x45c80e
neg eax
test dh, dh
je 0x45c817
mov ebx, dword [esi + 0xc]
jmp 0x45c81a
mov ebx, dword [esi + 4]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0xc]
test dl, dl
je 0x45c829
mov edx, dword [esi + 8]
jmp 0x45c82b
mov edx, dword [esi]
mov esi, dword [ebp - 0x10]
push 0xcc0020
push ecx
push eax
push dword [ebp + 0xc]
push edx
push dword [ebp - 8]
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, ebx
neg eax
mov dword [ebp - 0x40], eax
push 0x20
xor eax, eax
inc eax
xor ecx, ecx
mov word [ebp - 0x3c], ax
pop eax
push ecx
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x48]
push eax
push ecx
push ecx
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x48], 0x28
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDIBits]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], ecx
call esi
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x10]
push ecx
mov dword [eax], ecx
call fcn.0042302a
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
push ebx
mov ebx, dword [ebp - 0x10]
push 0
push dword [ebp + 8]
push ebx
call esi
push dword [ebp - 0x14]
mov esi, eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 8]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
test esi, esi
je 0x45c8d4
mov eax, edi
jmp 0x45c8dd
push edi
call fcn.0042309e
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45d1c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 2
pop eax
mov word [edi], ax
lea eax, [ebp - 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0045d328
push dword [eax]
call dword [sym.imp.WSOCK32.dll_inet_addr]
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004125d5
cmp ebx, 0xffffffff
jne 0x45d20e
mov ecx, dword [ebp + 0xc]
mov edx, str.255.255.255.255
call fcn.004403a2
test al, al
je 0x45d20e
push 0
push 1
jmp 0x45d231
mov ecx, dword [ebp + 0x10]
mov dword [edi + 4], ebx
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja 0x45d22d
push ecx
call dword [sym.imp.WSOCK32.dll_htons]
mov word [edi + 2], ax
mov al, 1
jmp 0x45d23f
push 0
push 2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00421562
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x464b11
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
mov esi, ecx
xor ecx, ecx
lea eax, [ebp - 0x24]
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x228]
push eax
push ecx
mov ebx, edx
push esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x464c10
mov eax, ebx
or eax, 0x20019
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
push ecx
push eax
push 0
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x464c25
mov ecx, dword [ebp - 8]
mov edx, ebx
call fcn.00464b11
push dword [ebp - 8]
mov bl, al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x464c25
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
call fcn.00464968
test al, al
lea eax, [ebp - 0x228]
je 0x464bc2
push ebx
mov ebx, dword [ebp - 0xc]
push ebx
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.0046389b
call eax
jmp 0x464bcd
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, dword [ebp - 0xc]
test eax, eax
jne 0x464c16
cmp dword [ebp - 0x18], eax
je 0x464bdf
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ecx, ecx
lea eax, [ebp - 0x24]
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x228]
push eax
push ecx
push esi
mov dword [ebp - 4], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
mov eax, dword [ebp - 0x1c]
jne 0x464b5b
mov al, 1
pop esi
pop ebx
leave
ret
cmp dword [ebp - 0x18], 0
je 0x464c25
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x464c12
Function at 0x46bf0e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov ecx, 0x4c3628
call fcn.00404eda
test al, al
jne 0x46bf37
xor eax, eax
jmp 0x46c111
mov ecx, dword [ebp - 4]
mov eax, dword [0x4c3688]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [0x4c369c]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp + 0xc]
mov edi, dword [eax]
mov esi, dword [edi]
mov bl, byte [edi + 0x90]
mov dword [ebp - 8], esi
mov byte [ebp + 0xb], bl
call fcn.00404844
cmp dword [edi + 0x48], 0
jl 0x46bf78
push dword [edi + 0x48]
call fcn.0046dd12
movzx eax, bl
mov ebx, dword [ebp + 0xc]
cmp eax, 0x12
jg 0x46c05c
je 0x46c019
test eax, eax
je 0x46c009
jle 0x46bf30
cmp eax, 4
jle 0x46c0a2
cmp eax, 8
je 0x46bfe9
cmp eax, 0x10
je 0x46bfd3
cmp eax, 0x11
jne 0x46bf30
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x46bf30
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041efe0
push 1
push 0
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x46c0fa
cmp dword [ebp + 0xc], 0
jl 0x46bf30
push dword [ebp + 0xc]
push 0
push 0x111d
jmp 0x46bffd
cmp dword [ebp + 0xc], 0
jl 0x46bf30
push dword [ebp + 0xc]
push 0
push 0x2001
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46c0fa
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x46c0c4
jmp 0x46bf30
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jl 0x46bf30
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041efe0
test byte [edi + 0x92], 0x20
jne 0x46c0fa
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi]
call esi
push 5
push dword [edi]
call esi
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x46c0fa
cmp eax, 0x13
je 0x46c0af
cmp eax, 0x14
je 0x46bfab
cmp eax, 0x17
je 0x46c0a2
cmp eax, 0x18
je 0x46c084
jle 0x46bf30
cmp eax, 0x1b
jle 0x46c0a2
jmp 0x46bf30
test ebx, ebx
js 0x46bf30
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push ebx
mov dword [edi + 0x48], ebx
call fcn.0041efe0
jmp 0x46c0ef
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xfffffffe
je 0x46bf30
mov eax, 0xfe000000
cmp ebx, eax
jne 0x46c0d1
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041efe0
jmp 0x46c0fa
push ebx
push 0
push 0x1001
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push ebx
push 0
push 0x1026
push dword [ebp - 8]
call esi
push 1
push edi
push dword [ebp - 4]
call fcn.0046ebb2
cmp dword [0x4c30ec], 0
je 0x46c10e
cmp byte [ebp + 0xb], 8
jne 0x46c10e
or eax, 0xffffffff
jmp 0x46c111
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x46d8cb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov ecx, 0x4c3628
call fcn.00404eda
test al, al
jne 0x46d8f5
xor eax, eax
jmp 0x46da28
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x4c3688]
push ebx
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov eax, dword [0x4c369c]
push esi
mov eax, dword [eax + ecx*4]
mov esi, dword [ebp + 0xc]
mov ecx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, dword [eax]
mov ebx, dword [edi]
cmp esi, 0xffffffff
je 0x46d990
movzx eax, byte [edi + 0x90]
dec eax
dec eax
je 0x46d95c
dec eax
je 0x46d95f
sub eax, 3
je 0x46d957
dec eax
je 0x46d952
sub eax, 3
je 0x46d94a
sub eax, 0xc
jne 0x46d97d
jmp 0x46da25
or esi, 0x4000000
jmp 0x46d97d
or esi, 3
jmp 0x46d97d
or esi, 0xe
jmp 0x46d97d
or esi, 4
push 0
test esi, 0x800
je 0x46d96d
push 1
jmp 0x46d975
or esi, 0x10000
push 0
push 0xcf
push ebx
call ecx
or esi, 0x50000000
push esi
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
cmp esi, 0xffffffff
je 0x46d9cd
push esi
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [0x4c369c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
cmp byte [eax + 0x90], 0x13
jne 0x46d9cd
push esi
push 0
push 0x1036
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], eax
mov al, byte [edi + 0x93]
mov ecx, dword [ebp + 8]
cmp al, 0xff
je 0x46d9f0
movzx eax, al
cmp eax, dword [ecx + 0x190]
je 0x46d9f0
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d9f9
push 1
push edi
push ecx
call fcn.0046ebb2
mov al, byte [edi + 0x90]
cmp al, 2
je 0x46da0c
cmp al, 3
je 0x46da0c
cmp esi, 0xffffffff
je 0x46da1d
push 0x27
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46ef02
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0x44
push 0
mov ebx, 0x4c5d00
push ebx
call fcn.00424890
push 0x10
push 0
mov esi, 0x4c5d44
push esi
call fcn.00424890
add esp, 0x18
xor eax, eax
push esi
push ebx
inc eax
mov dword [0x4c5d2c], eax
mov word [0x4c5d30], ax
xor eax, eax
push eax
push eax
push 0x20
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x4c5d00], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop esi
pop ebx
test eax, eax
je 0x46ef67
push dword [0x4c5d44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4

Function at 0x46ef6b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov edx, dword [ebx + 4]
push edi
push 3
mov edi, ecx
mov dword [ebp + 8], edx
pop esi
cmp dword [ebx + 0x190], eax
je 0x46f021
cmp dword [edi + 0x84], esi
jl 0x46f01b
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x46f00c
cmp dword [ecx + 4], edx
jne 0x46f00c
mov dl, byte [ecx + 0x90]
cmp dl, 0xb
je 0x46f009
mov dh, byte [ecx + 0x93]
movzx eax, dh
cmp eax, dword [ebx + 0x190]
je 0x46efdb
cmp byte [ebx + 0x198], 0
je 0x46f009
cmp dh, 0xff
je 0x46f009
cmp dl, 0xa
je 0x46f009
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test byte [eax + 0x92], 0x40
je 0x46f009
cmp byte [eax + 0x90], 0x1a
jne 0x46f009
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp + 8]
inc esi
cmp esi, dword [edi + 0x84]
jle 0x46ef9b
mov eax, dword [ebp + 0xc]
push 3
pop esi
mov dword [ebx + 0x190], eax
cmp dword [edi + 0x84], esi
jl 0x46f0ae
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x46f09f
cmp dword [ecx + 4], edx
jne 0x46f09f
cmp byte [ecx + 0x90], 0xb
je 0x46f09f
movzx eax, byte [ecx + 0x93]
cmp eax, dword [ebx + 0x190]
jne 0x46f09f
test byte [ecx + 0x92], 0x20
jne 0x46f09f
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x74]
push 4
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test byte [eax + 0x92], 0x40
je 0x46f09f
cmp byte [eax + 0x90], 0x1a
jne 0x46f09f
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp + 8]
inc esi
cmp esi, dword [edi + 0x84]
jle 0x46f02d
mov eax, dword [ebp + 0xc]
push 0
push eax
push 0x130c
push dword [ebx + 0x188]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x46f305
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
cmp word [eax], di
je 0x46f41f
push edi
push edi
push 3
push edi
push edi
push SysAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x46f33c
xor eax, eax
jmp 0x46f44e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x46f35f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46f335
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x46f335
lea eax, [ebp - 8]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 4]
push eax
push 0x48f9bc
xor edi, edi
push edi
push edi
push dword [ebp - 8]
mov dword [ebp - 4], edi
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x46f335
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push ecx
call dword [eax + 0xc]
lea eax, [ebp - 0x24]
push eax
push 0x18
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
cmp dword [edx], edi
jne 0x46f3fb
cmp dword [ecx], edi
jne 0x46f3fb
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
push 0x2000
push dword [ecx]
push dword [edx]
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
jmp 0x46f424
mov eax, edi
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x64], 0
je 0x46f439
push dword [esi + 0x64]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
push eax
push edi
mov dword [esi + 0x64], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x46fd74
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x4c3628
push edi
mov ecx, esi
call fcn.0041f2d0
mov ecx, dword [0x4c3688]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
cmp dword [ebp + 0xc], edi
jne 0x46fdcb
xor esi, esi
cmp dword [ebx + 0x1a0], esi
je 0x46fe2f
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push esi
push dword [ebx + 0x1a0]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x46fe49
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041f38c
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x46fe2f
mov ecx, dword [0x4c369c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
mov cl, byte [eax + 0x90]
cmp cl, 0xe
je 0x46fe2f
cmp cl, 0xf
je 0x46fe2f
cmp cl, 0x13
je 0x46fe2f
cmp cl, 0x10
je 0x46fe2f
xor esi, esi
cmp dword [eax + 0xc], esi
je 0x46fe2f
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4c369c]
mov ecx, dword [ebp + 8]
push esi
push dword [ebx]
mov eax, dword [eax + ecx*4]
push dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 8]
push esi
push dword [eax + 0xc]
jmp 0x46fdc3
movzx ecx, word [ebp + 0x14]
movzx eax, word [ebp + 0x10]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x59bd2424
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7e4a03b1
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x414b5d
Capabilities:
Encode data using xor

Disassembly:
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x10]
shr edi, 2
mov ecx, edi
dec edi
test ecx, ecx
je 0x414b8b
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov ecx, esi
mov esi, dword [edx]
add eax, esi
xor ecx, esi
mov dword [edx], ecx
add edx, 4
mov ecx, edi
dec edi
test ecx, ecx
jne 0x414b77
pop edi
pop esi
ret

Function at 0x414c23
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
imul ecx, ecx, 0x28
mov ecx, dword [ecx + eax + 0x24]
test ecx, 0x20000000
je 0x414c5c
test ecx, 0x40000000
je 0x414c55
mov eax, ecx
and eax, 0x80000000
cmp eax, 1
sbb eax, eax
and al, 0xe0
add eax, 0x40
jmp 0x414c6d
mov eax, 0x10
jmp 0x414c6d
mov eax, ecx
and eax, 0x80000000
cmp eax, 1
sbb eax, eax
and al, 0xfe
add eax, 4
test ecx, 0x4000000
je 0x414c7a
add eax, 0x200
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x60015a96
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x45f46927
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x45c930
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47a094]
jne 0x45c93a
repz ret
jmp fcn.004645a0
Function at 0x471320
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c0
cmp dword [0x16eacd0], 0x37
jne 0x4713fd
push 0
push 0x4559b0
push 0
push 0x455a3c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
push 0
push 0
lea ecx, [ebp - 0x1c0]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push 0x455a60
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edx, edx
mov word [ebp - 4], dx
xor eax, eax
mov word [ebp - 2], ax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
push 0
lea ecx, [ebp - 0x9c0]
push ecx
push 0x455ac8
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
push 0
push 0x455ae8
push 0
push 0x455b24
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov edx, dword [0x16e271c]
add edx, dword [ebp + 8]
mov eax, dword [0x16eacd4]
add eax, dword [ebp + 8]
mov cl, byte [eax + 0x12336]
mov byte [edx], cl
mov esp, ebp
pop ebp
ret 4
Function at 0x471820
Capabilities:
Get common file path
Get disk information
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x31e4
call fcn.00460b20
mov dword [ebp - 4], 0
jmp 0x47183f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x32d05d76
jge 0x4718f7
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x16eacd0], 0x16
jne 0x471880
push 0x455b60
push 0
lea ecx, [ebp - 0x458]
push ecx
push 0x455b88
push 0x455ba0
push 0x455bbc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x16eacd0], 0x9e
jne 0x4718e7
push 0
lea edx, [ebp - 0xd78]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
push 0
lea eax, [ebp - 0x15c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
lea ecx, [ebp - 0x578]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edx, [ebp - 0xdc0]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x455bc8
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 4], 0x9be51dc
jle 0x4718f2
jmp 0x4718f7
jmp 0x471836
push 0x47aec0
mov eax, dword [0x16eacd0]
push eax
mov ecx, dword [0x16e271c]
push ecx
call fcn.004717b0
mov dword [ebp - 0x15c4], 0
jmp 0x471929
mov edx, dword [ebp - 0x15c4]
add edx, 1
mov dword [ebp - 0x15c4], edx
cmp dword [ebp - 0x15c4], 0x3e79e
jge 0x471948
cmp dword [ebp - 0x15c4], 0x1e673
jne 0x471946
call fcn.00471300
jmp 0x47191a
mov dword [ebp - 0x15c8], 0
jmp 0x471963
mov eax, dword [ebp - 0x15c8]
add eax, 1
mov dword [ebp - 0x15c8], eax
cmp dword [ebp - 0x15c8], 0xdd9a7
jge 0x47198f
cmp dword [0x16eacd0], 0xc01
jne 0x47198d
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
call dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
jmp 0x471954
jmp dword [0x16e271c]