joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d50eb
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x554842
call fcn.00514880
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 8]
or ebx, 0xffffffff
cmp ecx, ebx
sete al
test al, al
je 0x4d5117
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x4d5278
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4d5145
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4d5145
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x4d5278
cmp dword [esi + 0x4c], 0
je 0x4d5276
mov ecx, esi
call fcn.004d4a8c
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x4d5175
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.004d199f
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x4d5276
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x14], 0xf
call fcn.004d4b80
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call dword [edi + 0x1c]
test eax, eax
js 0x4d526a
cmp eax, 1
jg 0x4d524f
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x4d5220
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.004f9511
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x4d526a
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x4d524a
test edx, edx
jne 0x4d51a0
cmp dword [ebp - 0x18], 0x20
jae 0x4d526a
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.004d4b1f
jmp 0x4d519d
mov ebx, dword [ebp + 8]
jmp 0x4d526a
cmp eax, 3
jne 0x4d526a
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.004d199f
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00479e2e
mov eax, ebx
call fcn.0051483b
ret 4
Function at 0x4d5cf8
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 0x4d5e2b
mov ebx, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 4], eax
cmp eax, 2
jl 0x4d5d35
movzx eax, byte [esi + ebx]
cmp eax, 0x2f72
jne 0x4d5d35
movzx eax, byte [esi + ebx + 1]
cmp eax, 0x2f6e
je 0x4d5d6d
mov al, byte [esi + ebx]
movzx edi, al
mov dword [ebp - 8], edi
cmp edi, 0x2f6e
mov edi, dword [ebp + 0xc]
je 0x4d5d6d
cmp al, 0x3d
jne 0x4d5d53
inc edx
cmp edx, 2
jg 0x4d5d97
cmp al, 0x7f
ja 0x4d5d97
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x63e8b8]
cmp al, 0x7f
je 0x4d5d97
cmp al, 0x40
jae 0x4d5d6c
test edx, edx
jne 0x4d5d97
inc ecx
mov eax, dword [ebp - 4]
inc esi
dec eax
mov dword [ebp - 4], eax
cmp esi, edi
jl 0x4d5d19
test ecx, ecx
je 0x4d5e2b
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x4d5d9f
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x4d5d99
push 0xffffffffffffffee
pop eax
jmp 0x4d5e2d
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 0x4d5e26
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 8]
movzx ecx, byte [eax]
cmp ecx, 0x2f72
je 0x4d5e1a
cmp ecx, 0x2f6e
je 0x4d5e1a
mov cl, byte [ecx + 0x63e8b8]
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 0x4d5e17
mov ecx, dword [ebp + 0xc]
xor edi, edi
test ecx, ecx
jle 0x4d5dfd
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp ecx, 1
jle 0x4d5e0a
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
mov eax, dword [ebp + 8]
cmp ecx, 2
jle 0x4d5e1a
mov byte [edx], bl
inc edx
jmp 0x4d5e1a
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x4d5db7
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 0x4da1a3
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004f14e0
lea eax, [ebp - 0x20c]
push str.C:loghost.log
push eax
call fcn.00501787
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.00474d9e
mov esp, ebp
pop ebp
ret

Function at 0x4da1fe
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004f14e0
lea eax, [ebp - 0x20c]
push str.C:logxzq.log
push eax
call fcn.00501787
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.00474d9e
mov esp, ebp
pop ebp
ret
Function at 0x4da259
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x673114]
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.004f14e0
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0050190f
push 0x3e8
lea eax, [ebp - 0xc0c]
push edi
push eax
call fcn.004f14e0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._sxzq.log
push eax
call fcn.004da167
push esi
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.004f14e0
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004f14e0
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.004f07f4
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 0x4da42e
lea eax, [ebp - 0x20c]
push eax
call fcn.005017a9
lea eax, [ebp + eax*2 - 0x20a]
push eax
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.0050190f
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.004da167
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 0x63eef8
push eax
cmovne edi, ebx
call fcn.004f874b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4da42e
test edi, edi
jne 0x4da3d4
push esi
push 2
lea eax, [ebp - 0xc14]
mov dword [ebp - 0xc14], 0xfeff
push ebx
push eax
call fcn.004f9511
add esp, 0x10
lea eax, [ebp - 0xc0c]
push eax
call fcn.005017a9
push esi
add eax, eax
push eax
lea eax, [ebp - 0xc0c]
push ebx
push eax
call fcn.004f9511
push esi
push 2
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xc10], 0xd
push ebx
push eax
call fcn.004f9511
push esi
push 2
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xc10], 0xa
push ebx
push eax
call fcn.004f9511
push esi
call fcn.004f851e
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474d9e
mov esp, ebp
pop ebp
ret
Function at 0x4da43f
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2034
call fcn.00474db0
mov eax, dword [0x673114]
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.004f14e0
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0050190f
push 0x800
lea eax, [ebp - 0x1024]
push esi
push eax
call fcn.004f14e0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._sxzq.log
push eax
call fcn.004da167
push edi
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.004f14e0
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004f14e0
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.004f07f4
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 0x4da66c
lea eax, [ebp - 0x20c]
push eax
call fcn.005017a9
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.0050190f
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.004da167
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.004f960d
mov dword [ebp - 0x2034], eax
lea eax, [ebp - 0x2034]
push eax
mov dword [ebp - 0x2030], edx
call fcn.0050314a
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.004da185
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 0x63eef8
push eax
cmovne esi, ebx
call fcn.004f874b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4da66c
test esi, esi
jne 0x4da612
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xfeff
push ebx
push eax
call fcn.004f9511
add esp, 0x10
lea eax, [ebp - 0x2024]
push eax
call fcn.005017a9
push edi
add eax, eax
push eax
lea eax, [ebp - 0x2024]
push ebx
push eax
call fcn.004f9511
push edi
push 2
lea eax, [ebp - 0x2028]
mov dword [ebp - 0x2028], 0xd
push ebx
push eax
call fcn.004f9511
push edi
push 2
lea eax, [ebp - 0x2028]
mov dword [ebp - 0x2028], 0xa
push ebx
push eax
call fcn.004f9511
push edi
call fcn.004f851e
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474d9e
mov esp, ebp
pop ebp
ret
Function at 0x4dc06d
Capabilities:
Check if file exists
Move file

