joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498377
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 8
push esi
push edi
lea edi, [ebp + 8]
jb 0x498388
mov edi, dword [ebp + 8]
push 8
call fcn.004044d6
pop ecx
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocStringLen
push edi
test eax, eax
je 0x4983a7
call eax
jmp 0x4983ad
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4983d4
push 0x11
call fcn.004044d6
pop ecx
push esi
push edi
test eax, eax
je 0x4983c6
call eax
jmp 0x4983cc
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call fcn.00433ba6
lea ecx, [ebp + 8]
call fcn.00410d88
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4983e4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push str.DumpUper.exe
push eax
call fcn.00431b99
mov esi, dword [ebp + 8]
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00402bd6
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x498475
and dword [ebp - 4], 0
lea eax, [ebp + 8]
and dword [ebp + 8], 0
push eax
lea eax, [ebp - 4]
push eax
push dword [esi]
call fcn.004989e8
mov eax, dword [ebp - 4]
add esp, 0xc
shr eax, 0x10
push 6
pop ecx
cmp ax, cx
ja 0x498464
jb 0x498475
cmp word [ebp - 4], 0
ja 0x498464
mov eax, dword [ebp + 8]
shr eax, 0x10
test ax, ax
jne 0x498464
mov eax, 0x1845
cmp word [ebp + 8], ax
ja 0x498464
jb 0x498475
push dword [esi]
call fcn.00410bb8
pop ecx
test eax, eax
je 0x498475
xor eax, eax
inc eax
jmp 0x498477
xor eax, eax
pop esi
leave
ret 4

Function at 0x4985fa
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.00522d80
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x49868e
cmp eax, 0x3fff
ja 0x49868e
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x49868e
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x528004
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49868e
mov eax, dword [ebp - 0x4008]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
xor eax, eax
inc eax
jmp 0x498690
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret
Function at 0x498945
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 0x577e22
mov edi, 0x4000
push edi
call fcn.004f4050
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4989e4
push edi
xor edi, edi
push edi
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4989db
cmp eax, 0x3fff
ja 0x4989db
push esi
push eax
push edi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4989db
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x528004
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4989db
mov edx, dword [ebp - 4]
inc edi
mov eax, dword [ebp + 0xc]
mov cx, word [edx + 0xa]
mov word [eax], cx
mov eax, dword [ebp + 0x10]
mov cx, word [edx + 8]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov cx, word [edx + 0xe]
mov word [eax], cx
mov eax, dword [ebp + 0x18]
mov cx, word [edx + 0xc]
mov word [eax], cx
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4989e8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00522d80
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x2004]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x2000
push 0
push eax
call sub.msvcrt.dll_memset
and dword [edi], 0
lea eax, [ebp - 0x200c]
and dword [ebx], 0
add esp, 0xc
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x498a8b
cmp eax, 0x1fff
ja 0x498a8b
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x498a8b
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x528004
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x498a8b
mov ecx, dword [ebp - 0x2008]
mov eax, dword [ecx + 8]
mov dword [edi], eax
mov eax, dword [ecx + 0xc]
mov dword [ebx], eax
xor eax, eax
inc eax
jmp 0x498a8d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x498ce7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x527fb4
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
call sub.msvcrt.dll_wcscmp
pop ecx
pop ecx
test eax, eax
jne 0x498d34
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.00402f5d
mov edi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, esi
mov dword [edi], eax
call fcn.004042e9
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.004042e9
mov eax, edi
jmp 0x498e82
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
lea ecx, [ebp - 0xc]
push ebx
push esi
call fcn.004939fc
lea ecx, [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.004962d5
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
mov edi, dword [ebp - 0xc]
push edi
push edx
mov eax, dword [ecx]
push 1
push dword [ebp + 0xc]
push ecx
call dword [eax + 0x14]
push 0xffffffffffffffff
mov ebx, eax
push esi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi]
push 0
push edi
call dword [ecx + 0x14]
cmp eax, 1
jne 0x498da5
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push 0
push edx
push 1
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ebx, eax
mov dword [ebp - 0xc], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x498e49
mov eax, dword [ebp + 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], eax
call fcn.00402f5d
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
pop ecx
push eax
call fcn.00498fa5
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
add esi, 0xfffffff0
mov ebx, esp
push esi
call fcn.00402f5d
pop ecx
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebx], eax
call fcn.00495f6f
test eax, eax
je 0x498e42
push esi
call fcn.00402f5d
mov ebx, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, esi
mov dword [ebx], eax
call fcn.004042e9
mov eax, dword [ebp - 4]
test eax, eax
je 0x498e25
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [edi]
push edi
call dword [edx + 8]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x18]
call fcn.004042e9
mov eax, ebx
jmp 0x498e82
mov ecx, esi
call fcn.004042e9
mov ecx, dword [ebp + 8]
push 0x527fb4
call fcn.00402af5
mov eax, dword [ebp - 4]
test eax, eax
je 0x498e63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.004042e9
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x498f00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
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
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00403a64
push eax
lea ecx, [ebp - 0x210]
call fcn.00402a6b
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push str._d.png
push eax
call fcn.00415254
mov esi, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
add esp, 0xc
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00402af5
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret

Function at 0x498fa5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
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
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00403a64
push eax
lea ecx, [ebp - 0x210]
call fcn.00402a6b
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push str._s.png
push eax
call fcn.00415254
mov esi, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
add esp, 0xc
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00402af5
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret
Function at 0x4993d5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
lea ecx, [ebp - 0xc]
push edi
push 0x64
lea eax, [esi + 0x18]
push eax
call fcn.00493e43
xor edi, edi
cmp dword [esi + 4], edi
je 0x49940e
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x499423
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push esi
push 0x49cb94
push edi
push edi
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [esi + 4], eax
lea ecx, [ebp - 0xc]
call fcn.00494596
pop edi
pop esi
leave
ret

Function at 0x4997fc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, 0x208
lea eax, [ebp - 0x414]
push edi
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x52f188
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
je 0x4998a2
lea eax, [ebp - 0x20c]
push eax
call fcn.004125d7
pop ecx
test eax, eax
je 0x4998a2
lea eax, [ebp - 0x20c]
push eax
call fcn.0042d7d3
mov ecx, eax
call fcn.0042dba8
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00522d04
leave
ret
Function at 0x49a54f
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0x3039
push ebx
push esi
push edi
mov ebx, ecx
jne 0x49a671
mov eax, dword [ebx + 0x980]
mov esi, dword [eax]
mov dword [ebp - 0xc], esi
cmp esi, eax
je 0x49a665
mov ecx, dword [ebx + 0x988]
lea edx, [ebp + 0xc]
and dword [ebp + 0xc], 0
push edx
push dword [esi + 0x10]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
cmp dword [ebp + 0xc], 0
je 0x49a637
push 0x527fb4
lea ecx, [ebp - 4]
call fcn.00402af5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
push eax
lea ecx, [ebp - 8]
call fcn.00402af5
push 0x527fb4
push dword [ebp - 8]
call sub.msvcrt.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x49a603
push dword [esi + 0x10]
lea eax, [ebp - 0x10]
push eax
call fcn.00498f00
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00402bd6
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004042e9
mov edi, dword [ebp - 4]
push 0
push 0
push edi
push dword [ebp - 8]
push 0
call sub.urlmon.dll_URLDownloadToFileW
jmp 0x49a606
mov edi, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x49a618
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
push dword [esi + 0x10]
mov ecx, ebx
call fcn.00496b8f
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
lea ecx, [edi - 0x10]
call fcn.004042e9
jmp 0x49a641
push dword [esi + 0x10]
mov ecx, ebx
call fcn.00499465
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x49a64e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0xc]
call fcn.0040d404
mov esi, dword [ebp - 0xc]
cmp esi, dword [ebx + 0x980]
jne 0x49a57a
push dword [ebx + 0x990]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x49a924
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], eax
push esi
cmp dword [ecx + 0x920], ebx
je 0x49a9ed
lea eax, [ecx + 0x910]
cmp dword [eax + 0x14], 8
jb 0x49a958
mov eax, dword [eax]
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x49a9ed
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x20], ebx
jne 0x49a9e2
push edi
inc eax
push 0x577e22
push eax
call fcn.004f4050
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49a9e1
push ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push eax
push dword [ebp - 0x28]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49a9da
mov eax, dword [ebp - 0x24]
push edi
mov byte [eax + edi], bl
lea eax, [ebp - 0x1c]
push eax
call fcn.00411283
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.004132cc
lea ecx, [ebp - 0x1c]
call fcn.00410d88
xor ebx, ebx
inc ebx
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x49a9ef
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 4

Function at 0x49a9ff
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
jne 0x49aa32
push 2
push eax
call fcn.00446a65
mov ecx, eax
call fcn.00446abf
test eax, eax
je 0x49aa6d
lea eax, [ebp - 0x254]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x49aa6d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 8
lea eax, [ebp - 0x240]
push eax
push 0xb
push str.LastKernelDumpWriteTime
push 0x52a258
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret 0xc
Function at 0x49ac93
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x418], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x33
mov dword [ebp - 0x428], ecx
call fcn.004044d6
mov esi, 0x20119
pop ecx
test eax, eax
je 0x49acde
lea ecx, [ebp - 0x418]
push ecx
push esi
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call eax
jmp 0x49acf4
lea eax, [ebp - 0x418]
push eax
push esi
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49ae6f
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.msvcrt.dll_memset
xor ebx, ebx
mov dword [ebp - 0x420], 0x104
add esp, 0xc
inc ebx
mov eax, dword [ebp - 0x418]
push 0x3f
mov dword [ebp - 0x41c], eax
call fcn.004044d6
pop ecx
test eax, eax
je 0x49ad57
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push edi
push dword [ebp - 0x41c]
call eax
jmp 0x49ad78
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc edi
test eax, eax
jne 0x49ae6f
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], ebx
push eax
call sub.msvcrt.dll_memset
and dword [ebp - 0x438], 0
lea eax, [ebp - 0x20c]
and dword [ebp - 0x434], 0
lea ecx, [ebp - 0x438]
or dword [ebp - 0x430], 0xffffffff
add esp, 0xc
mov dword [ebp - 0x41c], 0x208
push esi
push eax
push dword [ebp - 0x418]
call fcn.00451c1c
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push str.ImagePath
lea ecx, [ebp - 0x438]
call fcn.00451cc3
test eax, eax
jne 0x49ae32
push dword [ebp + 8]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x49ae32
push dword [ebp + 0x10]
lea eax, [ebp - 0x414]
push ecx
mov ecx, esp
push eax
call fcn.00402af5
mov ecx, dword [ebp - 0x428]
call fcn.00497069
test eax, eax
jne 0x49ae62
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x420], 0x104
lea ecx, [ebp - 0x438]
call fcn.00402fb8
jmp 0x49ad20
lea ecx, [ebp - 0x438]
call fcn.00402fb8
jmp 0x49ae71
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 0xc
Function at 0x49b8d3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
cmp dword [ebx + 0x8d8], 0
jne 0x49b929
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x558
push dword [ebx + 4]
call edi
cmp dword [ebp + 8], 0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x49b913
push 5
push eax
call esi
push 0x559
push dword [ebx + 4]
call edi
push 5
jmp 0x49b924
push 0
push eax
call esi
push 0x559
push dword [ebx + 4]
call edi
push 0
push eax
call esi
pop edi
pop esi
xor eax, eax
inc eax
pop ebx
pop ebp
ret 4
Function at 0x49c277
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x49c32d
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x551
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x551
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x55a
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x556
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x557
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x558
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x559
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x506
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x55e
push dword [ebx + 4]
call edi
push 5
push eax
call esi
push 0x55e
push dword [ebx + 4]
call edi
push 0x53ef70
jmp 0x49c38a
cmp dword [ebp + 8], 2
jne 0x49c391
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x505
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x504
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x57e
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x55f
push dword [ebx + 4]
call edi
push 5
push eax
call esi
push 0x55f
push dword [ebx + 4]
call edi
push 0x53efc0
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x49e7c7
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
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 0x410
xor esi, esi
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push 1
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360safe360DiagnoseScan_
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
call fcn.00403a64
push eax
lea ecx, [ebp - 0x418]
call fcn.00402a6b
mov eax, str.1V1__d__s.png
cmp dword [ebp + 0x10], esi
jne 0x49e849
mov eax, str._d__s.png
push str.small
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00415254
mov esi, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
add esp, 0x10
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.00402af5
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 0xc
Function at 0x49e89d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push eax
lea eax, [ebp - 0x30]
push dword [esi]
push eax
call fcn.0049e7c7
push eax
lea ecx, [esi + 4]
call fcn.00402bd6
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ebx, dword [esi + 4]
push 0x527fb4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x49e95b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x49e95b
test al, 0x10
jne 0x49e95b
push 0x3200000
push 0
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call fcn.00430113
add esp, 0x10
test eax, eax
je 0x49e95b
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0044e1d1
add esp, 0xc
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00437b23
test eax, eax
jne 0x49e953
mov eax, dword [esi + 4]
sub eax, 0x10
push eax
call fcn.00402f5d
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x2c]
mov dword [edi], eax
call fcn.00410d88
jmp 0x49e967
lea ecx, [ebp - 0x2c]
call fcn.00410d88
push 0x527fb4
mov ecx, edi
call fcn.00402af5
lea ecx, [ebp + 0xc]
call fcn.00410d88
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 0x20