joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d9c0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a02fd
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44da10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004018b0
push 0x20
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00441b20
mov esi, dword [ebp - 0x18]
lea ecx, [esi + 0x64]
cmp ecx, esi
ja 0x44da5a
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x44da66
push 0
push 0x64
lea ecx, [ebp - 0x28]
call fcn.004419c0
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push dword [ebp - 0x134]
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push dword [ebp - 0x138]
cmova eax, dword [ebp - 0x28]
push dword [ebp - 0x13c]
push str.Windows__lu._lu._lu_WinHTTP
lea eax, [eax + esi*2]
push 0x64
push eax
call fcn.00420540
add esp, 0x18
test eax, eax
jle 0x44dae0
lea ecx, [eax + esi]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
ja 0x44dad1
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x44daf7
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.004419c0
jmp 0x44daf7
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0x10000000
cmova eax, dword [ebp - 0x28]
push 0
push 0
push 1
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
je 0x44db41
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push 4
push 0x4aefdc
push 0x54
push edi
call esi
push 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
push 0x85
push edi
call esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x44db77
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44db6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44db94
push ecx
push edx
call fcn.004759b5
add esp, 8
mov eax, edi
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.004759c3
mov esp, ebp
pop ebp
ret
call fcn.0047abff
int3
Function at 0x450ec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
cmp ecx, eax
je 0x45103f
cmp dword [ecx + 0x1c], 7
lea edx, [ebx + 4]
mov eax, dword [edx]
push esi
mov dword [ebp - 0x20], eax
mov esi, ecx
mov eax, dword [ebx + 0xc]
push edi
mov dword [ebp - 0x1c], eax
lea edi, [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], edx
jbe 0x450f03
mov edi, dword [edi]
xor ecx, ecx
mov ebx, 0x811c9dc5
add eax, eax
je 0x450f24
mov edx, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edx
jb 0x450f10
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea eax, [edi + 8]
push eax
push edx
call fcn.0044c2a0
push 0x38
push edi
call fcn.004759b5
mov edx, dword [ebp - 0xc]
add esp, 0x10
add edx, 4
dec dword [edx + 4]
cmp ebx, dword [ebp - 8]
je 0x450f92
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x450f40
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x451035
mov ecx, dword [ebp - 0x14]
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 0x10]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
jne 0x450fa4
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x450fa7
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x451035
cmp dword [esi + 0x1c], 7
lea edi, [esi + 8]
mov eax, dword [edi + 0x10]
jbe 0x450fc3
mov edi, dword [edi]
xor ecx, ecx
mov ebx, 0x811c9dc5
add eax, eax
mov dword [ebp - 8], eax
je 0x450fe7
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edx
jb 0x450fd3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
and eax, ebx
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
nop
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea eax, [edi + 8]
push eax
push edx
call fcn.0044c2a0
push 0x38
push edi
call fcn.004759b5
mov edx, dword [ebp - 0xc]
add esp, 0x10
mov eax, dword [ebp + 0xc]
add edx, 4
dec dword [edx + 4]
cmp ebx, dword [ebp - 8]
je 0x451046
cmp esi, eax
jne 0x451000
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x20]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x450fb5
mov ecx, dword [ebp - 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4563e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a11d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4cc680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx]
lea eax, [ebp - 0x1c]
push eax
call fcn.00434c50
mov esi, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x1c]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
push 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
push 0x4ad77c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00401810
xorps xmm0, xmm0
mov eax, esi
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x456490
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a11d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4cc680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx]
lea eax, [ebp - 0x1c]
push eax
call fcn.00412a40
mov esi, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x1c]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
push 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
push 0x4ad77c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00401810
xorps xmm0, xmm0
mov eax, esi
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4578f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
mov esi, dword [edi + 8]
push ebx
push eax
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x457964
mov edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0x44]
add edx, ebx
mov dword [esi + 0x7c], edx
test ecx, ecx
je 0x45794f
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x10]
push edx
call dword [eax + 8]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4af85c
mov ecx, edi
call fcn.004502d0
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004759c3
mov esp, ebp
pop ebp
ret 8
Function at 0x45a570
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a18ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4cc680]
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, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, 1
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x18], edx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 4], ecx
cmp eax, 7
lea ecx, [ebp - 0x28]
mov eax, esi
cmova ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], 7
jbe 0x45a5d6
mov eax, dword [esi]
push edx
push ecx
push eax
call edi
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jbe 0x45a5f7
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.004419c0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
jmp 0x45a5c2
test eax, eax
jne 0x45a610
cmp dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
jmp 0x45a63a
lea edx, [eax - 1]
cmp edx, ecx
ja 0x45a62d
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], edx
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + edx*2], cx
jmp 0x45a63a
sub edx, ecx
lea ecx, [ebp - 0x28]
push 0
push edx
call fcn.004419c0
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x45a663
movups xmm0, xmmword [ebp - 0x28]
movups xmm1, xmmword [esi]
movq xmm2, qword [esi + 0x10]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
movups xmmword [ebp - 0x28], xmm1
movq qword [ebp - 0x18], xmm2
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x45a699
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45a68f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a6b4
push ecx
push edx
call fcn.004759b5
add esp, 8
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.004759c3
mov esp, ebp
pop ebp
ret
call fcn.0047abff
int3
Function at 0x45a7d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a198b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4cc680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4d4e5c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4cf2f4]
cmp eax, dword [ecx + 4]
jg 0x45a8bb
push 0x4cc4f0
call fcn.00474e12
add esp, 4
test eax, eax
jne 0x45a9e1
cmp dword [0x4cc51c], 0x7fffffff
je 0x45a9e8
mov ecx, dword [0x4cc4e8]
mov eax, dword [0x4cc4ec]
sub eax, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0x4cb160
lea ecx, [ebp - 0x10]
cmp eax, 0xffffffff
jne 0x45a864
call fcn.004426d0
mov esi, eax
jmp 0x45a898
lea edi, [eax + 1]
call fcn.004426d0
mul edi
mov ecx, eax
mov esi, edx
cmp ecx, edi
jae 0x45a898
mov eax, edi
xor edx, edx
neg eax
div edi
mov eax, edx
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x45a898
lea ecx, [ebp - 0x10]
call fcn.004426d0
mul edi
mov esi, edx
cmp eax, dword [ebp - 0x14]
jb 0x45a887
push 0x4cc4f0
call fcn.00474e23
mov eax, dword [ebp - 0x18]
add esp, 4
add eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x4cf2f4
call fcn.004765df
add esp, 4
cmp dword [0x4cf2f4], 0xffffffff
jne 0x45a817
mov dword [ebp - 4], 0
mov edx, 0x1571
mov dword [0x4cc4e4], 0xffffffff
mov ecx, 1
mov dword [0x4cb164], 0x1571
jmp 0x45a900
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [ecx*4 + 0x4cb164], edx
inc ecx
cmp ecx, 0x270
jb 0x45a900
movaps xmm0, xmmword [0x4afac0]
movups xmmword [0x4cc4ec], xmm0
mov dword [0x4cb160], 0x270
xorps xmm0, xmm0
mov dword [0x4cc4e8], 0
push 2
push 0x4cc4f0
movups xmmword [0x4cc4fc], xmm0
mov dword [0x4cc514], 0
movq qword [0x4cc50c], xmm0
mov dword [0x4cc518], 0
mov dword [0x4cc51c], 0
call fcn.00474df6
add esp, 8
mov byte [ebp - 4], 1
call fcn.00475741
mov dword [0x4cb164], eax
mov edx, 1
jmp 0x45a995
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x4cb164], eax
inc edx
cmp edx, 0x270
jb 0x45a995
push 0x4a3540
mov dword [0x4cb160], 0x270
call fcn.00475c65
push 0x4cf2f4
mov dword [ebp - 4], 0xffffffff
call fcn.0047658e
add esp, 8
jmp 0x45a817
push 5
call fcn.00475102
push 6
mov dword [0x4cc51c], 0x7ffffffe
call fcn.00475102
int3
Function at 0x45aaa0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a19c5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4cc680]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
push 0xf0000000
push 0x18
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
push 0x4afad8
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x24]
push 0
push eax
mov dword [ebp - 0x24], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x45ab10
test ebx, ebx
je 0x45ab09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
xor al, al
jmp 0x45ac46
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 0x28], 0
push edi
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x45ab4d
test ebx, ebx
je 0x45ab46
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
xor bl, bl
jmp 0x45ac37
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x20], esi
push 0
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x45ac10
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push eax
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x45ac10
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
je 0x45abad
mov dword [edx + 4], eax
mov ecx, eax
mov dword [ebp - 0x2c], eax
sub ecx, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x34]
jae 0x45abbe
add eax, ecx
jmp 0x45abf8
jbe 0x45abfb
mov eax, dword [edx + 8]
sub eax, dword [ebp - 0x3c]
cmp ecx, eax
jbe 0x45abdb
lea eax, [ebp - 0x2d]
push eax
push ecx
mov ecx, edx
call fcn.004184c0
mov edx, dword [ebp - 0x38]
jmp 0x45abfb
sub ecx, dword [ebp - 0x34]
push ecx
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
call fcn.00477ac0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
add eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
push 0
lea eax, [ebp - 0x14]
push eax
push dword [edx]
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x45ac20
test ebx, ebx
je 0x45ac1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
xor bl, bl
jmp 0x45ac2c
test ebx, ebx
je 0x45ac2a
mov dword [ebx], 0
mov bl, 1
test esi, esi
je 0x45ac37
push esi
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test edi, edi
je 0x45ac44
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
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.004759c3
mov esp, ebp
pop ebp
ret
Function at 0x45c260
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1c76
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4cc680]
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 edi, ecx
mov dword [ebp - 0x48], edi
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp + 0xc]
add ecx, dword [ebx + 0x10]
mov dword [ebp - 0x30], eax
xor eax, eax
add ecx, 0x32
mov dword [ebp - 0x38], ebx
push 0
setb al
mov dword [ebp - 0x34], esi
neg eax
or eax, ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.0045cab0
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x45c2d7
mov esi, dword [esi]
mov dword [ebp - 0x34], esi
cmp dword [ebx + 0x14], 0xf
jbe 0x45c2e2
mov ebx, dword [ebx]
mov dword [ebp - 0x38], ebx
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x2c]
call dword [eax + 0x24]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
push dword [ebp - 0x38]
cmp dword [ebp - 0x14], 0xf
push dword [ebp - 0x2c]
movzx ebx, word [edi + 0xa]
push dword [ebp - 0x3c]
movzx esi, word [edi + 8]
movzx edx, word [edi + 6]
movzx ecx, word [edi + 2]
push eax
movzx eax, word [edi + 0xe]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
movzx eax, word [edi + 0xc]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
movzx eax, word [edi]
lea edi, [ebp - 0x28]
cmova edi, dword [ebp - 0x28]
push ebx
push esi
push edx
push ecx
push eax
push str._04d__02d__02d__02d:_02d:_02d._03d___04x._04x___s:__s_s_r_n
push 0xffffffffffffffff
push dword [ebp - 0x18]
push edi
call fcn.00406bb0
add esp, 0x40
test eax, eax
jle 0x45c3aa
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
ja 0x45c377
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
cmova ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
jmp 0x45c384
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00412810
mov esi, dword [ebp - 0x48]
cmp byte [esi + 8], 0
je 0x45c39f
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0045c7f0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x45c3da
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45c3d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c3f8
push ecx
push edx
call fcn.004759b5
add esp, 8
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.004759c3
mov esp, ebp
pop ebp
ret 0x10
call fcn.0047abff
int3
Function at 0x45cd6e
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [0x4cc680]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x45cd9e
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push dword [esp + 0x20]
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.004759c3
add esp, 8
ret 8

Function at 0x45dfe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1f32
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.LogMaxSizeKB
lea ecx, [ebp - 0x48]
call fcn.004012d0
push str.SOFTWAREF_SecureCCFLogging
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.004012d0
cmp dword [ebp - 0x34], 7
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push edx
push 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], 0x32
cmova ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 7
push 0x10
cmova eax, dword [ebp - 0x30]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x45e09c
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45e092
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e105
push ecx
push edx
call fcn.004759b5
add esp, 8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x45e0e6
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45e0dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e105
push ecx
push edx
call fcn.004759b5
add esp, 8
mov eax, dword [ebp - 0x14]
shl eax, 0xa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret
call fcn.0047abff
int3
Function at 0x45e110
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1f66
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.LogLevel
lea ecx, [ebp - 0x48]
call fcn.004012d0
push str.SOFTWAREF_SecureCCFLogging
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.004012d0
cmp dword [ebp - 0x34], 7
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
cmova ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x1c], 7
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push edx
push 0
push 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], 4
cmova eax, dword [ebp - 0x30]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x45e1cb
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45e1c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e231
push ecx
push edx
call fcn.004759b5
add esp, 8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x45e215
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45e20b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e231
push ecx
push edx
call fcn.004759b5
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret
call fcn.0047abff
int3