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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], esi
push edi
test eax, eax
jg 0x45ce99
jl 0x45ce8b
test edx, edx
jae 0x45ce99
neg edx
mov byte [ebp - 0x1c], 0x2d
lea ecx, [ebp - 0x1b]
adc eax, 0
neg eax
push eax
push edx
call fcn.00457930
lea edi, [ebp - 0x1c]
add esp, 8
mov ecx, edi
mov edx, edi
mov dword [ebp - 0x24], ecx
xor ebx, ebx
mov ecx, eax
sub ecx, edx
xor edx, edx
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x45cf02
mov esi, dword [esi]
mov al, byte [edi]
mov byte [ebp - 0x1d], al
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45ceed
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45ceed
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
inc ebx
mov cl, byte [ebp - 0x1d]
inc edi
mov byte [eax], cl
inc dword [esi + 0xc]
mov esi, dword [ebp - 0x28]
cmp ebx, dword [ebp - 0x24]
jne 0x45cec1
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004908ad
mov esp, ebp
pop ebp
ret 8

Function at 0x45cf20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea edx, [ebp - 0x10]
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 0x1c], esi
call fcn.00457730
lea edi, [ebp - 0x10]
xor ebx, ebx
mov ecx, edi
mov edx, edi
mov dword [ebp - 0x18], ecx
mov ecx, eax
sub ecx, edx
xor edx, edx
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x45cfa2
mov esi, dword [esi]
mov al, byte [edi]
mov byte [ebp - 0x11], al
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45cf8d
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45cf8d
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
inc ebx
mov cl, byte [ebp - 0x11]
inc edi
mov byte [eax], cl
inc dword [esi + 0xc]
mov esi, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x18]
jne 0x45cf61
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004908ad
mov esp, ebp
pop ebp
ret 4
Function at 0x45cfc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea edx, [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
push edi
test ecx, ecx
jns 0x45cfeb
mov byte [ebp - 0x10], 0x2d
lea edx, [ebp - 0xf]
neg ecx
call fcn.00457730
lea edi, [ebp - 0x10]
xor ebx, ebx
mov ecx, edi
mov edx, edi
mov dword [ebp - 0x18], ecx
mov ecx, eax
sub ecx, edx
xor edx, edx
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x45d051
nop
mov esi, dword [esi]
mov al, byte [edi]
mov byte [ebp - 0x11], al
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45d03c
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d03c
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
inc ebx
mov cl, byte [ebp - 0x11]
inc edi
mov byte [eax], cl
inc dword [esi + 0xc]
mov esi, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x18]
jne 0x45d010
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004908ad
mov esp, ebp
pop ebp
ret 4
Function at 0x45d070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push esi
push edi
mov edi, ecx
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
je 0x45d113
cmp eax, dword [esi + 8]
jb 0x45d0a8
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d0a8
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov byte [eax], 0x74
inc dword [esi + 0xc]
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45d0d8
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d0d8
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov byte [eax], 0x72
inc dword [esi + 0xc]
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45d108
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d108
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov byte [eax], 0x75
jmp 0x45d1cb
cmp eax, dword [esi + 8]
jb 0x45d135
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d135
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov byte [eax], 0x66
inc dword [esi + 0xc]
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45d165
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d165
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov byte [eax], 0x61
inc dword [esi + 0xc]
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45d195
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d195
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov byte [eax], 0x6c
inc dword [esi + 0xc]
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45d1c5
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d1c5
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov byte [eax], 0x73
inc dword [esi + 0xc]
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45d1f5
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d1f5
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
pop edi
mov byte [eax], 0x65
mov al, 1
inc dword [esi + 0xc]
pop esi
pop ebp
ret 4
Function at 0x45d210
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45d23b
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d23b
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov byte [eax], 0x6e
inc dword [esi + 0xc]
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45d26b
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d26b
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov byte [eax], 0x75
inc dword [esi + 0xc]
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45d29b
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d29b
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov byte [eax], 0x6c
inc dword [esi + 0xc]
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jb 0x45d2cb
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45d2cb
push dword [esi]
sub eax, ecx
push eax
push 1
push ecx
call fcn.004a6d45
mov eax, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
pop edi
mov byte [eax], 0x6c
mov al, 1
inc dword [esi + 0xc]
pop esi
ret

Function at 0x45da70
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov al, byte [ecx]
cmp al, 0x20
je 0x45da88
cmp al, 0xa
je 0x45da88
cmp al, 0xd
je 0x45da88
cmp al, 9
jne 0x45dad6
cmp ecx, dword [esi + 0xc]
jae 0x45da95
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
jmp 0x45da73
cmp byte [esi + 0x1c], 0
jne 0x45da73
push dword [esi]
mov eax, dword [esi + 0x14]
push dword [esi + 8]
add dword [esi + 0x18], eax
push 1
push dword [esi + 4]
call fcn.004a6f77
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
cmp eax, dword [esi + 8]
jae 0x45da73
mov byte [edx + eax], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
jmp 0x45da73
pop esi
ret
Function at 0x45e140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, esi
call fcn.00458890
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.0045ed10
test al, al
jne 0x45e17d
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 4]
add eax, dword [esi + 0x10]
mov dword [edi + 0x18], 0x10
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x18], 0
jne 0x45e325
mov ecx, esi
call fcn.0045da70
mov eax, dword [esi + 0x10]
cmp byte [eax], 0x7d
jne 0x45e19d
mov ecx, esi
call fcn.00458890
push dword [ebx + 0x10]
push 0
jmp 0x45e319
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov ecx, dword [esi + 0x10]
cmp byte [ecx], 0x22
je 0x45e1c6
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 4]
add eax, ecx
mov dword [edi + 0x18], 4
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x18], 0
jne 0x45e325
push 1
push ebx
push esi
mov ecx, edi
call fcn.0045dd70
cmp dword [edi + 0x18], 0
jne 0x45e325
mov ecx, esi
call fcn.0045da70
mov eax, dword [esi + 0x10]
mov cl, byte [eax]
mov byte [ebp + 0xb], cl
cmp eax, dword [esi + 0xc]
jae 0x45e1f5
inc eax
mov dword [esi + 0x10], eax
jmp 0x45e234
cmp byte [esi + 0x1c], 0
jne 0x45e234
push dword [esi]
mov eax, dword [esi + 0x14]
push dword [esi + 8]
add dword [esi + 0x18], eax
push 1
push dword [esi + 4]
call fcn.004a6f77
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
cmp eax, dword [esi + 8]
jae 0x45e234
mov byte [edx + eax], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
cmp byte [ebp + 0xb], 0x3a
je 0x45e257
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 4]
add eax, dword [esi + 0x10]
mov dword [edi + 0x18], 5
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x18], 0
jne 0x45e325
mov ecx, esi
call fcn.0045da70
push ebx
push esi
mov ecx, edi
call fcn.0045dae0
cmp dword [edi + 0x18], 0
jne 0x45e325
mov ecx, esi
call fcn.0045da70
mov eax, dword [esi + 0x10]
inc dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [ebp + 0xb], cl
cmp eax, dword [esi + 0xc]
jae 0x45e28e
inc eax
mov dword [esi + 0x10], eax
jmp 0x45e2cd
cmp byte [esi + 0x1c], 0
jne 0x45e2cd
push dword [esi]
mov eax, dword [esi + 0x14]
push dword [esi + 8]
add dword [esi + 0x18], eax
push 1
push dword [esi + 4]
call fcn.004a6f77
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
cmp eax, dword [esi + 8]
jae 0x45e2cd
mov byte [edx + eax], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
mov al, byte [ebp + 0xb]
cmp al, 0x2c
je 0x45e2fc
cmp al, 0x7d
je 0x45e308
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 4]
add eax, dword [esi + 0x10]
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x18], 0
je 0x45e1a2
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, esi
call fcn.0045da70
jmp 0x45e1a2
mov ecx, dword [ebp + 0xc]
mov eax, ecx
neg eax
shl eax, 5
add dword [ebx + 0x24], eax
push dword [ebx + 0x10]
push ecx
mov ecx, dword [ebx + 0x24]
push ecx
sub ecx, 0x10
call fcn.0045f1e0
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x45e330
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, esi
call fcn.00458890
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.0045ec90
test al, al
jne 0x45e36d
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 4]
add eax, dword [esi + 0x10]
mov dword [edi + 0x18], 0x10
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x18], 0
jne 0x45e465
mov ecx, esi
call fcn.0045da70
mov eax, dword [esi + 0x10]
cmp byte [eax], 0x5d
jne 0x45e38d
mov ecx, esi
call fcn.00458890
push dword [ebx + 0x10]
push 0
jmp 0x45e459
xor ecx, ecx
push ebx
mov dword [ebp + 0xc], ecx
mov ecx, edi
push esi
call fcn.0045dae0
cmp dword [edi + 0x18], 0
jne 0x45e465
inc dword [ebp + 0xc]
mov ecx, esi
call fcn.0045da70
mov eax, dword [esi + 0x10]
mov cl, byte [eax]
mov byte [ebp + 0xb], cl
cmp eax, dword [esi + 0xc]
jae 0x45e3c2
inc eax
mov dword [esi + 0x10], eax
jmp 0x45e401
cmp byte [esi + 0x1c], 0
jne 0x45e401
push dword [esi]
mov eax, dword [esi + 0x14]
push dword [esi + 8]
add dword [esi + 0x18], eax
push 1
push dword [esi + 4]
call fcn.004a6f77
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
cmp eax, dword [esi + 8]
jae 0x45e401
mov byte [edx + eax], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
mov al, byte [ebp + 0xb]
cmp al, 0x2c
je 0x45e427
cmp al, 0x5d
je 0x45e448
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 4]
add eax, dword [esi + 0x10]
mov dword [edi + 0x18], 7
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x18], 0
jne 0x45e465
jmp 0x45e42e
mov ecx, esi
call fcn.0045da70
push ebx
push esi
mov ecx, edi
call fcn.0045dae0
cmp dword [edi + 0x18], 0
je 0x45e3a5
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov eax, ecx
neg eax
shl eax, 4
add dword [ebx + 0x24], eax
push dword [ebx + 0x10]
push ecx
mov ecx, dword [ebx + 0x24]
push ecx
sub ecx, 0x10
call fcn.0045f270
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x45f370
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], ecx
xor edx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [edi + 0x10]
mov bl, byte [eax]
cmp eax, dword [edi + 0xc]
jae 0x45f396
inc eax
mov dword [edi + 0x10], eax
jmp 0x45f3da
cmp byte [edi + 0x1c], 0
jne 0x45f3da
push dword [edi]
mov eax, dword [edi + 0x14]
push dword [edi + 8]
add dword [edi + 0x18], eax
push 1
push dword [edi + 4]
call fcn.004a6f77
mov ecx, dword [edi + 4]
mov edx, eax
add esp, 0x10
mov dword [edi + 0x14], edx
mov dword [edi + 0x10], ecx
lea eax, [ecx - 1]
add eax, edx
mov dword [edi + 0xc], eax
cmp edx, dword [edi + 8]
jae 0x45f3d7
mov byte [ecx + edx], 0
inc dword [edi + 0xc]
mov byte [edi + 0x1c], 1
mov edx, dword [ebp - 4]
shl esi, 4
movsx eax, bl
add esi, eax
lea eax, [ebx - 0x30]
cmp al, 9
ja 0x45f3ee
sub esi, 0x30
jmp 0x45f426
lea eax, [ebx - 0x41]
cmp al, 5
ja 0x45f3fa
sub esi, 0x37
jmp 0x45f426
sub bl, 0x61
cmp bl, 5
ja 0x45f407
sub esi, 0x57
jmp 0x45f426
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x10]
sub ecx, dword [edi + 4]
dec eax
add ecx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 8
mov dword [eax + 0x1c], ecx
cmp dword [eax + 0x18], 0
jne 0x45f43e
inc edx
mov dword [ebp - 4], edx
cmp edx, 4
jl 0x45f386
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45f7d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db41e
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45f876
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str...includeMcNAPICoreWrapper.cpp
push str.CMcNAPICoreWrapper::ValidateModule
push 0xa
push 4
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00431610
mov dword [ebp - 4], 0
mov edx, str.CMcNAPICoreWrapper::ValidateModule
mov ecx, dword [eax]
call fcn.00433720
push esi
mov edx, str.PathFileExists_failed._GetLastError:
mov ecx, eax
call fcn.00433720
mov ecx, eax
call fcn.0043a5d0
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
call fcn.004327d0
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.0048b4dc
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x467320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.004a6f77
add esp, 0x10
pop ebp
ret 8
Function at 0x468900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e07a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x468a3f
cmp byte [ebx + 0x3e], 0
je 0x468a3f
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
sete al
test al, al
je 0x468964
xor al, al
jmp 0x468a41
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00430250
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
nop dword [eax]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4689ce
sub eax, 1
je 0x4689d2
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x468a25
xor bl, bl
jmp 0x468a27
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x468a07
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004a6d45
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x4689ca
cmp byte [ebx + 0x3e], 0
je 0x468a25
test esi, esi
jne 0x468990
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00430950
jmp 0x468989
mov bl, 1
cmp ecx, 0x10
jb 0x468a3b
push 1
inc ecx
push ecx
push dword [ebp - 0x28]
call fcn.00402ff0
add esp, 0xc
mov al, bl
jmp 0x468a41
mov al, 1
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.004908ad
mov esp, ebp
pop ebp
ret
Function at 0x469520
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov edx, dword [eax]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
mov dword [edi + 4], 0
cmp edx, dword [edi]
je 0x469575
nop dword [eax]
mov esi, dword [edx]
push 0xc
push 1
push edx
call fcn.00402ff0
add esp, 0xc
mov edx, esi
cmp esi, dword [edi]
jne 0x469560
mov eax, dword [ebx + 4]
test eax, eax
jne 0x46958a
pop edi
pop esi
mov eax, 0x3f2
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0xc]
push ecx
push 9
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4696a2
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
jne 0x469692
cmp dword [ebp - 8], eax
je 0x469692
mov eax, dword [ebp - 4]
lea eax, [eax*2 + 2]
push eax
call fcn.004a3e8e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46968d
cmp dword [ebp - 8], esi
jbe 0x469680
nop word [eax + eax]
mov eax, dword [ebp - 4]
lea eax, [eax*2 + 2]
push eax
push 0
push ebx
call fcn.00496490
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x46967a
push ebx
call fcn.0049cf5b
add esp, 4
mov dword [ebp + 8], eax
mov eax, dword [edi]
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], eax
push ecx
push dword [eax + 4]
push eax
call fcn.00446100
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4696ab
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], ecx
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
inc esi
cmp esi, dword [ebp - 8]
jb 0x469600
push ebx
call fcn.004a2e5c
add esp, 4
xor esi, esi
jmp 0x469692
mov esi, 0xe
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4696a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.00491bf5
int3
Function at 0x4696c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov edx, dword [eax]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
mov dword [edi + 4], 0
cmp edx, dword [edi]
je 0x469715
nop dword [eax]
mov esi, dword [edx]
push 0xc
push 1
push edx
call fcn.00402ff0
add esp, 0xc
mov edx, esi
cmp esi, dword [edi]
jne 0x469700
mov eax, dword [ebx + 4]
test eax, eax
jne 0x46972a
pop edi
pop esi
mov eax, 0x3f2
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0xc]
push ecx
push 1
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x469840
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
jne 0x469830
cmp dword [ebp - 8], eax
je 0x469830
mov eax, dword [ebp - 4]
lea eax, [eax*2 + 2]
push eax
call fcn.004a3e8e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46982b
cmp dword [ebp - 8], esi
jbe 0x46981e
nop dword [eax]
mov eax, dword [ebp - 4]
lea eax, [eax*2 + 2]
push eax
push 0
push ebx
call fcn.00496490
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push 0
push 0
push 0
push 0
push eax
push ebx
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x469818
push ebx
call fcn.0049cf5b
add esp, 4
mov dword [ebp + 8], eax
mov eax, dword [edi]
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], eax
push ecx
push dword [eax + 4]
push eax
call fcn.00446100
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 4]
sub ecx, eax
cmp ecx, 1
jb 0x469849
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], ecx
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
inc esi
cmp esi, dword [ebp - 8]
jb 0x4697a0
push ebx
call fcn.004a2e5c
add esp, 4
xor esi, esi
jmp 0x469830
mov esi, 0xe
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46983e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.00491bf5
int3