joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4390fc
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 0x439118
cmp dword [esi + 4], 0
je 0x439145
test byte [ebx + 0x55], 1
jne 0x439137
mov eax, ebx
call fcn.00437d08
test eax, eax
jne 0x439137
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x439255
mov edx, esi
mov eax, ebx
call fcn.00438c20
jmp 0x439255
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 0x43924e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043af6c
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.004359a4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004390fc
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.0043af6c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439255
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 0x43f708
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46f3c8]
cmp byte [eax + 0xc], 0
je 0x43f875
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43f86e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x470b64], 0
jne 0x43f75c
push 0x43f87c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43f884
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b64], eax
cmp dword [0x46ec24], 0
jne 0x43f857
push 0x43f894
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46ec24], eax
cmp dword [0x46ec24], 0
je 0x43f857
push 0x43f8a0
mov eax, dword [0x46ec24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b68], eax
push 0x43f8b0
mov eax, dword [0x46ec24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b6c], eax
push 0x43f8c4
mov eax, dword [0x46ec24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b70], eax
push 0x43f8dc
mov eax, dword [0x46ec24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b74], eax
push 0x43f8f4
mov eax, dword [0x46ec24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b78], eax
push 0x43f908
mov eax, dword [0x46ec24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b7c], eax
push 0x43f920
mov eax, dword [0x46ec24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b80], eax
push 0x43f938
mov eax, dword [0x46ec24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b84], eax
push 0x43f954
mov eax, dword [0x46ec24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b88], eax
push 0x43f960
mov eax, dword [0x46ec24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f875
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x443700
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.00403f24
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44374f
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.00404194
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ae8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44aedc]
test si, 4
je 0x44aea0
or bl, 1
test si, 8
je 0x44aeaa
or bl, 4
test si, 1
je 0x44aeb4
or bl, 8
test si, 2
je 0x44aebe
or bl, 0x10
test si, 0x10
je 0x44aec8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44aed7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44aee0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44af18]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44aef9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44af08
or bl, 4
test esi, 0x20000000
je 0x44af13
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4515c0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4515d2
add esp, 0xfffffff0
call fcn.004034d8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e688
mov eax, dword [0x46f054]
mov dword [eax + 4], ebx
mov dword [eax], 0x451964
mov eax, dword [0x46f060]
mov dword [eax + 4], ebx
mov dword [eax], 0x451970
mov eax, ebx
call fcn.0045197c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416928]
call fcn.00403184
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416928]
call fcn.00403184
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416928]
call fcn.00403184
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416928]
call fcn.00403184
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416928]
call fcn.00403184
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, 0x44dd98
push eax
push 0
push 0
mov eax, dword [0x46f1bc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4200dc]
call fcn.00421778
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4200dc]
call fcn.00421778
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4200dc]
call fcn.00421778
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451e2c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451cc0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451cc0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451cc0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45170f
call fcn.00403530
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451aa4
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 0x451c4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451c30
mov dl, 1
mov eax, dword [0x416d44]
call fcn.00403184
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f24
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451c1f
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.0043fa68
test al, al
je 0x451c12
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, 0x451c60
lea eax, [ebp - 0x254]
call fcn.00408d70
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451c12
xor eax, eax
push ebp
push 0x451c0b
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 0x451c98
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451bf4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404194
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 0x451bf4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404194
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451c12
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451b15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a878
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 0x451c56
lea eax, [ebp - 0x260]
call fcn.00403f24
ret

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

