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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4d932e
add esp, 0xfffffff0
call fcn.004053a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00440198
mov eax, dword [0x532d34]
mov dword [eax + 4], ebx
mov dword [eax], 0x4d9778
mov eax, dword [0x532d40]
mov dword [eax + 4], ebx
mov dword [eax], 0x4d9784
mov eax, ebx
call fcn.004d9790
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42966c]
call fcn.00404e44
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42966c]
call fcn.00404e44
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42966c]
call fcn.00404e44
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42966c]
call fcn.00404e44
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42966c]
call fcn.00404e44
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4d40c4
push eax
push 0
push 0
mov eax, dword [0x532f20]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x44ab4c]
call fcn.00450e20
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44ab4c]
call fcn.00450e20
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44ab4c]
call fcn.00450e20
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x44ab4c]
call fcn.00450e20
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44ab4c]
call fcn.00450e20
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004d9ce8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4d9b58
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4d9b58
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4d9b58
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4d9b58
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4d9b58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4d94a9
call fcn.00405400
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4d98f8
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 0x4d9aa5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4d9a86
mov dl, 1
mov eax, dword [0x42bd6c]
call fcn.00437c10
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406bf8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4d9a75
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.004bb168
test al, al
je 0x4d9a68
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, 0x4d9ab4
lea eax, [ebp - 0x394]
call fcn.00414580
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4d9a68
xor eax, eax
push ebp
push 0x4d9a61
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 0x4d9b24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4d9a4a
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406de0
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4d9a4a
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406de0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9a68
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4d996b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00437b4c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9aac
lea eax, [ebp - 0x3a0]
call fcn.00406be8
ret

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

Disassembly:
push ecx
mov eax, dword [0x539290]
cmp byte [eax + 0xad], 0
jne 0x4da676
cmp dword [0x5392a8], 0
jne 0x4da636
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x53212c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5392a8], eax
cmp dword [0x5392a4], 0
jne 0x4da651
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5392a4], eax
cmp dword [0x5392ac], 0
jne 0x4da676
push esp
push 0
push 0
mov eax, dword [0x532128]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5392ac], eax
pop edx
ret
Function at 0x4da99c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4da9b3
add esp, 0xfffffff0
call fcn.004053a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00440198
mov eax, dword [0x532c2c]
cmp byte [eax], 0
jne 0x4da9e0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x532f00]
cmp word [eax + 2], 0
jne 0x4da9fa
mov eax, dword [0x532f00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004dca94
mov eax, dword [0x532ff4]
cmp word [eax + 2], 0
jne 0x4daa14
mov eax, dword [0x532ff4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004dcca4
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44ab4c]
call fcn.00450e20
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4dd254
mov dl, 1
mov eax, dword [0x42966c]
call fcn.00404e44
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42966c]
call fcn.00404e44
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 [0x44efe4]
call fcn.0045a2f8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4dabf4
mov eax, dword [0x532dc0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045a78c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4dd53c
mov dl, 1
mov eax, dword [0x42966c]
call fcn.00404e44
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x532dc0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004143b8
test eax, eax
je 0x4dab25
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041419c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041439c
test eax, eax
je 0x4dab3d
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 + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406de0
push ebx
push 0x4dc464
call fcn.004d0584
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x532c2c]
cmp byte [eax], 0
jne 0x4dab8e
mov eax, ebx
call fcn.004dad68
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004dd768
mov eax, ebx
call fcn.004de39c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4dabeb
call fcn.00405400
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4db03c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4db0de
cmp dword [ebx + 0x94], 0
jne 0x4db0d8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4daf88
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4db0d8
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 0x4db09e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4db0d8
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.004345a4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4db0ad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x539290]
cmp dword [eax + 0x170], 0
je 0x4db461
test bl, bl
jne 0x4db3af
cmp dword [esi + 0x9c], 0
jne 0x4db3a4
mov eax, esi
call fcn.004de1ec
push eax
push 0x4db208
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4db375
mov eax, dword [0x539290]
cmp byte [eax + 0xd3], 0
je 0x4db375
mov eax, dword [esi + 0xd8]
call fcn.00408404
mov edi, eax
cmp edi, 0
jl 0x4db375
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4db35e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4db3a4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004345a4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4db384
inc dword [esi + 0x9c]
jmp 0x4db461
cmp dword [esi + 0x9c], 0
jle 0x4db461
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4db461
cmp dword [esi + 0x44], 0
je 0x4db40c
mov eax, dword [0x539290]
cmp byte [eax + 0xd3], 0
je 0x4db40c
mov eax, dword [esi + 0xd8]
call fcn.00408404
mov edi, eax
cmp edi, 0
jl 0x4db40c
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4db3f5
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4db43b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004345a4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4db41b
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4ce45c]
call fcn.004085c4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4dc0b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4dc11b
cmp byte [ebx + 0xd3], 0
jne 0x4dc11b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406d34
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4dc108
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4dc128
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406bf8
jmp 0x4dc128
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406bf8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4dd950
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4dd9be
mov eax, esi
call fcn.004b50bc
test al, al
je 0x4dd9be
mov eax, dword [ebx + 0x84]
call fcn.004b4d10
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4dd9be
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4dd9b2
push 0
mov eax, dword [ebx + 0x84]
call fcn.004b4d10
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004abce4
jmp 0x4dd9be
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004dd788
pop esi
pop ebx
ret
Function at 0x4e241c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4e244a
mov eax, ebx
call fcn.004e2ed0
cmp dword [ebx + 0x40], 0
je 0x4e2443
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4e24bb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4e24ad
cmp dword [ebx + 8], 0
je 0x4e246c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4e247e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e24ad
cmp dword [ebx + 8], 0
je 0x4e245f
cmp eax, 3
je 0x4e2491
dec eax
jne 0x4e245f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4e245f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4e245f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4e24d9
cmp dword [ebx + 0x14], 0xcc
je 0x4e24d9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004e24e4
pop ebx
ret

