Function at 0x409900
Capabilities:
Check for time delay via gettickcount
Copy file
Create directory
Delete file
Get common file path
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x427948
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 0xa8]
cmp eax, ebp
jl 0x40a031
cmp eax, 0x10
jge 0x40a031
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x50], ebp
shl eax, 2
cmp dword [eax + 0x4373c0], ebp
je 0x409a28
lea eax, [eax + 0x437400]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
push 0x43289c
lea ecx, [esp + 0x18]
call fcn.00426a0a
mov ecx, dword [esp + 0x14]
push 1
push ecx
lea ecx, [esi + 0x778]
call fcn.004158e0
mov edx, dword [esi + 0x798]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebp
push 0x18b
push edx
call ebx
dec eax
push ebp
push eax
mov eax, dword [esi + 0x798]
push 0x186
push eax
call ebx
mov ecx, dword [esi + 0xa8]
lea edi, [esi + 0x4a8]
lea edx, [ecx*4 + 0x437400]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x43287c
mov ecx, edi
call fcn.00426a0a
mov edi, dword [edi]
lea ecx, [esi + 0x708]
push edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0xa8]
shl eax, 4
lea edi, [esi + 0x7d4]
add eax, edx
push eax
mov ecx, edi
call fcn.0041c890
mov ecx, edi
call fcn.0041bf20
push ebp
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa8]
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*8 + 0xb8], eax
jmp 0x409a2e
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xa8]
cmp dword [eax*4 + 0x4373c0], ebp
jne 0x409a63
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
cmp eax, 0xf
ja case.0x409a74.5
xor edx, edx
mov dl, byte [eax + 0x40a060]
jmp dword [edx*4 + 0x40a048]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
push 0x104
push 0x104
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x43286c
lea ecx, [esp + 0x1c]
call fcn.00426a0a
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebp
jge 0x409ae9
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x409b1f
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x28]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 4
call sub.MFC42.DLL_CString::CString_1
push 0x104
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.INIpay
lea ecx, [esp + 0x14]
call fcn.00426a0a
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebp
push eax
call edi
test eax, eax
jne 0x409bfc
mov ecx, dword [esp + 0x10]
push 0x80
push ecx
call dword [sym.imp.MSVCRT.dll__chmod]
add esp, 8
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileFind::CFileFind
mov edx, dword [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 6
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x409bee
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov eax, dword [esp + 0x2c]
push 0x10
lea ecx, [esp + 0x30]
call dword [eax + 0x40]
cmp eax, ebp
jne 0x409bee
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileFind::Close
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x409bee
mov edx, dword [esp + 0x10]
push ebp
push edx
call edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 5
call fcn.00426a64
push 0x432860
lea ecx, [esp + 0x14]
call fcn.00426a0a
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
push 0x43285c
lea ecx, [esp + 0x20]
call fcn.00426a0a
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0x20]
push 1
push ebp
mov eax, dword [edx*4 + 0x437440]
mov edx, dword [esp + 0x24]
push 0x400
push 0x5e6
push ecx
lea edi, [esi + 0x23c]
push 0x2710
push eax
push edx
mov ecx, edi
call fcn.00411e80
mov ecx, dword [esi + 0xa8]
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*8 + 0xb4], eax
mov eax, dword [esi + 0xa8]
mov dword [esi + 0xac], ebp
lea edx, [eax + eax*2]
cmp dword [esi + edx*8 + 0xb4], ebp
jbe 0x409dc2
mov eax, dword [esp + 0x1c]
push 0x432858
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x409d51
push ebp
push 4
lea ecx, [esp + 0x2c]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp al, 0x1f
jne 0x409cee
cmp ah, 0x8b
jne 0x409cee
cmp byte [esp + 0x26], 8
jne 0x409cee
mov al, byte [esp + 0x27]
test al, al
jne 0x409cee
mov dword [esi + 0xac], 0
jmp 0x409d47
push 2
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
push ebp
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push ebp
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0x1c
lea ecx, [esi + 0xb0]
push ebp
push ebx
push 1
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
lea ecx, [esi + 0xb0]
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0xac], 1
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esi + 0xac]
test eax, eax
je 0x409d92
mov eax, dword [esi + 0xa8]
push 0
push 0
push 5
lea edx, [eax + eax*2]
push 0
mov dword [esi + edx*8 + 0xc8], 4
mov eax, dword [esi + 0xb0]
push eax
push 0x432814
push 0x4327f0
call fcn.0041f890
add esp, 0x1c
jmp 0x409db5
mov eax, dword [esp + 0x1c]
push eax
call fcn.004201e0
add esp, 4
test eax, eax
je 0x409db5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0
call sub.MFC42.DLL_CString::CString
jmp 0x409ece
mov ecx, dword [esi + 0x20]
mov eax, dword [eax*4 + 0x437440]
push ecx
push 0xbb8
push eax
push 0xa
lea edi, [esi + 0x23c]
push str.reqdata12345
jmp 0x409eb7
mov ecx, dword [esi + 0x20]
mov eax, dword [eax*4 + 0x437440]
push ecx
push 0xbb8
push eax
push 0xa
lea edi, [esi + 0x23c]
push str.data12345
jmp 0x409eb7
mov ecx, dword [esi + 0x20]
mov eax, dword [eax*4 + 0x437440]
push 1
push ebp
push 0x400
push 0x5e6
push ecx
lea edi, [esi + 0x23c]
push 0x4e20
push eax
push ebp
mov ecx, edi
call fcn.00412400
jmp 0x409ebe
mov ecx, dword [esi + 0x20]
mov eax, dword [eax*4 + 0x437440]
push 1
push ebp
push 0x400
push 0x5e6
push ecx
lea edi, [esi + 0x23c]
push 0x2710
push eax
push ebp
mov ecx, edi
call fcn.00412400
jmp 0x409ebe
mov ecx, dword [esi + 0x20]
mov eax, dword [eax*4 + 0x437440]
push ecx
push 0xbb8
push eax
push ebp
lea edi, [esi + 0x23c]
push ebp
mov ecx, edi
call fcn.00413e50
mov ecx, dword [esi + 0xa8]
lea edx, [ecx + ecx*2]
mov dword [esi + edx*8 + 0xb4], eax
mov eax, dword [esi + 0xa8]
lea ecx, [eax + eax*2]
cmp dword [esi + ecx*8 + 0xb4], ebp
jne 0x409fe9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa8]
lea edx, [ecx + ecx*2]
mov dword [esi + edx*8 + 0xbc], eax
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0x244]
lea eax, [eax + eax*2]
mov dword [esi + eax*8 + 0xc8], ecx
mov eax, dword [esi + 0xa8]
lea ecx, [eax + eax*2]
mov dword [esi + ecx*8 + 0xc4], ebp
mov eax, dword [esi + 0xa8]
add eax, 8
mov ecx, edi
lea edx, [eax + eax*2]
lea eax, [esi + edx*8]
push eax
call fcn.00411c00
mov ecx, dword [esi + 0x798]
push ebp
push ebp
push 0x18b
push ecx
call ebx
lea edi, [esi + 0x778]
dec eax
push eax
mov ecx, edi
call fcn.00415930
mov edx, dword [esi + 0xa8]
lea ecx, [esp + 0x14]
lea eax, [edx*4 + 0x437400]
push eax
call sub.MFC42.DLL_CString::operator_1
push 0x43212c
lea ecx, [esp + 0x18]
call fcn.00426a0a
mov eax, dword [esi + 0xa8]
add eax, 8
lea ecx, [eax + eax*2]
lea edx, [esi + ecx*8]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x14]
push 2
push eax
mov ecx, edi
call fcn.004158e0
mov ecx, dword [esi + 0x798]
push ebp
push ebp
push 0x18b
push ecx
call ebx
mov edx, dword [esi + 0x798]
dec eax
push ebp
push eax
push 0x186
push edx
call ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
cmp eax, 2
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x14]
jne 0x40a014
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret