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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x437154
cmp dword [esi + 4], 0
je 0x437181
test byte [ebx + 0x55], 1
jne 0x437173
mov eax, ebx
call fcn.00435cd8
test eax, eax
jne 0x437173
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x437291
mov edx, esi
mov eax, ebx
call fcn.00436c5c
jmp 0x437291
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43728a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00438fa8
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004339b4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00437138
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00438fa8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437291
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d718
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45ca78]
cmp byte [eax + 0xc], 0
je 0x43d885
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d87e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45db68], 0
jne 0x43d76c
push 0x43d88c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43d894
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db68], eax
cmp dword [0x45bb98], 0
jne 0x43d867
push 0x43d8a4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45bb98], eax
cmp dword [0x45bb98], 0
je 0x43d867
push 0x43d8b0
mov eax, dword [0x45bb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db6c], eax
push 0x43d8c0
mov eax, dword [0x45bb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db70], eax
push 0x43d8d4
mov eax, dword [0x45bb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db74], eax
push 0x43d8ec
mov eax, dword [0x45bb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db78], eax
push 0x43d904
mov eax, dword [0x45bb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db7c], eax
push 0x43d918
mov eax, dword [0x45bb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db80], eax
push 0x43d930
mov eax, dword [0x45bb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db84], eax
push 0x43d948
mov eax, dword [0x45bb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db88], eax
push 0x43d964
mov eax, dword [0x45bb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db8c], eax
push 0x43d970
mov eax, dword [0x45bb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d885
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x441710
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404438
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44175f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004046a8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448f08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448f58]
test si, 4
je 0x448f1c
or bl, 1
test si, 8
je 0x448f26
or bl, 4
test si, 1
je 0x448f30
or bl, 8
test si, 2
je 0x448f3a
or bl, 0x10
test si, 0x10
je 0x448f44
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448f53
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x448f5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448f94]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448f75
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448f84
or bl, 4
test esi, 0x20000000
je 0x448f8f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44f658
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44f66a
add esp, 0xfffffff0
call fcn.004039e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d850
mov eax, dword [0x45c630]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f9fc
mov eax, dword [0x45c63c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44fa08
mov eax, ebx
call fcn.0044fa14
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4156fc]
call fcn.00403694
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4156fc]
call fcn.00403694
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4156fc]
call fcn.00403694
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4156fc]
call fcn.00403694
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4156fc]
call fcn.00403694
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44be2c
push eax
push 0
push 0
mov eax, dword [0x45c7f8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f274]
call fcn.004206dc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f274]
call fcn.004206dc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f274]
call fcn.004206dc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044fe64
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fd2c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fd2c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fd2c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f7a7
call fcn.00403a3c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44fb10
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44fcbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44fc9c
mov dl, 1
mov eax, dword [0x415b18]
call fcn.00403694
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404438
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44fc8b
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.0043da78
test al, al
je 0x44fc7e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44fccc
lea eax, [ebp - 0x254]
call fcn.00409700
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44fc7e
xor eax, eax
push ebp
push 0x44fc77
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44fd04
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44fc60
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046a8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
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 + 0x3c]
jne 0x44fc60
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fc7e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44fb81
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004199ac
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fcc2
lea eax, [ebp - 0x260]
call fcn.00404438
ret

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

Disassembly:
push ecx
mov eax, dword [0x45dbb4]
cmp byte [eax + 0xa5], 0
jne 0x450675
cmp dword [0x45dbcc], 0
jne 0x450636
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4505c0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45dbcc], eax
cmp dword [0x45dbc8], 0
jne 0x450651
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45dbc8], eax
cmp dword [0x45dbd0], 0
jne 0x450675
push esp
push 0
push 0
push 0x450564
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45dbd0], eax
pop edx
ret
Function at 0x450d08
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45dbb4]
cmp dword [eax + 0x30], 0
je 0x450db2
cmp dword [ebx + 0x94], 0
jne 0x450dac
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x450c98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x450dac
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_GetWindowLongA
test al, 8
je 0x450d72
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x450dac
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.00417a64
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450d81
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451910
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x451945
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404528
jmp 0x451952
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040448c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452a74
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452ab5
mov eax, esi
call fcn.00439280
test al, al
je 0x452ab5
mov eax, dword [ebx + 0x84]
call fcn.00438fa8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452ab5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438fa8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x456c14
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048e8
xor eax, eax
push ebp
push 0x456c65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004048f8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x456c49
test al, 0x10
je 0x456c4d
xor ebx, ebx
jmp 0x456c4f
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456c6c
lea eax, [ebp - 4]
call fcn.00404438
ret
Function at 0x458838
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048e8
lea eax, [ebp - 0x160]
mov edx, dword [0x40762c]
call fcn.00404da8
xor eax, eax
push ebp
push 0x458a3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 1
mov eax, dword [ebp - 4]
call fcn.00458164
test al, al
je 0x458a05
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 4]
call fcn.004587f4
lea eax, [ebp - 0x164]
mov edx, 0x458a54
call fcn.00404700
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.00408e08
mov esi, eax
xor eax, eax
push ebp
push 0x4589ed
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x4589d4
mov eax, dword [ebp - 0x154]
mov edx, 0x458a60
call fcn.00404844
je 0x4589bf
mov eax, dword [ebp - 0x154]
mov edx, 0x458a6c
call fcn.00404844
je 0x4589bf
push 0x80
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 4]
call fcn.004587f4
lea eax, [ebp - 0x168]
mov edx, dword [ebp - 0x154]
call fcn.00404700
mov eax, dword [ebp - 0x168]
call fcn.004048f8
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 0x158]
and eax, 0x10
cmp eax, 0x10
jne 0x45898e
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 4]
call fcn.004587f4
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 0x154]
call fcn.00404700
mov eax, dword [ebp - 0x16c]
mov ecx, ebx
mov dl, 1
call fcn.00458838
mov byte [ebp - 6], al
jmp 0x4589bf
test bl, bl
jne 0x4589bf
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 4]
call fcn.004587f4
lea eax, [ebp - 0x170]
mov edx, dword [ebp - 0x154]
call fcn.00404700
mov eax, dword [ebp - 0x170]
call fcn.00408e98
mov byte [ebp - 6], al
lea eax, [ebp - 0x160]
call fcn.00408e58
mov esi, eax
test esi, esi
je 0x4588ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4589f4
lea eax, [ebp - 0x160]
call fcn.00408e7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458a43
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.0040445c
lea eax, [ebp - 0x160]
mov edx, dword [0x40762c]
call fcn.00404e6c
lea eax, [ebp - 4]
call fcn.00404438
ret
Function at 0x459b98
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
xor eax, eax
push ebp
push 0x459bf6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, 0x1f4
call fcn.00402a38
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404630
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459bfd
mov eax, dword [ebp - 8]
call fcn.00402a68
ret

Function at 0x459c04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
xor eax, eax
push ebp
push 0x459c62
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 2
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, 0x1f4
call fcn.00402a38
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404630
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459c69
mov eax, dword [ebp - 8]
call fcn.00402a68
ret
Function at 0x459c70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004048e8
xor eax, eax
push ebp
push 0x459ed7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.004535cc
mov edi, eax
mov dword [ebp - 0x134], 0x128
lea edx, [ebp - 0x134]
mov eax, edi
call fcn.004535ec
mov esi, eax
jmp 0x459dd5
lea eax, [ebp - 0x140]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.004046a8
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00408f6c
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.004082bc
mov eax, dword [ebp - 0x138]
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 4]
call fcn.004082bc
mov edx, dword [ebp - 0x144]
pop eax
call fcn.00404844
je 0x459dab
lea eax, [ebp - 0x14c]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.004046a8
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.004082bc
mov eax, dword [ebp - 0x148]
push eax
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
call fcn.004082bc
mov edx, dword [ebp - 0x150]
pop eax
call fcn.00404844
jne 0x459dc6
push 0
mov eax, dword [ebp - 0x12c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
lea edx, [ebp - 0x134]
mov eax, edi
call fcn.0045360c
mov esi, eax
test esi, esi
jne 0x459d06
push edi
call sub.kernel32.dll_CloseHandle
mov dl, 1
mov eax, dword [0x415b18]
call fcn.00403694
mov dword [ebp - 0xc], eax
mov dl, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.00419390
lea edx, [ebp - 0x154]
mov eax, ebx
call fcn.00459ee8
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0xc]
call fcn.00419200
xor eax, eax
push ebp
push 0x459ea0
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x459e7c
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00459c70
lea eax, [ebp - 0x158]
push eax
mov ecx, 0xf
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404958
mov edx, dword [ebp - 0x158]
mov eax, ebx
call fcn.00459c70
push 0xc8
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x15c]
mov eax, ebx
call fcn.00459ee8
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0xc]
call fcn.00419200
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x459e27
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459ea7
mov eax, dword [ebp - 0xc]
call fcn.004036c4
ret
Function at 0x45a054
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004048e8
xor eax, eax
push ebp
push 0x45a131
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004044d0
mov eax, dword [ebp - 8]
call fcn.00408d78
test al, al
je 0x45a116
mov eax, dword [ebp - 8]
call fcn.004046f8
cmp eax, 3
jle 0x45a116
lea eax, [ebp - 0x26]
xor ecx, ecx
mov edx, 0x1e
call fcn.004030a4
push dword [ebp - 8]
push 0x45a148
push 0x45a158
lea eax, [ebp - 8]
mov edx, 3
call fcn.004047b8
xor eax, eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], 3
mov eax, dword [ebp - 8]
call fcn.004048f8
mov dword [ebp - 0x1e], eax
mov eax, 0x45a15c
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x14
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
mov eax, dword [ebp - 4]
call fcn.00409060
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a138
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040445c
ret
Function at 0x10185140
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1018532d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x117000]
push edi
jmp 0x1018516a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10185171
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10185160
mov eax, 1
add ebx, ebx
jne 0x10185183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10185194
jne 0x101851b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101851b3
dec eax
add ebx, ebx
jne 0x101851a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10185178
add ebx, ebx
jne 0x101851af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10185205
xor ecx, ecx
sub eax, 3
jb 0x101851cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1018523a
sar eax, 1
mov ebp, eax
jmp 0x101851d6
add ebx, ebx
jne 0x101851d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101851a4
inc ecx
add ebx, ebx
jne 0x101851e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101851a4
add ebx, ebx
jne 0x101851f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101851e6
jne 0x10185202
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101851e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10185224
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10185216
jmp 0x10185166
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10185224
add edi, ecx
jmp 0x10185166
pop esi
mov edi, esi
mov ecx, 0x3c14
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10185242
cmp byte [edi], 0x26
jne 0x10185242
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 0x10185247
lea edi, [esi + 0x17d000]
mov eax, dword [edi]
or eax, eax
je 0x101852bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x186cd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x186dfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10185274
mov ecx, edi
jns 0x101852a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x186e00]
or eax, eax
je 0x101852b9
mov dword [ebx], eax
add ebx, 4
jmp 0x10185291
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101852f0
cmp al, 0xef
ja 0x101852e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101852c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101852d2
mov ebp, dword [esi + 0x186e04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x10185324
sub esp, 0xffffff80
jmp 0x10082f63