joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4efcd8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, edx
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
push ecx
lea ecx, [esp + 0x18]
movq qword [esp + 0x18], xmm0
call fcn.00412780
mov dword [esp + 0x2c], 0
mov ebp, dword [esp + 0x1c]
mov eax, ebp
mov esi, dword [esp + 0x18]
sub eax, esi
mov ecx, dword [ebx + 4]
cmp ecx, eax
jbe 0x466c1b
add ecx, esi
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [esp + 0x14]
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x14]
inc eax
add eax, eax
push eax
push dword [ebx]
lea ecx, [edi + esi*2]
push ecx
call fcn.004e4930
add esi, dword [ebx + 4]
add esp, 0xc
mov dword [esp + 0x18], esi
cmp ebp, esi
jne 0x466c5e
mov eax, esi
lea ecx, [esp + 0x14]
shr eax, 1
add esi, 0x10
add eax, esi
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [edi + esi*2], 0x5c
movzx eax, word [edi]
cmp eax, 0x5c
je 0x466c72
cmp eax, 0x2f
jne 0x466c81
mov ecx, edi
call fcn.0041b7c0
test eax, eax
jne 0x466c81
mov bl, 1
jmp 0x466c83
xor bl, bl
push edi
mov dword [esp + 0x30], 0xffffffff
call fcn.004df97b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004df96c
add esp, 0x1c
ret
Function at 0x46d4f0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x3c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push str.CreateDecoder
mov ebx, dword [eax + edx*4 - 4]
push dword [ebx + 0xc]
call esi
push str.CreateEncoder
push dword [ebx + 0xc]
mov dword [ebx + 0x24], eax
call esi
push str.GetMethodProperty
push dword [ebx + 0xc]
mov dword [ebx + 0x28], eax
call esi
mov dword [ebx + 0x20], eax
test eax, eax
je 0x46d606
push str.GetNumberOfMethods
push dword [ebx + 0xc]
mov dword [esp + 0x48], 1
call esi
test eax, eax
je 0x46d568
lea ecx, [esp + 0x40]
push ecx
call eax
test eax, eax
jne 0x46d659
xor edi, edi
cmp dword [esp + 0x40], edi
jbe 0x46d606
mov eax, dword [ebp + 0x10]
mov edx, edi
mov ecx, dword [ebx + 0x20]
dec eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], edi
push eax
push 3
call fcn.0046d410
test eax, eax
jne 0x46d659
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x1d]
push eax
lea eax, [esp + 0x34]
mov edx, edi
push eax
push 2
call fcn.0046d410
test eax, eax
jne 0x46d659
lea ecx, [ebp + 0x40]
call fcn.0046f7d0
imul ecx, dword [ebp + 0x44], 0x2c
inc edi
movdqu xmm0, xmmword [esp + 0x14]
mov eax, dword [esp + 0x3c]
add ecx, dword [ebp + 0x40]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [esp + 0x24]
movdqu xmmword [ecx + 0x10], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [ecx + 0x20], xmm0
mov dword [ecx + 0x28], eax
inc dword [ebp + 0x44]
cmp edi, dword [esp + 0x40]
jb 0x46d574
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetHashers
push dword [ebx + 0xc]
call esi
test eax, eax
je 0x46d657
add ebx, 0x30
push ebx
call eax
test eax, eax
jne 0x46d659
mov ecx, dword [ebx]
test ecx, ecx
je 0x46d657
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
xor ebx, ebx
mov dword [esp + 0x40], eax
test eax, eax
je 0x46d657
mov esi, dword [ebp + 0x10]
lea ecx, [ebp + 0x4c]
dec esi
call fcn.00424120
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x4c]
mov dword [ecx + eax*8], esi
mov dword [ecx + eax*8 + 4], ebx
inc ebx
inc dword [ebp + 0x50]
cmp ebx, dword [esp + 0x40]
jb 0x46d634
xor eax, eax
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df96c
add esp, 0x3c
ret
Function at 0x46f3c0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4f1aa1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
lea ecx, [edi + 0xc]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
lea eax, [esi + 0xc]
push eax
call fcn.00412780
lea eax, [esi + 0x18]
mov dword [esp + 0x18], 0
push eax
lea ecx, [edi + 0x18]
call fcn.0046f490
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
movzx eax, byte [esi + 0x28]
mov byte [edi + 0x28], al
movzx eax, byte [esi + 0x29]
mov byte [edi + 0x29], al
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
call fcn.0046f670
lea eax, [esi + 0x3c]
mov byte [esp + 0x18], 2
push eax
lea ecx, [edi + 0x3c]
call fcn.00415410
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, edi
movdqu xmm0, xmmword [esi + 0x50]
movdqu xmmword [edi + 0x50], xmm0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4797f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f1c81
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
lea ecx, [edi + 0x10]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
lea eax, [esi + 0x10]
push eax
call fcn.00412780
lea eax, [esi + 0x1c]
mov dword [esp + 0x18], 0
push eax
lea ecx, [edi + 0x1c]
call fcn.00412780
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
call fcn.00412780
lea eax, [esi + 0x3c]
mov byte [esp + 0x18], 2
push eax
lea ecx, [edi + 0x3c]
call fcn.00412780
movzx eax, byte [esi + 0x48]
mov byte [edi + 0x48], al
movzx eax, byte [esi + 0x49]
mov byte [edi + 0x49], al
movzx eax, byte [esi + 0x4a]
mov byte [edi + 0x4a], al
movzx eax, byte [esi + 0x4b]
mov byte [edi + 0x4b], al
movzx eax, byte [esi + 0x4c]
mov byte [edi + 0x4c], al
movzx eax, byte [esi + 0x4d]
mov byte [edi + 0x4d], al
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
movzx eax, byte [esi + 0x6c]
mov byte [edi + 0x6c], al
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x47ada0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f246b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esp + 0x10], esi
mov dword [esi], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x47ae05
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 3
mov word [eax], cx
mov dword [esp + 0x228], ecx
mov byte [esi + 0xc], 1
mov eax, dword [esi]
mov dword [esi + 4], ecx
mov word [eax], cx
xor eax, eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x10]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00412850
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004df96c
add esp, 0x224
ret
Function at 0x47ae80
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4f24b6
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x220], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x238], 0
cmp byte [edi + 0xc], 0
je 0x47af8b
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
movq qword [esp + 0x14], xmm0
push 8
mov dword [esp + 0x18], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x47af0e
mov byte [esp + 0xf], al
lea eax, [esp + 0xf]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 3
mov byte [esp + 0x238], 1
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
push 0x105
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x20]
push eax
call fcn.00412850
lea eax, [esi - 1]
cmp eax, 0x103
ja 0x47af77
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.0047ab80
test al, al
je 0x47af77
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov byte [esp + 0x238], 0
push dword [esp + 0x14]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x238], 0xffffffff
push dword [edi]
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004df96c
add esp, 0x230
ret
Function at 0x47d790
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f2766
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi + 4], 0
mov dword [esi], vtable.COutMultiVolStream.0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x18], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [esp + 0x18], 1
push 8
mov dword [esi + 0x40], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x47d826
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esi + 0x40], eax
xor ecx, ecx
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 3
mov word [eax], cx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x481450
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f2dd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi + 4], vtable.IArchiveUpdateCallbackFile.0
mov dword [esi + 8], vtable.IArchiveExtractCallbackMessage.0
mov dword [esi + 0xc], vtable.IArchiveGetRawProps.0
mov dword [esi + 0x10], vtable.IArchiveGetRootProps.0
mov dword [esi + 0x14], vtable.ICryptoGetTextPassword2.0
mov dword [esi + 0x18], vtable.ICryptoGetTextPassword.0
mov dword [esi + 0x1c], vtable.ICompressProgressInfo.0
mov dword [esi + 0x20], vtable.IInFileStream_Callback.0
mov dword [esi + 0x24], 0
mov dword [esi], vtable.CArchiveUpdateCallback.8.0
mov dword [esi + 4], vtable.CArchiveUpdateCallback.6.0
mov dword [esi + 8], vtable.CArchiveUpdateCallback.3.0
mov dword [esi + 0xc], vtable.CArchiveUpdateCallback.5.0
mov dword [esi + 0x10], vtable.CArchiveUpdateCallback.1.0
mov dword [esi + 0x14], vtable.CArchiveUpdateCallback.7.0
mov dword [esi + 0x18], vtable.CArchiveUpdateCallback.4.0
mov dword [esi + 0x1c], vtable.CArchiveUpdateCallback.2.0
mov dword [esi + 0x20], vtable.CArchiveUpdateCallback.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esp + 0x18], 0
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov byte [esp + 0x18], 3
push 8
mov dword [esi + 0x64], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x481587
mov byte [esp + 0xa], al
lea eax, [esp + 0xa]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 3
mov word [eax], cx
mov byte [esp + 0x18], 4
push 8
mov dword [esi + 0x70], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4815c6
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 3
mov word [eax], cx
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ecx
mov dword [esi + 0x8c], ecx
mov byte [esp + 0x18], 6
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], ecx
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], 0xffffffff
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], ecx
mov word [esi + 0xa8], cx
mov byte [esi + 0xaa], cl
mov dword [esi + 0xac], ecx
call fcn.00453230
mov byte [esi + 0x28], al
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4847f0
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4f3196
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0x1c], eax
mov ebx, ecx
cmp byte [eax + 0x10], 0
mov ecx, dword [esp + 0x254]
mov ebp, dword [esp + 0x250]
mov edi, dword [eax]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
je 0x4848b1
push 3
lea eax, [esp + 0x28]
mov dword [esp + 0x30], 0
xorps xmm0, xmm0
mov ecx, ebp
push eax
mov edi, 1
movq qword [esp + 0x2c], xmm0
call fcn.00452930
mov esi, dword [esp + 0x24]
cmp word [esi + 2], 0x3a
jne 0x4848a8
cmp word [esi + 4], 0x5c
jne 0x4848a8
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x4848a2
cmp eax, 2
jne 0x4848a8
mov edi, dword [esp + 0x1c]
mov edi, dword [edi]
push esi
call fcn.004df97b
add esp, 4
mov eax, dword [ebp + 4]
test eax, eax
jne 0x4848bd
or eax, 0xffffffff
jmp 0x4848ea
mov edx, dword [ebp]
dec eax
movzx ecx, word [edx + eax*2]
lea eax, [edx + eax*2]
cmp ecx, 0x5c
je 0x4848e6
lea ecx, [ecx]
cmp cx, 0x2f
je 0x4848e6
cmp eax, edx
je 0x4848b8
movzx ecx, word [eax - 2]
sub eax, 2
cmp ecx, 0x5c
jne 0x4848d0
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x18]
lea esi, [eax + 1]
mov eax, dword [ebp]
lea eax, [eax + esi*2]
push eax
call fcn.00412850
dec edi
je 0x4849fb
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
movq qword [esp + 0x24], xmm0
dec edi
je 0x4849b1
push 8
mov dword [esp + 0x28], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x484945
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 3
mov dword [esp + 0x248], 1
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [esp + 0x30], ax
lea eax, [esp + 0x30]
push eax
push 0x105
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
lea ecx, [esp + 0x24]
lea eax, [esp + 0x30]
push eax
call fcn.00412850
lea eax, [esi - 1]
cmp eax, 0x103
jbe 0x4849d6
push 0x51c2b0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x22995
push eax
call fcn.004ea58e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
add eax, 4
push eax
call fcn.00412780
lea ecx, [esp + 0x24]
mov dword [esp + 0x248], 0
call fcn.0041b210
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00412780
mov dword [esp + 0x248], 0xffffffff
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
jmp 0x484a04
push esi
push ebx
mov ecx, ebp
call fcn.00452930
mov eax, ebx
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004df96c
add esp, 0x238
ret 8
Function at 0x485090
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f3280
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
push 0x5232bc
mov dword [esp + 0x1c], 0x5232bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
mov edx, str.Extraction
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x14]
call fcn.00485000
cmp byte [edi + 8], 0
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x485122
mov eax, dword [edi]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ExtractMode
push esi
call ebx
cmp byte [edi + 9], 0
je 0x485142
mov eax, dword [edi + 4]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.OverwriteMode
push esi
call ebx
cmp byte [edi + 0xb], 0
je 0x485169
mov al, byte [edi + 0xa]
xor ecx, ecx
push 4
test al, al
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.SplitDest
setne cl
push esi
mov dword [esp + 0x28], ecx
call ebx
cmp byte [edi + 0xd], 0
je 0x485190
mov al, byte [edi + 0xc]
xor ecx, ecx
push 4
test al, al
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ElimDup
setne cl
push esi
mov dword [esp + 0x28], ecx
call ebx
cmp byte [edi + 0xf], 0
je 0x4851b7
mov al, byte [edi + 0xe]
xor ecx, ecx
push 4
test al, al
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.Security
setne cl
push esi
mov dword [esp + 0x28], ecx
call ebx
cmp byte [edi + 0x11], 0
je 0x4851de
mov al, byte [edi + 0x10]
xor ecx, ecx
push 4
test al, al
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ShowPassword
setne cl
push esi
mov dword [esp + 0x28], ecx
call ebx
push str.PathHistory
lea ecx, [esp + 0x18]
call fcn.0041dae0
lea eax, [edi + 0x14]
push eax
push str.PathHistory
lea ecx, [esp + 0x1c]
call fcn.0041de80
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48520d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5232bc
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004df96c
add esp, 0x1c
ret
Function at 0x485240
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f32c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov bl, cl
push 0x5232bc
mov dword [esp + 0x18], 0x5232bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], 0
mov edx, str.Extraction
mov byte [esp + 0x24], 1
lea ecx, [esp + 0xc]
call fcn.00485000
mov esi, dword [esp + 0xc]
xor eax, eax
test bl, bl
push 4
setne al
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ShowPassword
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4852d9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5232bc
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004df96c
add esp, 0x1c
ret

Function at 0x4855e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f3340
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
push 0x5232bc
mov dword [esp + 0x30], 0x5232bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], esi
mov edx, str.Extraction
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x14]
xor bl, bl
call fcn.00484f80
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
push ecx
push 0x20019
push esi
push dword [eax]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x485671
mov esi, dword [esp + 0x20]
mov dword [esp + 0x24], esi
push dword [esp + 0x14]
call fcn.004df97b
add esp, 4
test edi, edi
je 0x485685
xor bl, bl
jmp 0x4856d2
xor eax, eax
mov dword [esp + 0x28], 0
cmp byte [esp + 0x13], al
mov dword [esp + 0x24], 4
setne al
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push str.ShowPassword
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0x20], 0
movzx ebx, bl
setne cl
test eax, eax
movzx ecx, cl
cmove ebx, ecx
test esi, esi
je 0x4856dd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5232bc
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004df96c
add esp, 0x30
ret