joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46dd5c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x579b80]
cmp byte [eax + 0xa5], 0
jne 0x46ddcd
cmp dword [0x579b98], 0
jne 0x46dd8e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46dd18
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x579b98], eax
cmp dword [0x579b94], 0
jne 0x46dda9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x579b94], eax
cmp dword [0x579b9c], 0
jne 0x46ddcd
push esp
push 0
push 0
push 0x46dcbc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x579b9c], eax
pop edx
ret

Function at 0x46e460
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x579b80]
cmp dword [eax + 0x30], 0
je 0x46e50a
cmp dword [ebx + 0x94], 0
jne 0x46e504
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46e3f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46e504
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 0x46e4ca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46e504
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.0041ef80
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46e4d9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46f068
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 0x46f09d
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.004049c4
jmp 0x46f0aa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404928
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x470264
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4702a5
mov eax, esi
call fcn.00455bdc
test al, al
je 0x4702a5
mov eax, dword [ebx + 0x84]
call fcn.004558d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4702a5
push 0
mov eax, dword [ebx + 0x84]
call fcn.004558d8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47137c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4714e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040496c
mov eax, dword [ebp - 0x10]
call fcn.00470ef0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4713ce
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404e50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004719a0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4714a3
xor eax, eax
push ebp
push 0x47149c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0047109c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00471514
test al, al
je 0x47147a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004049c4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x47147a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404db0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x471474
mov eax, dword [ebp - 0x14]
call fcn.00404db0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404acc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0047137c
dec ebx
cmp ebx, 0xffffffff
jne 0x47142d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4714a3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0047109c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404db0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00471088
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4714ec
lea eax, [ebp - 0x3c]
call fcn.004048d4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004048f8
ret
Function at 0x4714a3
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4714e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040496c
mov eax, dword [ebp - 0x10]
call fcn.00470ef0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4713ce
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404e50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004719a0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4714a3
xor eax, eax
push ebp
push 0x47149c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0047109c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00471514
test al, al
je 0x47147a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004049c4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x47147a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404db0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x471474
mov eax, dword [ebp - 0x14]
call fcn.00404db0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404acc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0047137c
dec ebx
cmp ebx, 0xffffffff
jne 0x47142d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4714a3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0047109c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404db0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00471088
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4714ec
lea eax, [ebp - 0x3c]
call fcn.004048d4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004048f8
ret

Function at 0x471514
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.0040333c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x578824]
cmp byte [edx + 0xc], 0
je 0x471578
mov edx, dword [0x578808]
cmp dword [edx], 2
jne 0x471578
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x47157c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x471634
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00471514
test al, al
je 0x471616
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004049c4
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x471616
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404db0
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404db0
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404acc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4715cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47163b
lea eax, [ebp - 0x2c]
call fcn.004048d4
lea eax, [ebp - 0xc]
call fcn.004048d4
ret

Function at 0x4718b4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00470f04
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404db0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x471912
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x578328]
mov dl, 1
mov eax, dword [0x470d90]
call fcn.0040de28
call fcn.00404248
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x47191c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404db0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x471974
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x578830]
mov dl, 1
mov eax, dword [0x470d90]
call fcn.0040de28
call fcn.00404248
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00470f34
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x475934
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042c74c
cmp ebx, dword [ebp - 8]
jge 0x475997
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042cb50
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042cb50
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042cb7c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x47595d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4759a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042c74c
cmp ebx, dword [ebp - 8]
jge 0x475a03
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042cb50
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042cb50
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042cb7c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4759c9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47fbd4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47fc02
mov eax, ebx
call fcn.00480688
cmp dword [ebx + 0x40], 0
je 0x47fbfb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47fc73
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47fc65
cmp dword [ebx + 8], 0
je 0x47fc24
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 0x47fc36
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47fc65
cmp dword [ebx + 8], 0
je 0x47fc17
cmp eax, 3
je 0x47fc49
dec eax
jne 0x47fc17
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 0x47fc17
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47fc17
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47fc91
cmp dword [ebx + 0x14], 0xcc
je 0x47fc91
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.0047fc9c
pop ebx
ret
Function at 0x4914a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x491704
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x491507
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049114c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e73c
cmp al, 1
jne 0x491507
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00491414
test al, al
je 0x491693
cmp dword [ebp - 8], 0
jge 0x491525
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0049114c
mov eax, dword [ebp - 0x210]
call fcn.00404bb0
cmp ebx, eax
jge 0x49156f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049114c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5787f0]
and eax, 0xff
bt dword [edx], eax
jae 0x49156f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x491583
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00491480
cmp ebx, dword [ebp - 8]
je 0x491685
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4915af
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bac
and eax, 0x7f
movzx eax, word [eax*2 + 0x572c04]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x491672
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bac
and eax, 0x7f
movzx eax, word [eax*2 + 0x572c04]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004558d8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bac
and eax, 0x7f
movzx eax, word [eax*2 + 0x572c04]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004558d8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491679
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4916e6
cmp dword [ebp - 8], 0
jge 0x49169e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049114c
mov eax, dword [ebp - 0x218]
call fcn.00404bb0
cmp eax, dword [ebp - 8]
jg 0x4916d8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049114c
mov eax, dword [ebp - 0x21c]
call fcn.00404bb0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00491480
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49170b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004048f8
ret
Function at 0x4e2c00
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, ecx
push esp
push edx
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404b44
add esp, 0x10c
pop ebx
ret

