joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435fbc
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 + 0x210], 0
je 0x435fd8
cmp dword [esi + 4], 0
je 0x436005
test byte [ebx + 0x55], 1
jne 0x435ff7
mov eax, ebx
call fcn.00434748
test eax, eax
jne 0x435ff7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x436115
mov edx, esi
mov eax, ebx
call fcn.004359f8
jmp 0x436115
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 0x43610e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00437f9c
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.00432308
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00435fbc
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.00437f9c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436115
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 0x43ce44
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x457408]
cmp byte [eax + 0xc], 0
je 0x43cfb1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43cfaa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x458af4], 0
jne 0x43ce98
push 0x43cfb8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43cfc0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458af4], eax
cmp dword [0x456df0], 0
jne 0x43cf93
push 0x43cfd0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x456df0], eax
cmp dword [0x456df0], 0
je 0x43cf93
push 0x43cfdc
mov eax, dword [0x456df0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458af8], eax
push 0x43cfec
mov eax, dword [0x456df0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458afc], eax
push 0x43d000
mov eax, dword [0x456df0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b00], eax
push 0x43d018
mov eax, dword [0x456df0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b04], eax
push 0x43d030
mov eax, dword [0x456df0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b08], eax
push 0x43d044
mov eax, dword [0x456df0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b0c], eax
push 0x43d05c
mov eax, dword [0x456df0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b10], eax
push 0x43d074
mov eax, dword [0x456df0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b14], eax
push 0x43d090
mov eax, dword [0x456df0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b18], eax
push 0x43d09c
mov eax, dword [0x456df0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cfb1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x440e90
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.00403ee0
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x440ede
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.00404150
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444e50
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444f85
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x41a894]
call fcn.0041a964
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x444f5b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041aa04
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404150
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x444f9c
call fcn.004041ec
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.0041aa68
lea ecx, [ebp - 4]
mov edx, 0x444fd8
mov eax, dword [ebp - 0xc]
call fcn.0041adbc
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040cac0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x444f3e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x444fe4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x456efc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444f45
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x445034
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x44507b
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44505e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44506f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x44507b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x448b88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x448bdc]
test si, 4
je 0x448b9d
or bl, 1
test si, 8
je 0x448ba7
or bl, 4
test si, 1
je 0x448bb1
or bl, 8
test si, 2
je 0x448bbb
or bl, 0x10
test si, 0x10
je 0x448bc5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448bd4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448be0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x448c1c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448bfa
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448c09
or bl, 4
test esi, 0x20000000
je 0x448c14
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44fc58
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44fc6a
add esp, 0xfffffff0
call fcn.00403480
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419444
mov eax, dword [0x4570ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x44fffc
mov eax, dword [0x4570f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x450008
mov eax, ebx
call fcn.00450014
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411310]
call fcn.00403144
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411310]
call fcn.00403144
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411310]
call fcn.00403144
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411310]
call fcn.00403144
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411310]
call fcn.00403144
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, 0x44bd1c
push eax
push 0
push 0
mov eax, dword [0x457238]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b598]
call fcn.0041ca10
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b598]
call fcn.0041ca10
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b598]
call fcn.0041ca10
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00450450
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450314
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450314
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450314
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fda7
call fcn.004034d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4500f8
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 0x4502a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450284
mov dl, 1
mov eax, dword [0x411734]
call fcn.00403144
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ee0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450273
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.0043d1a0
test al, al
je 0x450266
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, 0x4502b4
lea eax, [ebp - 0x254]
call fcn.004088ec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450266
xor eax, eax
push ebp
push 0x45025f
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 0x4502ec
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450248
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404150
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 0x450248
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450266
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450169
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415394
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 0x4502aa
lea eax, [ebp - 0x260]
call fcn.00403ee0
ret

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

Disassembly:
push ecx
mov eax, dword [0x458b40]
cmp byte [eax + 0xad], 0
jne 0x450c99
cmp dword [0x458b58], 0
jne 0x450c5a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450be4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x458b58], eax
cmp dword [0x458b54], 0
jne 0x450c75
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x458b54], eax
cmp dword [0x458b5c], 0
jne 0x450c99
push esp
push 0
push 0
push 0x450b88
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x458b5c], eax
pop edx
ret
Function at 0x450e6c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450e83
add esp, 0xfffffff0
call fcn.00403480
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419444
mov eax, dword [0x457224]
cmp word [eax + 2], 0
jne 0x450eab
mov eax, dword [0x457224]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004528c4
mov eax, dword [0x4572c4]
cmp word [eax + 2], 0
jne 0x450ec5
mov eax, dword [0x4572c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452ad0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411310]
call fcn.00403144
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411310]
call fcn.00403144
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411310]
call fcn.00403144
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41bd6c]
call fcn.00421a88
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x451074
mov eax, dword [0x457154]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421e5c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4531ec
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x457154]
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.0040bf50
test eax, eax
je 0x450fcc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408320
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bf84
test eax, eax
je 0x450fe0
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404150
push ebx
push 0x45240c
call fcn.0041a5ac
mov dword [ebx + 0xc8], eax
mov eax, dword [0x457054]
cmp byte [eax], 0
jne 0x45102a
mov eax, ebx
call fcn.004511b8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004533c8
mov eax, ebx
call fcn.00453f18
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45106a
call fcn.004034d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451438
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x458b40]
cmp dword [eax + 0x30], 0
je 0x4514e2
cmp dword [ebx + 0x94], 0
jne 0x4514dc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4513c8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4514dc
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 0x4514a2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4514dc
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.0041368c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4514b1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4521f4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x452229
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.00403fd0
jmp 0x452236
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f34
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4535ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45361a
mov eax, esi
call fcn.0043829c
test al, al
je 0x45361a
mov eax, dword [ebx + 0x84]
call fcn.00437f9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45361a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x45360e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00437f9c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00430fcc
jmp 0x45361a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004533e8
pop esi
pop ebx
ret
Function at 0x411492
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 8
pop esi
cmp dword [0x4ac5e8], esi
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
mov eax, 0x4ac5d4
xorps xmm0, xmm0
cmovae eax, dword [0x4ac5d4]
push 0
push eax
push SysReAllocString
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], esi
mov esi, 0x80070000
movzx ecx, ax
or ecx, esi
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x41152e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.LastUpdate
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, esi
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x41151d
cmp dword [ebp - 0x14], 0xb
je 0x411525
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor ecx, ebp
mov edx, dword [ebp - 8]
pop esi
call fcn.00450f85
leave
ret

Function at 0x414212
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4ac5e8], 8
lea ecx, [ebp - 0x10]
push esi
mov eax, 0x4ac5d4
cmovae eax, dword [0x4ac5d4]
xor esi, esi
push esi
push ecx
push esi
push 0x20006
push esi
push esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x414291
push esi
call fcn.0045f240
pop ecx
push 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0xb
push esi
push str.LastUpdate
push dword [ebp - 0x10]
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00450f85
leave
ret
Function at 0x41e515
Capabilities:
Persist via run registry key

Disassembly:
push 0x6c
mov eax, 0x47a5e5
call fcn.00451855
mov edi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
mov byte [edi], bl
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], ebx
push eax
call fcn.004202de
mov esi, eax
test esi, esi
js 0x41e614
xor eax, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push 0x483f1c
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.00403736
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.00403736
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
push eax
push SysReAllocString
call fcn.004222aa
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.0040443d
lea ecx, [ebp - 0x78]
call fcn.0040443d
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 8
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0045b7fe
pop ecx
pop ecx
test eax, eax
jne 0x41e5d9
mov byte [edi], 1
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41e614
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x41e60b
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004045aa
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.00451213
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x41e64f
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x41e646
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004045aa
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.00451213
pop ecx
pop ecx
mov eax, esi
call fcn.00451804
ret 4

Function at 0x41f02f
Capabilities:
Delete file

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
xor edi, edi
cmp dword [esi + 0x14], 8
jb 0x41f053
mov eax, dword [esi]
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x41f094
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 8
jb 0x41f075
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41f094
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00450f85
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x41f02d