joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029b0
Capabilities:
Print debug messages

Disassembly:
mov al, byte [0x4256b9]
sub esp, 0x1c
test al, al
push edi
mov edi, dword [esp + 0x2c]
jne 0x4029e2
cmp byte [edi], 0
jne 0x4029e2
cmp dword [0x42414c], 1
jle 0x4029e2
mov ecx, 0x4256e8
call fcn.00406d70
xor eax, eax
pop edi
add esp, 0x1c
ret 0x10
test al, al
push esi
mov esi, dword [esp + 0x28]
mov byte [esp + 0x30], 1
mov byte [esp + 0x31], 1
mov byte [esp + 0x32], 0
jne 0x402a24
mov eax, dword [0x4256e0]
movzx ecx, byte [esp + eax + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push esi
call fcn.00401330
add esp, 0x10
test eax, eax
jne 0x402a4b
pop esi
pop edi
add esp, 0x1c
ret 0x10
mov ecx, dword [0x4256e0]
movzx edx, byte [esp + ecx + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push esi
call fcn.00401440
add esp, 0x10
test eax, eax
je 0x402b1d
push str.clear__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x424158]
mov edx, dword [0x424010]
mov ecx, dword [str.http:__www.confiture_soft.com_]
push eax
mov eax, dword [0x424004]
push ecx
mov ecx, dword [str.ConfitureSoft]
mov dword [str.ExecuteProgram], edx
mov edx, dword [0x42400c]
push edx
mov edx, dword [0x4256a0]
push eax
push ecx
push 0
push edx
push 0x424150
push 0x424138
push 0x42401c
push 0x424048
mov ecx, 0x4256e8
call fcn.00404de0
mov eax, dword [0x424158]
mov ecx, dword [0x42414c]
push eax
push ecx
mov ecx, 0x4256e8
call fcn.00404120
push 0x3ed
mov ecx, 0x4256e8
call fcn.00403920
mov edx, dword [0x4256a0]
mov eax, dword [0x4256b0]
push edx
push eax
mov ecx, 0x4256a8
call fcn.00401000
mov eax, dword [0x4256e0]
sub eax, 0
je 0x402b39
sub eax, 1
je 0x402b27
sub eax, 1
jne 0x402b68
cmp byte [edi], 0
mov ecx, 0x4256e8
jne 0x402b14
call fcn.00406cd0
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret 0x10
push 1
push 1
call fcn.00405160
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret 0x10
mov ecx, dword [0x4256a0]
push 0
push 0x402180
push ecx
push 0x69
jmp 0x402b61
cmp byte [0x4256b9], 1
push 0
jne 0x402b54
mov edx, dword [0x4256a0]
push 0x401680
push edx
push 0x72
jmp 0x402b61
mov eax, dword [0x4256a0]
push 0x402180
push eax
push 0x76
push esi
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x402b80
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call esi
test eax, eax
je 0x402b80
cmp dword [esp + 0x10], 0x12
je 0x402baa
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0xc]
push eax
call ebp
jmp 0x402b80
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
push str.Program_Manager
push str.Progman
push 0
push 0
call esi
push 0
push str.SHELLDLL_DefView
push 0
push eax
call esi
push 0
push 0x41cee8
push 0
push eax
call esi
push 0
push 0x74
push 0x100
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x4256dc]
test eax, eax
pop ebp
je 0x402bf9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x10]
pop esi
pop edi
add esp, 0x1c
ret 0x10
Function at 0x402f40
Capabilities:
Delete file
Set file attributes

Disassembly:
sub esp, 0x24c
mov eax, dword [0x42424c]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
mov ebx, dword [esp + 0x254]
push ebp
push esi
mov ebp, ecx
mov esi, dword [ebp]
mov eax, dword [esi]
push edi
xor edi, edi
cmp byte [eax], 0
mov dword [esp + 0x10], edi
je 0x403010
jmp 0x402f80
push 0x104
lea ecx, [esp + 0x158]
push 0
push ecx
call fcn.00409790
mov edx, dword [esi + edi]
push edx
push ebx
lea eax, [esp + 0x168]
push 0x41cf68
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x402fef
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x80
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x10]
mov esi, dword [ebp]
add eax, 1
mov edx, dword [esi + eax*4]
cmp byte [edx], 0
lea edi, [eax*4]
mov dword [esp + 0x10], eax
jne 0x402f80
mov esi, dword [ebp + 4]
mov eax, dword [esi]
xor edi, edi
cmp byte [eax], 0
mov dword [esp + 0x10], edi
je 0x4030c0
jmp 0x403030
push 0x104
lea ecx, [esp + 0x158]
push 0
push ecx
call fcn.00409790
mov edx, dword [esi + edi]
push edx
push ebx
lea eax, [esp + 0x168]
push 0x41cf68
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40309f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x80
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 4]
add eax, 1
mov edx, dword [esi + eax*4]
cmp byte [edx], 0
lea edi, [eax*4]
mov dword [esp + 0x10], eax
jne 0x403030
mov ecx, dword [esp + 0x258]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.004096cb
add esp, 0x24c
ret 4

Function at 0x4030e0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40310b
xor eax, eax
pop esi
ret 4
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x4031d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x42424c]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
push edi
mov edi, dword [esp + 0x118]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, 0x8000ffff
je 0x40327a
cmp eax, 0x8007000e
je 0x40327a
cmp eax, 0x80070057
je 0x40327a
push 0x104
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov eax, dword [esp + 0x11c]
sub eax, 0
je 0x403256
sub eax, 1
je 0x403243
sub eax, 1
jne 0x403270
push 1
push 0
push 0
push esi
push 0
jmp 0x403268
push 1
push 0x41ceca
lea ecx, [esp + 0x10]
push ecx
push str.notepad.exe
jmp 0x403263
push 1
push 0x41ceca
push edi
lea edx, [esp + 0x14]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
jmp 0x40327c
xor al, al
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.004096cb
add esp, 0x108
ret 0xc

Function at 0x403490
Capabilities:
Get disk information

Disassembly:
sub esp, 0x210
mov eax, dword [0x42424c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x21c]
push esi
push edi
mov edi, dword [esp + 0x220]
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
ja case.default.0x4034c3
jmp dword [eax*4 + 0x403568]
xor esi, esi
jmp case.default.0x4034c3
mov esi, 1
jmp case.default.0x4034c3
mov esi, 2
jmp case.default.0x4034c3
mov esi, 3
jmp case.default.0x4034c3
mov esi, 4
jmp case.default.0x4034c3
mov esi, 5
push 0x100
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00409790
add esp, 0xc
push 0x100
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x100
lea edx, [esp + 0x30]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x40354a
mov ecx, dword [esp + 0x228]
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
call fcn.004095f5
add esp, 0xc
mov ecx, dword [esp + 0x218]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004096cb
add esp, 0x210
ret 0xc

Function at 0x403590
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
lea eax, [esp]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [esp]
mov ecx, dword [esp + 4]
shrd eax, ecx, 0x14
shr ecx, 0x14
add esp, 0x18
ret 4
Function at 0x403620
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x318
mov eax, dword [0x42424c]
xor eax, esp
mov dword [esp + 0x314], eax
push ebx
mov ebx, dword [esp + 0x320]
push ebp
mov ebp, dword [esp + 0x330]
push esi
mov esi, dword [esp + 0x32c]
xor eax, eax
push edi
mov edi, dword [esp + 0x334]
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, 0x8000ffff
je 0x4036cc
cmp eax, 0x8007000e
je 0x4036cc
cmp eax, 0x80070057
je 0x4036cc
lea eax, [esp + 0x10]
push eax
push 0x41d7fc
push 1
push 0
push 0x41d80c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, 0x80040110
je 0x4036c6
cmp eax, 0x80040154
je 0x4036c6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x41d81c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
je 0x4036e9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov ecx, dword [esp + 0x324]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004096cb
add esp, 0x318
ret 0x10
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea eax, [esp + 0x20]
push 0x41cf70
push eax
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push 0
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push 0
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push 0x41ceca
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 5
push eax
call edx
push ebp
push ebx
lea eax, [esp + 0x20]
push str._s_s.lnk
push eax
call edi
add esp, 0x10
push 0x104
lea ecx, [esp + 0x120]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x120]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
je 0x4037b9
call edx
mov eax, dword [esp + 0x14]
jmp 0x4036be
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
jmp 0x4036ce
Function at 0x4039f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x498
mov eax, dword [0x42424c]
xor eax, esp
mov dword [esp + 0x494], eax
push esi
push 0x94
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call fcn.00409790
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x14]
sub eax, esi
je 0x403b9c
sub eax, 1
je 0x403ae5
sub eax, 1
jne 0x403bb6
cmp dword [esp + 8], 3
jne 0x403a6c
push str.Microsoft_Windows_NT
lea edx, [esp + 0x9c]
push 0x400
push edx
call fcn.004095f5
add esp, 0xc
cmp dword [esp + 8], 4
jne 0x403a8d
push str.Microsoft_Windows_NT
lea eax, [esp + 0x9c]
push 0x400
push eax
call fcn.004095f5
add esp, 0xc
cmp dword [esp + 8], 5
jne 0x403bb6
cmp dword [esp + 0xc], esi
jne 0x403ac3
push str.Microsoft_Windows_2000
lea ecx, [esp + 0x9c]
push 0x400
push ecx
call fcn.004095f5
add esp, 0xc
cmp dword [esp + 8], 5
jne 0x403bb6
cmp dword [esp + 0xc], 1
jne 0x403bb6
push str.Microsoft_Windows_XP
push 0x400
lea edx, [esp + 0xa0]
push edx
jmp 0x403bae
mov eax, dword [esp + 8]
cmp eax, 4
ja 0x403b67
jne 0x403afd
mov eax, dword [esp + 0xc]
cmp eax, 0xa
ja 0x403b67
test eax, eax
ja 0x403b32
push str.Microsoft_Windows_95
lea eax, [esp + 0x9c]
push 0x400
push eax
call fcn.004095f5
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.004096cb
add esp, 0x498
ret
push str.Microsoft_Windows_98
lea ecx, [esp + 0x9c]
push 0x400
push ecx
call fcn.004095f5
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.004096cb
add esp, 0x498
ret
push str.Microsoft_Windows_Me
lea edx, [esp + 0x9c]
push 0x400
push edx
call fcn.004095f5
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.004096cb
add esp, 0x498
ret
push str.Microsoft_Windows_32s
push 0x400
lea eax, [esp + 0xa0]
push eax
call fcn.004095f5
add esp, 0xc
mov ecx, dword [esp + 0x498]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004096cb
add esp, 0x498
ret

Function at 0x403cc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x42424c]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
mov esi, dword [esp + 0x118]
push edi
push 0x104
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00409790
mov edi, dword [esp + 0x12c]
push edi
push 0
push esi
call fcn.00409790
mov ecx, dword [esp + 0x130]
add esp, 0x18
push 0
push ecx
lea edx, [esp + 0x14]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push edi
push esi
call fcn.004095f5
mov ecx, dword [esp + 0x11c]
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004096cb
add esp, 0x108
ret
Function at 0x403d50
Capabilities:
Delete file
Set file attributes

Disassembly:
sub esp, 0x144
mov eax, dword [0x42424c]
xor eax, esp
mov dword [esp + 0x140], eax
push esi
mov esi, dword [esp + 0x14c]
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x403daf
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.004096cb
add esp, 0x144
ret 4
mov ecx, dword [esp + 0x144]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004096cb
add esp, 0x144
ret 4
Function at 0x4048d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x510
mov eax, dword [0x42424c]
xor eax, esp
mov dword [esp + 0x50c], eax
push esi
push edi
mov esi, ecx
push 0x104
lea edi, [esi + 0x72c]
push 0
push edi
call fcn.00409790
add esp, 0xc
mov ecx, esi
call fcn.004039f0
mov ecx, eax
mov eax, dword [esp + 0x51c]
sub eax, 0
mov dword [esp + 0xc], ecx
je 0x404a86
sub eax, 1
je 0x404927
xor al, al
jmp 0x404b04
cmp ecx, 1
jne 0x404a71
mov ecx, dword [esi + 0xaac]
lea eax, [esp + 8]
push eax
push 2
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 8]
push edi
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esi + 0x10]
push edx
push edi
lea eax, [esp + 0x20]
push 0x41cf70
push eax
call ebp
lea ecx, [esp + 0x28]
push ecx
call fcn.00409c24
lea edi, [esi + 0x218]
push edi
lea edx, [esp + 0x30]
push edx
mov eax, edx
push 0x41cf70
push eax
call ebp
lea ecx, [esp + 0x3c]
push ecx
call fcn.00409c24
mov edx, dword [esi]
mov eax, dword [edx]
add esp, 0x28
push edi
push eax
lea ebx, [esi + 0x31c]
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00403620
test al, al
je 0x404afc
lea edx, [esp + 0x11c]
push 0x41d0e4
push edx
call ebp
add esp, 8
lea eax, [esp + 0x11c]
push eax
push str.readme.txt
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00403620
test al, al
je 0x404afc
push edi
lea edx, [esp + 0x120]
push 0x41d0cc
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x11c]
push eax
push str.uninst.exe
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00403620
test al, al
je 0x404afc
mov edx, dword [esi + 0xab0]
push 4
push 0x41cccc
push 0x41d09c
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x404b00
cmp dword [esp + 0x14], 1
jne 0x404ab3
mov ecx, dword [esi + 0xaac]
lea eax, [esp + 0x10]
push eax
push 0x19
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x10]
lea ebx, [esi + 0x830]
push ebx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
jmp 0x404ac9
push 0x104
push edi
push 0x17
call fcn.00403cc0
add esp, 0xc
jmp 0x404950
cmp ecx, 1
jne 0x404a9e
mov eax, dword [esi + 0xaac]
lea edx, [esp + 8]
push edx
push 0xb
push eax
jmp 0x40493e
push 0x104
push edi
push 0x16
call fcn.00403cc0
add esp, 0xc
jmp 0x404950
push 0x104
lea ebx, [esi + 0x830]
push ebx
push 0x19
call fcn.00403cc0
add esp, 0xc
push edi
lea eax, [esp + 0x120]
push 0x41cf8c
push eax
call ebp
mov edx, dword [esi]
mov eax, dword [edx]
add esp, 0xc
lea ecx, [esp + 0x11c]
push ecx
push eax
lea eax, [esi + 0x31c]
push eax
push ebx
mov ecx, esi
call fcn.00403620
test al, al
jne 0x404b00
xor al, al
jmp 0x404b02
mov al, 1
pop ebp
pop ebx
mov ecx, dword [esp + 0x514]
pop edi
pop esi
xor ecx, esp
call fcn.004096cb
add esp, 0x510
ret 4
Function at 0x404c00
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x114
mov eax, dword [0x42424c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004039f0
cmp eax, 1
mov dword [esp + 0x18], eax
jne 0x404c50
mov ecx, dword [ebx + 0xaac]
lea eax, [esp + 0x14]
push eax
push 2
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x14]
lea ebp, [ebx + 0x72c]
push ebp
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
jmp 0x404c66
push 0x104
lea ebp, [ebx + 0x72c]
push ebp
push 0x17
call fcn.00403cc0
add esp, 0xc
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea esi, [ebx + 0x218]
push esi
push esi
lea eax, [ebx + 0x10]
push eax
push ebp
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push str._s_s_s_s.lnk
push eax
call edi
add esp, 0x18
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x10]
push 0x41d118
push esi
push edx
push ebp
lea eax, [esp + 0x2c]
push str._s_s_s_s.lnk
push eax
call edi
add esp, 0x18
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x10]
push 0x41d104
push esi
push esi
push edx
push ebp
lea eax, [esp + 0x30]
push str._s_s_s_s__s.lnk
push eax
call edi
add esp, 0x1c
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x18], 1
jne 0x404d13
mov eax, dword [ebx + 0xaac]
lea edx, [esp + 0x14]
push edx
push 0x19
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x14]
add ebx, 0x830
push ebx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
jmp 0x404d60
push 0x104
add ebx, 0x830
push ebx
push 0x19
call fcn.00403cc0
push esi
push ebx
lea edx, [esp + 0x30]
push str._s_s.lnk
push edx
call edi
add esp, 0x1c
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x104
push ebx
push 0
call fcn.00403cc0
push esi
push ebx
lea ecx, [esp + 0x30]
push str._s_s.lnk
push ecx
call edi
add esp, 0x1c
push esi
push ebx
lea edx, [esp + 0x24]
push str._s_s.lnk
push edx
call edi
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
mov esi, dword [esp + 0x14]
push esi
push ebp
lea ecx, [esp + 0x28]
push 0x41ce38
push ecx
call edi
lea edx, [esp + 0x30]
push edx
call fcn.00409d73
push esi
push ebp
lea eax, [esp + 0x3c]
push 0x41cf70
push eax
call edi
lea ecx, [esp + 0x44]
push ecx
call fcn.00409d73
mov ecx, dword [esp + 0x14c]
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004096cb
add esp, 0x114
ret
Function at 0x405880
Capabilities:
Copy file
Read file on windows
Set file attributes
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push ebp
push esi
mov esi, ecx
push 0x41d5f0
push eax
lea ebp, [esi + 0xaa4]
push ebp
call fcn.00409bd4
add esp, 0xc
test eax, eax
je 0x4058ae
pop esi
xor al, al
pop ebp
add esp, 8
ret 0xc
push ebx
mov ebx, dword [esp + 0x18]
push edi
push 0x41d5ec
lea edi, [esi + 0xaa8]
push ebx
push edi
call fcn.00409bd4
add esp, 0xc
test eax, eax
je 0x4058e5
mov ecx, dword [ebp]
push ecx
call fcn.00409a81
add esp, 4
pop edi
pop ebx
pop esi
xor al, al
pop ebp
add esp, 8
ret 0xc
cmp dword [esi + 0xbc0], 1
mov edx, dword [esi + 0xa68]
mov eax, dword [esi + 0xa6c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
je 0x40594e
mov ecx, dword [ebp]
push ecx
push 0x10000
push 1
push 0x446950
call fcn.0040a367
add esp, 0x10
add dword [esi + 0xa68], eax
adc dword [esi + 0xa6c], 0
cmp eax, 0x10000
jb 0x40595a
mov edx, dword [edi]
push edx
push 0x10000
push 1
push 0x446950
call fcn.0040a8e7
add esp, 0x10
cmp dword [esi + 0xbc0], 1
jne 0x405902
mov dword [esi + 0xbc0], 2
jmp 0x40596d
mov ecx, dword [edi]
push ecx
push eax
push 1
push 0x446950
call fcn.0040a8e7
add esp, 0x10
mov edx, dword [ebp]
push edx
call fcn.00409a81
mov eax, dword [edi]
push eax
call fcn.00409a81
add esp, 8
cmp dword [esi + 0xbc0], 0
jne 0x4059e0
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebp, dword [esp + 0x20]
push ebp
mov ecx, esi
call fcn.004030e0
push ebx
mov ecx, esi
mov edi, eax
call fcn.004030e0
lea ecx, [edi + 0x10000]
cmp ecx, eax
jb 0x4059c0
lea edx, [edi - 0x10000]
cmp edx, eax
jbe 0x4059e0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
xor eax, eax
add edi, dword [esp + 0x10]
adc eax, dword [esp + 0x14]
mov dword [esi + 0xa68], edi
mov dword [esi + 0xa6c], eax
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
add esp, 8
ret 0xc