Function at 0x4e2c3c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404b44
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x4e2c87
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404e50
add esp, 0x100
pop ebx
ret

Function at 0x4e2c90
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push esp
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404b44
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x4e2cd7
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404e50
add esp, 0x100
pop ebx
ret

Function at 0x4e2cfc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, edx
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
je 0x4e2d4d
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404b44
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x4e2d63
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404e50
jmp 0x4e2d63
mov ecx, 0x4e2d74
mov dl, 1
mov eax, dword [0x40868c]
call fcn.0040dd30
call fcn.00404248
add esp, 0x108
pop ebx
ret
Function at 0x4e68b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
test dl, dl
je 0x4e68d2
add esp, 0xfffffff0
call fcn.00403d1c
mov dword [ebp - 4], ecx
mov ebx, edx
mov dword [ebp - 8], eax
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x4e6a3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
xor edx, edx
mov dword [eax + 0x18], edx
mov dl, 1
mov eax, dword [0x41cf00]
call fcn.00403974
mov edx, dword [esi]
mov dword [edx + 8], eax
mov eax, dword [esi]
add eax, 0xc
mov edx, dword [ebp - 4]
call fcn.00404928
mov eax, dword [esi]
mov word [eax + 0x1c], di
push 0
push 0
mov eax, dword [esi]
call fcn.004e7d9c
mov eax, dword [esi]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [esi]
cmp word [eax + 0x1c], 0xffff
jne 0x4e693c
push ebp
call fcn.004e66c0
pop ecx
push edi
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [esi]
call fcn.004e6f4c
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [esi]
call fcn.0042219c
mov eax, dword [esi]
cmp word [eax + 0x1c], 0xffff
je 0x4e6a29
mov eax, dword [esi]
call fcn.004e7894
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0
jmp 0x4e69e6
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
neg eax
adc edx, 0
neg edx
push edx
push eax
mov dl, 2
mov eax, dword [esi]
call fcn.004e7814
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [esi]
call fcn.004e7804
cmp dword [ebp - 0x1c], 0x19760204
jne 0x4e69d4
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
neg eax
adc edx, 0
neg edx
sub eax, 8
sbb edx, 0
push edx
push eax
mov dl, 2
mov eax, dword [esi]
call fcn.004e7814
jmp 0x4e69fa
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add eax, 1
adc edx, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x14]
jne 0x4e69f8
cmp eax, dword [ebp - 0x18]
jbe 0x4e6984
jmp 0x4e69fa
jle 0x4e6984
mov eax, dword [esi]
lea edx, [eax + 0x30]
mov ecx, 4
mov eax, dword [esi]
call fcn.004e7804
mov eax, dword [esi]
lea edx, [eax + 0x34]
mov ecx, 4
mov eax, dword [esi]
call fcn.004e7804
push 0
push 0
xor edx, edx
mov eax, dword [esi]
call fcn.004e7814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6a46
lea eax, [ebp - 0x20]
call fcn.004048d4
ret
Function at 0x4f6f40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4f6f48
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4f70e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x4f70fc
mov eax, esi
call fcn.004f4dc8
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.00404928
lea ecx, [ebp - 0xc]
mov edx, 0x4f7110
mov eax, esi
call fcn.004f4dc8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.00404928
lea ecx, [ebp - 0x10]
mov edx, 0x4f7128
mov eax, esi
call fcn.004f4dc8
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.00404928
lea ecx, [ebp - 0x14]
mov edx, 0x4f7144
mov eax, esi
call fcn.004f4dc8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00404928
lea ecx, [ebp - 0x18]
mov edx, 0x4f7160
mov eax, esi
call fcn.004f4dc8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00404928
lea ecx, [ebp - 0x20]
mov edx, 0x4f7178
mov eax, esi
call fcn.004f4dc8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409624
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.00409bf0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x4f7190
mov eax, esi
call fcn.004f4dc8
mov eax, dword [ebp - 0x24]
call fcn.004ee4b0
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x4f71a0
mov eax, esi
call fcn.004f4dc8
mov eax, dword [ebp - 0x28]
call fcn.004ee4b0
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x4f71b8
mov eax, esi
call fcn.004f4dc8
mov eax, dword [ebp - 4]
call fcn.004ee064
test al, al
je 0x4f709b
mov eax, dword [ebp - 4]
call fcn.00409bb4
mov edi, eax
test edi, edi
jl 0x4f7091
call fcn.0040bee0
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x4f71c0]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x4f70a7
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x4f70a7
mov eax, dword [ebp - 4]
call fcn.004ee4b0
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4f71cc
mov eax, esi
call fcn.004f4dc8
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.00404928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f70eb
lea eax, [ebp - 0x30]
call fcn.004048d4
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004048f8
ret

Function at 0x4fe334
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4fe38e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004fe324
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004ecf64
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004ecb64
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe395
lea eax, [ebp - 4]
call fcn.004048d4
ret
Function at 0x507eec
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x507f11
cmp dword [esp + 4], 5
jb 0x507f11
mov al, 1
jmp 0x507f13
xor eax, eax
add esp, 0x94
ret