joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a390
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x988
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x208
mov dword [ebp - 0x984], eax
mov ebx, edx
lea eax, [ebp - 0x72c]
mov dword [ebp - 0x980], ebx
push 0
push eax
mov dword [ebp - 0x988], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x524]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x31c]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x72c]
add esp, 0xc
push ebx
push str._s.
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x97c]
push eax
lea eax, [ebp - 0x72c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40a5d1
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
mov ecx, 0x412f60
lea eax, [ebp - 0x950]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a476
test dx, dx
je 0x40a472
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a476
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a450
xor eax, eax
jmp 0x40a47b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a5b8
mov eax, 0x412f64
lea ecx, [ebp - 0x950]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40a4b6
test dx, dx
je 0x40a4b2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40a4b6
add ecx, 4
add eax, 4
test dx, dx
jne 0x40a490
xor eax, eax
jmp 0x40a4bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a5b8
test byte [ebp - 0x97c], 0x10
lea eax, [ebp - 0x950]
push eax
push dword [ebp - 0x980]
lea eax, [ebp - 0x524]
push 0x412f6c
push eax
je 0x40a54e
call esi
lea eax, [ebp - 0x950]
push eax
push dword [ebp - 0x984]
lea eax, [ebp - 0x31c]
push 0x412f6c
push eax
call esi
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x2c
lea eax, [ebp - 0x31c]
push 0x104
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
mov ecx, dword [ebp - 0x988]
lea eax, [ebp - 0x31c]
add esp, 0xc
lea edx, [ebp - 0x524]
push eax
call fcn.0040a390
jmp 0x40a5b5
call esi
lea eax, [ebp - 0x950]
push eax
push dword [ebp - 0x984]
lea eax, [ebp - 0x31c]
push 0x412f6c
push eax
call esi
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x2c
lea eax, [ebp - 0x31c]
push 0x104
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
mov ecx, dword [ebp - 0x988]
lea eax, [ebp - 0x114]
add esp, 0xc
lea edx, [ebp - 0x524]
push eax
call fcn.0040a2b0
add esp, 4
lea eax, [ebp - 0x97c]
push eax
push edi
call ebx
test eax, eax
jne 0x40a440
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041083d
mov esp, ebp
pop ebp
ret
Function at 0x40bd20
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
movzx esi, cx
mov eax, 0x5e6ea9af
shr ecx, 0x10
mul dword [ebp + 8]
mov dword [ebp - 0x10], ecx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, dword [ebp + 8]
mov ebx, edx
sub ebx, eax
mov dword [ebp - 4], ebx
test edi, edi
jne 0x40bd5d
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x40be73
xor edx, edx
mov dword [ebp - 8], edx
cmp ebx, 7
jbe 0x40bdd4
mov eax, 7
sub eax, edi
mov dword [ebp - 0x10], eax
nop dword [eax]
movzx eax, byte [edi]
add edx, 8
add esi, eax
movzx eax, byte [edi + 1]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 2]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 3]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 4]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 5]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 6]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 7]
add ecx, esi
add edi, 8
add esi, eax
mov eax, dword [ebp - 0x10]
add eax, edi
add ecx, esi
cmp eax, ebx
jb 0x40bd80
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 4]
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 8], eax
jae 0x40be35
sub eax, dword [ebp - 8]
cmp eax, 2
jb 0x40be28
mov eax, dword [ebp - 8]
mov ecx, ebx
mov edx, dword [ebp - 4]
sub edx, eax
sub edx, 2
shr edx, 1
inc edx
lea eax, [eax + edx*2]
mov dword [ebp - 8], eax
nop
movzx eax, byte [edi]
add esi, eax
movzx eax, byte [edi + 1]
add ebx, esi
add edi, 2
add esi, eax
add ecx, esi
sub edx, 1
jne 0x40be00
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jae 0x40be30
movzx eax, byte [edi]
add esi, eax
add ecx, esi
inc edi
lea eax, [edx + ebx]
add ecx, eax
mov eax, 0x80078071
mov ebx, 0x15b0
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], ebx
jne 0x40bd65
shl ecx, 0x10
pop edi
lea eax, [esi + ecx]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40be80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 4
jb 0x40beeb
push edi
mov edi, esi
shr edi, 2
movzx eax, byte [edx]
sub esi, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x412b50]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x412b50]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x412b50]
movzx eax, byte [edx + 3]
add edx, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x412b50]
sub edi, 1
jne 0x40be94
pop edi
test esi, esi
je 0x40bf0a
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x412b50]
sub esi, 1
jne 0x40bef0
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x41113d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41117c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41117c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41117c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41117c
cmp dword [ecx + 0x74], 0xe
jbe 0x41117c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x405f50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x586c52
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
push 0
mov dword [esp + 0x10], esi
call fcn.0056121b
mov dword [esp + 0x2c], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [esp + 0x2c], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [esp + 0x2c], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [esp + 0x2c], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [esp + 0x2c], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [esp + 0x2c], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x2c], 6
test edi, edi
jne 0x406028
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], str.bad_locale_name
push eax
lea ecx, [esp + 0x14]
call fcn.00565aef
mov byte [esp + 0x2c], 7
mov dword [esp + 0x10], 0x5a248c
mov byte [esp + 0x2c], 6
lea eax, [esp + 0x10]
push 0x5df024
push eax
call fcn.0056aebb
push edi
push esi
call fcn.0056106f
add esp, 8
mov dword [esp + 0x2c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00564de8
add esp, 0x24
ret 4

Function at 0x4068a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x586e99
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 0x30], 1
cmp dword [esp + 0x50], 0
je 0x4068f1
push 2
push 0x5a85a8
lea ecx, [esp + 0x48]
call fcn.00403f10
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
call fcn.00406830
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x40]
push 0xffffffffffffffff
push 0
push eax
call fcn.00403e60
mov byte [esp + 0x30], 1
cmp dword [esp + 0x24], 0x10
jb 0x40692a
push dword [esp + 0x10]
call fcn.00564de3
add esp, 4
lea eax, [esp + 0x40]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
mov byte [esi], 0
call fcn.00403dc0
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
cmp dword [esp + 0x54], 0x10
jb 0x40697c
push dword [esp + 0x40]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x4069b0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x586ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push 0xffffffffffffffff
push 0
push dword [esp + 0x5c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00403ff0
mov dword [esp + 0x4c], 0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.004068a0
add esp, 0x20
mov dword [esp + 0x34], 1
cmp dword [eax + 0x14], 0x10
jb 0x406a35
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [esp + 0x3c]
push eax
call fcn.00565aef
mov byte [esp + 0x34], 2
mov dword [esi], 0x5a248c
mov byte [esp + 0x34], 4
cmp dword [esp + 0x24], 0x10
jb 0x406a68
push dword [esp + 0x10]
call fcn.00564de3
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esi], 0x5a8538
mov dword [esi + 0x10], eax
mov dword [esp + 0x34], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret 0xc