Function at 0x4f37c8
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0x10325476
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
add eax, 0x30
xor ecx, ecx
mov edx, 0x40
call fcn.00404838
ret
Function at 0x4fbd8c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
test dl, dl
je 0x4fbdaf
add esp, 0xfffffff0
call fcn.004053a8
mov dword [ebp - 4], ecx
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00406be0
xor eax, eax
push ebp
push 0x4fbf3e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00404e44
xor eax, eax
push ebp
push 0x4fbec1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00406c84
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 8]
add eax, 8
call fcn.00406f5c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
push esi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4fbeb7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4fbf68
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4fbeb7
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x4fbfa8
call fcn.00414608
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.00406bf8
mov eax, dword [ebp - 8]
mov byte [eax + 4], 1
xor esi, esi
mov ebx, 0x532b50
lea ecx, [ebp - 0x30]
mov edx, dword [ebx]
mov eax, dword [ebp - 8]
call fcn.004fc064
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
lea eax, [eax + esi*4 + 0x10]
call fcn.00406bf8
inc esi
add ebx, 4
cmp esi, 0xa
jne 0x4fbe92
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fbf13
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fbf45
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00406bf0
lea eax, [ebp - 0x1c]
call fcn.00406be8
lea eax, [ebp - 4]
call fcn.00406be8
ret
Function at 0x4fd2bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4fd398
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4fd32d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.004041ec
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, esi
mov edx, ebx
call fcn.00406da4
mov eax, ebx
call fcn.00404208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fd37d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd39f
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406bf0
ret

Function at 0x4fdafc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4fdbd2
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4fdb84
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov ecx, eax
lea edx, [ebp - 0x208]
mov eax, ebx
call fcn.00406d34
cmp dword [ebx], 0
jne 0x4fdb7a
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x20c]
call fcn.00417490
mov ecx, dword [ebp - 0x20c]
mov dl, 1
mov eax, dword [0x40dcf8]
call fcn.00417e24
call fcn.0040594c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fdbb9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fdbd9
lea eax, [ebp - 0x20c]
call fcn.00406be8
ret

Function at 0x4fdc94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4fdd6a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4fdd1c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov ecx, eax
lea edx, [ebp - 0x208]
mov eax, ebx
call fcn.00406d34
cmp dword [ebx], 0
jne 0x4fdd12
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x20c]
call fcn.00417490
mov ecx, dword [ebp - 0x20c]
mov dl, 1
mov eax, dword [0x40dcf8]
call fcn.00417e24
call fcn.0040594c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fdd51
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fdd71
lea eax, [ebp - 0x20c]
call fcn.00406be8
ret
Function at 0x4fe348
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x4fe449
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4fe3ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x210]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
mov ecx, eax
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 8]
call fcn.00406d34
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00412a68
cmp dword [ebp - 0x214], 0
je 0x4fe3e0
lea ecx, [ebp - 0x218]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [0x533094]
mov eax, dword [eax]
call fcn.0050ed8c
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 8]
call fcn.00406bf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fe42b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe450
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.00406bf0
ret

Function at 0x4fe8d0
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 6
setae al
add esp, 0x114
Function at 0x506520
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x506535
add esp, 0xfffffff0
call fcn.004053a8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x5066e5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
add eax, 4
xor edx, edx
call fcn.00406bf8
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x31], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x32], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x33], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x35], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x36], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x37], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], 0xffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x40], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x41], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 0x18
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 0xc
mov eax, dword [ebp - 4]
mov byte [eax + 0x50], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x5c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x7c], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x7d], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f4], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f5], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f6], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f7], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f8], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f9], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1fa], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1fb], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1fc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x220], 0
mov eax, dword [ebp - 4]
add eax, 0x58
mov edx, 0x506748
call fcn.00406bf8
mov eax, dword [ebp - 4]
add eax, 0x64
mov edx, 0x506748
call fcn.00406bf8
mov eax, dword [ebp - 4]
mov byte [eax + 0x221], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x228], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x230], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x248], 0
mov eax, dword [ebp - 4]
add eax, 0x244
xor edx, edx
call fcn.00406bf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x506718
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x506730
call fcn.00405400
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret