joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f5a0
Capabilities:
Acquire credentials from windows credential manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x49e5a0]
lea edx, [ebp - 0x18]
movdqu xmm0, xmmword [0x49e590]
push ebx
mov ebx, dword [ebp + 0xc]
mov word [ebp - 8], ax
mov al, byte [0x49e5a2]
push esi
mov dword [ebp - 0x28], ecx
mov ecx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movdqu xmmword [ebp - 0x18], xmm0
mov byte [ebp - 6], al
call fcn.00447390
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CredEnumerateA]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44f6b4
xor esi, esi
test eax, eax
jle 0x44f6b4
sub edi, ebx
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x30]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44f630
sub eax, edx
test eax, eax
jle 0x44f66e
lea edi, [eax + 1]
push edi
call fcn.0046243d
mov ecx, dword [ebp - 0x24]
add esp, 4
lea ecx, [ecx + esi*4]
mov dword [ecx + ebx], eax
test eax, eax
je 0x44f6c2
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + esi*4]
push dword [ecx + 0x30]
push 0x49d988
push edi
push eax
call fcn.0046158b
add esp, 0x10
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x44f6aa
inc eax
push eax
call fcn.0046243d
mov edx, eax
add esp, 4
mov dword [ebx + esi*4], edx
test edx, edx
je 0x44f6c2
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + esi*4]
push dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
push 0x49dcb4
inc eax
push eax
push edx
call fcn.0046158b
add esp, 0x10
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x44f621
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x20]
mov eax, dword [eax + 0x418]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046125f
mov esp, ebp
pop ebp
ret 8
Function at 0x44ff70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x104
lea eax, [ebp - 0x213]
mov byte [ebp - 0x214], 0
push 0
push eax
mov edi, ecx
call fcn.004644a0
push 0x104
lea eax, [ebp - 0x10b]
mov byte [ebp - 0x10c], 0
push 0
push eax
call fcn.004644a0
add esp, 0x18
test edi, edi
jne 0x44ffd2
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret
push esi
mov edx, 0x49e624
mov dword [ebp - 0x21c], 0x105
lea ecx, [ebp - 0x10c]
call fcn.00447390
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x218], 0
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45010b
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0x49d66b
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x220]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
test al, al
je 0x45010b
lea eax, [ebp - 0x214]
push 0x22
push eax
call fcn.00461460
mov esi, eax
add esp, 8
test esi, esi
je 0x45010b
inc esi
push 0x22
push esi
call fcn.00461460
add esp, 8
test eax, eax
je 0x45010b
mov byte [eax], 0
lea edx, [ebp - 0x220]
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00447540
add esp, 0xc
test eax, eax
je 0x45010b
movzx eax, word [ebp - 0x224]
push eax
movzx eax, word [ebp - 0x228]
push eax
movzx eax, word [ebp - 0x218]
push eax
movzx eax, word [ebp - 0x220]
push eax
push str._d._d._d._d
push 0x105
push edi
call fcn.0046158b
add esp, 0x1c
mov eax, 1
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop edi
call fcn.0046125f
mov esp, ebp
pop ebp
ret
Function at 0x450410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x104
lea eax, [ebp - 0x213]
mov byte [ebp - 0x214], 0
push 0
push eax
mov edi, ecx
call fcn.004644a0
push 0x104
lea eax, [ebp - 0x10b]
mov dword [ebp - 0x21c], 0
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.004644a0
add esp, 0x18
test edi, edi
jne 0x45047c
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret
push esi
mov edx, str.Application4_
lea ecx, [ebp - 0x10c]
call fcn.00447390
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], 0x105
push eax
push 0x20019
push 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x220], 0
push eax
push 0x80000000
mov dword [ebp - 0x218], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4505b5
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0x49d66b
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x220]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
test al, al
je 0x4505b5
lea eax, [ebp - 0x214]
push 0x22
push eax
call fcn.00461460
mov esi, eax
add esp, 8
test esi, esi
je 0x4505b5
inc esi
push 0x22
push esi
call fcn.00461460
add esp, 8
test eax, eax
je 0x4505b5
mov byte [eax], 0
lea edx, [ebp - 0x220]
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00447540
add esp, 0xc
test eax, eax
je 0x4505b5
movzx eax, word [ebp - 0x224]
push eax
movzx eax, word [ebp - 0x228]
push eax
movzx eax, word [ebp - 0x218]
push eax
movzx eax, word [ebp - 0x220]
push eax
push str._d._d._d._d
push 0x105
push edi
call fcn.0046158b
add esp, 0x1c
mov eax, 1
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop edi
call fcn.0046125f
mov esp, ebp
pop ebp
ret
Function at 0x451200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [0x49e83c]
push esi
lea edx, [ebp - 0x34]
mov esi, ecx
movdqu xmmword [ebp - 0x34], xmm0
mov ecx, edx
movdqu xmm0, xmmword [0x49e84c]
movdqu xmmword [ebp - 0x24], xmm0
movdqu xmm0, xmmword [0x49e85c]
movdqu xmmword [ebp - 0x14], xmm0
call fcn.00447390
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], 0x400
push eax
push 0x20019
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x40], 0
push eax
push 0x80000002
mov dword [ebp - 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x451299
lea eax, [ebp - 0x38]
push eax
push esi
lea eax, [ebp - 0x3c]
push eax
push 0
push str.Current
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046125f
mov esp, ebp
pop ebp
ret
Function at 0x452560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x104
lea eax, [ebp - 0x213]
mov byte [ebp - 0x214], 0
push 0
push eax
mov edi, ecx
call fcn.004644a0
push 0x104
lea eax, [ebp - 0x10b]
mov byte [ebp - 0x10c], 0
push 0
push eax
call fcn.004644a0
add esp, 0x18
mov dword [ebp - 0x218], 0
mov edx, 0x49eaa8
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
call fcn.00447390
lea eax, [ebp - 0x220]
mov dword [ebp - 0x218], 0x105
push eax
push 0x20019
push 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x220], 0
push eax
push 0x80000002
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x452716
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x49d66b
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x220]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
test al, al
je 0x452716
mov edx, 0x49eab8
lea ecx, [ebp - 0x10c]
call fcn.00447390
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x214]
push 0x105
push eax
call fcn.004613a5
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x224]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x214]
call fcn.00447540
add esp, 0x18
test eax, eax
je 0x452716
movzx eax, word [ebp - 0x228]
push eax
movzx eax, word [ebp - 0x22c]
push eax
movzx eax, word [ebp - 0x224]
push eax
movzx eax, word [ebp - 0x230]
push eax
push str._d._d._d._d
push 0x105
push edi
call fcn.0046158b
add esp, 0x1c
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0046125f
mov esp, ebp
pop ebp
ret
Function at 0x4529a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
lea edx, [edi + 0x20a]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4529b3
sub ecx, esi
je 0x4529c5
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [edi + 0x414]
mov esi, dword [eax]
cmp esi, eax
je 0x4529eb
mov eax, dword [esi + 8]
test eax, eax
je 0x4529e1
push eax
call fcn.004624b3
add esp, 4
mov esi, dword [esi]
cmp esi, dword [edi + 0x414]
jne 0x4529d1
mov eax, dword [edi + 0x414]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [edi + 0x414]
mov dword [eax + 4], eax
mov dword [edi + 0x418], 0
cmp ecx, dword [edi + 0x414]
je 0x452a25
mov esi, dword [ecx]
push ecx
call fcn.004624b3
add esp, 4
mov ecx, esi
cmp esi, dword [edi + 0x414]
jne 0x452a10
mov eax, dword [edi + 0x414]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [edi + 0x414]
mov dword [eax + 4], eax
mov dword [edi + 0x418], 0
cmp ecx, dword [edi + 0x414]
je 0x452a65
lea ebx, [ebx]
mov esi, dword [ecx]
push ecx
call fcn.004624b3
add esp, 4
mov ecx, esi
cmp esi, dword [edi + 0x414]
jne 0x452a50
push dword [edi + 0x414]
call fcn.004624b3
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x452a80
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x11b]
mov byte [ebp - 0x11c], 0
push 0
push eax
mov esi, ecx
call fcn.004644a0
push 0x104
lea eax, [ebp - 0x223]
mov dword [ebp - 0x228], 0
push 0
push eax
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x224], 0
call fcn.004644a0
add esp, 0x18
lea ecx, [ebp - 0x11c]
xorps xmm0, xmm0
mov edx, str.d1____55L3_7
movdqu xmmword [ebp - 0x14], xmm0
xor edi, edi
call fcn.00447390
push 0x105
push esi
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jne 0x452b25
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret
mov edx, 0x49eb0c
lea ecx, [ebp - 0x11c]
call fcn.00447390
push 0x105
lea eax, [esi + 0x105]
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x452b13
mov edx, 0x49eb48
lea ecx, [ebp - 0x224]
call fcn.00447390
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x224]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x452b13
mov edx, 0x49eb70
lea ecx, [ebp - 0x14]
call fcn.00447390
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x105
push eax
lea eax, [esi + 0x30f]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x452bd6
mov eax, dword [ebp - 0x228]
mov edi, 1
mov byte [esi + eax + 0x30f], 0
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
je 0x452be7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0046125f
mov esp, ebp
pop ebp
ret
Function at 0x452c00
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
mov edi, ecx
call fcn.004644a0
push 0x3ff
lea eax, [ebp - 0x617]
mov byte [ebp - 0x618], 0
push 0
push eax
call fcn.004644a0
push 0x104
lea eax, [ebp - 0x217]
mov byte [ebp - 0x218], 0
push 0
push eax
call fcn.004644a0
add esp, 0x24
lea ecx, [ebp - 0x110]
mov edx, str.d_5_9FAYY__0_ZQ8k__B__TAD4XDVF__
call fcn.00447390
push 0x105
lea esi, [edi + 0x20a]
push esi
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jne 0x452ca7
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret
mov edx, 0x49eba4
lea ecx, [ebp - 0x218]
call fcn.00447390
push edi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [edi + 0x105]
push eax
push str.__s___s___s____s_
lea eax, [ebp - 0x618]
push 0x400
push eax
call fcn.0046158b
push 0x44
lea eax, [ebp - 0x660]
push 0
push eax
call fcn.004644a0
add esp, 0x28
mov dword [ebp - 0x660], 0x44
xor eax, eax
mov dword [ebp - 0x634], 1
mov word [ebp - 0x630], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x660]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x618]
push eax
push 0
movdqu xmmword [ebp - 0x670], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x452c95
push 0x7530
push dword [ebp - 0x670]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x452c95
push eax
push esi
call fcn.00463d8d
mov ecx, dword [ebp - 4]
add esp, 8
neg eax
sbb eax, eax
xor ecx, ebp
pop edi
inc eax
pop esi
call fcn.0046125f
mov esp, ebp
pop ebp
ret
Function at 0x453b40
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x22b]
push 0x104
push 0
push eax
mov byte [ebp - 0x22c], 0
call fcn.004644a0
push 0x104
lea eax, [ebp - 0x123]
mov byte [ebp - 0x124], 0
push 0
push eax
call fcn.004644a0
push 0x104
lea eax, [ebp - 0x333]
mov byte [ebp - 0x334], 0
push 0
push eax
call fcn.004644a0
xor eax, eax
mov byte [ebp - 0xc], 0
add esp, 0x24
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
xorps xmm0, xmm0
mov byte [ebp - 5], al
movdqu xmmword [ebp - 0x1c], xmm0
test edi, edi
jne 0x453bd7
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret 8
mov edx, 0x49ec10
lea ecx, [ebp - 0x334]
call fcn.00447390
mov edx, 0x49ec34
lea ecx, [ebp - 0x1c]
call fcn.00447390
mov edx, 0x49ec40
lea ecx, [ebp - 0xc]
call fcn.00447390
push 0x105
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x453bc4
lea eax, [ebp - 0x22c]
push eax
push 0x105
lea eax, [ebp - 0x124]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x453bc4
lea ecx, [ebp - 0x124]
xor edx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453c55
sub ecx, esi
je 0x453c8d
cmp byte [ebp + edx - 0x124], 0x2f
jne 0x453c72
mov byte [ebp + edx - 0x124], 0x5c
lea eax, [ebp - 0x124]
inc edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453c80
sub eax, esi
cmp edx, eax
jb 0x453c60
lea eax, [ebp - 0x22c]
push 0x5c
push eax
call fcn.004622e0
add esp, 8
pop esi
test eax, eax
je 0x453bc4
mov byte [eax + 1], 0
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0x49da48
push 0x105
push edi
call fcn.0046158b
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov eax, 1
pop edi
call fcn.0046125f
mov esp, ebp
pop ebp
ret 8
Function at 0x453cf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x153]
mov byte [ebp - 0x154], 0
push 0
push eax
mov esi, ecx
call fcn.004644a0
push 0x104
lea eax, [ebp - 0x25b]
mov byte [ebp - 0x25c], 0
push 0
push eax
call fcn.004644a0
xorps xmm0, xmm0
mov byte [ebp - 0x1c], 0
mov edx, 0x49ec48
mov dword [ebp - 0xb], 0
lea ecx, [ebp - 0x25c]
mov word [ebp - 7], 0
movdqu xmmword [ebp - 0x1b], xmm0
mov byte [ebp - 5], 0
mov byte [ebp - 0x34], 0
movdqu xmmword [ebp - 0x33], xmm0
mov dword [ebp - 0x23], 0
mov word [ebp - 0x1f], 0
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x4c], 0
movdqu xmmword [ebp - 0x4b], xmm0
mov dword [ebp - 0x3b], 0
mov word [ebp - 0x37], 0
mov byte [ebp - 0x35], 0
call fcn.00447390
mov edx, 0x49ec60
lea ecx, [ebp - 0x1c]
call fcn.00447390
mov edx, 0x49ec70
lea ecx, [ebp - 0x34]
call fcn.00447390
mov edx, 0x49ec7c
lea ecx, [ebp - 0x4c]
call fcn.00447390
add esp, 0x14
push esi
call fcn.00453b40
test eax, eax
jne 0x453de0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453de5
sub eax, edx
je 0x453dcf
push esi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x154]
push 0x105
push eax
call fcn.0046158b
add esp, 0x10
lea eax, [ebp - 0x154]
push eax
push 0x105
lea eax, [esi + 0x20a]
push eax
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x453dcf
lea eax, [ebp - 0x154]
push eax
push 0x105
lea eax, [esi + 0x105]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor ecx, ecx
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop esi
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0046125f
mov esp, ebp
pop ebp
ret
Function at 0x454040
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x3f
lea eax, [ebp - 0x43]
mov byte [ebp - 0x44], 0
push 0
push eax
mov esi, ecx
call fcn.004644a0
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 0x328], ebx
jne 0x454084
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret
push edi
mov edx, 0x49d8d8
lea ecx, [ebp - 0x44]
call fcn.00447390
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x328]
call edi
mov dword [esi + 0x334], eax
test eax, eax
je 0x4541a1
mov edx, 0x49d8e4
lea ecx, [ebp - 0x44]
call fcn.00447390
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x328]
call edi
mov dword [esi + 0x338], eax
test eax, eax
je 0x4541a1
mov edx, 0x49d91c
lea ecx, [ebp - 0x44]
call fcn.00447390
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x328]
call edi
mov dword [esi + 0x33c], eax
test eax, eax
je 0x4541a1
mov edx, 0x49d90c
lea ecx, [ebp - 0x44]
call fcn.00447390
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x328]
call edi
mov dword [esi + 0x344], eax
test eax, eax
je 0x4541a1
mov edx, 0x49d934
lea ecx, [ebp - 0x44]
call fcn.00447390
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x328]
call edi
mov dword [esi + 0x348], eax
test eax, eax
je 0x4541a1
mov edx, 0x49d8f4
lea ecx, [ebp - 0x44]
call fcn.00447390
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x328]
call edi
mov dword [esi + 0x340], eax
test eax, eax
je 0x4541a1
mov eax, dword [esi + 0x334]
push esi
call eax
add esp, 4
test eax, eax
je 0x454192
pop edi
mov dword [esi + 0x32c], ebx
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x32c], 1
mov ebx, 1
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046125f
mov esp, ebp
pop ebp
ret
Function at 0x454a40
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x3ff
lea eax, [ebp - 0x64f]
mov byte [ebp - 0x650], 0
push 0
push eax
mov edi, ecx
call fcn.004644a0
add esp, 0xc
lea ecx, [ebp - 0x650]
call fcn.00455530
movdqu xmm0, xmmword [0x49ecf8]
mov ax, word [0x49ed08]
lea edx, [ebp - 0x18]
mov ecx, edx
mov word [ebp - 8], ax
movdqu xmmword [ebp - 0x18], xmm0
call fcn.00447390
lea eax, [ebp - 0x18]
push eax
push str._r_n__s_
push edi
call fcn.00447150
add esp, 0xc
lea eax, [ebp - 0x650]
push eax
push str._s___r_n
push edi
call fcn.00447150
movdqu xmm0, xmmword [0x49ed0c]
mov eax, dword [0x49ed2c]
lea edx, [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x20], eax
mov al, byte [0x49ed30]
mov ecx, edx
movdqu xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x1c], al
movdqu xmm0, xmmword [0x49ed1c]
movdqu xmmword [ebp - 0x30], xmm0
call fcn.00447390
lea eax, [ebp - 0x660]
mov dword [ebp - 0x660], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x654], 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x454c66
lea eax, [ebp - 0x658]
push eax
lea eax, [edi + 0x420]
push eax
lea eax, [ebp - 0x654]
push eax
push 0
push str.Salt
push dword [ebp - 0x660]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x660]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
test al, al
je 0x454c66
mov eax, dword [ebp - 0x658]
push 0x103
mov dword [edi + 0x524], eax
lea eax, [ebp - 0x24f]
push 0
push eax
mov byte [ebp - 0x250], 0
call fcn.004644a0
add esp, 0xc
mov dword [ebp - 0x65c], 0x104
lea eax, [ebp - 0x660]
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x654], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x40]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x454c66
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x654]
push eax
push 0
push str.Store_Root
push dword [ebp - 0x660]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x660]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
test al, al
je 0x454c66
push 0x103
lea eax, [ebp - 0x147]
mov byte [ebp - 0x148], 0
push 0
push eax
call fcn.004644a0
add esp, 0xc
lea eax, [ebp - 0x148]
push 0x104
push eax
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x148]
mov ecx, edi
push eax
call fcn.00454c80
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046125f
mov esp, ebp
pop ebp
ret