Function at 0x406de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x587069
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov eax, dword [ecx + 0x30]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x407e90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x587372
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
lea eax, [edi + 0x60]
mov dword [edi], 0x5be4e4
mov dword [esp + 0x14], eax
mov dword [eax], 0x5a8528
mov dword [esp + 0x20], 0
mov dword [eax], 0x5a8520
mov dword [esp + 0x20], 1
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0xc], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x5a8590
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00408bd0
mov dword [esp + 0x20], 4
mov eax, dword [edi]
mov dword [esp + 0x14], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x5a8530
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.00409430
mov byte [esp + 0x20], 5
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi], 0x5a8550
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x4c], 0
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x7e1698]
mov dword [esi + 0x50], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], 0
mov byte [esp + 0x20], 6
sub esp, 8
mov ecx, esi
push dword [esp + 0x30]
call fcn.00408cd0
test eax, eax
jne 0x408008
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x407ff6
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x408008
push 0
call fcn.00406d00
mov dword [esp + 0x20], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0x10
Function at 0x41b0f0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x58995b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x258]
mov ebx, dword [esp + 0x254]
mov eax, dword [esp + 0x25c]
push ebp
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b28a
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41b28a
mov esi, dword [0x7e18a0]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0042a650
cmp dword [eax], esi
jne 0x41b28a
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov dword [esp + 0x24c], eax
push 0x1fe
push eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x46]
push eax
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0x3c]
push 0xff
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
call fcn.0040bc40
push 0
push dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.0042a590
cmp eax, 0xffffffff
jne 0x41b226
push str.RC::RCPackagesInstall::AutoClickBtn
push str._s_error:_GetWindowText__s_Failed.
push 1
push 3
call fcn.004c3cc0
push eax
call fcn.004c4520
add esp, 0x14
xor bl, bl
jmp 0x41b251
movzx eax, byte [0x7e1a4d]
push eax
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x28]
push eax
call fcn.0042af60
push 0
push 0
push 0xf5
push ebp
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov bl, 1
mov dword [esp + 0x24c], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x41b26f
push dword [esp + 0x24]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov word [esp + 0x24], ax
mov al, bl
mov dword [esp + 0x34], 0
jmp 0x41b28c
xor al, al
mov ecx, dword [esp + 0x244]
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.00564de8
add esp, 0x23c
ret 0xc
Function at 0x422cf0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x58a540
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
call fcn.00423a40
test al, al
je 0x422f56
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x1c]
test esi, esi
jne 0x422d87
push 9
push str.Software_
jmp 0x422d8e
push 0x15
push str.SoftwareWow6432Node_
call fcn.00404a80
push 0xc
push str.2345Explorer
lea ecx, [esp + 0x24]
call fcn.00404880
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x18]
push ecx
push 0x20006
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x422dfb
push str.Value
push dword [esp + 0x1c]
call edi
push str.Value2
push dword [esp + 0x1c]
call edi
push str.Value3
push dword [esp + 0x1c]
call edi
push str.Value4
push dword [esp + 0x1c]
call edi
push dword [esp + 0x18]
call ebx
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x422e16
push dword [esp + 0x1c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
inc esi
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp esi, 2
jb 0x422d43
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
mov dword [esp + 0x70], 1
lea edx, [esp + 0x34]
lea ecx, [eax + 0x1c]
call fcn.00411f00
test al, al
je 0x422f24
push 0x2c
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x20]
push str.2345ExplorerUser_DataDefaultpage_file.dat
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call fcn.00404a80
mov byte [esp + 0x70], 2
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x50]
call fcn.004b2290
add esp, 4
mov byte [esp + 0x70], 4
cmp dword [esp + 0x30], 8
jb 0x422ed5
push dword [esp + 0x1c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.004bbf20
mov byte [esp + 0x70], 1
cmp dword [esp + 0x60], 8
jb 0x422f0d
push dword [esp + 0x4c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x422f3f
push dword [esp + 0x34]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00564de8
add esp, 0x60
ret
Function at 0x422f80
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x58a578
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
call fcn.00423a40
test al, al
je 0x4230c7
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x1c]
test esi, esi
jne 0x423017
push 9
push str.Software_
jmp 0x42301e
push 0x15
push str.SoftwareWow6432Node_
call fcn.00404a80
push 7
push str.2345Pic
lea ecx, [esp + 0x24]
call fcn.00404880
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x18]
push ecx
push 0x20006
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x42308b
push str.Value
push dword [esp + 0x1c]
call edi
push str.Value2
push dword [esp + 0x1c]
call edi
push str.Value3
push dword [esp + 0x1c]
call edi
push str.Value4
push dword [esp + 0x1c]
call edi
push dword [esp + 0x18]
call ebx
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x4230a6
push dword [esp + 0x1c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
inc esi
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp esi, 2
jb 0x422fd3
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00564de8
add esp, 0x30
ret