joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dc064
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x24], eax
call fcn.004c113f
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00403a64
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402a6b
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push str._d__d__d__d:_.2d
push eax
call fcn.00415254
push 0x527fb4
push dword [0x577a4c]
call sub.msvcrt.dll_wcscmp
mov esi, dword [ebp - 0x1c]
add esp, 0x24
mov edi, str.Software360Safe360DiagnoseScan
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
test eax, eax
je 0x4dc0f9
mov eax, dword [0x577a4c]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
jmp 0x4dc100
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.LastFixTime_PlanTask
push edi
push ebx
call fcn.0044efd6
mov eax, dword [ebp + 0x10]
add esp, 0x18
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.fixItemName_PlanTask
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x18]
push 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 4
push str.FixItemPluginID_PlanTask
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [0x576cb8], 8
mov ecx, 0x576ca4
jb 0x4dc159
mov ecx, dword [0x576ca4]
mov eax, dword [0x576cb4]
add eax, eax
push eax
push ecx
push 1
push str.Search_Words
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [0x577a48]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.XiuFu_Come_From
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4dc1c7
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x18]
push eax
call fcn.004a39bb
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.NewTitle_PlanTask
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.004042e9
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x4dca11
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0x434
push dword [esi + 8]
mov dword [esi + 0x88], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x614
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call ebx
push 0
push dword [esi + 0x80]
call ebx
push 0
push 0x5fb
mov ecx, esi
call fcn.004dc9e8
sub edi, 1
je 0x4dcaa2
sub edi, 1
je 0x4dca98
sub edi, 1
jne 0x4dcab5
push 0x614
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call ebx
push 1
push 0x5fb
mov ecx, esi
call fcn.004dc9e8
jmp 0x4dcab5
push 5
push dword [esi + 0x80]
jmp 0x4dcab3
push 0x434
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4de6b4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push dword [ebx + 0x38]
lea ecx, [ebx + 0x2c]
call fcn.004dd35b
test eax, eax
je 0x4de6ea
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x38], esi
call fcn.004dd35b
mov esi, eax
test esi, esi
je 0x4de789
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
mov edi, eax
test edi, edi
jne 0x4de76d
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 4]
mov edi, eax
test edi, edi
je 0x4de789
push dword [ebx + 4]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
mov ecx, 0xb5
sub eax, dword [ebp - 0x10]
push 0x40
sub eax, 0x1f
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push 0x1f
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4de776
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
inc eax
jmp 0x4de78b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 4
Function at 0x4e0fa7
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push str._APPDATA_360DiagnoseScanThird_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00402af5
push dword [esi + 0x34]
push 0x549764
push edi
call fcn.0041b953
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.00522d04
leave
ret 4

Function at 0x4e1591
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 0x40], 2
jne 0x4e15b6
push 3
call fcn.004e232c
jmp 0x4e1695
cmp dword [edi + 0x40], 5
jne 0x4e1695
push ebx
push esi
push 0x54a0c0
lea ecx, [ebp - 0x1c]
call fcn.004108e3
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
lea ebx, [edi + 0x94]
push eax
mov ecx, ebx
call fcn.004dd0aa
mov eax, dword [ebp - 0x24]
add eax, 0x28
cmp dword [eax + 0x14], 8
jb 0x4e15f2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004e0fa7
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00413428
mov ecx, dword [ebp - 0x28]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
lea ecx, [ebp - 0x1c]
call fcn.00410d88
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e1682
push 1
xor eax, eax
push eax
push eax
push esi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x549584
lea ecx, [ebp - 0x1c]
call fcn.004108e3
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004dd0aa
mov eax, dword [ebp - 0x24]
add eax, 0x28
cmp dword [eax + 0x14], 8
jb 0x4e1669
mov eax, dword [eax]
push eax
call sub.msvcrt.dll__wtoi
pop ecx
push eax
mov ecx, edi
call fcn.004e11d1
lea ecx, [ebp - 0x1c]
call fcn.00410d88
jmp 0x4e168b
push 6
mov ecx, edi
call fcn.004e232c
lea ecx, [esi - 0x10]
call fcn.004042e9
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00522d04
leave
ret
Function at 0x4e1fce
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x4e2006
push 0x527fb4
mov ebx, 0x55a
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e2056
call fcn.00403a64
push eax
lea ecx, [ebp - 4]
call fcn.00402a6b
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push str._._fsize12_colorrgb_101_101_101____.__d__
push eax
call fcn.00415254
mov esi, dword [ebp - 4]
add esp, 0xc
mov ebx, 0x55a
push esi
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi - 0x10]
call fcn.004042e9
push str._._fsize12_colorrgb_101_101_101____._
lea ecx, [ebp + 0xc]
call fcn.00402af5
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4e2080
push esi
call sub.msvcrt.dll_wcslen
pop ecx
test eax, eax
je 0x4e2080
push esi
lea ecx, [ebp + 0xc]
call fcn.00402d4c
jmp 0x4e2094
push dword [edi + 0x38]
lea eax, [ebp + 0xc]
push 0x53ca38
push eax
call fcn.0041b953
add esp, 0xc
mov esi, dword [ebp + 0xc]
push esi
push 0x443
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esi - 0x10]
call fcn.004042e9
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4e2a2a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp + 8]
mov esi, 0x40d
mov eax, dword [ebp + 0xc]
push esi
mov dword [edi], ecx
push ecx
lea ecx, [ebp - 0x21c]
mov dword [edi + 4], eax
call fcn.0041f436
xor ebx, ebx
cmp dword [ebp - 0x210], ebx
je 0x4e2aac
push str.safemon_skin_browserfix_btn_login.png
push dword [0x577c88]
lea eax, [ebp - 0x208]
push eax
call fcn.0041bbfe
push 1
push 4
push dword [eax]
push ebx
push dword [ebp - 0x21c]
call fcn.0042067a
mov ecx, dword [ebp - 0x208]
add esp, 0x20
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x41
push ebx
push ebx
push ebx
push 0x2c5
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push dword [edi]
call ebx
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
call esi
push 0x40f
push dword [edi]
lea ecx, [ebp - 0x22c]
call fcn.0041f436
cmp dword [ebp - 0x220], 0
je 0x4e2b21
push str.safemon_skin_browserfix_btn_loging_logined.png
push dword [0x577c88]
lea eax, [ebp - 0x208]
push eax
call fcn.0041bbfe
push 1
push 4
push dword [eax]
push 0
push dword [ebp - 0x22c]
call fcn.0042067a
mov ecx, dword [ebp - 0x208]
add esp, 0x20
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x81
xor eax, eax
push eax
push eax
push eax
push 0x313
push eax
push 0x40f
push dword [edi]
call ebx
push eax
call esi
push 0
mov esi, 0x572
push esi
push dword [edi]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x204]
push 0x100
push eax
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
call fcn.00403a64
push eax
lea ecx, [ebp - 0x208]
call fcn.00402a6b
push 0x527fb4
push 0x2711
push dword [ebp - 0x20c]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00415254
mov esi, dword [ebp - 0x208]
add esp, 0x14
push esi
push 0x572
push dword [edi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x40e
push dword [edi]
lea ecx, [ebp - 0x23c]
call fcn.0041f436
cmp dword [ebp - 0x230], 0
je 0x4e2c1c
push str.safemon_skin_browserfix_feedback.png
push dword [0x577c88]
lea eax, [ebp - 0x20c]
push eax
call fcn.0041bbfe
push 1
push 4
push dword [eax]
push 0
push dword [ebp - 0x23c]
call fcn.0042067a
mov ecx, dword [ebp - 0x20c]
add esp, 0x20
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x41
xor eax, eax
push eax
push eax
push eax
push 0x328
push eax
push 0x40e
push dword [edi]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 0xc
Function at 0x4e2e1c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20c], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x214], ebx
push esi
push edi
test eax, eax
je 0x4e2fb6
push eax
call sub.msvcrt.dll_wcslen
pop ecx
test eax, eax
je 0x4e2fb6
xor edi, edi
push edi
push 0x40d
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 5
push 0x40f
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 5
push 0x572
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 0x200
lea eax, [ebp - 0x204]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0x572
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x208]
call fcn.00402af5
push edi
push 0x534114
lea ecx, [ebp - 0x208]
call fcn.0040386a
cmp eax, 0xffffffff
je 0x4e2fa6
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x208]
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x208]
call fcn.004216b7
mov edi, dword [ebp - 0x210]
lea ecx, [ebp - 0x208]
push dword [ebp - 0x20c]
cmp dword [edi - 0xc], 0
jne 0x4e2f32
call fcn.00402d4c
jmp 0x4e2f38
push edi
call fcn.00404301
mov esi, dword [ebp - 0x208]
push ecx
mov ebx, esp
lea eax, [esi - 0x10]
push eax
call fcn.00402f5d
add eax, 0x10
mov dword [ebx], eax
mov ebx, dword [ebp - 0x214]
pop ecx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004755b4
pop ecx
pop ecx
push 0x40
push 0x14
lea ecx, [eax + 0x14]
push ecx
push 5
mov ecx, 0x2ff
sub ecx, eax
push ecx
push 0
push 0x572
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push 0x572
push dword [ebx]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [edi - 0x10]
call fcn.004042e9
jmp 0x4e2fac
mov esi, dword [ebp - 0x208]
lea ecx, [esi - 0x10]
call fcn.004042e9
jmp 0x4e2fec
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0x40d
push dword [ebx]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0
push 0x40f
push dword [ebx]
call edi
push eax
call esi
push 0
push 0x572
push dword [ebx]
call edi
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 4
Function at 0x4e4742
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov ebx, ecx
inc esi
mov dword [ebp - 4], ebx
push edi
cmp dword [ebp + 8], esi
jne 0x4e47cf
push dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push 0x3e8
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
mov eax, dword [ebp - 4]
push dword [eax + 4]
call edi
push 0
push 0x3e9
push eax
call ebx
push eax
call esi
mov eax, dword [ebp - 4]
push dword [eax + 4]
call edi
xor edi, edi
inc edi
push edi
push 0x3ea
push eax
call ebx
push eax
call esi
mov esi, dword [ebp - 4]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x40d
push dword [esi + 4]
call ebx
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x140], edi
jmp 0x4e485c
cmp dword [ebp + 8], 2
jne 0x4e4845
push 0
mov edi, 0x3e8
push edi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
mov eax, dword [ebp - 4]
push dword [eax + 4]
call esi
push 0
push 0x3e9
push eax
call edi
push eax
call ebx
mov eax, dword [ebp - 4]
push dword [eax + 4]
call esi
push 0
push 0x3ea
push eax
call edi
push eax
call ebx
mov eax, dword [ebp - 4]
push 0x40d
push dword [eax + 4]
call edi
push 0
push eax
call ebx
jmp 0x4e485c
cmp dword [ebp + 8], 3
jne 0x4e485c
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.004e3865
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4e5854
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x414]
push esi
push edi
push 0x410
xor edi, edi
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x420], esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push 1
push 0x1a
push eax
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360safe360DiagnoseScan_
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
cmp dword [ebp + 0xc], edi
jle 0x4e5952
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x418]
call fcn.00402af5
call fcn.00403a64
push eax
lea ecx, [ebp - 0x41c]
call fcn.00402a6b
push edi
push dword [esi + 0x38]
lea eax, [ebp - 0x41c]
push str._d__d.png
push eax
call fcn.00415254
mov esi, dword [ebp - 0x41c]
lea ecx, [ebp - 0x418]
add esp, 0x10
push dword [esi - 0xc]
push esi
call fcn.00402d75
lea eax, [ebp - 0x418]
mov ecx, ebx
push eax
call fcn.0042bc3f
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x418]
add ecx, 0xfffffff0
call fcn.004042e9
mov esi, dword [ebp - 0x420]
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x4e58d2
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 8
Function at 0x4e65fb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x48], ebx
je 0x4e668a
push esi
push 1
lea ecx, [edi - 0x20]
call fcn.004e51ec
mov esi, eax
test esi, esi
je 0x4e6686
lea ecx, [ebp - 0x38]
call fcn.004e4e21
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], esi
call fcn.004e750e
mov esi, 0x577a78
cmp dword [0x56aa28], ebx
je 0x4e665c
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.360DiagnoseScan.png
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [0x56aa28], ebx
push esi
lea ecx, [ebp - 4]
call fcn.00402af5
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x38]
push 0x54b3d8
push esi
call fcn.004e6fa6
lea ecx, [esi - 0x10]
call fcn.004042e9
lea ecx, [ebp - 0x38]
call fcn.004e4fc5
mov dword [edi + 0x48], ebx
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret

Function at 0x4e7d42
Capabilities:
Create thread

Disassembly:
push esi
push 2
mov esi, ecx
call fcn.004e7f95
xor eax, eax
push eax
push eax
push esi
push 0x4e822f
push eax
push eax
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [esi + 0x30], eax
pop esi
ret

Function at 0x4e7f95
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebx + 0x44], esi
call fcn.00403a64
push eax
lea ecx, [ebp + 8]
call fcn.00402a6b
sub esi, 1
je 0x4e80bd
sub esi, 1
je 0x4e8067
sub esi, 1
je 0x4e803d
sub esi, 1
je 0x4e8036
sub esi, 1
je 0x4e802f
sub esi, 1
jne 0x4e8108
push 0x54af3c
push 0x502
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40d
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call esi
push 0x500
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 1
push 0x501
push dword [ebx + 4]
lea ecx, [ebx + 0x20]
call fcn.004b542f
jmp 0x4e8108
push 0x535e70
jmp 0x4e8054
push 0x535e28
jmp 0x4e8054
push dword [ebx + 0x34]
lea eax, [ebp + 8]
push 0x54aef8
push eax
call fcn.00415254
add esp, 0xc
push dword [ebp + 8]
push 0x502
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x4e8108
push 0
push 0x47f
push dword [ebx + 4]
lea ecx, [ebx + 0x20]
call fcn.004b542f
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x451
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 1
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x500
push dword [ebx + 4]
call edi
push 5
push eax
call esi
push 0x502
push dword [ebx + 4]
call edi
push 5
jmp 0x4e8105
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x500
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0
push 0x501
push dword [ebx + 4]
lea ecx, [ebx + 0x20]
call fcn.004b542f
push 0x502
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x40d
push dword [ebx + 4]
call edi
push 0
push eax
call esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4e8a53
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x24], eax
sub eax, 1
je 0x4e8a94
sub eax, 1
jne 0x4e8abe
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x61d
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x61e
push dword [ebx + 4]
call edi
push 0
jmp 0x4e8abb
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x61d
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call esi
push 0x61e
push dword [ebx + 4]
call edi
push 5
push eax
call esi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4e8e48
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov ecx, dword [esi + 0xac]
call fcn.004e8ac5
mov dword [esi + 0xb0], 1
mov dword [0x569790], 0x51
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [0x576d7c]
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5d4
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop esi
ret

Function at 0x4ea605
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x4ea60a
mov eax, dword [0x577cbc]
push ebx
xor ebx, ebx
push esi
test eax, eax
jne 0x4ea625
call fcn.004ea710
test eax, eax
je 0x4ea678
mov eax, dword [0x577cbc]
cmp eax, 1
jne 0x4ea644
push 0xd
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4ea678
jmp 0x4ea6cd
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov esi, eax
test esi, esi
je 0x4ea662
push 0xd
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, esi
jmp 0x4ea6cd
push 0x40
mov eax, 0x1000
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4ea68a
push ebx
push ebx
push ebx
push 0xc0000017
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [esi]
push edi
push dword [0x577cbc]
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x4ea6b0
push 0x8000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4ea6cc
lea edi, [esi + 0xff0]
push esi
push dword [0x577cbc]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4ea6b6
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x4ef390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4ef3df
mov esi, dword [ebp + 0x18]
lea eax, [ebp + 0x10]
push edi
push eax
push esi
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ef3df
cmp esi, dword [ebp + 0x10]
je 0x4ef3da
push 0x527fb4
push 1
push edi
push edi
call fcn.004ef02e
jmp 0x4ef3ed
xor eax, eax
inc eax
jmp 0x4ef3f2
mov eax, 0x527fb4
push eax
push eax
push edi
push edi
call fcn.004ef07b
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
ret