Function at 0x100795c7
Capabilities:
Copy file
Create directory
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100884cf
mov eax, dword fs:[0]
push eax
sub esp, 0x8b8
mov eax, dword [0x100a609c]
xor eax, esp
mov dword [esp + 0x8b0], eax
push ebx
push esi
push edi
mov eax, dword [0x100a609c]
xor eax, esp
push eax
lea eax, [esp + 0x8c8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call dword [sym.imp.mfc100.dll_Ordinal_9475]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.CRgn.0
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x8d4], ebx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
push 6
sub eax, edx
push 6
sub ecx, edi
sub eax, 3
push eax
sub ecx, 3
push ecx
add edx, 3
push edx
add edi, 3
push edi
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov edi, dword [sym.imp.mfc100.dll_Ordinal_2184]
push eax
lea ecx, [esp + 0x20]
call edi
push 1
push dword [esp + 0x24]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov esi, dword [sym.imp.mfc100.dll_Ordinal_265]
push 0x1f4
call esi
mov dword [esp + 0x14], eax
mov dword [esp], 0x1f4
call esi
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
mov dword [esp], 0x10111f10
push str._sMap__btn_min.png
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
call esi
add esp, 0xc
push 0x10111f10
push str._sMap__Background.png
push dword [esp + 0x20]
call esi
add esp, 0xc
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], vtable.CBitmap.0
lea esi, [esp + 0x2c]
call fcn.10004edd
mov ecx, dword [esp + 0x18]
mov eax, esi
push eax
mov byte [esp + 0x8d4], 2
call fcn.10004cc8
mov eax, dword [esp + 0x30]
or dword [esp + 0x4c], 0xffffffff
or dword [esp + 0x50], 0xffffffff
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov word [esp + 0x4c], bx
call edi
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
mov ecx, 0x100a632c
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push dword [esp + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push dword [esp + 0x18]
mov byte [esp + 0x8dc], 3
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov esi, dword [esp + 0x1c]
add esi, 0x220
mov byte [esp + 0x8d8], 2
call fcn.10004125
mov eax, dword [esp + 0x7c]
add eax, 0xffffffd3
push eax
mov edi, esi
call fcn.10004172
mov edi, dword [esp + 0x14]
mov esi, dword [sym.imp.mfc100.dll_Ordinal_7214]
push ebx
push ebx
push 0x10094b30
push 1
add edi, 0x94
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x1009cf1c
push 2
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x1009cf24
push 3
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x1009cf2c
push 4
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x1009cf34
push 5
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x1009cf3c
push 6
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x10099194
push 7
push 1
mov ecx, edi
call esi
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.mfc100.dll_Ordinal_4785]
push 0x1fa5
call esi
push eax
mov edi, dword [sym.imp.mfc100.dll_Ordinal_2752]
push 0x1b88
mov ecx, 0x103d2570
call edi
mov ecx, dword [esp + 0x14]
push 0x1fa5
call esi
push eax
push 0x1b89
mov ecx, 0x103d2950
call edi
mov ecx, dword [esp + 0x14]
push 0x1fa5
call esi
push eax
push 0x1b8a
mov ecx, 0x103d2e78
call edi
mov ecx, dword [esp + 0x14]
push 0x1fa5
call esi
push eax
push 0x1b8b
mov ecx, 0x103d43e8
call edi
mov ecx, dword [esp + 0x14]
push 0x1fa5
call esi
push eax
push 0x1b8c
mov ecx, 0x103d57d8
call edi
mov ecx, dword [esp + 0x14]
push 0x1fa5
call esi
push eax
push 0x1b8d
mov ecx, 0x103d6eb0
call edi
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0xb4]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x16
mov dword [esp + 0x78], 0x176
mov dword [esp + 0x74], 0x163
call dword [sym.imp.USER32.dll_GetClientRect]
fild dword [esp + 0x6c]
fmul qword [0x1009ee28]
call fcn.100840a0
fild dword [esp + 0x70]
mov dword [esp + 0x64], eax
fmul qword [0x1009ef18]
call fcn.100840a0
mov ecx, dword [esp + 0x70]
mov esi, dword [sym.imp.mfc100.dll_Ordinal_7933]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x74]
sub ecx, dword [esp + 0x6c]
mov edi, 0x103d2570
push ecx
push eax
push dword [esp + 0x74]
mov ecx, edi
mov dword [esp + 0x7c], eax
call esi
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
push 1
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
mov ecx, 0x103d2950
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
call esi
push 1
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
mov ecx, 0x103d2e78
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
call esi
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
push 1
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
mov ecx, 0x103d43e8
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
call esi
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
push 1
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
mov ecx, 0x103d57d8
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
call esi
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
push 1
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
mov ecx, 0x103d6eb0
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
call esi
push 5
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_12962]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4341]
push 0x103d6f44
call fcn.1000b942
mov esi, 0x103d7364
call fcn.1000102f
mov esi, 0x103d7370
call fcn.1000102f
mov esi, 0x103d737c
call fcn.1000102f
mov esi, 0x103d7388
call fcn.1000102f
mov esi, 0x103d7394
call fcn.1000102f
mov esi, 0x103d73a0
call fcn.1000102f
mov esi, 0x103d73ac
call fcn.1000102f
mov esi, 0x103d73b8
call fcn.1000102f
mov esi, 0x103d860c
call fcn.1000102f
mov esi, 0x103d8618
call fcn.1000102f
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov esi, 0x10111f10
push esi
lea eax, [esp + 0xf0]
push str._sPK_config
push eax
call edi
add esp, 0xc
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x10079a93
push ebx
lea eax, [esp + 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x3592e68
push esi
lea eax, [esp + 0xf4]
push str._s_s.ini
push eax
call edi
push 0x3592e68
push esi
lea eax, [esp + 0x4ec]
push str._sPK_config_s.ini
push eax
call edi
lea eax, [esp + 0x10c]
push 0x1008c724
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 0x28
cmp eax, ebx
jbe 0x10079b04
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
pop ecx
push ebx
lea eax, [esp + 0x4d8]
push eax
lea eax, [esp + 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x4d4]
call fcn.10075b1e
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x10], ebx
cmp dword [0x10375f10], ebx
jle 0x10079b93
mov dword [esp + 0x18], 0x10375718
push dword [esp + 0x18]
push ebx
push 0x180
push dword [0x103d2b30]
call esi
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 0x10375cf4]
push ecx
push eax
mov ecx, 0x103d2b10
call dword [sym.imp.mfc100.dll_Ordinal_12168]
push dword [esp + 0x18]
push ebx
push 0x180
push dword [0x103d2bac]
call esi
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 0x10375cb8]
push ecx
push eax
mov ecx, 0x103d2b8c
call dword [sym.imp.mfc100.dll_Ordinal_12168]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 0x14
cmp eax, dword [0x10375f10]
jl 0x10079b2a
mov dword [esp + 0x10], ebx
cmp dword [0x103d85e4], ebx
jle 0x10079bf4
mov eax, dword [0x103d85dc]
mov ecx, dword [esp + 0x10]
push dword [eax + ecx*4]
push ebx
push 0x180
push dword [0x103d279c]
call esi
push ebx
push ebx
push 0x18b
push dword [0x103d279c]
call esi
mov ecx, dword [0x103d85e8]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
push dword [ecx]
dec eax
push eax
mov ecx, 0x103d277c
call dword [sym.imp.mfc100.dll_Ordinal_12168]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [0x103d85e4]
jl 0x10079b9f
mov dword [esp + 0x10], ebx
cmp dword [0x103d85fc], ebx
jle 0x10079c55
mov eax, dword [0x103d85f4]
mov ecx, dword [esp + 0x10]
push dword [eax + ecx*4]
push ebx
push 0x180
push dword [0x103d2ab0]
call esi
push ebx
push ebx
push 0x18b
push dword [0x103d2ab0]
call esi
mov ecx, dword [0x103d8600]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
push dword [ecx]
dec eax
push eax
mov ecx, 0x103d2a90
call dword [sym.imp.mfc100.dll_Ordinal_12168]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [0x103d85fc]
jl 0x10079c00
push 0x103c27e0
lea eax, [esp + 0x88]
push str.PK_s
push eax
call edi
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.mfc100.dll_Ordinal_12868]
add esp, 0xc
lea eax, [esp + 0x84]
push eax
lea ecx, [edi + 0x3e8]
call esi
lea eax, [esp + 0x84]
push eax
mov ecx, edi
call esi
movzx eax, word [0x103c24c0]
push eax
movzx eax, word [0x103c24c4]
push eax
push 1
push 2
call fcn.1003d911
add esp, 0x10
lea ecx, [esp + 0x2c]
mov dword [0x1035ff94], ebx
mov byte [0x103c0bee], bl
mov dword [0x1035ffa0], ebx
call fcn.10004e7d
mov byte [esp + 0x8d0], bl
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBitmap.0
call fcn.10001900
or dword [esp + 0x8d0], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CRgn.0
call fcn.10001900
xor eax, eax
inc eax
mov ecx, dword [esp + 0x8c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8b0]
xor ecx, esp
call fcn.1008344f
mov esp, ebp
pop ebp
ret