joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4147eb
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push edi
mov dword [esi + 0x174], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ebx, [esi + 0x50]
push ebx
call fcn.004045ec
mov eax, dword [esi + 0xc8]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x41482d
push 0
push dword [eax + 4]
call edi
cmp byte [esi + 0x9d], 0
je 0x414918
mov word [esi + 0x9c], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [esi + 0xac], 0
push 0
push dword [esi + 0xd0]
call edi
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x41486b
push 0
push dword [eax + 4]
call edi
mov eax, dword [esi + 0xb4]
xor edi, edi
sub eax, dword [esi + 0xb0]
sar eax, 2
test eax, eax
je 0x4148a7
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x414893
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0xb4]
inc edi
sub eax, dword [esi + 0xb0]
sar eax, 2
cmp edi, eax
jb 0x414880
mov eax, dword [esi + 0xb0]
mov dword [esi + 0xb4], eax
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x4148c3
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi + 0xbc], 0
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x4148dc
add ecx, 0x28
call fcn.0041c872
call fcn.0041a251
or eax, 0xffffffff
push eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_SetRect]
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x6b
push dword [0x5c9bf0]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 0xfffffffffffffff4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
jmp 0x414927
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x414c2b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x5b1074]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x24c], 0
push ebx
push edi
mov ebx, ecx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x240], ebx
lea edi, [ebp - 0x24]
mov eax, dword [0x58b3e8]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x58b3ec]
push 8
pop ecx
mov dword [ebp - 0x28], eax
xor eax, eax
push 0x20a
push eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], 2
push eax
call fcn.00516180
push str.Option
push str.SoftwareCatchScreen
push 0x58b42c
lea eax, [ebp - 0x238]
push 0x104
push eax
call fcn.00408e72
add esp, 0x20
lea eax, [ebp - 0x244]
mov edi, SysReAllocString
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x240]
push eax
push str.SaveDefExtend
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x240]
push eax
push str.SaveAsIndexEx
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x414d12
mov ecx, dword [ebp - 0x23c]
mov dword [eax], ecx
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.0040941c
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0050eff9
mov esp, ebp
pop ebp
ret
Function at 0x414d2f
Capabilities:
Get common file path

Disassembly:
push 0x2e4
mov eax, 0x568d5c
call fcn.0050fee0
mov ebx, ecx
mov dword [ebp - 0x2ec], ebx
mov dword [ebp - 0x2d4], ebx
xor esi, esi
lea eax, [ebp - 0x21c]
push 0x208
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x2f0], ebx
mov dword [ebp - 0x2e8], esi
call fcn.00516180
add esp, 0xc
lea eax, [ebp - 0x21c]
push esi
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor edx, edx
lea ecx, [ebp - 0x2d4]
call fcn.00414c2b
xor edi, edi
inc edi
push esi
mov dword [ebp - 4], edi
call fcn.0053f91c
pop ecx
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d8], edx
call fcn.00409c54
push eax
mov ecx, ebx
call fcn.0040999a
lea eax, [ebp - 0x240]
mov dword [ebp - 0x2e8], edi
push eax
lea ecx, [ebp - 0x2dc]
call fcn.0041999f
or edi, 0xffffffff
test eax, eax
je 0x414deb
mov ebx, dword [eax]
mov dword [ebp - 0x2e0], ebx
jmp 0x414df1
mov dword [ebp - 0x2e0], edi
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.0041999f
test eax, eax
je 0x414e12
mov ebx, dword [eax + 4]
mov dword [ebp - 0x2e4], ebx
jmp 0x414e18
mov dword [ebp - 0x2e4], edi
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.0041999f
test eax, eax
je 0x414e31
mov edi, dword [eax + 8]
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.0041999f
test eax, eax
je 0x414e4c
mov ebx, dword [eax + 0xc]
jmp 0x414e4e
mov ebx, esi
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.0041999f
test eax, eax
je 0x414e68
mov esi, dword [eax + 0x10]
inc esi
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0x2dc]
push dword [ebp - 0x2e0]
push dword [ebp - 0x2e4]
push edi
push ebx
push esi
call fcn.0041989d
mov esi, dword [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x58b470
push esi
call fcn.00418437
mov ecx, dword [ebp - 0x2d4]
add esp, 0x28
add ecx, 0xfffffff0
call fcn.00409cc2
mov eax, esi
call fcn.0050fe8a
ret
Function at 0x41582e
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
mov dword [ebp - 0x1c], edx
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x41584c
xor eax, eax
jmp 0x415985
mov eax, dword [esi]
push ebx
mov ebx, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
push edi
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
mov dword [ebp - 4], eax
call esi
push 0x4f
mov edi, eax
call esi
mov ecx, dword [ebp - 0xc]
xor edx, edx
test ecx, ecx
cmovs ecx, edx
mov edx, dword [ebp - 8]
xor esi, esi
mov dword [ebp - 0xc], ecx
test edx, edx
cmovs edx, esi
mov esi, dword [ebp - 4]
cmp ebx, edi
mov dword [ebp - 8], edx
cmovg ebx, edi
cmp esi, eax
cmovg esi, eax
xor eax, eax
push eax
push eax
push eax
sub ebx, ecx
sub esi, edx
push 0x58b798
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], esi
call dword [sym.imp.GDI32.dll_CreateDCW]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x415977
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push edi
mov dword [ebp - 0x20], esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40cc0020
push dword [ebp - 8]
mov dword [ebp - 0x18], eax
push dword [ebp - 0xc]
push ebx
push dword [ebp - 4]
push dword [ebp - 0x10]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x415964
push dword [ebp - 4]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40cc0020
push dword [ebp - 8]
mov dword [ebp - 0x18], eax
push dword [ebp - 0xc]
push edi
push dword [ebp - 4]
push dword [ebp - 0x10]
push 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x41597a
mov esi, dword [ebp - 0x20]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
mov eax, esi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x415a5b
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x415a8c
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, esi
call fcn.004159ab
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4165e2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5b1074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x416705
xor esi, esi
push esi
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x20a
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00516180
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x416653
sub ecx, edx
sar ecx, 1
mov ecx, dword [ebx + 0xbc]
je 0x4166f5
test ecx, ecx
je 0x416705
mov eax, dword [ecx]
lea edx, [ebp - 0x218]
push edx
call dword [eax + 0x20]
lea esi, [ebx + 0x104]
lea edi, [ebp - 0x228]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x21c]
lea edi, [ebx + 0xbc]
mov ecx, dword [edi]
push dword [ebp - 0x220]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edx, dword [ebx + 0xc4]
test edx, edx
je 0x4166d7
mov ecx, dword [edi]
push dword [edx + 0x210]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [edi]
mov ecx, dword [ebx + 0xc4]
mov esi, dword [eax]
call fcn.0040fb66
mov ecx, dword [edi]
push eax
call dword [esi + 0x2c]
push edi
lea ecx, [ebx + 0xb0]
call fcn.0041711a
and dword [edi], 0
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x416705
test ecx, ecx
je 0x4166ff
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0xbc], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050eff9
mov esp, ebp
pop ebp
ret
Function at 0x41671b
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path

Disassembly:
push 0x224
mov eax, 0x568e43
call fcn.0050fee0
mov ebx, ecx
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0x22c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x230], eax
push ecx
mov ecx, esp
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ecx], eax
mov ecx, ebx
call fcn.00413384
push 0x208
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00516180
add esp, 0xc
lea eax, [ebp - 0x21c]
push 1
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.xunduocr_cachexundu.jpg
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040941c
mov byte [ebp - 4], 1
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4167c0
push dword [ebp - 0x220]
call edi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00408e8d
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 2
cmp dword [esi - 4], 1
jle 0x4167f5
push dword [esi - 0xc]
lea ecx, [ebp - 0x224]
call fcn.00409175
mov esi, dword [ebp - 0x224]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x224]
call fcn.00419a76
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x416822
push esi
call edi
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [ebp - 0x220]
mov dword [ebp - 0x228], eax
cmp dword [edi - 4], 1
jle 0x416857
push dword [edi - 0xc]
lea ecx, [ebp - 0x220]
call fcn.00409175
mov edi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x228]
push eax
mov ecx, ebx
call fcn.004159ab
mov edx, eax
mov ecx, edi
call fcn.0040d58f
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x220]
call fcn.00419a76
push dword [ebp - 0x228]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
test eax, eax
je 0x41689b
push 1
jmp 0x41689d
push 0
push 0x2421
call fcn.0041290c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esi - 0x10]
call fcn.00409cc2
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00409cc2
lea ecx, [ebp - 0x230]
call fcn.0040e394
xor eax, eax
call fcn.0050fe8a
ret 0x10
Function at 0x4168d9
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path

Disassembly:
push 0x228
mov eax, 0x568e8c
call fcn.0050fee0
mov ebx, ecx
mov dword [ebp - 0x228], ebx
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0x230], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x234], eax
push ecx
mov ecx, esp
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ecx], eax
mov ecx, ebx
call fcn.00413384
push 0x208
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00516180
add esp, 0xc
lea eax, [ebp - 0x21c]
push 1
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.xunduocr_cachexundu.jpg
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040941c
mov byte [ebp - 4], 1
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x416984
push dword [ebp - 0x220]
call edi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00408e8d
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
push 2
pop ebx
mov byte [ebp - 4], bl
cmp dword [esi - 4], 1
jle 0x4169bb
push dword [esi - 0xc]
lea ecx, [ebp - 0x224]
call fcn.00409175
mov esi, dword [ebp - 0x224]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x224]
call fcn.00419a76
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4169e8
push esi
call edi
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp - 0x228]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [ebp - 0x220]
mov dword [ebp - 0x22c], eax
cmp dword [edi - 4], 1
jle 0x416a23
push dword [edi - 0xc]
lea ecx, [ebp - 0x220]
call fcn.00409175
mov edi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x228]
push eax
call fcn.004159ab
mov edx, eax
mov ecx, edi
call fcn.0040d58f
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x220]
call fcn.00419a76
mov eax, dword [ebp - 0x228]
push dword [ebp - 0x22c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416a93
cmp dword [ebp + 8], 0x50e
jne 0x416a79
push 3
pop ebx
jmp 0x416a8e
cmp dword [ebp + 8], 0x510
je 0x416a8e
xor ebx, ebx
cmp dword [ebp + 8], 0x50f
sete bl
push ebx
push 1
jmp 0x416a97
push 0
push 0
push 0x2421
call fcn.0041290c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esi - 0x10]
call fcn.00409cc2
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00409cc2
lea ecx, [ebp - 0x234]
call fcn.0040e394
call fcn.0050fe8a
ret 4
Function at 0x416ad1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push ebx
push esi
mov esi, ecx
push edi
lea edi, [eax + 0x49c]
mov dword [esi + 0x178], 1
sub eax, 0x6a
je 0x416c52
dec eax
sub eax, 1
je 0x416c52
sub eax, 1
je 0x416b53
sub eax, 6
je 0x416b3f
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x416c67
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x416c67
mov eax, dword [esi + 0xc8]
push 0
push edi
push 0x225a
push dword [eax + 4]
jmp 0x416c61
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x416c67
mov eax, dword [esi + 0xc8]
xor ebx, ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x178], ebx
test eax, eax
je 0x416b71
push ebx
push dword [eax + 4]
call edi
cmp byte [esi + 0x9d], bl
je 0x416c67
mov word [esi + 0x9c], bx
call dword [sym.imp.USER32.dll_ReleaseCapture]
push ebx
push dword [esi + 0xd0]
mov dword [esi + 0xac], ebx
call edi
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x416ba9
push ebx
push dword [eax + 4]
call edi
mov eax, dword [esi + 0xb4]
mov edi, ebx
sub eax, dword [esi + 0xb0]
sar eax, 2
test eax, eax
je 0x416be5
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x416bd1
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0xb4]
inc edi
sub eax, dword [esi + 0xb0]
sar eax, 2
cmp edi, eax
jb 0x416bbe
mov eax, dword [esi + 0xb0]
mov dword [esi + 0xb4], eax
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x416c01
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0xbc], ebx
test ecx, ecx
je 0x416c19
add ecx, 0x28
call fcn.0041c872
or eax, 0xffffffff
push eax
push eax
push eax
push eax
lea eax, [esi + 0x50]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x6b
push dword [0x5c9bf0]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 0xfffffffffffffff4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
jmp 0x416c67
push dword [esi + 4]
movzx eax, di
push eax
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x418ed5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5b1074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x110
xor ebx, ebx
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.00516180
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x418f36
cmp dword [ebp - 0x114], 5
jae 0x418f39
cmp dword [ebp - 0x114], 4
jne 0x418f36
cmp dword [ebp - 0x110], 0x5a
jae 0x418f39
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0050eff9
mov esp, ebp
pop ebp
ret

Function at 0x41a251
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x5ca3fc]
test eax, eax
je 0x41a265
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret
Function at 0x41a268
Capabilities:
Hide graphical window

