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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x57a6a2
add esp, 0xfffffff0
call fcn.0040645c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0049ebe8
mov eax, dword [0x5ad178]
mov dword [eax + 4], ebx
mov dword [eax], 0x57ab5c
mov eax, dword [0x5ad184]
mov dword [eax + 4], ebx
mov dword [eax], 0x57ab68
mov eax, ebx
call fcn.0057ab74
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x46cf74]
call fcn.00405e98
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x46cf74]
call fcn.00405e98
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x46cf74]
call fcn.00405e98
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x46cf74]
call fcn.00405e98
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x46cf74]
call fcn.00405e98
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x575570
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4bbc94]
call fcn.004c0aa8
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4bbc94]
call fcn.004c0aa8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4bbc94]
call fcn.004c0aa8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4bbc94]
call fcn.004c0aa8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4bbc94]
call fcn.004c0aa8
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.0057b0b8
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x57af38
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x57af38
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x57af38
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x57af38
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x57af38
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x57a822
call fcn.004064b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x57acd8
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 0x57ae83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x57ae64
mov dl, 1
mov eax, dword [0x4707c4]
call fcn.004920e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00407ba4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x57ae53
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.004f7e40
test al, al
je 0x57ae46
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, 0x57ae94
lea eax, [ebp - 0x394]
call fcn.0041fbbc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x57ae46
xor eax, eax
push ebp
push 0x57ae3f
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 0x57af04
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x57ae28
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004086ec
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x57ae28
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004086ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57ae46
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x57ad49
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.00492004
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57ae8a
lea eax, [ebp - 0x3a0]
call fcn.00407ba4
ret

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

Disassembly:
push ecx
mov eax, dword [0x5b4164]
cmp byte [eax + 0xc5], 0
jne 0x57bab2
cmp dword [0x5b4188], 0
jne 0x57ba72
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5acf28]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5b4188], eax
cmp dword [0x5b4184], 0
jne 0x57ba8d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5b4184], eax
cmp dword [0x5b418c], 0
jne 0x57bab2
push esp
push 0
push 0
mov eax, dword [0x5acf24]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5b418c], eax
pop edx
ret
Function at 0x57be84
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x57be9b
add esp, 0xfffffff0
call fcn.0040645c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0049ebe8
mov eax, dword [0x5ad058]
cmp byte [eax], 0
jne 0x57bec8
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x5ad35c]
cmp word [eax + 2], 0
jne 0x57bee2
mov eax, dword [0x5ad35c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0057e23c
mov eax, dword [0x5ad46c]
cmp word [eax + 2], 0
jne 0x57befc
mov eax, dword [0x5ad46c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0057e440
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4bbc94]
call fcn.004c0aa8
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x57e8bc
mov dl, 1
mov eax, dword [0x46cf74]
call fcn.00405e98
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x46cf74]
call fcn.00405e98
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4bf834]
call fcn.004c799c
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x57c0ec
mov eax, dword [0x5ad210]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004c7e24
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x57eb7c
mov dl, 1
mov eax, dword [0x46cf74]
call fcn.00405e98
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5ad210]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041f9bc
test eax, eax
je 0x57c016
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041f814
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041f9a0
test eax, eax
je 0x57c02e
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 + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004086ec
push ebx
push 0x57dc18
call fcn.00571788
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x5ad058]
cmp byte [eax], 0
jne 0x57c07f
mov eax, ebx
call fcn.0057c2d0
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.0057edb4
mov eax, ebx
call fcn.0057fa3c
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x57c0e3
call fcn.004064b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x57c614
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x57c6b6
cmp dword [ebx + 0xac], 0
jne 0x57c6b0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x57c550
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x57c6b0
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 0x57c676
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x57c6b0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.0048e480
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x57c685
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x5b4164]
cmp dword [eax + 0x188], 0
je 0x57caea
test bl, bl
jne 0x57ca35
cmp dword [esi + 0xb4], 0
jne 0x57ca2a
mov eax, esi
call fcn.0057f88c
push eax
push 0x57c864
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x57c9fb
mov eax, dword [0x5b4164]
cmp byte [eax + 0xeb], 0
je 0x57c9fb
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x57c9dc
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x57c9fb
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x57c9e4
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x57ca2a
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0048e480
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x57ca0a
inc dword [esi + 0xb4]
jmp 0x57caea
cmp dword [esi + 0xb4], 0
jle 0x57caea
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x57caea
cmp dword [esi + 0x58], 0
je 0x57ca9f
mov eax, dword [0x5b4164]
cmp byte [eax + 0xeb], 0
je 0x57ca9f
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x57ca80
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x57ca9f
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x57ca88
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x57cace
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0048e480
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x57caae
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x56dfcc]
call fcn.00409f48
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x57d74c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x57d7a9
cmp byte [ebx + 0xeb], 0
jne 0x57d7a9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407d2c
mov eax, dword [esi]
test eax, eax
je 0x57d796
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x57d7b6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00407f84
jmp 0x57d7b6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00407f84
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x57efc8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x57f039
mov eax, esi
call fcn.004f19c0
test al, al
je 0x57f039
mov eax, dword [ebx + 0x98]
call fcn.004f15ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x57f039
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x134]
test al, al
je 0x57f02a
push 0
mov eax, dword [ebx + 0x98]
call fcn.004f15ec
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.004e846c
jmp 0x57f039
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.0057edd4
pop esi
pop ebx
ret
Function at 0x585d98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x585e16
mov eax, dword [ebx + 8]
call fcn.004f15ec
mov ecx, eax
mov dl, 1
mov eax, dword [0x500980]
call fcn.004eb88c
mov dword [ebx + 0x8c], eax
mov esi, dword [ebx + 0x8c]
xor edx, edx
mov eax, esi
call fcn.005094f4
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x585668
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004f15ec
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004f15ec
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x585e90
mov eax, dword [ebx + 8]
call fcn.004f15ec
mov ecx, eax
mov dl, 1
mov eax, dword [0x500980]
call fcn.004eb88c
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov dl, 1
mov eax, esi
call fcn.005094f4
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x5856b4
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.004f15ec
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.004f15ec
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x585efe
mov eax, dword [ebx + 8]
call fcn.004f15ec
mov ecx, eax
mov dl, 1
mov eax, dword [0x50141c]
call fcn.004eb88c
mov dword [ebx + 0x94], eax
mov eax, dword [ebx + 0x94]
mov byte [eax + 0x2a0], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.004f15ec
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.004f15ec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x59a7d4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x240], edx
mov esi, eax
lea edi, [ebp - 0x234]
xor eax, eax
push ebp
push 0x59a960
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.005984fc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x59a93b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [edi], 0x22c
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.0059851c
mov ebx, eax
jmp 0x59a91c
lea eax, [ebp - 0x240]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004086ec
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.0041f66c
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.0041d860
mov eax, dword [ebp - 0x238]
push eax
lea edx, [ebp - 0x244]
mov eax, esi
call fcn.0041d860
mov edx, dword [ebp - 0x244]
pop eax
call fcn.004089d4
je 0x59a8f8
lea eax, [ebp - 0x24c]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004086ec
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x248]
call fcn.0041d860
mov eax, dword [ebp - 0x248]
push eax
lea edx, [ebp - 0x250]
mov eax, esi
call fcn.0041d860
mov edx, dword [ebp - 0x250]
pop eax
call fcn.004089d4
jne 0x59a910
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 4], eax
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.0059853c
mov ebx, eax
test ebx, ebx
jne 0x59a85b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59a942
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x59a9d4
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
push ecx
push esp
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov cl, 1
mov edx, 0x59aa10
mov eax, dword [esp]
call fcn.0059a974
mov ebx, eax
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop edx
pop ebx
ret

Function at 0x59c354
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0x59c388
push 0x59c388
mov eax, ebx
call fcn.00408648
push eax
push 0x59c388
mov eax, dword [0x5ad43c]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.shell32.dll_ShellExecuteW
pop ebx
ret
Function at 0x59c38c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x59c41c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0059ace4
test al, al
je 0x59c3d4
call fcn.0059c0ac
test al, al
je 0x59c3d4
cmp dword [0x5b424c], 0
jne 0x59c3c8
cmp dword [0x5b4248], 1
jae 0x59c3d4
jmp 0x59c3ca
jge 0x59c3d4
mov eax, 0x59c434
call fcn.0059c354
push 1
push 0
push 0
lea eax, [ebp - 4]
call fcn.0059aae4
mov eax, dword [ebp - 4]
call fcn.00408648
push eax
push 0
mov eax, ebx
call fcn.004f15ec
push eax
call sub.shell32.dll_ShellExecuteW
mov eax, dword [0x5ad43c]
mov eax, dword [eax]
call fcn.0057e1a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59c423
lea eax, [ebp - 4]
call fcn.00407ba4
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ed0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x769c079c
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x55ed71d6
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10007dfc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x1006e09c], 0x1e02
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10009139
lea ecx, [0x10007f4b]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov dword [0x1006e09c], 0x3f2
mov dword [esp + 0x70], 0x138200
mov edx, dword [0x1006e088]
mov dword [esp + 0x58], edx
mov edx, dword [0x1006e08c]
mov dword [esp + 0x84], edx
mov edx, dword [0x1006e090]
mov dword [esp + 0x34], edx
mov edx, dword [0x1006e094]
mov dword [esp + 0x48], edx
mov edx, dword [0x1006e098]
mov dword [esp + 0x44], edx
mov dword [0x1006e0a0], 0xffffe050
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x10007f12
jmp 0x10007f2a
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
mov dword [0x1006e0a0], 0x983
mov dword [0x1006e09c], 0x297
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10008fce
mov dword [0x1006e0a0], 0x8f1
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x1006e0a0]
add ecx, 0xffffde88
mov dword [0x1006e09c], ecx
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10007ea2
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x1006e09c], 0x18db
mov dword [esp + 0x14], eax
jmp 0x10007e8e
Function at 0x1000863e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1006e0a8], 0
mov byte [0x1006e0ac], 0
mov esi, dword [0x1006e0a0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffff865
mov dword [0x1006e0a0], ecx
mov dword [0x1006e0a4], 0
mov dword [ebp - 0x20], eax
jmp 0x100086a8
mov eax, dword [ebp - 0x24]
add eax, 0x459
mov dword [0x1006e0a0], eax
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, eax
mov dl, cl
mov dword [0x1006e0a0], 0xca1
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1006e0a4]
add eax, 1
mov dword [0x1006e0a4], eax
cmp eax, 0x100
mov dword [ebp - 0x20], eax
jl 0x100086a8
mov eax, dword [0x1006e0a0]
mov ecx, eax
add ecx, 0x155b
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov dword [0x1006e09c], ecx
mov dword [0x1006e0a4], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, 0x100
add eax, 0xfffffb22
mov dword [0x1006e0a0], eax
mov eax, dword [0x1006e0a8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x38], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x38]
idiv edi
mov dword [0x1006e0a8], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1006e0ac], bl
mov dword [0x1006e0a0], 0xc06
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1006e0ac]
mov ecx, dword [0x1006e0a8]
mov byte [esi + ecx], bl
mov ecx, dword [0x1006e09c]
add ecx, 0x2167
mov dword [0x1006e09c], ecx
mov ecx, dword [0x1006e0a4]
add ecx, 1
mov dword [0x1006e0a4], ecx
mov edx, dword [0x1006e0a0]
cmp ecx, 0x100
mov esi, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x30], ecx
jl 0x10008709
jmp 0x10008693