joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3c435565
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5ba20c36
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x45c0d5
call fcn.0043ed72
lea ecx, [ebp - 0x18]
call fcn.0042fd67
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
call fcn.00402ab8
or dword [ebp - 4], 0xffffffff
call fcn.0042fd7d
and dword [ebp - 0x14], 0
push 0x21
push 1
mov edi, 0x400000
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x402969
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x402960
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
cmp eax, ebx
je 0x402969
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x402969
mov dword [ebp - 4], 3
shr esi, 1
lea edi, [eax + esi*2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, edi
je 0x402906
cmp word [esi], bx
jne 0x402902
cmp dword [ebp - 0x1c], ebx
je 0x4028fc
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.00402a20
lea eax, [esi + 2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
jmp 0x402902
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
inc esi
inc esi
jmp 0x4028d2
or dword [ebp - 4], 0xffffffff
jmp 0x402967
mov dword [ebp - 0x14], 1
jmp 0x402971
call fcn.00403116
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x40299a
call fcn.0043ee17
ret 4
Function at 0x409b8f
Capabilities:
Terminate process

Disassembly:
push 0x2c
mov eax, 0x45e53d
call fcn.0043ed3f
push 0x466578
mov ecx, 0x48015c
call fcn.004029a2
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x409bcc
push 0xbd3
lea eax, [ebp - 0x24]
push eax
call fcn.0040475f
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x24]
jmp 0x40f632
lea ecx, [ebp - 0x38]
call fcn.004359dd
mov dword [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x46658c
lea edi, [ebp - 0x38]
call fcn.0040151f
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [ebp - 0x10]
call fcn.0040151f
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
call fcn.0041834a
cmp dword [ebp - 0x30], ebx
pop ecx
pop ecx
jle 0x409cc6
mov edi, 0x480130
push 0x466590
mov ecx, edi
call fcn.00424300
test eax, eax
je 0x409cab
push str.LI_SKIP_EULA
mov ecx, edi
call fcn.00424300
test eax, eax
je 0x409cab
cmp dword [ebp - 0x30], 1
jle 0x409cab
cmp dword [ebp - 0x30], ebx
jg 0x409c4d
jmp fcn.0042fc5c
mov ecx, dword [ebp - 0x34]
push 0x4665c0
call fcn.0040440a
test eax, eax
jne 0x409cab
cmp dword [ebp - 0x30], 1
jle 0x409c48
mov eax, dword [ebp - 0x34]
add eax, 4
push eax
lea ecx, [esi + 0x98]
call fcn.0040ac8e
push ebx
mov byte [esi + 0xac], 1
mov eax, dword [0x480070]
push ebx
push 0x401
push dword [eax + 0x30]
mov dword [eax + 0x58], ebx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [0x48012c]
cmp eax, ebx
je 0x409cab
push ebx
push ebx
push 0x466538
push eax
call fcn.00416821
cmp byte [esi + 0xac], bl
jne 0x409cc6
cmp dword [ebp - 0x30], ebx
jle 0x409c48
push dword [ebp - 0x34]
lea ecx, [esi + 0x98]
call fcn.0040ac8e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00435b8e
call fcn.0043ee17
ret
Function at 0x409cd8
Capabilities:
Terminate process

Disassembly:
push 0x2c
mov eax, 0x45e53d
call fcn.0043ed3f
push 0x466578
mov ecx, 0x48015c
call fcn.004029a2
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x409d14
push 0xbd3
lea eax, [ebp - 0x24]
push eax
call fcn.0040475f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
jmp 0x40f632
lea ecx, [ebp - 0x38]
call fcn.004359dd
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x46658c
lea edi, [ebp - 0x38]
call fcn.0040151f
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [ebp - 0x10]
call fcn.0040151f
mov byte [ebp - 4], 3
mov byte [ebp - 4], bl
call fcn.0041834a
cmp byte [esi + 0xac], 0
pop ecx
pop ecx
mov edi, ebx
je 0x409d63
push 2
pop edi
mov ebx, dword [ebp - 0x30]
jmp 0x409dae
test edi, edi
jl 0x409dc4
cmp edi, dword [ebp - 0x30]
jge 0x409dc4
mov eax, dword [ebp - 0x34]
lea eax, [eax + edi*4]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x409dad
push str.CProgressPage
push eax
call fcn.0040a909
test al, al
pop ecx
pop ecx
je 0x409d96
push esi
call fcn.00409f0d
cmp edi, dword [ebp - 0x30]
jge 0x409dc4
mov eax, dword [ebp - 0x34]
lea eax, [eax + edi*4]
push eax
lea ecx, [esi + 0x98]
call fcn.0040ac8e
inc edi
cmp edi, ebx
jb 0x409d68
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00435b8e
call fcn.0043ee17
ret
jmp fcn.0042fc5c
test ecx, ecx
je 0x40f63f
mov eax, dword [ecx]
push 0
push 0
call dword [eax + 0x14]
push 1
call fcn.0043d61f
int3
Function at 0x40ca21
Capabilities:
Set registry value

Disassembly:
push 0x24
mov eax, 0x45cae3
call fcn.0043ed3f
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0x26
jne 0x40cbef
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040524f
mov byte [ebp - 4], 1
mov esi, 0x464e5c
push esi
push 0x467020
lea eax, [ebp - 0x10]
push eax
call fcn.0040d098
push esi
push 0x467024
lea eax, [ebp - 0x10]
push eax
call fcn.0040d098
lea ecx, [ebp - 0x30]
call fcn.004359dd
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x465da8
lea edi, [ebp - 0x30]
call fcn.0040151f
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040524f
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.0041834a
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.0040165b
xor edi, edi
cmp dword [ebp - 0x28], ebx
jle 0x40cb3d
push edi
lea ecx, [ebp - 0x30]
call fcn.0040d295
push eax
lea ecx, [ebp - 0x14]
call fcn.0040524f
mov byte [ebp - 4], 5
cmp edi, 3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
jl 0x40cc1e
xor esi, esi
cmp eax, ebx
jle 0x40cb2b
lea ecx, [esi + 1]
cmp eax, ecx
jle 0x40cb09
lea eax, [ebp - 0x14]
call fcn.00408801
movzx eax, ax
push eax
lea ecx, [ebp - 0x10]
call fcn.00404012
mov ecx, esi
lea eax, [ebp - 0x14]
call fcn.00408801
movzx eax, ax
push eax
lea ecx, [ebp - 0x10]
call fcn.00404012
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
inc esi
inc esi
cmp esi, eax
jl 0x40caee
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004088d4
inc edi
cmp edi, dword [ebp - 0x28]
jl 0x40cac3
lea ecx, [ebp - 0x18]
call fcn.004088aa
mov byte [ebp - 4], 6
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push 0x467028
push eax
call fcn.00401fdb
add esp, 0xc
call fcn.00418303
neg al
mov dword [ebp - 0x14], ebx
sbb eax, eax
and eax, 0x200
add eax, 0x20006
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
push ecx
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40cbc0
lea ecx, [ebp - 0x14]
call fcn.00409065
cmp eax, ebx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
jne 0x40cbc0
push 4
lea eax, [ebp - 0x1c]
push eax
push 4
push ebx
push str.DeploymentFlags
push ecx
mov dword [ebp - 0x1c], 2
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.00409065
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004088d4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00435b8e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.004088d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004088d4
call fcn.0043ee17
ret 4
lea esi, [eax - 1]
mov ecx, esi
lea eax, [ebp - 0x14]
call fcn.00408801
movzx eax, ax
push eax
lea ecx, [ebp - 0x10]
call fcn.00404012
mov eax, esi
cmp eax, ebx
jg 0x40cc03
jmp 0x40cb2b
Function at 0x40d2d7
Capabilities:
Move file

Disassembly:
push 0x20
mov eax, 0x45de26
call fcn.0043ed72
lea ecx, [ebp - 0x2c]
call fcn.0042fd67
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004088aa
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.00408994
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
push 0x4670f8
lea ecx, [ebp - 0x18]
call fcn.00417e4b
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
jge 0x40d350
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.00406577
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004088d4
or dword [ebp - 4], 0xffffffff
call fcn.0042fd7d
mov eax, dword [ebp - 0x20]
jmp 0x40d3d3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
call fcn.00426bf0
mov dword [ebp - 0x20], eax
test eax, eax
jl 0x40d326
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40d379
and dword [ebp - 0x18], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x1c]
push eax
mov esi, dword [ebp + 0x18]
mov ecx, esi
call fcn.00401adc
push str..exe
mov ecx, esi
call fcn.00409253
push dword [esi]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x40d326
call fcn.00403116
mov dword [ebp - 0x20], eax
jmp 0x40d326
call fcn.0043ee17
ret 0x14
Function at 0x40ef82
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x47a030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Calling_SetDllDirectory_n
call ebx
push 0x464e5c
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40efe2
push 0x800
call eax
test eax, eax
jne 0x40efdb
push str.Failed_to_SetDefaultDlLDirectories_n
jmp 0x40efe7
push str.Succeeded_to_SetDefaultDlLDirectories_n
jmp 0x40efe7
push str.Failed_to_load_SetDefaultDlLDirectories_n
call ebx
push 0x104
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40f15b
push esi
push edi
lea esi, [ebp + eax*2 - 0x428]
mov edi, 0x103
sub edi, eax
mov word [esi], 0x5c
inc esi
inc esi
and dword [ebp - 0x42c], 0
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x468], str.BCRYPT.DLL
mov dword [ebp - 0x464], str.RSAENH.DLL
mov dword [ebp - 0x460], str.CRYPT32.DLL
mov dword [ebp - 0x45c], str.MSASN1.DLL
mov dword [ebp - 0x458], str.USERENV.DLL
mov dword [ebp - 0x454], str.WINTRUST.DLL
mov dword [ebp - 0x450], str.GDIPLUS.DLL
mov dword [ebp - 0x44c], str.MSI.DLL
mov dword [ebp - 0x448], str.OLEACC.DLL
mov dword [ebp - 0x444], str.OLEDLG.DLL
mov dword [ebp - 0x440], str.RICHED20.DLL
mov dword [ebp - 0x43c], str.VERSION.DLL
mov dword [ebp - 0x438], str.WINHTTP.DLL
mov eax, dword [ebp - 0x42c]
push dword [ebp + eax*4 - 0x468]
push edi
push esi
call fcn.0043dc76
add esp, 0xc
test eax, eax
jne 0x40f13f
mov esi, str.Loading
lea edi, [ebp - 0x220]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x20a
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x20e]
push eax
movsw word es:[edi], word [esi]
call fcn.0043ee50
lea eax, [ebp - 0x428]
push eax
mov esi, 0x10e
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0043d185
push 0x467628
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0043d185
add esp, 0x24
lea eax, [ebp - 0x220]
push eax
call ebx
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [ebp - 0x434]
mov edi, dword [ebp - 0x430]
jmp 0x40f146
push str.Failed_to_append_filename_on_system_path_n
call ebx
inc dword [ebp - 0x42c]
cmp dword [ebp - 0x42c], 0xd
jb 0x40f0af
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0043aa05
leave
ret
Function at 0x40f3fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00434bf5
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x40f41d
xor eax, eax
jmp 0x40f430
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40f419
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop esi
pop ebp
ret 8
Function at 0x41030d
Capabilities:
Terminate process

Disassembly:
push 0x40c
mov eax, 0x45dedf
call fcn.0043eda8
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], eax
je 0x4103d6
mov eax, dword [0x48012c]
cmp eax, ebx
je 0x41034b
push ebx
push ebx
push eax
mov esi, edi
call fcn.00416ad5
push 0x460510
mov ecx, edi
call fcn.00430e7f
test eax, eax
jne 0x41036b
push 0x465344
mov ecx, edi
call fcn.00430e7f
test eax, eax
je 0x4103d6
mov eax, dword [edi]
push ebx
push 0x200
lea ecx, [ebp - 0x410]
push ecx
mov ecx, edi
call dword [eax + 0xc]
xor esi, esi
inc esi
test eax, eax
lea eax, [ebp - 0x414]
push eax
push 0x47ffb0
je 0x4103a8
call fcn.0040f168
mov dword [ebp - 4], ebx
mov eax, dword [eax]
push 0x10
push eax
lea eax, [ebp - 0x410]
push eax
jmp 0x4103ba
call fcn.0040f168
mov dword [ebp - 4], esi
mov eax, dword [eax]
push 0x10
push eax
push str.Out_of_memory_
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.004088d4
push esi
call fcn.0043d61f
mov eax, dword [ebp - 0x414]
xor esi, esi
inc esi
mov dword [eax + 0xa8], esi
mov dword [0x48005c], esi
mov esi, dword [0x47ffd0]
call fcn.00409a37
cmp edi, ebx
je 0x41040e
push dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
push edi
call fcn.00436638
mov ebx, eax
mov eax, ebx
call fcn.0043ee2b
ret 8
Function at 0x410f48
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x45aed4
call fcn.0043eda8
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
mov dword [ebp - 0x3c], edi
je 0x411065
cmp byte [edi + 0x41], bl
je 0x411065
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x410f80
xor al, al
jmp 0x411067
lea esi, [ebp - 0x30]
call fcn.00410ca5
mov dword [ebp - 4], ebx
lea eax, [edi + 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
lea ebx, [ebp - 0x48]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.00410d24
mov esi, eax
call fcn.00410d95
add eax, dword [ebp - 0x34]
lea ebx, [ebp - 0x60]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.00410d24
mov esi, eax
call fcn.00410d95
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x38]
push esi
push dword [ebp - 0x34]
push eax
push dword [ebp - 0x40]
call dword [edx + 0x18]
xor ebx, ebx
sub eax, ebx
je 0x410fe5
dec eax
je 0x410fe8
dec eax
dec eax
jne 0x411051
mov bl, 1
jmp 0x411051
mov byte [edi + 0x41], bl
lea ebx, [ebp - 0x58]
lea esi, [ebp - 0x30]
call fcn.00410d24
mov esi, eax
call fcn.00410d95
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x34], ecx
je 0x41102d
push dword [edi + 0x4c]
lea ebx, [ebp - 0x50]
push ecx
push 1
lea esi, [ebp - 0x30]
call fcn.00410d24
mov esi, eax
call fcn.00410d95
push eax
call fcn.0043cdd3
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x41104f
mov ecx, dword [ebp - 0x34]
cmp byte [edi + 0x41], 0
je 0x410fe1
test ecx, ecx
jne 0x410f91
push ecx
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.00410cdd
mov edi, dword [ebp - 0x3c]
jmp 0x410f91
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00412539
mov al, bl
jmp 0x411067
mov al, 1
call fcn.0043ee2b
ret

Function at 0x4126e6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412749
cmp dword [ebp + 0xc], 1
je 0x412722
cmp dword [ebp + 0xc], 2
je 0x412722
push 0xd
pop eax
jmp 0x412749
test edi, edi
mov eax, dword [ebp - 4]
je 0x412743
test eax, eax
je 0x41273f
test al, 1
jne 0x41271d
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x412743
jmp 0x41271d
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x41284c
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x45d85d
call fcn.0043ed3f
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CProgressPage.0
mov dword [ebp - 4], 3
xor edi, edi
cmp dword [esi + 0x118], edi
je 0x412894
lea ebx, [esi + 0x110]
mov eax, edi
mov ecx, ebx
call fcn.00409106
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, dword [esi + 0x118]
jne 0x41287a
mov byte [ebp - 4], 2
lea ecx, [esi + 0x178]
call fcn.00434cdb
mov byte [ebp - 4], 1
lea ecx, [esi + 0x124]
call fcn.00434cdb
mov byte [ebp - 4], 0
lea ecx, [esi + 0x110]
call fcn.00435b8e
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00413ed1
call fcn.0043ee17
ret

Function at 0x412e3a
Capabilities:
Delete file
Move file

Disassembly:
push 4
mov eax, 0x45ac43
call fcn.0043ed3f
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.RememberTempFile.0
mov dword [ebp - 4], 1
lea esi, [edi + 4]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x412e7c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x412e7c
mov eax, dword [esi]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.004088d4
or dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.CProgressPageProxy::Caller.0
call fcn.0043ee17
ret
Function at 0x417e4b
Capabilities:
Get common file path

Disassembly:
push 0x24
mov eax, 0x45b6cb
call fcn.0043ed72
mov edi, ecx
lea ecx, [ebp - 0x30]
call fcn.0042fd67
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
call fcn.004016e7
and dword [edi], 0
lea ecx, [ebp - 0x14]
call fcn.004088aa
mov byte [ebp - 4], 2
mov esi, 0x105
push esi
lea ecx, [ebp - 0x14]
call fcn.0040d2b4
mov dword [ebp - 0x20], eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x417ec0
call fcn.00403116
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004088d4
or dword [ebp - 4], 0xffffffff
call fcn.0042fd7d
mov eax, esi
jmp 0x417fe3
or ebx, 0xffffffff
push ebx
lea ecx, [ebp - 0x14]
call fcn.004053df
lea ecx, [ebp - 0x18]
call fcn.004088aa
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x18]
call fcn.0040d2b4
mov esi, eax
push esi
push 0
push dword [ebp + 8]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x417f1a
call fcn.00403116
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004088d4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004088d4
mov dword [ebp - 4], ebx
jmp 0x417eb4
push ebx
lea ecx, [ebp - 0x18]
call fcn.004053df
lea eax, [ebp - 0x1c]
push eax
call fcn.00408994
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
push 0
push 1
push 0x80
push 0x1041
push esi
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileEx]
mov dword [ebp - 0x24], eax
test eax, eax
jge 0x417f7a
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
call fcn.00406577
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004088d4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004088d4
mov dword [ebp - 4], ebx
jmp 0x417fdb
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push esi
mov ecx, dword [ebp + 0xc]
call fcn.00401631
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
call fcn.00406577
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004088d4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004088d4
mov dword [ebp - 4], ebx
call fcn.0042fd7d
xor eax, eax
jmp 0x417fe3
call fcn.0042fd7d
mov eax, dword [ebp - 0x24]
call fcn.0043ee17
ret

Function at 0x417fe9
Capabilities:
Accept command line arguments

Disassembly:
push 0x18
mov eax, 0x45aaa1
call fcn.0043ed72
mov edi, ecx
call fcn.004016e7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
jne 0x41801c
call fcn.00403116
jmp 0x418087
lea ecx, [ebp - 0x24]
call fcn.0042fd67
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
push dword [esi]
mov ecx, edi
call fcn.00401631
or dword [ebp - 4], 0xffffffff
call fcn.0042fd7d
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
neg eax
sbb eax, eax
and eax, 0x5ffefffe
add eax, 0xa0010002
jmp 0x418087
call fcn.0043ee17
ret
Function at 0x41808d
Capabilities:
Create process on windows

Disassembly:
push 0x58
mov eax, 0x45b691
call fcn.0043ed3f
lea ecx, [ebp - 0x10]
call fcn.004088aa
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00417fe9
xor ecx, ecx
test eax, eax
setge cl
push 0x40
lea eax, [ebp - 0x60]
push edi
push eax
mov dword [ebp - 0x64], 0x44
mov esi, ecx
call fcn.0043ee50
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push edi
push edi
push 0x1000000
push edi
neg esi
push edi
sbb esi, esi
and esi, dword [ebp - 0x10]
push edi
call fcn.0040d1e2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
mov ebx, eax
call fcn.004053df
cmp esi, edi
jne 0x418125
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004088d4
mov eax, edi
call fcn.0043ee17
ret
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0x20]
jmp 0x418111