Disassembly:
push ecx
mov eax, dword [0x470bb0]
cmp byte [eax + 0xa5], 0
jne 0x45263d
cmp dword [0x470bc8], 0
jne 0x4525fe
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452588
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x470bc8], eax
cmp dword [0x470bc4], 0
jne 0x452619
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x470bc4], eax
cmp dword [0x470bcc], 0
jne 0x45263d
push esp
push 0
push 0
push 0x45252c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x470bcc], eax
pop edx
ret
Function at 0x452734
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45274b
add esp, 0xfffffff0
call fcn.004034d8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e688
mov eax, dword [0x46f1a8]
cmp word [eax + 2], 0
jne 0x452773
mov eax, dword [0x46f1a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453e24
mov eax, dword [0x46f264]
cmp word [eax + 2], 0
jne 0x45278d
mov eax, dword [0x46f264]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045401c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416928]
call fcn.00403184
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416928]
call fcn.00403184
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420ae4]
call fcn.0042808c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452914
mov eax, dword [0x46f0c0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042845c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4545bc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46f0c0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c46c
test eax, eax
je 0x452882
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408764
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c494
test eax, eax
je 0x452896
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404194
mov eax, dword [0x46efa4]
cmp byte [eax], 0
jne 0x4528ca
mov eax, ebx
call fcn.00452a3c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00454798
mov eax, ebx
call fcn.0045515c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45290a
call fcn.00403530
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452cbc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x470bb0]
cmp dword [eax + 0x30], 0
je 0x452d66
cmp dword [ebx + 0x94], 0
jne 0x452d60
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452c4c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452d60
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 0x452d26
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452d60
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.00418c90
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452d35
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4538c8
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 0x4538fd
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.00404014
jmp 0x45390a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f78
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454974
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4549b5
mov eax, esi
call fcn.0043b270
test al, al
je 0x4549b5
mov eax, dword [ebx + 0x84]
call fcn.0043af6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4549b5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043af6c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4552f4
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x467b00
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
mov edx, dword [eax]
call dword [edx]
test al, al
je 0x467b2b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x218], 0
jne 0x467b42
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xdc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
call fcn.0045f14c
xor edx, edx
push ebp
push 0x467c46
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov eax, dword [eax + 8]
test eax, eax
jle 0x467bdd
dec eax
test eax, eax
jl 0x467c2a
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, dword [ebp - 8]
call fcn.00456268
mov ebx, eax
push 0xcc0020
mov edi, dword [ebx + 4]
push edi
mov esi, dword [ebx]
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
mov eax, dword [eax + 0x84]
push eax
mov eax, dword [ebx + 0xc]
sub eax, edi
push eax
mov eax, dword [ebx + 8]
sub eax, esi
push eax
push edi
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
call fcn.00422848
push eax
call sub.gdi32.dll_BitBlt
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x467b82
jmp 0x467c2a
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
push 0xcc0020
mov esi, dword [ebp - 0x18]
push esi
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
mov eax, dword [eax + 0x84]
push eax
mov eax, dword [ebp - 0x10]
sub eax, esi
push eax
mov eax, dword [ebp - 0x14]
sub eax, ebx
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x208]
call fcn.00422848
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467c4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
call fcn.0045f164
ret

