Function at 0x1049148
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x1099a38]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x438], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x434], 0
mov dword [ebp - 0x448], eax
call fcn.01040cef
test eax, eax
jne 0x1049488
push ebx
push edi
push dword [esi + 0x18]
push 0x1015c80
call fcn.010430af
pop ecx
pop ecx
push 0xfffa
mov ebx, 0x10f6960
push ebx
push 0xf032
push 0
mov byte [0x1106960], 0
call fcn.01031fb1
push 0x7ffd
mov edi, 0x1106960
push edi
push 0xffffffffffffffff
push dword [esi + 0x18]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push ebx
mov edi, 0x10f5820
push edi
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
push edi
call fcn.010455a0
and dword [ebp - 0x430], 0
mov edi, dword [esi + 0xc]
jmp 0x104923c
mov ebx, dword [edi + 4]
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebx + 0x17c]
push eax
push dword [ebp - 0x438]
call fcn.01070fc9
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.01072521
cmp eax, 0xffffffff
je 0x1049324
test eax, eax
je 0x1049332
add dword [ebp - 0x430], eax
mov edi, dword [edi]
test edi, edi
jne 0x10491f4
call fcn.01040cef
test eax, eax
jne 0x1049486
push dword [ebp - 0x430]
push 0x1015c50
call fcn.010430af
xor eax, eax
lea edi, [ebp - 0x450]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
pop ecx
mov ecx, 0xc9
lea edi, [ebp - 0x42c]
rep stosd dword es:[edi], eax
mov eax, 0x7fffffff
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
lea ecx, [esi + 0x1c]
lea eax, [ebp - 0x30a]
sub eax, ecx
mov dl, byte [ecx]
mov byte [ecx + eax], dl
inc ecx
test dl, dl
jne 0x1049294
lea eax, [esi + 0x1c]
push eax
call fcn.010300d2
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x10482f0
push 0x10482c8
push 0x1048297
push 0x104826f
push 0x104823e
push 0x104820d
push 0x10481dc
push 0x10481d0
push 0x10481c4
lea eax, [ebp - 0x444]
push fcn.01048367
push eax
call fcn.01072db8
add esp, 0x34
test eax, eax
mov dword [ebp - 0x430], eax
jne 0x1049351
push dword [ebp - 0x444]
call fcn.0104840f
push eax
push dword [ebp - 0x444]
push 0x1015c2c
call fcn.01071ac0
add esp, 0xc
jmp 0x1049486
add ebx, 0x17c
push ebx
push 0x1015c08
jmp 0x104933e
add ebx, 0x17c
push ebx
push 0x1015be0
call fcn.01071ac0
pop ecx
pop ecx
push 2
call fcn.01037f35
jmp 0x1049486
mov ebx, dword [esi + 0xc]
jmp 0x10493bc
call fcn.01040cef
test eax, eax
jne 0x104942a
mov edi, dword [ebx + 4]
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [edi + 0x17c]
push eax
push dword [ebp - 0x438]
call fcn.01070fc9
push 1
push 0x104836a
push 0x104834a
push fcn.01048367
push 0
push dword [edi + 0x70]
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x430]
call fcn.01072dcd
add esp, 0x20
test eax, eax
je 0x1049407
push 1
call fcn.01046c4d
mov ebx, dword [ebx]
test ebx, ebx
jne 0x1049356
call fcn.01040cef
test eax, eax
jne 0x104942a
push 0x104834a
push fcn.01048367
push eax
push dword [ebp - 0x430]
call fcn.01072de2
add esp, 0x10
test eax, eax
jne 0x1049420
push dword [ebp - 0x444]
call fcn.0104840f
push eax
push dword [ebp - 0x444]
push 0x1015bb4
call fcn.01071ac0
add esp, 0xc
jmp 0x104942a
push dword [ebp - 0x444]
call fcn.0104840f
push eax
push dword [ebp - 0x444]
push 0x1015b90
jmp 0x10493fd
mov dword [ebp - 0x434], 1
push dword [ebp - 0x430]
call fcn.01072df7
mov dword [esp], 0x1009220
push 0x3ea
push dword [0x10c3b64]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [ebp - 0x434], 0
je 0x1049486
push 0
lea edi, [esi + 0x1c]
push edi
call fcn.01072521
mov ecx, dword [esi + 8]
mov dword [ecx + 0x28], eax
cmp dword [0x109a02c], 0
je 0x104947c
mov eax, dword [esi + 8]
push dword [eax + 0x28]
push edi
call fcn.01044ba8
mov eax, dword [esi + 8]
mov dword [eax + 0x18], 2
pop edi
pop ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x448]
push eax
push 0x1015b70
call fcn.01071ac0
cmp dword [ebp - 0x434], 0
pop ecx
pop ecx
pop esi
jne 0x10494be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1015b4c
call fcn.01071ac0
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x434]
call fcn.0106bc50
leave
ret 0xc