joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410980
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cd63
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
call fcn.00415480
mov dword [ebp - 0x25c], eax
push 0
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x410b01
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x410a2b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410b01
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x268], 0
mov esi, eax
nop dword [eax]
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
je 0x410a9a
cmp ecx, 4
je 0x410a9a
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00414a00
lea ecx, [ebp - 0x230]
mov edx, eax
lea eax, [ecx + 2]
mov dword [ebp - 0x260], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410a72
sub ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x230]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00407590
mov ecx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x268]
cmp ecx, esi
cmove eax, dword [ebp - 0x23c]
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x410a40
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00414a00
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x410b01
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x410af5
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407590
movups xmm0, xmmword [ebp - 0x28]
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x25c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
push eax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
push dword [eax]
lea eax, [ebp - 0x264]
push eax
call fcn.00414e40
push 0x2c
push dword [ebp - 0x25c]
call fcn.0042297a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret 4
Function at 0x412170
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push 0
push str.Shell_TrayWnd
mov esi, ecx
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x412200
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push edi
call ebx
test eax, eax
je 0x412200
push 0
push str.ReBarWindow32
push 0
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
je 0x412200
push edi
call ebx
test eax, eax
je 0x412200
push str.WeatherDeskBand
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
je 0x412200
push edi
call ebx
test eax, eax
je 0x412200
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
push 0
push 0x4a
push edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x2b0], 0
je 0x412214
lea ecx, [esi + 0x2a0]
call fcn.004195b0
mov dword [esi + 0x14], 0xf
add dword [esi + 0x18], 2
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x14]
cmp eax, edi
jle 0x41222e
mov dword [esi + 0x18], edi
jmp 0x412230
mov edi, eax
call fcn.00410750
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [eax + 0x2d4]
test eax, eax
je 0x412250
push edi
push 0
push 0x465
push eax
call ebx
call fcn.00410750
mov eax, dword [eax + 0x2d4]
test eax, eax
je 0x41227e
lea ecx, [esp + 0x10]
push ecx
push 0xc8
push 0
push 0x475df4
push 0
push 0x466
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0x475e04
push 0x48dac0
call fcn.00417de0
add esp, 8
mov ecx, esi
call fcn.00410430
mov eax, dword [esi + 0x14]
mov edi, 0xf
mov dword [esi + 0x18], 0xf
cmp eax, edi
jge 0x4122af
mov dword [esi + 0x18], eax
mov edi, eax
call fcn.00410750
mov eax, dword [eax + 0x2d4]
test eax, eax
je 0x4122c9
push edi
push 0
push 0x465
push eax
call ebx
mov ecx, esi
call fcn.00411640
mov ecx, esi
call fcn.00412320
mov ecx, esi
call fcn.004126b0
mov ecx, esi
call fcn.004135f0
mov ecx, esi
call fcn.004130a0
mov ecx, esi
call fcn.00412950
call fcn.0041cad0
mov ecx, esi
call fcn.00413ca0
cmp dword [esi + 0x294], 0
je 0x412310
lea ecx, [esi + 0x48]
call fcn.0040f4f0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4163a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d52b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
call fcn.00424870
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x41647a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00409340
test al, al
jne 0x41645e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416440
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00409090
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408740
int3