Function at 0x46a9e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, edx
xor ebx, ebx
push 0
push eax
push 0xc
mov eax, dword [0x470664]
push eax
call sub.kernel32.dll_FindResourceExA
test eax, eax
je 0x46aa74
push eax
mov eax, dword [0x470664]
push eax
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x46aa74
push eax
call sub.kernel32.dll_LockResource
test eax, eax
je 0x46aa74
mov edx, eax
mov ecx, edx
add ecx, 4
movzx ecx, word [ecx]
cmp ecx, esi
ja 0x46aa2d
mov esi, ecx
dec esi
mov ebx, edx
add ebx, 6
imul eax, esi, 0xe
add ebx, eax
push 1
movzx eax, word [ebx + 0xc]
push eax
mov eax, dword [0x470664]
push eax
call sub.kernel32.dll_FindResourceA
push eax
mov eax, dword [0x470664]
push eax
call sub.kernel32.dll_LoadResource
push eax
call sub.kernel32.dll_LockResource
push 0
push 0
push 0
push 0x30000
push 0
mov edx, dword [ebx + 8]
push edx
push eax
call sub.user32.dll_CreateIconFromResourceEx
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x6d7e2d5d
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d7e2dab
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d7e2dbc
push 0xd
pop eax
jmp 0x6d7e2de6
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d7e2dbf
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d7e32a5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d7f9c30
mov ebx, eax
cmp ebx, esi
je 0x6d7e3318
lea ecx, [ebp - 0x74]
call fcn.6d7e2c8b
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7f98d8
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d7e3330
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d7e32a5
cmp eax, esi
jne 0x6d7e3362
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d7e3320
lea ecx, [ebp - 0x74]
call fcn.6d7e2c8b
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d7e2c1c
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d7e2c8b
mov eax, esi
jmp 0x6d7e32fe
Function at 0x6d7eebb4
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8f4]
sub esp, 0x974
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0x8f0], eax
mov eax, dword [ebp + 0x8fc]
push ebx
push esi
mov esi, 0x400
push esi
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call fcn.6d7f9c30
add esp, 0x10
test eax, eax
je 0x6d7eed0f
lea eax, [ebp - 0x14]
push eax
push str._s_ssvagent.exe
lea eax, [ebp + 0x3ec]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x3ec]
push eax
call dword [sym.imp.MSVCR100.dll__stat64i32]
add esp, 0x18
test eax, eax
jne 0x6d7eed0f
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
xor ebx, ebx
push edi
mov byte [ebp + 0x7ec], bl
mov edi, 0x104
lea eax, [ebp + 0x7ec]
cmp dword [ebp + 0x900], ebx
je 0x6d7eec50
push str.__new
jmp 0x6d7eec55
push str.__old
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x904], ebx
je 0x6d7eec76
push str.__high
lea eax, [ebp + 0x7ec]
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x90c], ebx
je 0x6d7eec90
push str.__settreatas
lea eax, [ebp + 0x7ec]
push edi
push eax
call esi
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp + 0x7ec]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x6c], eax
pop edi
cmp dword [ebp + 0x904], ebx
je 0x6d7eecc6
call fcn.6d7f9c30
test eax, eax
je 0x6d7eecc6
mov dword [ebp - 0x74], str.runas
cmp dword [ebp + 0x908], ebx
je 0x6d7eecd5
mov dword [ebp - 0x7c], 0x40
lea eax, [ebp + 0x3ec]
mov dword [ebp - 0x70], eax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x6d7eed0f
cmp dword [ebp - 0x48], ebx
je 0x6d7eed0b
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
jmp 0x6d7eed11
xor eax, eax
mov ecx, dword [ebp + 0x8f0]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7f98d8
add ebp, 0x8f4
leave
ret
Function at 0x6d7ef650
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x63]
push ebx
push eax
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x64], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x20019
push 0x6d7fe12c
push SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.6d7f9c30
lea ecx, [ebp - 0x74]
test eax, eax
je 0x6d7ef6c8
call fcn.6d7e2c8b
lea ecx, [ebp - 0x80]
call fcn.6d7e2c8b
jmp 0x6d7ef754
push 0x2001f
push str.Classes
push dword [ebp - 0x80]
call fcn.6d7f9c30
test eax, eax
je 0x6d7ef6e3
lea ecx, [ebp - 0x74]
jmp 0x6d7ef6b6
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, 0x400
push esi
lea eax, [ebp - 0x64]
push eax
push ebx
jmp 0x6d7ef739
push 0xa
lea eax, [ebp - 0x64]
push str.JavaPlugin
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x6d7ef720
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d7e32a5
test eax, eax
je 0x6d7ef723
inc dword [ebp - 0x68]
push esi
lea eax, [ebp - 0x64]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x74]
call edi
test eax, eax
je 0x6d7ef6f8
lea ecx, [ebp - 0x74]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x80]
call fcn.6d7e2c8b
pop edi
pop esi
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
pop ebx
call fcn.6d7f98d8
add ebp, 0x3a0
leave
ret