joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d8360
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x4d8430
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x4d83ce
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.004d7fc0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4d83a0
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x4d84d7
call 0x4d83e0
pop edx
lea ecx, [edx + 0x120]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x4d8480
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.004d7fc0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4d843d
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x4d84d7
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.004d7fc0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4d84d5
jmp 0x4d84d7
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4d8540
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x4d8619
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x4d85b7
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.004d8100
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4d8589
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x4d86c0
call 0x4d85c9
pop edx
lea ecx, [edx + 0x137]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x4d8669
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.004d8230
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4d8626
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x4d86c0
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.004d8230
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4d86be
jmp 0x4d86c0
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4dc3d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x4dc4af
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x4dc445
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004dba80
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4dc40f
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4dc566
call 0x4dc457
pop edx
lea ecx, [edx + 0x129]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x4dc507
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004dbf30
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4dc4bc
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4dc566
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004dbf30
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4dc564
jmp 0x4dc566
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4dce00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x4dcedf
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x4dce75
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004dc5c0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4dce3f
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4dcf96
call 0x4dce87
pop edx
lea ecx, [edx + 0x139]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x4dcf37
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004dc9e0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4dceec
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4dcf96
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004dc9e0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4dcf94
jmp 0x4dcf96
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4e1640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60119a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x697bc0]
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
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.005c2f33
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4e16e6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.005c883b
push 0x68bbd4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.005c6c18
push edi
push esi
call fcn.005c37f7
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.005c6c09
mov esp, ebp
pop ebp
ret 4

Function at 0x4e1e00
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x601228
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x697bc0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.004f0d50
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.004e1d30
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x4e1e71
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.005c883b
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x4e1e9a
push dword [esp + 0xc]
call fcn.005c4337
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e2a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4e2acb
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x4e2a8d
cmp eax, 2
jne 0x4e2aa9
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x4e2ac5
test ecx, ecx
je 0x4e2ac0
test cl, 1
jne 0x4e2aa9
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4e2ac5
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e49e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60156b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x697bc0]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov eax, dword [0x697bc0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [0x6a2bd8]
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], 0
test al, 1
jne 0x4e4a64
or eax, 1
mov dword [0x6a2c0c], 7
mov dword [0x6a2bd8], eax
xor eax, eax
push 0x6147a0
mov dword [0x6a2c08], 0
mov word [0x6a2bf8], ax
call fcn.005c45a7
add esp, 4
push 0
push 0x66dd94
push dword [0x6a2c08]
mov ecx, 0x6a2bf8
push 0
call fcn.004f1ca0
test eax, eax
jne 0x4e4b79
push 0x104
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp word [esp + 0x44], ax
jne 0x4e4ab7
xor ecx, ecx
jmp 0x4e4acf
lea ecx, [esp + 0x44]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e4ac0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
call fcn.004ef630
push 0x66ddb0
lea eax, [esp + 0x30]
mov dword [esp + 0x264], 0
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004f47b0
mov edi, eax
add esp, 0xc
cmp edi, 0x6a2bf8
je 0x4e4b48
cmp dword [0x6a2c0c], 8
jb 0x4e4b21
push dword [0x6a2bf8]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [0x6a2c0c], 7
push edi
mov ecx, 0x6a2bf8
mov dword [0x6a2c08], 0
mov word [0x6a2bf8], ax
call fcn.004f18b0
cmp dword [esp + 0x28], 8
jb 0x4e4b5b
push dword [esp + 0x14]
call fcn.005c4337
add esp, 4
mov dword [esp + 0x260], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x4e4b79
push dword [esp + 0x2c]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x6a2bf8
mov word [esi], ax
call fcn.004f19e0
mov eax, esi
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x4e4bc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60156b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x697bc0]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov eax, dword [0x697bc0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [0x6a2c94]
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], 0
test al, 1
jne 0x4e4c44
or eax, 1
mov dword [0x6a2b80], 7
mov dword [0x6a2c94], eax
xor eax, eax
push 0x614800
mov dword [0x6a2b7c], 0
mov word [0x6a2b6c], ax
call fcn.005c45a7
add esp, 4
push 0
push 0x66dd94
push dword [0x6a2b7c]
mov ecx, 0x6a2b6c
push 0
call fcn.004f1ca0
test eax, eax
jne 0x4e4d59
push 0x104
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp word [esp + 0x44], ax
jne 0x4e4c97
xor ecx, ecx
jmp 0x4e4caf
lea ecx, [esp + 0x44]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e4ca0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
call fcn.004ef630
push str._sysnative_
lea eax, [esp + 0x30]
mov dword [esp + 0x264], 0
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004f47b0
mov edi, eax
add esp, 0xc
cmp edi, 0x6a2b6c
je 0x4e4d28
cmp dword [0x6a2b80], 8
jb 0x4e4d01
push dword [0x6a2b6c]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [0x6a2b80], 7
push edi
mov ecx, 0x6a2b6c
mov dword [0x6a2b7c], 0
mov word [0x6a2b6c], ax
call fcn.004f18b0
cmp dword [esp + 0x28], 8
jb 0x4e4d3b
push dword [esp + 0x14]
call fcn.005c4337
add esp, 4
mov dword [esp + 0x260], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x4e4d59
push dword [esp + 0x2c]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x6a2b6c
mov word [esi], ax
call fcn.004f19e0
mov eax, esi
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x4e4da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60152b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x697bc0]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
mov eax, dword [0x697bc0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [0x6a2bf0]
mov esi, dword [ebp + 8]
mov dword [esp + 8], 0
test al, 1
jne 0x4e4e23
or eax, 1
mov dword [0x6a2c74], 7
mov dword [0x6a2bf0], eax
xor eax, eax
push 0x614860
mov dword [0x6a2c70], 0
mov word [0x6a2c60], ax
call fcn.005c45a7
add esp, 4
push 0
push 0x66dd94
push dword [0x6a2c70]
mov ecx, 0x6a2c60
push 0
call fcn.004f1ca0
test eax, eax
jne 0x4e4eda
lea eax, [esp + 0x24]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
cmp word [esp + 0x24], ax
jne 0x4e4e76
xor ecx, ecx
jmp 0x4e4e8f
lea ecx, [esp + 0x24]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e4e80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.004ef630
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x248], 0
push eax
mov ecx, 0x6a2c60
call fcn.004f19e0
mov dword [esp + 0x240], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x4e4eda
push dword [esp + 0xc]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x6a2c60
mov word [esi], ax
call fcn.004f19e0
mov eax, esi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x4e4f20
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60156b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x697bc0]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov eax, dword [0x697bc0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [0x6a2be8]
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], 0
test al, 1
jne 0x4e4fa4
or eax, 1
mov dword [0x6a2c90], 7
mov dword [0x6a2be8], eax
xor eax, eax
push 0x6148c0
mov dword [0x6a2c8c], 0
mov word [0x6a2c7c], ax
call fcn.005c45a7
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
push eax
mov dword [esp + 0x264], eax
lea eax, [esp + 0x48]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4e500e
cmp word [esp + 0x44], 0
jne 0x4e4fe2
xor ecx, ecx
jmp 0x4e4fff
lea ecx, [esp + 0x44]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e4ff0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
call fcn.004ef630
push 0x66ddb0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004f47b0
mov edi, eax
add esp, 0xc
cmp edi, 0x6a2c7c
je 0x4e506d
cmp dword [0x6a2c90], 8
jb 0x4e5046
push dword [0x6a2c7c]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [0x6a2c90], 7
push edi
mov ecx, 0x6a2c7c
mov dword [0x6a2c8c], 0
mov word [0x6a2c7c], ax
call fcn.004f18b0
cmp dword [esp + 0x28], 8
jb 0x4e5080
push dword [esp + 0x14]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x6a2c7c
mov word [esi], ax
call fcn.004f19e0
cmp dword [esp + 0x40], 8
jb 0x4e50b5
push dword [esp + 0x2c]
call fcn.005c4337
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x4e50e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6015ab
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x697bc0]
xor eax, esp
mov dword [esp + 0x44c], eax
push esi
push edi
mov eax, dword [0x697bc0]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov eax, dword [0x6a2b68]
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], 0
test al, 1
jne 0x4e5164
or eax, 1
mov dword [0x6a2c58], 7
mov dword [0x6a2b68], eax
xor eax, eax
push 0x614920
mov dword [0x6a2c54], 0
mov word [0x6a2c44], ax
call fcn.005c45a7
add esp, 4
push 0x104
lea eax, [esp + 0x250]
push 0
push eax
call fcn.005c63d0
push 0x104
lea eax, [esp + 0x54]
push 0
push eax
call fcn.005c63d0
xor eax, eax
mov dword [esp + 0x58], 7
add esp, 0x18
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x468], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e51f0
lea ecx, [esp + 0x24c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4e51f0
push 0x104
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp word [esp + 0x44], 0
jne 0x4e51fc
xor ecx, ecx
jmp 0x4e5212
lea ecx, [esp + 0x44]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e5203
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
call fcn.004ef630
push 0x66ddb0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f47b0
mov edi, eax
add esp, 0xc
cmp edi, 0x6a2c44
je 0x4e5280
cmp dword [0x6a2c58], 8
jb 0x4e5259
push dword [0x6a2c44]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [0x6a2c58], 7
push edi
mov ecx, 0x6a2c44
mov dword [0x6a2c54], 0
mov word [0x6a2c44], ax
call fcn.004f18b0
cmp dword [esp + 0x24], 8
jb 0x4e5293
push dword [esp + 0x10]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x6a2c44
mov word [esi], ax
call fcn.004f19e0
cmp dword [esp + 0x40], 8
jb 0x4e52c8
push dword [esp + 0x2c]
call fcn.005c4337
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret