joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d52a3
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
xor edx, edx
xor esi, esi
test edi, edi
jle 0x4d53d6
mov ebx, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 4], eax
cmp eax, 2
jl 0x4d52e0
movzx eax, byte [esi + ebx]
cmp eax, 0x2f72
jne 0x4d52e0
movzx eax, byte [esi + ebx + 1]
cmp eax, 0x2f6e
je 0x4d5318
mov al, byte [esi + ebx]
movzx edi, al
mov dword [ebp - 8], edi
cmp edi, 0x2f6e
mov edi, dword [ebp + 0xc]
je 0x4d5318
cmp al, 0x3d
jne 0x4d52fe
inc edx
cmp edx, 2
jg 0x4d5342
cmp al, 0x7f
ja 0x4d5342
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x63e190]
cmp al, 0x7f
je 0x4d5342
cmp al, 0x40
jae 0x4d5317
test edx, edx
jne 0x4d5342
inc ecx
mov eax, dword [ebp - 4]
inc esi
dec eax
mov dword [ebp - 4], eax
cmp esi, edi
jl 0x4d52c4
test ecx, ecx
je 0x4d53d6
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x4d534a
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x4d5344
push 0xffffffffffffffee
pop eax
jmp 0x4d53d8
mov edx, dword [ebp + 0x10]
xor ebx, ebx
and dword [ebp - 8], ebx
push 3
pop ecx
mov dword [ebp + 0xc], ecx
test esi, esi
jle 0x4d53d1
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 8]
movzx ecx, byte [eax]
cmp ecx, 0x2f72
je 0x4d53c5
cmp ecx, 0x2f6e
je 0x4d53c5
mov cl, byte [ecx + 0x63e190]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub dword [ebp + 0xc], eax
movzx eax, cl
and eax, 0x3f
or ebx, eax
inc edi
cmp edi, 4
jne 0x4d53c2
mov ecx, dword [ebp + 0xc]
xor edi, edi
test ecx, ecx
jle 0x4d53a8
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp ecx, 1
jle 0x4d53b5
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
mov eax, dword [ebp + 8]
cmp ecx, 2
jle 0x4d53c5
mov byte [edx], bl
inc edx
jmp 0x4d53c5
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x4d5362
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d972b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004f0ae0
lea eax, [ebp - 0x20c]
push str.C:loghost.log
push eax
call fcn.00500d07
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00474193
mov esp, ebp
pop ebp
ret

Function at 0x4d9786
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004f0ae0
lea eax, [ebp - 0x20c]
push str.C:logxzq.log
push eax
call fcn.00500d07
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00474193
mov esp, ebp
pop ebp
ret
Function at 0x4d97e1
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x61c]
push esi
xor edi, edi
push edi
push eax
call fcn.004f0ae0
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.00500eaa
push 0x3e8
lea eax, [ebp - 0xc0c]
push edi
push eax
call fcn.004f0ae0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._sxzq.log
push eax
call fcn.004d96ef
push esi
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.004f0ae0
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004f0ae0
add esp, 0x48
lea eax, [ebp - 0x20c]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004efdf4
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x4d99b6
lea eax, [ebp - 0x20c]
push eax
call fcn.00500d29
lea eax, [ebp + eax*2 - 0x20a]
push eax
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.00500eaa
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.004d96ef
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xc0c]
push 0x1f3
push 0x1f4
push eax
call fcn.00404e30
xor eax, eax
add esp, 0x38
mov word [ebp - 0x826], ax
lea eax, [ebp - 0x414]
push eax
call esi
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x63e7d0
push eax
cmovne edi, ebx
call fcn.004f7d30
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4d99b6
test edi, edi
jne 0x4d995c
push esi
push 2
lea eax, [ebp - 0xc14]
mov dword [ebp - 0xc14], 0xfeff
push ebx
push eax
call fcn.004f8af6
add esp, 0x10
lea eax, [ebp - 0xc0c]
push eax
call fcn.00500d29
push esi
add eax, eax
push eax
lea eax, [ebp - 0xc0c]
push ebx
push eax
call fcn.004f8af6
push esi
push 2
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xc10], 0xd
push ebx
push eax
call fcn.004f8af6
push esi
push 2
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xc10], 0xa
push ebx
push eax
call fcn.004f8af6
push esi
call fcn.004f7b03
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474193
mov esp, ebp
pop ebp
ret
Function at 0x4d99c7
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2034
call fcn.004741b0
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x61c]
push edi
xor esi, esi
push esi
push eax
call fcn.004f0ae0
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.00500eaa
push 0x800
lea eax, [ebp - 0x1024]
push esi
push eax
call fcn.004f0ae0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._sxzq.log
push eax
call fcn.004d96ef
push edi
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.004f0ae0
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004f0ae0
add esp, 0x48
lea eax, [ebp - 0x20c]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004efdf4
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x4d9bf4
lea eax, [ebp - 0x20c]
push eax
call fcn.00500d29
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.00500eaa
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.004d96ef
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1024]
push 0x3ff
push 0x400
push eax
call fcn.00404e30
push esi
call fcn.004f8bf2
mov dword [ebp - 0x2034], eax
lea eax, [ebp - 0x2034]
push eax
mov dword [ebp - 0x2030], edx
call fcn.005026ea
add esp, 0x40
lea ecx, [ebp - 0x1024]
push ecx
push dword [eax]
mov ecx, dword [eax + 0x10]
push dword [eax + 4]
inc ecx
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
lea eax, [ebp - 0x2024]
push str.__d__d__d__d__d__d_:_s
push eax
call fcn.004d970d
xor eax, eax
add esp, 0x24
mov word [ebp - 0x826], ax
lea eax, [ebp - 0x414]
push eax
call edi
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x63e7d0
push eax
cmovne esi, ebx
call fcn.004f7d30
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4d9bf4
test esi, esi
jne 0x4d9b9a
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xfeff
push ebx
push eax
call fcn.004f8af6
add esp, 0x10
lea eax, [ebp - 0x2024]
push eax
call fcn.00500d29
push edi
add eax, eax
push eax
lea eax, [ebp - 0x2024]
push ebx
push eax
call fcn.004f8af6
push edi
push 2
lea eax, [ebp - 0x2028]
mov dword [ebp - 0x2028], 0xd
push ebx
push eax
call fcn.004f8af6
push edi
push 2
lea eax, [ebp - 0x2028]
mov dword [ebp - 0x2028], 0xa
push ebx
push eax
call fcn.004f8af6
push edi
call fcn.004f7b03
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474193
mov esp, ebp
pop ebp
ret
Function at 0x4db5f5
Capabilities:
Check if file exists
Move file

Disassembly:
push 0x2b8
mov eax, 0x554792
call fcn.00513ea1
push 0x3a
pop ecx
mov esi, str.uI7EmvQMpCJhDHyBEDEGDPncxmwQXrmeIzImhUuDktsjVEHkjkaN4XmYoxgjRpZXay84JRZ2jIYauWN0kJtNmeEGn5jpAXjhKOiRrKasF9EYAhEfUbmhYp0FKm9y1xXqBVlfZmYD9k3mFB7R0C7ixoYa5KZt6KW3wuKi4OO7D45KvAKVOkNT4MpiuvGxeHX52lE4hGjPMVJrNx6LXrV3dkq7EuMwkSjOcMlrJ0l9
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0xfc]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
push 0x69
pop ecx
mov dword [ebp - 0x2c4], eax
movsb byte es:[edi], byte [esi]
mov esi, str.90H52iZCqxWZcmAMAKKmbwZaqwzpjhbooDCfDy3SH3ZjB5MDmLNjIT9rBOlhJChOc7gQLodo2BUieKx0k6EgzNQaFdHew26S84dwO588Z5uT82m9lU85AB0nO8eJfuu4zdMZ8ZOwQJd8jGIPJRnLAnrvHcZGERdTwXZfLV5nIMn0LFmnuqEu2ePrzK3QM2m1VOauvbu5nIcC4l3jj4uqLHjSBdjoWUtQZBZJ9seqlgQG8pD8Ih95VmLNxNv7jPsoUptkBHDL5RGrd2Vd3SWNmdDa5fpWdzXDaUzrFFpHvBC8Ikwjx6MEWexYWmf96ssBt9OTCBKqjbss5GshZuz8AUnqjYdXSLTRi9C6zvl91EX6SBg3pRG5UCawJUtJNkpgfRRo72DHRmro83BW19ygCeKxeX8M4FBEUkk
mov dword [ebp - 0x2c0], eax
lea edi, [ebp - 0x2a0]
mov dword [ebp - 0x2bc], eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2b8]
lea eax, [ebp - 0xfc]
push eax
call fcn.004057d0
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00408170
push 0
push 1
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0
call fcn.004096c0
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.004057d0
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00408170
push 0
push 1
lea ecx, [ebp - 0x2b8]
call fcn.004096c0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4db6c7
push 5
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x2c4]
call fcn.0047920e
call fcn.00513e4b
ret
Function at 0x4dbb75
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0x45c
mov eax, 0x554896
call fcn.00513ea1
push 0x51
pop ecx
mov esi, str.NFtNAIMLyR8hRBUlzxTmlGcjjuqYu1mTYQzXoZIklJ4IwUo3ksSMkVFKCj4LOGWDHAgcZ43XoRHqJWcx98N2BHQVo9Ou7P43G4I9e6qH0hu6IALbPl4Y1vnnfVODguVZPRq4XFfHkLqB5Z3IPUd3gLcgVgVbSqnohphuoccH9Xr4pCwfTwpQITxWotFLthiOIVNcDMeq0CKROGtYBPCxu49pYzXz0AtFiC4tw8X8d5w3A58sxa6REY25rCgBzizv932zKcdjlkepjStfr7BhZZQ5q6bEuN5QH9BprbK5q0nVlscHz8xPegiyA84Q04HnTCeBo
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x444]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
push 0x38
pop ecx
mov dword [ebp - 0x468], eax
movsw word es:[edi], word [esi]
mov esi, str.qeOk30nD3Q23fiw56mCOXSZ22uHrj1r1wgmDqZUgpOps9Wb0B3GaKU2B2pdd6Of8i6KDI3XuaVNZ6ZRDsori711uZbO013hRCtOFqZU0kvHkIHmGmehKCGv5NkCLdGcSB5GKMnmvQwjZzYWJIMNRqtyG7KDZ2fn3DBYl1aFfQryr9ReyV6Nla1bhRNffC1iDPK7lcJJZSQfK88eryxyQ5xBEytIqIckM
mov dword [ebp - 0x464], eax
lea edi, [ebp - 0x2fc]
mov dword [ebp - 0x460], eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x45c]
lea eax, [ebp - 0x444]
push eax
call fcn.004057d0
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x468]
call fcn.00408170
push 0
push 1
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 0
call fcn.004096c0
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x45c]
call fcn.004057d0
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x468]
call fcn.00408170
push 0
push 1
lea ecx, [ebp - 0x45c]
call fcn.004096c0
push str..del
push ebx
call fcn.004efe95
pop ecx
pop ecx
test eax, eax
je 0x4dbc4e
push 5
push 0
push ebx
jmp 0x4dbcd5
xor esi, esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x218]
test esi, esi
jne 0x4dbc81
push ebx
push str._s.del
push eax
call fcn.004081f0
add esp, 0xc
jmp 0x4dbc91
push esi
push ebx
push str._s.del_d
push eax
call fcn.004081f0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dbcbb
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4dbcbb
cmp esi, 0xa
jge 0x4dbcdb
inc esi
jmp 0x4dbc50
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.004f8c34
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x468]
call fcn.0047920e
call fcn.00513e4b
ret

Function at 0x4dbcec
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 1
push edi
push edi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4dbd2f
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4df34b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5550e1
call fcn.00513e6d
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.004cd512
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.004cd700
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x4df38b
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4df3eb
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4df3c6
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4df3eb
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.004cd5f7
call fcn.00513e36
ret 0xc
Function at 0x4df874
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x55517c
call fcn.00513ea1
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x4df96b
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x4df8f0
lea eax, [ebp - 0x218]
push eax
call fcn.00500d29
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402650
and dword [ebp - 4], 0
push 0x656b9c
call fcn.00500d29
pop ecx
push eax
push 0x656b9c
lea ecx, [ebp - 0x230]
call fcn.00404240
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.004df4d7
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x4df95c
call fcn.00402590
mov eax, edi
jmp 0x4dfa1d
or dword [ebp - 4], 0xffffffff
call fcn.00402590
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x4dfa1b
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x4df9b2
lea eax, [ebp - 0x218]
push eax
call fcn.00500d29
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402650
mov esi, 0x656b9c
mov dword [ebp - 4], 1
push esi
call fcn.00500d29
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00404240
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004df4d7
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00402590
test esi, esi
je 0x4dfa1b
mov eax, esi
jmp 0x4dfa1d
xor eax, eax
call fcn.00513e4b
ret 4
Function at 0x4e05a5
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x5552c0
call fcn.00513ea1
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x4e0610
lea eax, [ebp - 0x218]
push eax
call fcn.00500d29
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00402650
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.00500d29
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.00404240
xor ebx, ebx
cmp word [esi], bx
jne 0x4e064a
mov eax, ebx
jmp 0x4e0651
push esi
call fcn.00500d29
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00404240
mov esi, str..lnk
push esi
call fcn.00500d29
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00404240
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x4e075f
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.004f0ae0
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.004f0ae0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00500d07
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004def33
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.00500d29
pop ecx
test eax, eax
jne 0x4e074d
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00500d07
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x4e075f
xor esi, esi
inc esi
jmp 0x4e0761
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00402590
mov eax, esi
call fcn.00513e4b
ret 4
Function at 0x4e0779
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x678af0]
test al, al
jne 0x4e0812
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4e0809
lea eax, [ebp - 0x20c]
push eax
call fcn.004fb6f3
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004efe95
pop ecx
pop ecx
test eax, eax
jne 0x4e0801
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.004efe95
pop ecx
pop ecx
test eax, eax
je 0x4e0809
mov byte [0x678af0], bl
jmp 0x4e080f
mov bl, byte [0x678af0]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474193
mov esp, ebp
pop ebp
ret
Function at 0x4e11e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4e124f
lea eax, [ebp - 0x20c]
push 0x656b9c
push eax
call fcn.00500c96
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.004e0820
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474193
mov esp, ebp
pop ebp
ret 4
Function at 0x4e194c
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555636
mov eax, dword fs:[0]
push eax
mov eax, 0x1304
call fcn.004741b0
mov eax, dword [0x672114]
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
push 0x67
pop ecx
mov esi, str.ubY5ZPZw4L1SIMWBoBEsHohhZK8pORtekeYBjxxKq8Vx3aPbiyzNwdGDJVJFcAj5X36UhRSfSumHmjPlCqQO8oo94ZhmLXmmVqqlviSE08kSfIH3oekyD5YXoCQ1RHDFbZRJvbLTezN5eFSGbMjNc3JgBBvY2js9HU1nCXMHP3MXaZuhPnpF9Bcd1s0u8fhxZg1XKkyiBM1LDhBOY8gEc6zGdshOqNgehXWzu3VS6YYBf6bcrBO9zRIuV1wd7MFBv5RVoT0fKj1eUp9eCh3sjU4WZllCwG90YlxjoHTBlQb3Whc9gfI6RayhOaTF9hzwQFqBWdtPlOKAHOO9oPfOgOszYtWxxiEKUr4h4AJ7pceI0CZddNsWmEor7LcfoKA4MBb1VbbfWhxugYqkfDZrshByZh6TAG
lea edi, [ebp - 0x34c]
rep movsd dword es:[edi], dword [esi]
push 0x66
pop ecx
xor ebx, ebx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x1310], ebx
mov dword [ebp - 0x130c], ebx
mov dword [ebp - 0x1308], ebx
movsb byte es:[edi], byte [esi]
mov esi, str.3H7WaPGnOddLbGehQKOHzWzQ78UAMoHicezMsGtN8odL6Ue6xE3aiiIRA5MayMZoOG2JQkaDjGWR7bEjqRQAQtSNoWOCtUNMzXTNukBT3yW03Xef7GEC6VzEzr3Wa2a10psHQMYOz0Q6nj5aKyiK7Q4mxFdBFShXLAbvZgES2ZZcPdnegEhg2z6b5a7HZLdYOKar2SR78oS5SRR6m4nijTDhwoh2kyUlBBDbWc2217OQ4dkuNtlsFSFfKB9hOnlSx4KHU9IlLGbbvd2auLaUbrPjvSRYonNDJ388CPxM5mKuVoK8XmydkoIfR1m9EsYQOA5SpriZkdCZ7zTkLwOOtg8ixUt0YfBRPWh3if2exHVGeNvajUqIW5QGtPV3T5f9IJN4SfpEVAMT53BfiKQfUbn9IW
lea edi, [ebp - 0x1ac]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x34c]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1304]
call fcn.004057d0
lea eax, [ebp - 0x1304]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1310]
call fcn.00408170
push ebx
push 1
lea ecx, [ebp - 0x1304]
mov byte [ebp - 4], bl
call fcn.004096c0
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x1304]
call fcn.004057d0
lea eax, [ebp - 0x1304]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1310]
call fcn.00408170
push ebx
push 1
lea ecx, [ebp - 0x1304]
call fcn.004096c0
push 0x7d0
lea eax, [ebp - 0x12ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x12ec]
push 0x6431ac
push eax
call fcn.00500c96
pop ecx
pop ecx
lea eax, [ebp - 0x12ec]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x1310]
sbb esi, esi
neg esi
call fcn.0047920e
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.00474193
mov esp, ebp
pop ebp
ret
Function at 0x4e2516
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.004f0ae0
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 0xa
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00474193
mov esp, ebp
pop ebp
ret

Function at 0x4e256d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.004f0ae0
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
pop esi
jb 0x4e25c3
cmp dword [ebp - 0x118], 2
jb 0x4e25c3
xor eax, eax
inc eax
jmp 0x4e25cd
cmp dword [ebp - 0x11c], 0xa
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474193
mov esp, ebp
pop ebp
ret