Disassembly:
push 0x364
mov eax, 0x555210
call fcn.00514880
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x17c]
push 0x5b
pop ecx
mov esi, str.qq6eFPa2vf7PVUn80rXVSvDFC8ow2kqUfjaBdVgAfbyNz9zgZxORBvXmsk4BzF69gO0Q555SeLYDtiLVhMUVXBNzZMzYSrvRsvbnCNBmZZ692q1bc9UXSDoyZD6ploslFEsi1TL0R7MTu8vMNUrQ4PMN4jwLWnaAEuB2zt8QfPdQbAeQFflMppepAyNCk4sCIHNbPtwhlpK0bc4eak5DkQX6BTlCEpySFRQ9t86HEmanIm6SRVdXNfFiAHyf2ZpgbPnnkkhk1UhGzlZtdPh0ewFBftyLvdDRVDakk1G3CCzfqglNPUV7wFJYzDYp8d099xX8CWzQIYeeYrp3y8JYPfhP2W8KyhxcBpcHdtTRsh7
xor eax, eax
rep movsd dword es:[edi], dword [esi]
push 0x74
pop ecx
mov esi, str.PA8QSjJEZ8DzXgBs5VnioF1DRe8AhUQw7whLtErhAgNVMjxOrq81kQdv1XsxASOCB3XbvDNSMP2JBPB7x1lSXMgm6E9fn1kl9RmcezEQjUIQWBOhcphL1tz3dm4E6wenbMDZyduCQrrAWVPOUlOC8YqVAl9mEOBt74B9fEu5zuUx4XpdB7dxHxaA6zsw92oHS4AssMdhhawPd4g4dsP72oAXKhHkgTnjXByhONjsabzZwivN0R4kTy8UAnpY3AOXDOjxDCjGo77RdtFOOeXeRQqOpB3izyUFl9y7I3goeKYMbycCnAi0ssVbV2oq8aVolbKbAg0BFCnknq3y7wtSoTRXMlphFO3KUwSxv1atNtx2jFFy3YYE5LaQoKFbhVvbtsI9WaRgUMhVuO1FrWDUhj1mqUWiS7i6cOXPKWU3Okl8p3YGinQYNPm6tkQNk2Fri8xbkXYiqe4rvBq
mov dword [ebp - 0x370], eax
lea edi, [ebp - 0x34c]
mov dword [ebp - 0x36c], eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x368], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x364]
lea eax, [ebp - 0x17c]
push eax
call fcn.004057d0
lea eax, [ebp - 0x364]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x370]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0
call fcn.00479e2e
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x364]
call fcn.004057d0
lea eax, [ebp - 0x364]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x370]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x364]
call fcn.00479e2e
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dc13e
push 5
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x370]
call fcn.00479e80
call fcn.0051483b
ret
Function at 0x4dc5e9
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0x548
mov eax, 0x555314
call fcn.00514880
push 0x6d
pop ecx
mov esi, str.7PnahJ7EwS8uy2ygMOdUuPvb26VUpZOLQsYhFvSailatQ4UTb5Q4DeGsDrPJXpytsN6AzRxIA4EwakZse65HUXKVG9ig2yRbgwf8UmlNKi5hDQ7zTZJ008OlLbnZ5TDWyHGR3gzb2oWNiPdrHYojxBJ1tD37haAqHOI89y8S3edaOlIt1n10qsLwTPbg0D3nHjvXgKC3hKtg48Yp9Z5pQlwaY5zi77no09gyVZc8yYPWo2WJuXYidyr2D56GBpIXw0m4uIuJjvimbSxlNfPadMi24uueQxyINa925t4mBDcQ28v1yZlbQNq0447qEoblGaEnJoGLifS2iIlZJQjlR0rxYJ3CNc5lrMtym8WHZCP8QKgkDqiHRijHE3nLlu742PcZcRxaBiHWOWRcEnmP4G3z7rqLe88kIkJNpP0alZZfJ5ff5h0j
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x530]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
push 0x58
pop ecx
mov dword [ebp - 0x554], eax
movsb byte es:[edi], byte [esi]
mov esi, str.Zk7U3vIJaJuWsqtF1XoBdMGeHCkCqXrnLB3S7Jdc62sDdrxP9hEMIDj14ctsNlBxcrSziKPJYyezPNcbhRuhU9fTfIzojZcbIO5CFJaj7zopERSfZCQX2zeR2sblxCtEHhx7U1oYnxAxc7l0lL0IMbk0JReWjrvJ5hWoHMlM0WefQzo4qSoFI3r4JX03mjOjJF1lKTzsYkhGapRJ60H1PvMkvcPZwIyw4Bpr6J2VqdbhwN0Np4aoRzMTPPXX1Dq3foNpwojZwy8K5YhwsgOGqciXY1jwet1jCvhue5JDcdhq3NoxFj9t0nh2F3jir01YScRJiztE55MmA5FIU8w1bA1nmaTSuR4
mov dword [ebp - 0x550], eax
lea edi, [ebp - 0x378]
mov dword [ebp - 0x54c], eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x548]
lea eax, [ebp - 0x530]
push eax
call fcn.004057d0
lea eax, [ebp - 0x548]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x554]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x548]
mov byte [ebp - 4], 0
call fcn.00479e2e
lea eax, [ebp - 0x378]
push eax
lea ecx, [ebp - 0x548]
call fcn.004057d0
lea eax, [ebp - 0x548]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x554]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x548]
call fcn.00479e2e
push str..del
push ebx
call fcn.004f0895
pop ecx
pop ecx
test eax, eax
je 0x4dc6c0
push 5
push 0
push ebx
jmp 0x4dc747
xor esi, esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x218]
test esi, esi
jne 0x4dc6f3
push ebx
push str._s.del
push eax
call fcn.00408010
add esp, 0xc
jmp 0x4dc703
push esi
push ebx
push str._s.del_d
push eax
call fcn.00408010
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dc72d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4dc72d
cmp esi, 0xa
jge 0x4dc74d
inc esi
jmp 0x4dc6c2
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.004f964f
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x554]
call fcn.00479e80
call fcn.0051483b
ret
Function at 0x4dc75e
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 0x4dc7a1
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 0x4dfdb3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x555b16
call fcn.0051484c
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.004cdf02
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.004ce0f5
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x4dfdf3
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 0x4dfe53
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 0x4dfe2e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4dfe53
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.004cdfe8
call fcn.00514826
ret 0xc
Function at 0x4e02dd
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x555bb1
call fcn.00514880
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.004f14e0
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 0x4e03d4
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x4e0359
lea eax, [ebp - 0x218]
push eax
call fcn.005017a9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402650
and dword [ebp - 4], 0
push 0x6578fc
call fcn.005017a9
pop ecx
push eax
push 0x6578fc
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.004dff40
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x4e03c5
call fcn.00402590
mov eax, edi
jmp 0x4e0486
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 0x4e0484
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x4e041b
lea eax, [ebp - 0x218]
push eax
call fcn.005017a9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402650
mov esi, 0x6578fc
mov dword [ebp - 4], 1
push esi
call fcn.005017a9
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.004dff40
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00402590
test esi, esi
je 0x4e0484
mov eax, esi
jmp 0x4e0486
xor eax, eax
call fcn.0051483b
ret 4
Function at 0x4e100e
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x555cf5
call fcn.00514880
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.004f14e0
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 0x4e1079
lea eax, [ebp - 0x218]
push eax
call fcn.005017a9
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.005017a9
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.00404240
xor ebx, ebx
cmp word [esi], bx
jne 0x4e10b3
mov eax, ebx
jmp 0x4e10ba
push esi
call fcn.005017a9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00404240
mov esi, str..lnk
push esi
call fcn.005017a9
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 0x4e11c8
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.004f14e0
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.004f14e0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00501787
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004df99b
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004f14e0
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.005017a9
pop ecx
test eax, eax
jne 0x4e11b6
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00501787
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x4e11c8
xor esi, esi
inc esi
jmp 0x4e11ca
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00402590
mov eax, esi
call fcn.0051483b
ret 4
Function at 0x4e11e2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x679af8]
test al, al
jne 0x4e127b
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004f14e0
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 0x4e1272
lea eax, [ebp - 0x20c]
push eax
call fcn.004fc0ec
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004f0895
pop ecx
pop ecx
test eax, eax
jne 0x4e126a
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.004f0895
pop ecx
pop ecx
test eax, eax
je 0x4e1272
mov byte [0x679af8], bl
jmp 0x4e1278
mov bl, byte [0x679af8]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474d9e
mov esp, ebp
pop ebp
ret