Function at 0x416490
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d3d9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x48d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x4165a7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, esi
cmp al, 5
jbe 0x416541
push 0x27
push str.advfirewall_firewall_delete_rule_name_
call fcn.00409090
mov edx, dword [ebp + 8]
test edx, edx
jne 0x416516
xor ecx, ecx
jmp 0x41652f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416520
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00409c30
push 1
push 0x47dc74
jmp 0x41657f
push 0x28
push str.firewall_delete_allowedprogram_program_
call fcn.00409090
test edi, edi
jne 0x416555
xor ecx, ecx
jmp 0x41656f
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416560
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.00409c30
push 0xd
push str.__profileALL
mov ecx, esi
call fcn.00409c30
push 2
push 0x47db60
mov ecx, esi
call fcn.00409c30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408740
int3
Function at 0x416900
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d5c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x48d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
call fcn.00410750
mov esi, dword [eax + 0x18]
mov ecx, dword [eax + 0x14]
inc esi
mov dword [eax + 0x18], esi
cmp esi, ecx
jle 0x416941
mov dword [eax + 0x18], ecx
mov esi, ecx
call fcn.00410750
mov eax, dword [eax + 0x2d4]
test eax, eax
je 0x41695f
push esi
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x416a19
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push 0x47dcb4
push eax
call fcn.00409180
add esp, 0xc
call fcn.00410750
call fcn.00410750
mov esi, dword [ebp - 0x10]
mov eax, dword [eax + 0x2d4]
test eax, eax
je 0x4169c3
lea ecx, [ebp - 0x14]
push ecx
push 0xc8
push 0
push esi
push 0
push 0x466
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push esi
push 0x47dcac
push 0x48dac0
call fcn.00417de0
add esp, 0xc
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
neg eax
mov dword [ebp - 4], 0xffffffff
sbb edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x416a05
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408740
int3
Function at 0x416a30
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c788
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x48d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
call fcn.00410750
mov esi, dword [eax + 0x18]
mov ecx, dword [eax + 0x14]
inc esi
mov dword [eax + 0x18], esi
cmp esi, ecx
jle 0x416a71
mov dword [eax + 0x18], ecx
mov esi, ecx
call fcn.00410750
mov eax, dword [eax + 0x2d4]
test eax, eax
je 0x416a8f
push esi
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x416b4f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push edi
push 0x47dcd0
push eax
call fcn.00409180
add esp, 0x10
call fcn.00410750
call fcn.00410750
mov esi, dword [ebp - 0x10]
mov eax, dword [eax + 0x2d4]
test eax, eax
je 0x416af6
lea ecx, [ebp - 0x14]
push ecx
push 0xc8
push 0
push esi
push 0
push 0x466
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push esi
push 0x47dcc8
push 0x48dac0
call fcn.00417de0
add esp, 0xc
push dword [ebp + 8]
push edi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
neg eax
mov dword [ebp - 4], 0xffffffff
sbb edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x416b3b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408740
int3
Function at 0x416de0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d61d
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x420], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], 0
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x416f67
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x485834
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00408ed0
test al, al
jne 0x416e6b
push 1
push 0x485834
mov ecx, esi
call fcn.00408fb0
push 0
push 0
push 3
push 0
push 3
push 0
mov dword [ebp - 4], 0
push 0x485838
mov dword [ebp - 0x424], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x416f49
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x420], 0
push 0
push eax
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
call fcn.00424870
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0xc
lea eax, [ebp - 0x41c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x416f42
lea ebx, [ebp - 0x410]
add ebx, dword [ebp - 0x400]
movsx eax, byte [ebx]
push eax
call fcn.0043900e
add esp, 4
test eax, eax
je 0x416f42
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416f30
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.00408fb0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408740
int3
Function at 0x417230
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d71c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x41726a
xor eax, eax
jmp 0x417431
lea ecx, [ebp - 0xbc]
call fcn.00416de0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0
call fcn.00416f80
mov byte [ebp - 4], 1
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x41744c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc0], eax
lea edx, [ebp - 0xc0]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.004170c0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xb0], 0x67452301
mov dword [ebp - 0xac], 0xefcdab89
mov dword [ebp - 0xa8], 0x98badcfe
cmp dword [edx - 4], 1
mov edi, dword [edx - 0xc]
mov dword [ebp - 0xa4], 0x10325476
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
jle 0x417328
push edi
lea ecx, [ebp - 0xbc]
call fcn.00408c50
mov edx, dword [ebp - 0xbc]
push edi
lea ecx, [ebp - 0xb0]
call fcn.00420a20
mov edx, dword [ebp - 0xb8]
add esp, 4
cmp dword [edx - 4], 1
mov edi, dword [edx - 0xc]
jle 0x417358
push edi
lea ecx, [ebp - 0xb8]
call fcn.00408c50
mov edx, dword [ebp - 0xb8]
push edi
lea ecx, [ebp - 0xb0]
call fcn.00420a20
mov edx, dword [ebp - 0xb4]
add esp, 4
cmp dword [edx - 4], 1
mov edi, dword [edx - 0xc]
jle 0x417388
push edi
lea ecx, [ebp - 0xb4]
call fcn.00408c50
mov edx, dword [ebp - 0xb4]
push edi
lea ecx, [ebp - 0xb0]
call fcn.00420a20
add esp, 4
lea ecx, [ebp - 0xb0]
mov edx, esi
call fcn.00420b00
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0xb4]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4173c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0xc0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4173e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0xb8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41740a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xbc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41742c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408740
int3
Function at 0x418380
Capabilities:
Get file size
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d938
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x48d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x48dae4], 8
mov eax, 0x48dad0
push 0
cmovae eax, dword [0x48dad0]
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x418507
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
push edi
cmove esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0x80000
jb 0x418507
cmp dword [0x48dae4], 8
lea ecx, [ebp - 0x10]
mov eax, 0x48dad0
cmovae eax, dword [0x48dad0]
push eax
call fcn.004092a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x41843d
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x418453
call fcn.004014e0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x41851e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x485980
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00409340
test al, al
jne 0x41847c
push ecx
lea ecx, [ebp - 0x14]
call fcn.00417850
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push dword [esi - 0xc]
push esi
call fcn.00409c30
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4184ab
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x48dae4], 8
mov ebx, 0x48dad0
mov edi, dword [ebp - 0x10]
cmovae ebx, dword [0x48dad0]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push edi
call esi
mov edx, 1
mov ecx, edi
call fcn.0041a310
push 0
push ebx
call esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x418507
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408740
int3
Function at 0x418d50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44da6b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x234], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], esi
push 0
push eax
call fcn.00424870
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [0x48f800]
cmp eax, dword [ecx + 4]
jle 0x418dfe
push 0x48f800
call fcn.004224db
add esp, 4
cmp dword [0x48f800], 0xffffffff
jne 0x418dfe
xor eax, eax
mov dword [0x48f814], 0
push 0x44e540
mov dword [0x48f818], 7
mov word [0x48f804], ax
call fcn.00422965
push 0x48f800
call fcn.00422491
add esp, 8
cmp dword [0x48f814], 0
jne 0x418ed4
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418e43
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00407590
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
mov ecx, 0x48f804
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00407590
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x418ed4
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418eca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418efc
push edx
push ecx
call fcn.0042297a
add esp, 8
push 0x48f804
mov ecx, esi
call fcn.0040e900
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret
call fcn.004309e5
int3
Function at 0x418f10
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dac2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], esi
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.00424870
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418fa5
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407590
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x419001
cmp dword [esi + 0x14], 8
jb 0x418fd5
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x482750]
je 0x418fff
add ecx, 2
cmp ecx, 4
jb 0x418fe0
push 1
push 0x486c90
mov ecx, esi
call fcn.00407dd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret

Function at 0x419020
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dac2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], esi
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.00424870
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4190b5
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407590
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x419111
cmp dword [esi + 0x14], 8
jb 0x4190e5
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x482750]
je 0x41910f
add ecx, 2
cmp ecx, 4
jb 0x4190f0
push 1
push 0x486c90
mov ecx, esi
call fcn.00407dd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret