Function at 0x411b60
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x417347
push eax
mov eax, 0x20a4
mov dword fs:[0], esp
call fcn.004151e0
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x20c0]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x20b8], 0
mov bh, byte [esi + 0xa]
mov ah, byte [esi + 0xc]
mov bl, byte [esi + 0xb]
mov al, byte [esi + 0xd]
shl ebx, 0x10
or ebx, eax
mov eax, dword [ebp + 0x3c]
cmp ebx, eax
mov dword [esp + 0x2c], ebx
jne 0x411bd8
lea ecx, [esp + 0xc]
mov dword [esp + 0x20b8], 0xffffffff
call fcn.00414b42
jmp 0x412306
cmp ebx, 1
jl 0x411c2d
mov ecx, ebx
sub ecx, eax
cmp ecx, 1
je 0x411c2d
mov dl, byte [esi + 8]
and dl, 1
cmp dl, 1
jne 0x411c2d
mov ecx, dword [ebp + 0x28]
push 2
push 0x41f7bc
call fcn.00405970
mov eax, dword [ebp + 0x3c]
lea ecx, [esp + 0xc]
push eax
push ebx
push 0x41f7a4
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x28]
add esp, 0x10
push 2
push edx
call fcn.00405970
mov byte [ebp + 0xb0], 1
mov eax, dword [ebp + 0x30]
push edi
test eax, eax
jne 0x411ff9
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0x1b04]
test ecx, ecx
je 0x411ef0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x74]
mov edx, eax
mov esi, ecx
shl edx, 4
add esi, edx
mov edx, eax
add edx, esi
mov byte [esp + 0x20bc], 1
mov esi, dword [edx]
mov dword [esp + 0xa0], esi
mov esi, dword [edx + 4]
mov dword [esp + 0xa4], esi
mov esi, dword [edx + 8]
mov dword [esp + 0xa8], esi
mov esi, dword [edx + 0xc]
mov dword [esp + 0xac], esi
mov esi, ecx
mov dl, byte [edx + 0x10]
mov byte [esp + 0xb0], dl
mov edx, eax
shl edx, 4
add esi, edx
mov edx, eax
add edx, esi
mov esi, dword [edx]
mov dword [esp + 0x8c], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x90], esi
mov esi, dword [edx + 8]
mov dword [esp + 0x94], esi
mov esi, dword [edx + 0xc]
mov dword [esp + 0x98], esi
mov esi, ecx
mov dl, byte [edx + 0x10]
mov byte [esp + 0x9c], dl
mov edx, eax
shl edx, 4
add esi, edx
mov edx, eax
add edx, esi
mov esi, dword [edx]
mov dword [esp + 0x78], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x7c], esi
mov esi, dword [edx + 8]
mov dword [esp + 0x80], esi
mov esi, dword [edx + 0xc]
mov dword [esp + 0x84], esi
mov esi, ecx
mov dl, byte [edx + 0x10]
mov byte [esp + 0x88], dl
mov edx, eax
shl edx, 4
add esi, edx
mov edx, eax
add edx, esi
mov esi, dword [edx]
mov dword [esp + 0x3c], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x40], esi
mov esi, dword [edx + 8]
mov dword [esp + 0x44], esi
mov esi, dword [edx + 0xc]
mov dword [esp + 0x48], esi
mov esi, ecx
mov dl, byte [edx + 0x10]
mov byte [esp + 0x4c], dl
mov edx, eax
shl edx, 4
add esi, edx
mov edx, eax
add edx, esi
mov esi, dword [edx]
mov dword [esp + 0x14], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x18], esi
mov esi, dword [edx + 8]
mov dword [esp + 0x1c], esi
mov esi, dword [edx + 0xc]
mov edi, ecx
and esi, 0xff
mov dl, byte [edx + 0x10]
mov byte [esp + 0x24], dl
mov edx, eax
shl edx, 4
add edi, edx
mov edx, eax
add edx, edi
mov edi, dword [edx]
mov dword [esp + 0x64], edi
mov edi, dword [edx + 4]
mov dword [esp + 0x68], edi
mov edi, dword [edx + 8]
mov dword [esp + 0x6c], edi
mov edi, dword [edx + 0xc]
mov dword [esp + 0x70], edi
mov edi, ecx
mov dl, byte [edx + 0x10]
mov byte [esp + 0x74], dl
mov edx, eax
shl edx, 4
add edi, edx
mov edx, eax
add edx, edi
mov edi, dword [edx]
mov dword [esp + 0x50], edi
mov edi, dword [edx + 4]
mov dword [esp + 0x54], edi
mov edi, dword [edx + 8]
mov dword [esp + 0x58], edi
mov edi, dword [edx + 0xc]
mov dword [esp + 0x5c], edi
mov dl, byte [edx + 0x10]
mov byte [esp + 0x60], dl
mov edx, eax
shl edx, 4
add ecx, edx
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xb0]
mov edx, dword [eax + 0xc]
and ecx, 0xff
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x9b]
mov al, byte [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x4d]
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x8a]
and edx, 0xff
and eax, 0xff
push edx
mov edx, dword [esp + 0x77]
push eax
mov eax, dword [esp + 0x66]
and ecx, 0xff
push ecx
mov ecx, dword [esp + 0x2a]
and edx, 0xff
push esi
and eax, 0xff
push edx
push eax
push ecx
lea edx, [esp + 0x48]
push str._d__02d_02d_02d_02d_02d_02d_02d.bin
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x28
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call fcn.00412320
push str.Data
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x20c8], 2
call sub.MFC42.DLL_operator
lea edx, [esp + 0x28]
mov byte [esp + 0x20bc], 3
push edx
push eax
lea eax, [esp + 0x40]
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [ebp + 0x6c]
mov byte [esp + 0x20c0], 4
call fcn.00414cbc
lea ecx, [esp + 0x38]
mov byte [esp + 0x20bc], 3
call fcn.00414b42
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20bc], 2
call fcn.00414b42
lea ecx, [esp + 0x34]
mov byte [esp + 0x20bc], 1
call fcn.00414b42
lea ecx, [esp + 0x28]
mov byte [esp + 0x20bc], 0
call fcn.00414b42
mov eax, dword [ebp + 0x6c]
push 0x41e0d0
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
lea esi, [ebp + 0x40]
mov dword [ebp + 0x34], eax
mov ecx, 6
xor eax, eax
mov edi, esi
add esp, 8
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 0x1b04]
test eax, eax
jne 0x411f87
mov eax, dword [ebp + 0x58]
mov edi, dword [ebp + 0x74]
mov edx, eax
shl edx, 4
add edx, eax
add edx, edi
mov eax, dword [edx]
mov dword [esp + 0x14], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x16]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dl, byte [edx + 0x10]
push ecx
push 0x400
push ecx
push eax
mov byte [esp + 0x34], dl
call fcn.00415220
mov dword [esi], eax
mov dword [esi + 4], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x28]
push 0
push 0x1f4
mov eax, dword [eax + 0x20]
push 0xc8
push eax
jmp 0x411fec
mov eax, dword [ebp + 0x5c]
mov edi, dword [ebp + 0x74]
mov ecx, eax
shl ecx, 4
add ecx, eax
add ecx, edi
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x16]
mov cl, byte [ecx + 0x10]
mov byte [esp + 0x24], cl
xor ecx, ecx
push ecx
push 0x400
push ecx
push eax
call fcn.00415220
mov dword [esi], eax
mov dword [esi + 4], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x28]
push 0
push 0x1f4
mov edx, dword [eax + 0x20]
push 0x12c
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [esp + 0x20c4]
mov al, byte [esi + 8]
and al, 1
jne 0x412009
mov dword [ebp + 0x30], 0
jmp 0x412014
cmp al, 1
jne 0x412014
mov dword [ebp + 0x30], 1
cmp byte [ebp + 0xb0], 1
je 0x41207c
mov eax, dword [esp + 0x20c4]
mov dword [ebp + 0x3c], ebx
mov ebx, dword [esp + 0x20c8]
lea edi, [esp + 0xb4]
lea esi, [eax + 0xe]
lea ecx, [ebx - 0xe]
lea eax, [ebx - 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x48]
lea ecx, [esp + 0xb4]
cdq
add edi, eax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x48], edi
mov esi, dword [ebp + 0x4c]
adc esi, edx
add ebx, 0xfffffff2
push eax
push ebx
push 1
push ecx
mov dword [ebp + 0x4c], esi
call dword [sym.imp.MSVCRT.dll_fwrite]
mov ebx, dword [esp + 0x40]
add esp, 0x10
mov eax, dword [ebp + 0x3c]
mov esi, 5
mov edx, eax
lea ecx, [ebp + 0xa8]
sar edx, 0x18
mov byte [ebp + 0xb2], dl
mov edx, eax
sar eax, 8
mov byte [ebp + 0xb4], al
mov al, byte [ebp + 0x3c]
sar edx, 0x10
mov byte [ebp + 0xb5], al
mov eax, ebx
mov byte [ebp + 0xb3], dl
mov byte [ecx], 1
cdq
idiv esi
mov byte [ebp + 0xa9], 0x12
mov byte [ebp + 0xaa], 0xf1
mov byte [ebp + 0xab], 0x8d
mov byte [ebp + 0xaf], 0xe
cmp edx, 4
jne 0x4120ea
push ecx
mov ecx, ebp
call fcn.00412cd0
mov byte [ebp + 0xb0], 0
mov eax, dword [ebp + 0x30]
or ebx, 0xffffffff
test eax, eax
jne 0x4122f5
mov ecx, dword [ebp + 0x34]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
mov ecx, 6
xor eax, eax
lea edi, [ebp + 0x40]
mov dword [ebp + 0x34], 0
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0x28]
mov dword [ebp + 0x3c], ebx
add esp, 4
mov eax, dword [edx + 0x1b04]
test eax, eax
jne 0x4121f1
mov eax, dword [ebp + 0x58]
mov edx, dword [ebp + 0x74]
mov ecx, eax
shl ecx, 4
add ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x20c4]
mov cl, byte [ecx + 0x10]
mov byte [esp + 0x24], cl
mov cl, byte [edx + 9]
cmp cl, 1
jne 0x412191
and eax, 0xffff
push eax
lea eax, [esp + 0x14]
push 0x41f768
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 2
push ecx
mov ecx, dword [ebp + 0x28]
call fcn.00405970
jmp 0x4121d3
and eax, 0xffff
lea edx, [esp + 0x10]
push eax
push 0x41f754
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x28]
add esp, 0xc
push 0
push eax
call fcn.00405970
mov eax, dword [ebp + 0x28]
push 0
add eax, 0x9e4
push 0x64
push 0x402
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x28]
push 0xc8
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push 0x444
jmp 0x4122e6
mov eax, dword [ebp + 0x5c]
mov edx, dword [ebp + 0x74]
mov ecx, eax
shl ecx, 4
add ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x20c4]
mov cl, byte [ecx + 0x10]
mov byte [esp + 0x24], cl
mov cl, byte [edx + 9]
cmp cl, 1
jne 0x41227b
mov esi, eax
lea eax, [esp + 0x10]
and esi, 0xffff
push esi
push 0x41f768
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 2
push ecx
mov ecx, dword [ebp + 0x28]
call fcn.00405970
push esi
lea edx, [esp + 0x14]
push 0x41f740
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x28]
add esp, 0xc
push 0
push eax
call fcn.00405970
jmp 0x4122bd
and eax, 0xffff
lea ecx, [esp + 0x10]
push eax
push 0x41f754
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x28]
add esp, 0xc
push 0
push edx
call fcn.00405970
mov eax, dword [ebp + 0x28]
push 0
add eax, 0x114
push 0x64
push 0x402
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x28]
push 0x12c
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0x1b00]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 1
push 0x449
mov ecx, dword [ebp + 0x28]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
lea ecx, [esp + 0x10]
mov dword [esp + 0x20bc], ebx
call fcn.00414b42
pop edi
mov ecx, dword [esp + 0x20b0]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20b0
ret 8