joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a242
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x590cc0]
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 esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x248], ebx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x24c], esi
mov word [esi], ax
lea ecx, [ebp - 0x238]
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x248], 1
mov dword [ebp - 0x23c], ebx
call fcn.00455480
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x455f48
mov eax, dword [eax]
lea edx, [ebp - 0x23c]
push edx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x224], 8
mov edi, eax
jb 0x455f7b
mov eax, dword [ebp - 0x238]
push eax
call fcn.004b9008
add esp, 4
cmp edi, ebx
jne 0x456011
push 0x208
lea edx, [ebp - 0x21a]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x244], 0x208
mov word [ebp - 0x21c], cx
call fcn.004ba010
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x240]
push edx
push ebx
push str.infoGUID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x456004
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x455fe6
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, esi
call fcn.00402460
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.004b9ff3
mov esp, ebp
pop ebp
ret
Function at 0x45db90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
cmp ebx, eax
jbe 0x45dc93
mov ecx, dword [ebp + 8]
push esi
mov edx, 1
sub edx, ecx
mov esi, 2
sub esi, ecx
mov dword [ebp - 0xc], esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 8], edx
jmp 0x45dbcb
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
add edi, ecx
movzx ecx, byte [edi]
shr ecx, 2
movzx ecx, byte [ecx + 0x5515e0]
mov byte [eax + esi], cl
mov cl, byte [edi]
and cl, 3
add edx, edi
shl cl, 4
cmp edx, ebx
jae 0x45dc66
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov bl, byte [edx + ebx + 1]
shr bl, 4
add bl, cl
movzx ecx, bl
movzx ecx, byte [ecx + 0x5515e0]
mov ebx, dword [ebp - 0xc]
mov byte [eax + esi + 1], cl
mov ecx, dword [ebp + 8]
mov cl, byte [edx + ecx + 1]
and cl, 0xf
add cl, cl
add ebx, edi
add cl, cl
cmp ebx, dword [ebp + 0xc]
jae 0x45dc52
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi + 2]
mov bl, dl
shr dl, 6
and bl, 0x3f
add dl, cl
movzx edx, dl
movzx ecx, byte [edx + 0x5515e0]
movzx edx, bl
mov byte [eax + esi + 2], cl
movzx ecx, byte [edx + 0x5515e0]
mov byte [eax + esi + 3], cl
jmp 0x45dc7a
movzx ecx, cl
mov cl, byte [ecx + 0x5515e0]
mov byte [eax + esi + 2], cl
mov byte [eax + esi + 3], 0x3d
jmp 0x45dc7d
movzx edx, cl
mov cl, byte [edx + 0x5515e0]
mov byte [eax + esi + 1], cl
mov word [eax + esi + 2], 0x3d3d
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
add edx, 3
add eax, 4
mov dword [ebp - 4], edx
cmp edx, ebx
jb 0x45dbc5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45dca0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov al, 0x3d
cmp byte [esi + edi - 1], al
jne 0x45dcbd
dec edi
cmp byte [esi + edi - 1], al
je 0x45dcb6
xor eax, eax
mov dword [ebp + 0xc], eax
cmp edi, eax
jbe 0x45dd74
mov ecx, 2
sub ecx, esi
mov dword [ebp - 4], ecx
mov ecx, 3
sub ecx, esi
mov dword [ebp - 8], ecx
push ebx
nop
movsx ecx, byte [esi + 1]
movsx edx, byte [esi]
mov dl, byte [edx + 0x551628]
mov cl, byte [ecx + 0x551628]
add dl, dl
mov bl, cl
sar bl, 4
add dl, dl
and bl, 3
or dl, bl
mov ebx, dword [ebp + 0x10]
mov byte [eax + ebx], dl
mov edx, dword [ebp - 4]
add edx, esi
inc eax
cmp edx, edi
jae 0x45dd5f
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movsx edx, byte [edx + ebx + 2]
mov dl, byte [edx + 0x551628]
mov bl, dl
sar bl, 2
shl cl, 4
and bl, 0xf
or bl, cl
mov ecx, dword [ebp + 0x10]
mov byte [eax + ecx], bl
mov ecx, dword [ebp - 8]
add ecx, esi
inc eax
cmp ecx, edi
jae 0x45dd5f
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
movsx ecx, byte [ecx + ebx + 3]
mov cl, byte [ecx + 0x551628]
shl dl, 6
and cl, 0x3f
or cl, dl
mov edx, dword [ebp + 0x10]
mov byte [eax + edx], cl
inc eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
add esi, 4
mov dword [ebp + 0xc], ecx
cmp ecx, edi
jb 0x45dce0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45e9e0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x45ea91
cmp eax, 0xffffffff
je 0x45ea91
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x45ea06
cmp dword [esi + 8], edi
jne 0x45ea0c
cmp dword [esi + 0xc], 0
jne 0x45ea17
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 4
mov eax, dword [esi + 4]
test eax, eax
je 0x45ea53
cmp edi, 1
jne 0x45ea42
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x45ea42
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 4], 0
push 8
mov dword [esi + 8], 0xffffffff
mov dword [ebp + 8], 0
call fcn.004b9d21
add esp, 4
lea edx, [ebp + 8]
push edx
push 0
push eax
push 0x45e9b0
push 0
push 0
mov dword [eax], edi
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 4], eax
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x45eab0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x45eae3
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x45ead4
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi], 0
pop esi
ret

Function at 0x45eb10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp dword [eax + 0x14], 8
jb 0x45eb22
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45eb7a
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45eb58
test esi, esi
jmp 0x45eb81
mov edx, dword [ebp + 0x10]
push 0
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, eax
neg edi
sbb edi, edi
and edi, dword [ebp + 8]
test esi, esi
je 0x45eb8a
cmp esi, 0xffffffff
je 0x45eb8a
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x45eba0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b0a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x590cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x45ebcf
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x45ebfd
cmp esi, 0xffffffff
jne 0x45ec54
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x45ec11
and eax, 0xffff
or eax, 0x80070000
push eax
push str.Failed_CreateFile:_0x_08x.
push str.kupdate::KSendInfoThread::_SaveSendInfo
push 0x106
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcinfocollectSendInfoToSvr.cpp
push 0
call fcn.0041a9b0
add esp, 0x18
test esi, esi
je 0x45ec40
cmp esi, 0xffffffff
je 0x45ec40
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp + 8], 0
jb 0x45ec69
mov eax, dword [eax]
push 0
lea edx, [ebp + 8]
push edx
add ecx, ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x45eccc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x45ec92
and eax, 0xffff
or eax, 0x80070000
push eax
push str.Failed_WriteFile:_0x_08x.
push str.kupdate::KSendInfoThread::_SaveSendInfo
push 0x10d
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcinfocollectSendInfoToSvr.cpp
push 0
call fcn.0041a9b0
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45fe90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
push esi
movzx eax, bl
push eax
push str.Send_info_from_thread:_sendueic___i
push str.kupdate::KSendInfoThread::SendInfoToFromThread
push 0x29
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcinfocollectSendInfoToSvr.cpp
push 7
mov esi, ecx
call fcn.0041a9b0
add esp, 0x18
lea ecx, [ebp + 8]
push ecx
push 0
push esi
push 0x45fe80
push 0
push 0
mov byte [esi + 4], bl
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi], eax
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4

Function at 0x46af00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c37b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x590cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004b8637
push 4
mov dword [ebp - 4], 0
call fcn.004b9d21
mov edi, eax
add esp, 4
test edi, edi
je 0x46af80
call fcn.004b8051
mov dword [edi], eax
call fcn.004b7e0f
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004b7d44
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x46af76
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004b7d6c
jmp 0x46af82
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d1d0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c5c9
mov eax, dword fs:[0]
push eax
sub esp, 0xa50
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x234]
push 1
push eax
mov esi, ecx
call fcn.0041d2b0
add esp, 8
cmp dword [ebp - 0x224], 0
mov dword [ebp - 4], 0
je 0x46d240
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x46d234
lea eax, [ebp - 0x234]
push eax
push str.WPS_OFFICE_ROOT_DIR
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
push 0x828
lea ecx, [ebp - 0xa5c]
push 0
push ecx
call fcn.004ba010
add esp, 0xc
test byte [0x594518], 1
mov dword [ebp - 0xa5c], 0xffffffff
jne 0x46d28f
or dword [0x594518], 1
mov ecx, 0x593b50
mov byte [ebp - 4], 1
call fcn.004112c0
push 0x5349a0
call fcn.004b9fdc
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x593b50]
mov ecx, dword [eax + 0x78]
lea edx, [ebp - 0xa5c]
push edx
push 0x593b50
call ecx
test eax, eax
jns 0x46d2ca
push eax
push str.Failed_GetProxyInfo:_0x_08x.
push str.kupdate::KAutonomousInfoCollect::_init
push 0xb7
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcinfocollect_autonomousinfocollect.cpp
push 0
call fcn.0041a9b0
add esp, 0x18
jmp 0x46d2d9
lea edx, [ebp - 0xa5c]
push edx
lea ecx, [esi + 4]
call fcn.0044f7e0
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.004ba010
push 0
push 0x104
lea edx, [ebp - 0x218]
push edx
push str.HKEY_CURRENT_USERSoftwareKingsoftOffice6.0CommonupdateinfoAutoNomInfoSvr
call fcn.0041dcb0
add esp, 0x1c
test eax, eax
js 0x46d339
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46d320
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
jmp 0x46d378
push 0
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push str.HKEY_LOCAL_MACHINESoftwareKingsoftOffice6.0CommonAutoNomInfoSvr
call fcn.0041dcb0
add esp, 0x10
test eax, eax
js 0x46d37f
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46d361
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
mov ecx, esi
call fcn.00422900
cmp dword [ebp - 0x220], 8
jb 0x46d397
mov eax, dword [ebp - 0x234]
push eax
call fcn.004b9008
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret
Function at 0x470040
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ccde
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x590cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x14]
push eax
xor esi, esi
push 0x2001f
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
cmp eax, esi
jne 0x470162
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push 0x2001f
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push edx
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x470162
test byte [0x594fd8], 1
jne 0x4700d8
or dword [0x594fd8], 1
push 0x557bdc
mov ecx, 0x594fbc
mov dword [ebp - 4], esi
call fcn.00402580
push 0x536ec0
call fcn.004b9fdc
add esp, 4
cmp dword [0x594fd0], 8
mov eax, dword [0x594fbc]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 4
jae 0x4700f8
mov eax, 0x594fbc
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
push esi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x470162
cmp dword [ebp - 0x18], esi
jne 0x470150
cmp dword [ebp - 0x1c], 4
jne 0x470150
mov byte [ebx], 1
cmp dword [0x594fd0], 8
mov eax, dword [0x594fbc]
mov dword [ebp - 0x24], 0xa8
jae 0x47013c
mov eax, 0x594fbc
mov edx, dword [ebp - 0x10]
push 4
lea ecx, [ebp - 0x24]
push ecx
push 4
push esi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470180
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [ecx], bl
je 0x470231
lea eax, [ebp - 0x24]
push eax
push 0x20006
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
push ecx
push 0x20006
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push edx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0xf
xor eax, eax
push 0x557bdc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.00402460
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ebx
jae 0x4701f7
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x28]
push esi
push 4
lea ecx, [ebp - 0x2c]
push ecx
push 4
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
cmp dword [ebp - 0xc], 8
pop esi
jb 0x470231
mov edx, dword [ebp - 0x20]
push edx
call fcn.004b9008
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret

Function at 0x4726a0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d0bb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.004ba010
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.0041bc70
add esp, 8
mov eax, esi
mov dword [ebp - 4], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472722
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.00402340
push 4
push str..lnk
lea ecx, [ebp - 0x234]
call fcn.00402340
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x472765
lea eax, [ebp - 0x234]
push 0
push 0
push 0
push eax
push 0x557e10
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x47278e
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.0041b290
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
cmp dword [ebp - 0x220], 8
jb 0x4727b7
mov edx, dword [ebp - 0x234]
push edx
call fcn.004b9008
add esp, 4
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret
Function at 0x4727e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d106
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x590cc0]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], ax
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x4729e5
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x472845
sub eax, edx
sar eax, 1
je 0x4729e5
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.004ba010
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0041d700
add esp, 0x14
test eax, eax
jne 0x4728ae
push ebx
mov ecx, esi
call fcn.00402580
cmp dword [ebp - 0x23c], 8
jb 0x472a1a
mov ecx, dword [ebp - 0x250]
push ecx
jmp 0x472a12
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x234]
call fcn.00402580
push 0x2a
push str.MicrosoftInternet_ExplorerQuick_Launch_
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.00402340
call fcn.00448fc0
test al, al
je 0x4728f1
push 0x14
push str.User_PinnedTaskBar_
lea ecx, [ebp - 0x234]
call fcn.00402340
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4728f6
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.00402340
push 4
push str..lnk
lea ecx, [ebp - 0x234]
call fcn.00402340
mov eax, dword [ebp - 0x234]
mov edi, 8
cmp dword [ebp - 0x220], edi
jae 0x47293d
lea eax, [ebp - 0x234]
push eax
push str.taskbarpinLink_check___s.
push str.kupdate::KDesktopLink::getTaskbarPinned
push 0x199
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push ebx
call fcn.0041a9b0
mov eax, dword [ebp - 0x234]
add esp, 0x18
cmp dword [ebp - 0x220], edi
jae 0x47296f
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x472990
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
call fcn.00402240
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
lea edx, [ebp - 0x250]
mov word [esi], cx
push edx
mov ecx, esi
call fcn.00402630
cmp dword [ebp - 0x220], edi
jb 0x4729c4
mov eax, dword [ebp - 0x234]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x23c], edi
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
jmp 0x472a09
lea ecx, [ebp - 0x250]
xor eax, eax
push ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov ecx, esi
mov word [esi], ax
call fcn.00402630
cmp dword [ebp - 0x23c], 8
jb 0x472a1a
mov edx, dword [ebp - 0x250]
push edx
call fcn.004b9008
add esp, 4
mov eax, esi
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.004b9ff3
mov esp, ebp
pop ebp
ret