joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4848a4
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4ce7de
call fcn.004ca860
sub esp, 0x444
push ebx
push esi
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x44e]
push edi
push eax
mov word [ebp - 0x450], di
call fcn.004a6df0
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push 0x11
push dword [eax + 4]
mov dword [ebp - 0x18], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [0x50bacc]
mov ecx, 0x50bacc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x105
lea esi, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.00402fc0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
jge 0x484931
push 0x80070057
call fcn.0040296e
mov esi, 0x4ec26c
mov dword [eax - 0xc], edi
push esi
mov word [eax], di
call fcn.004a56c9
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x10]
call fcn.004031d8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x10]
mov dword [ebp - 0x38], eax
call fcn.0040d48d
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], 0x4ec278
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
cmp esi, edi
je 0x484a51
push 0x206
lea eax, [ebp - 0x246]
push edi
push eax
mov word [ebp - 0x248], di
call fcn.004a6df0
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x50bacc]
mov ecx, 0x50bacc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x248]
push eax
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0047d3be
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00433867
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004027f4
push str.kingsoft_antivirus_
lea eax, [ebp - 0x14]
push eax
call fcn.00433844
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push ebx
push dword [eax + 0x598]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.004847dc
mov esi, dword [ebp + 8]
push 0
push eax
push 0x46c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
or dword [esi + 0x5c8], 2
lea eax, [ebx - 0x10]
call fcn.004027f4
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x484bfc
Capabilities:
Get common file path
Get program files directory

Disassembly:
push esi
push edi
push 0
mov esi, eax
push 0x26
add esi, 0x5c0
push 0x104
call fcn.00402fc0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x484c2c
push eax
call fcn.004a56c9
pop ecx
mov edx, esi
call fcn.0040294d
test edi, edi
jne 0x484c42
push str.c:program_files
push esi
call fcn.00403504
push str.kingsoftkingsoft_antivirus_
push esi
call fcn.00433844
pop edi
pop esi
ret

Function at 0x484c50
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4cd64e
call fcn.004ca860
push ecx
mov eax, dword [0x50bacc]
push esi
push edi
mov ecx, 0x50bacc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x105
lea esi, [ebp - 0x10]
call fcn.00402fc0
push 0x104
push eax
push dword [ebx + 0x598]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x484c9e
xor eax, eax
jmp 0x484ca5
push esi
call fcn.004a56c9
pop ecx
lea edx, [ebp - 0x10]
call fcn.0040294d
lea edi, [ebp - 0x10]
call fcn.004847dc
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.004027f4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x484f8e
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov eax, 0x4cd64e
call fcn.004ca860
push ecx
push ecx
mov ecx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x10]
push str.installconfig.ini
add ecx, 0x634
push eax
xor esi, esi
call fcn.0041d9a9
pop ecx
pop ecx
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48506e
mov eax, dword [ebp - 0x10]
push ebx
push edi
add eax, 0xfffffff0
call fcn.00403285
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
add ebx, 0x10
push ebx
push 1
push str.imagecounts
mov edi, 0x4e4a84
push edi
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebx - 0x10]
call fcn.004027f4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5d8], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00403285
mov ebx, eax
add ebx, 0x10
push ebx
push 0
push str.autoclose
push edi
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebx - 0x10]
call fcn.004027f4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x604], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00403285
mov ebx, eax
add ebx, 0x10
push ebx
push 2
push str.delaytime
push edi
call esi
mov esi, eax
lea eax, [ebx - 0x10]
call fcn.004027f4
mov eax, dword [ebp + 8]
mov dword [eax + 0x5d0], esi
xor esi, esi
pop edi
inc esi
pop ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4850cc
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cd0e9
call fcn.004ca860
sub esp, 0xc
push esi
push edi
mov ecx, ebx
call fcn.0048508a
cmp dword [ebx + 0x5e4], 0
je 0x4851f5
push str.mainbg_new
mov esi, str.skin
push esi
lea edi, [ebx + 0x28]
push 3
mov ecx, edi
call fcn.0040ff0f
mov eax, ebx
call fcn.00485353
push str.0__105__0__15
push 0x4e170c
push 0xc8
mov ecx, edi
call fcn.0040ff0f
cmp dword [0x50d7e8], 3
je 0x485137
call fcn.00401fee
cmp dword [eax + 0x18], 0
je 0x485146
push str.aladdin_mainbg_new
push esi
push 3
mov ecx, edi
call fcn.0040ff0f
lea eax, [ebp - 0x14]
push str.softtemprory.png
lea ecx, [ebx + 0x630]
push eax
call fcn.0041d9a9
pop ecx
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x485186
push dword [ebp - 0x14]
mov esi, 0x25c
push str.filepath
push esi
push edi
call fcn.0040e8d7
push 1
push esi
jmp 0x48518d
push 1
push 0x25d
mov eax, edi
call fcn.0040e937
mov eax, dword [0x50bacc]
mov ecx, 0x50bacc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.00485203
push dword [ebp - 0x10]
mov esi, 0x25e
push esi
mov eax, edi
call fcn.0040e890
push 1
push esi
mov eax, edi
call fcn.0040e937
cmp dword [0x50d7e4], 1
jne 0x4851df
mov eax, ebx
call fcn.004852ee
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004027f4
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x485855
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x10]
test eax, eax
je 0x485886
push dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x485879
push 0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x10], 0
xor eax, eax
inc eax
ret 4

Function at 0x485b21
Capabilities:
Create thread

Disassembly:
push 0x18
call fcn.0046133b
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x485b32
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
mov dword [eax], edx
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x14]
push 0x485b5c
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov dword [eax + 0xc], edx
call fcn.004aa41d
add esp, 0x18
ret
Function at 0x485cc4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x4e
push edi
jne 0x485d04
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x485dcd
xor edi, edi
inc edi
mov dword [esi + 0x590], edi
call fcn.00485c23
mov dword [ebx], eax
cmp dword [esi + 0x590], 0
je 0x485dcd
mov eax, edi
jmp 0x485de9
cmp eax, 0x113
jne 0x485d52
xor edi, edi
inc edi
mov eax, 0x2711
cmp dword [ebp + 0x10], eax
mov dword [esi + 0x590], edi
jne 0x485d4d
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 0x59c]
push 0x3ed
push 0x476
push dword [esi + 0x594]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx], 0
jmp 0x485cf0
cmp eax, 0x110
jne 0x485d76
push 0
push 0
xor edi, edi
push 0x473
push dword [esi + 4]
inc edi
mov dword [esi + 0x590], edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x485d4d
cmp eax, 0x473
jne 0x485d95
call fcn.00485fe9
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
xor eax, eax
inc eax
jmp 0x485de9
cmp eax, 0x477
jne 0x485db3
push dword [ebp + 0x10]
xor edi, edi
inc edi
push esi
mov dword [esi + 0x590], edi
call fcn.00485e5b
jmp 0x485cee
cmp eax, 0x478
jne 0x485dcd
xor edi, edi
inc edi
mov dword [esi + 0x590], edi
call fcn.00485ebd
jmp 0x485cee
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040e85f
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x48607f
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4860f1
push edi
xor eax, eax
mov dword [ebp - 8], esi
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
pop edi
je 0x4860f1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], esi
fild qword [ebp - 0x10]
fild qword [ebp - 8]
fchs
faddp st(1)
fcomp qword [0x4ed5a8]
fnstsw ax
test ah, 1
jne 0x4860f1
inc esi
mov eax, esi
pop esi
leave
ret
Function at 0x48612a
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
xor edx, edx
cmp dword [ebp + 0x18], edx
push edi
mov edi, eax
je 0x48618f
cmp dword [ebp + 0x18], 0x12d
jne 0x486319
cmp dword [ebp + 0xc], 0x100
jne 0x486319
movzx esi, word [ebp + 0x10]
push 0x11
mov dword [edi + 0x590], edx
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, 0x61
movzx eax, ax
je 0x486171
cmp esi, 0x41
jne 0x486180
test al, al
jns 0x486180
lea esi, [edi + 0x598]
call fcn.0048561f
and dword [ebx], 0
cmp dword [edi + 0x590], 0
jmp 0x486313
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x4e
jne 0x4861e2
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x4862fb
xor esi, esi
inc esi
mov dword [edi + 0x590], esi
cmp dword [eax + 8], esi
jne 0x4861c4
cmp dword [eax + 0xc], 0x12e
jne 0x4861c4
call fcn.004864a1
mov eax, esi
jmp 0x4861cc
mov dword [edi + 0x590], edx
xor eax, eax
mov dword [ebx], eax
cmp dword [edi + 0x590], 0
je 0x4862fb
mov eax, esi
jmp 0x48631b
cmp ecx, 0x110
jne 0x48621b
lea esi, [edi + 0x590]
push edi
mov dword [esi], 1
call fcn.00486637
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
cmp dword [esi], 0
je 0x4862fb
xor eax, eax
inc eax
jmp 0x48631b
cmp ecx, 0x465
jne 0x486242
mov eax, dword [ebp + 0x10]
mov esi, edi
mov dword [edi + 0x590], 1
call fcn.004863fd
mov dword [ebx], eax
cmp dword [edi + 0x590], 0
jmp 0x48620d
cmp ecx, 0x466
jne 0x48625d
mov esi, edi
mov dword [edi + 0x590], 1
call fcn.00486448
jmp 0x486237
mov eax, 0x46c
cmp ecx, eax
jne 0x486279
mov esi, edi
mov dword [edi + 0x590], 1
call fcn.004868e8
jmp 0x486237
cmp ecx, 0x46f
jne 0x4862a4
push dword [edi + 0x5c0]
lea esi, [edi + 0x590]
push dword [edi + 0x598]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x486207
cmp ecx, 0x10
jne 0x4862cc
push 0
push 2
push 0x111
push dword [edi + 4]
lea esi, [edi + 0x590]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x486207
cmp ecx, 0x111
jne 0x4862fb
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
cmp cx, 0x300
mov dword [edi + 0x590], edx
jne 0x4862f3
push edx
push edx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
and dword [ebx], 0
jmp 0x486239
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040e85f
test eax, eax
jne 0x486213
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x4864a1
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4cde8a
call fcn.004ca860
sub esp, 0x43c
mov eax, dword [0x50bacc]
push ebx
xor ebx, ebx
push esi
mov ecx, 0x50bacc
mov dword [ebp - 0x18], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, 0x206
push esi
lea eax, [ebp - 0x23e]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x240], bx
call fcn.004a6df0
push esi
lea eax, [ebp - 0x446]
push ebx
push eax
mov word [ebp - 0x448], bx
call fcn.004a6df0
add esp, 0x18
lea eax, [ebp - 0x448]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x18]
push eax
push 0x11
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x4ec26c
push esi
call fcn.004a56c9
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x10]
call fcn.004031d8
mov eax, dword [edi + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
push 0x105
lea esi, [ebp - 0x10]
mov dword [ebp - 0x34], eax
call fcn.00402fc0
mov dword [ebp - 0x30], eax
xor ebx, ebx
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x2c], 0x4ec278
mov dword [ebp - 0x28], 0x8041
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp dword [ebp - 0x10], ebx
mov esi, eax
jne 0x486582
xor eax, eax
jmp 0x48658b
push dword [ebp - 0x10]
call fcn.004a56c9
pop ecx
lea edx, [ebp - 0x10]
call fcn.0040294d
cmp esi, ebx
je 0x486611
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x240]
push eax
call fcn.004a56c9
lea eax, [ebp - 0x240]
push eax
lea esi, [ebp - 0x14]
call fcn.0047d3be
pop ecx
pop ecx
push str.kingsoft_antivirus_
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.00433844
push dword [ebp - 0x14]
push dword [edi + 0x598]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push edi
mov eax, esi
call fcn.004867f5
push eax
push 0x46c
push dword [edi + 0x594]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004027f4
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f4
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x486637
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4cd64e
call fcn.004ca860
sub esp, 0x20c
push ebx
push esi
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], 0x12d
push ecx
mov eax, esp
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], esp
push dword [eax + 4]
lea ebx, [eax + 0x598]
call fcn.0048575d
push 0x4ec674
push 0x20
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x64
push esi
push esi
push esi
push 0x12
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebx]
call edi
push esi
push 0x96
push 0xc5
push dword [ebx]
call edi
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x50bacc]
mov ecx, 0x50bacc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x206
lea eax, [ebp - 0x216]
push esi
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x218], si
call fcn.004a6df0
add esp, 0xc
push esi
push 0x26
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x486714
push str.c:program_files
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004a687d
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str._skingsoftkingsoft_antivirus_
lea eax, [ebp - 0x10]
call fcn.004034a0
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp + 8]
add edi, 0x5c0
lea eax, [ebp - 0x10]
call fcn.00403197
lea eax, [esi - 0x10]
call fcn.004027f4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4867f5
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, eax
push dword [edi]
lea esi, [ebp - 8]
call fcn.0047d3be
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.004027f4
mov eax, dword [edi]
xor ebx, ebx
push 3
pop esi
inc ebx
cmp dword [eax - 0xc], esi
jl 0x4868cc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486845
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x4868cc
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.0040315b
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 8]
setne bl
add eax, 0xfffffff0
call fcn.004027f4
test bl, bl
je 0x486876
mov dword [ebp - 4], 2
jmp 0x4868cf
call fcn.00486760
test eax, eax
je 0x486884
mov dword [ebp - 4], esi
jmp 0x4868cf
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.0040315b
push dword [eax]
call fcn.0048607f
mov ebx, eax
mov eax, dword [ebp - 8]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.004027f4
test bl, bl
je 0x4868b8
mov dword [ebp - 4], 4
jmp 0x4868cf
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x4868cf
mov dword [ebp - 4], 5
jmp 0x4868cf
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x594]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x486c15
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ce7a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push esi
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [esp + 0x14], ebx
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x30]
call fcn.0041dc16
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x194], ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor edi, edi
inc edi
push edi
push ecx
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, esp
mov dword [esp + 0x18], esp
push str.0_0__0__0
sub esi, ecx
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
call fcn.00431893
push ecx
mov byte [esp + 0x1a0], 1
mov eax, esp
mov dword [esp + 0x18], esp
push 0x4e170c
push eax
call fcn.00431893
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041da4a
lea eax, [esp + 0x14]
push eax
push ebx
push 0x47
lea ecx, [esp + 0x3c]
call fcn.00433773
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
mov esi, 0x4dfd98
push esi
push eax
call fcn.00431893
push ecx
mov byte [esp + 0x1a0], 2
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_left
push eax
call fcn.00431893
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041da4a
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.00431893
push ecx
mov byte [esp + 0x1a0], 3
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_right
push eax
call fcn.00431893
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041da4a
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.00431893
push ecx
mov byte [esp + 0x1a0], 4
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_top
push eax
call fcn.00431893
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041da4a
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.00431893
push ecx
mov byte [esp + 0x1a0], 5
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_bottom
push eax
call fcn.00431893
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041da4a
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push str.cnm_showdow
push eax
call fcn.00431893
push ecx
mov byte [esp + 0x1a0], 6
mov eax, esp
mov dword [esp + 0x1c], esp
push str.skin
push eax
call fcn.00431893
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041da4a
push ebx
push dword [ebp + 8]
lea ecx, [esp + 0x38]
push 0xf
call fcn.00433773
or dword [esp + 0x194], 0xffffffff
mov eax, dword [esp + 0x184]
add eax, 0xfffffff0
call fcn.004027f4
lea ecx, [esp + 0x30]
call fcn.004323ef
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8