Disassembly:
push 0x20
mov eax, 0x568fc1
call fcn.0050fee0
mov ebx, edx
mov dword [ebp - 0x2c], ecx
and dword [ebp - 4], 0
mov ecx, dword [0x5ca3fc]
test ecx, ecx
je 0x41a295
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
and dword [0x5ca3fc], 0
push 0x180
call fcn.0050f042
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00419fc6
push ecx
mov byte [ebp - 4], 0
mov ecx, eax
mov dword [0x5ca3fc], eax
call fcn.00435330
mov eax, dword [0x5ca3fc]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41a33e
push dword [ebp + 8]
call fcn.0041a369
push ecx
push ecx
mov ecx, dword [0x5ca3fc]
lea edi, [ebp - 0x24]
mov eax, esp
lea edx, [ebp - 0x24]
push 0
push SysReAllocString
lea esi, [ecx + 0x7c]
and dword [eax], 0
movsd dword es:[edi], dword [esi]
push ecx
push ecx
mov eax, esp
push dword [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [eax], edx
call fcn.00433d30
sub esp, 0x28
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.0041b213
call fcn.00419f66
mov eax, dword [0x5ca3fc]
push 1
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x10
mov esi, ebx
mov 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]
call fcn.0041a59e
add esp, 0x10
lea ecx, [ebp + 0xc]
call fcn.00417a49
xor eax, eax
call fcn.0050fe8a
ret
Function at 0x41dbee
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5b1074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5c4d0c]
cmp eax, 0xffffffff
jne 0x41dd65
push 0x110
lea eax, [ebp - 0x114]
mov dword [0x5c4d0c], 0xfffffc18
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.00516180
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41dd60
cmp dword [ebp - 0x108], 2
jne 0x41dd60
cmp dword [ebp - 0x114], 5
jne 0x41dcea
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x41dc78
inc eax
jmp 0x41dd45
cmp eax, 1
jne 0x41dce1
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0x58bb54
call fcn.0053e284
add esp, 0xc
test eax, eax
jne 0x41dc9e
push 3
jmp 0x41dd44
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call fcn.0053e284
add esp, 0xc
test eax, eax
jne 0x41dcbf
push 4
jmp 0x41dd44
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_3
call fcn.0053e284
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
jmp 0x41dd45
cmp eax, 2
jne 0x41dd60
push 6
jmp 0x41dd44
cmp dword [ebp - 0x114], 6
jne 0x41dd4c
cmp dword [ebp - 0x110], 0
jne 0x41dd39
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0x58bb54
call fcn.0053e284
add esp, 0xc
test eax, eax
jne 0x41dd1a
push 8
jmp 0x41dd44
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call fcn.0053e284
add esp, 0xc
neg eax
sbb eax, eax
add eax, 8
jmp 0x41dd45
cmp dword [ebp - 0x110], 1
jne 0x41dd60
push 9
pop eax
mov dword [0x5c4d0c], eax
jmp 0x41dd65
cmp dword [ebp - 0x114], 7
mov eax, dword [0x5c4d0c]
push 9
pop ecx
cmove eax, ecx
jmp 0x41dd45
mov eax, dword [0x5c4d0c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050eff9
mov esp, ebp
pop ebp
ret

Function at 0x41df01
Capabilities:
Create directory

Disassembly:
push esi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x41df23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41df23
xor eax, eax
inc eax
pop esi
ret
mov eax, esi
pop esi
ret

Function at 0x41e984
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
push esi
mov esi, eax
mov dword [ebp - 4], eax
push edi
mov edi, dword [0x5db644]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x41e99d
sub esi, ecx
mov dword [ebp - 0xc], esi
lea eax, [esi + 1]
push eax
call fcn.0051d673
mov ebx, eax
mov dword [ebp - 0x10], ebx
pop ecx
test ebx, ebx
je 0x41ea1d
push edi
call fcn.005400d8
pop ecx
test esi, esi
jle 0x41e9ef
sub dword [ebp - 4], ebx
mov edi, ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], esi
call fcn.005400b7
mov cl, byte [ebx + edi]
add al, 0x11
xor cl, al
xor cl, 2
mov byte [edi], cl
inc edi
sub esi, 1
jne 0x41e9d2
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
lea eax, [esi*2 + 1]
push eax
call fcn.0051d673
mov edi, eax
pop ecx
test edi, edi
je 0x41ea14
push edi
mov edx, esi
mov ecx, ebx
call fcn.0041e903
add esp, 4
mov byte [edi + esi*2], 0
push ebx
call fcn.0051d47e
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret