Function at 0x100787bf
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 0x100873c6
mov eax, dword fs:[0]
push eax
sub esp, 0x8b8
mov eax, dword [0x100a509c]
xor eax, esp
mov dword [esp + 0x8b0], eax
push ebx
push esi
push edi
mov eax, dword [0x100a509c]
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], 0x10110f10
push str._sMap__btn_min.png
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
call esi
add esp, 0xc
push 0x10110f10
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.10004efd
mov ecx, dword [esp + 0x18]
mov eax, esi
push eax
mov byte [esp + 0x8d4], 2
call fcn.10004ce8
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, 0x100a532c
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.10004145
mov eax, dword [esp + 0x7c]
add eax, 0xffffffd3
push eax
mov edi, esi
call fcn.10004192
mov edi, dword [esp + 0x14]
mov esi, dword [sym.imp.mfc100.dll_Ordinal_7214]
push ebx
push ebx
push 0x10093ad0
push 1
add edi, 0x94
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x1009bb4c
push 2
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x1009bb54
push 3
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x1009bb5c
push 4
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x1009bb64
push 5
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x1009bb6c
push 6
push 1
mov ecx, edi
call esi
push ebx
push ebx
push 0x10097e58
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, 0x103d1390
call edi
mov ecx, dword [esp + 0x14]
push 0x1fa5
call esi
push eax
push 0x1b89
mov ecx, 0x103d1770
call edi
mov ecx, dword [esp + 0x14]
push 0x1fa5
call esi
push eax
push 0x1b8a
mov ecx, 0x103d1c98
call edi
mov ecx, dword [esp + 0x14]
push 0x1fa5
call esi
push eax
push 0x1b8b
mov ecx, 0x103d3170
call edi
mov ecx, dword [esp + 0x14]
push 0x1fa5
call esi
push eax
push 0x1b8c
mov ecx, 0x103d4568
call edi
mov ecx, dword [esp + 0x14]
push 0x1fa5
call esi
push eax
push 0x1b8d
mov ecx, 0x103d5c40
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 [0x1009da20]
call fcn.10082ff0
fild dword [esp + 0x70]
mov dword [esp + 0x64], eax
fmul qword [0x1009db10]
call fcn.10082ff0
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, 0x103d1390
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, 0x103d1770
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, 0x103d1c98
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, 0x103d3170
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, 0x103d4568
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, 0x103d5c40
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 0x103d5cd4
call fcn.1000b936
mov esi, 0x103d60e8
call section..text
mov esi, 0x103d60f4
call section..text
mov esi, 0x103d6100
call section..text
mov esi, 0x103d610c
call section..text
mov esi, 0x103d6118
call section..text
mov esi, 0x103d6124
call section..text
mov esi, 0x103d6130
call section..text
mov esi, 0x103d613c
call section..text
mov esi, 0x103d736c
call section..text
mov esi, 0x103d7378
call section..text
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov esi, 0x10110f10
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 0x10078c8b
push ebx
lea eax, [esp + 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x34d28e8
push esi
lea eax, [esp + 0xf4]
push str._s_s.ini
push eax
call edi
push 0x34d28e8
push esi
lea eax, [esp + 0x4ec]
push str._sPK_config_s.ini
push eax
call edi
lea eax, [esp + 0x10c]
push 0x1008b734
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 0x28
cmp eax, ebx
jbe 0x10078cfc
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.10074e3d
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x10], ebx
cmp dword [0x10374e88], ebx
jle 0x10078d8b
mov dword [esp + 0x18], 0x10374690
push dword [esp + 0x18]
push ebx
push 0x180
push dword [0x103d1950]
call esi
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 0x10374c6c]
push ecx
push eax
mov ecx, 0x103d1930
call dword [sym.imp.mfc100.dll_Ordinal_12168]
push dword [esp + 0x18]
push ebx
push 0x180
push dword [0x103d19cc]
call esi
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 0x10374c30]
push ecx
push eax
mov ecx, 0x103d19ac
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 [0x10374e88]
jl 0x10078d22
mov dword [esp + 0x10], ebx
cmp dword [0x103d7344], ebx
jle 0x10078dec
mov eax, dword [0x103d733c]
mov ecx, dword [esp + 0x10]
push dword [eax + ecx*4]
push ebx
push 0x180
push dword [0x103d15bc]
call esi
push ebx
push ebx
push 0x18b
push dword [0x103d15bc]
call esi
mov ecx, dword [0x103d7348]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
push dword [ecx]
dec eax
push eax
mov ecx, 0x103d159c
call dword [sym.imp.mfc100.dll_Ordinal_12168]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [0x103d7344]
jl 0x10078d97
mov dword [esp + 0x10], ebx
cmp dword [0x103d735c], ebx
jle 0x10078e4d
mov eax, dword [0x103d7354]
mov ecx, dword [esp + 0x10]
push dword [eax + ecx*4]
push ebx
push 0x180
push dword [0x103d18d0]
call esi
push ebx
push ebx
push 0x18b
push dword [0x103d18d0]
call esi
mov ecx, dword [0x103d7360]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
push dword [ecx]
dec eax
push eax
mov ecx, 0x103d18b0
call dword [sym.imp.mfc100.dll_Ordinal_12168]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [0x103d735c]
jl 0x10078df8
push 0x103c1758
lea eax, [esp + 0x88]
push str._s
push eax
call edi
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x84]
push eax
add ecx, 0x3e8
call dword [sym.imp.mfc100.dll_Ordinal_12868]
movzx eax, word [0x103c1438]
push eax
movzx eax, word [0x103c143c]
push eax
push 1
push 2
call fcn.1003d0cd
add esp, 0x10
lea ecx, [esp + 0x2c]
mov byte [0x1035ef2a], bl
mov byte [0x103bfb66], bl
mov byte [0x1035ef2d], bl
call fcn.10004e9d
mov byte [esp + 0x8d0], bl
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBitmap.0
call fcn.100018f7
or dword [esp + 0x8d0], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CRgn.0
call fcn.100018f7
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.10082395
mov esp, ebp
pop ebp
ret