Function at 0x412ce8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x412cf0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x412f29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
mov edx, 0x412f3c
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0xc
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
lea ecx, [ebp - 0x1c]
mov edx, 0x412f50
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x28
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
lea ecx, [ebp - 0x20]
mov edx, 0x412f68
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x10
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
lea ecx, [ebp - 0x24]
mov edx, 0x412f84
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
add eax, 0x14
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
lea ecx, [ebp - 0x28]
mov edx, 0x412fa0
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x24
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
lea ecx, [ebp - 0x30]
mov edx, 0x412fb8
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call sub.rtl60.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov eax, dword [ebp - 0x2c]
or edx, 0xffffffff
call sub.rtl60.bpl__Sysutils_StrToIntDef_qqrx17System_AnsiStringi
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
setge al
mov edx, dword [ebp - 4]
mov byte [edx + 0x4c], al
lea ecx, [ebp - 0x34]
mov edx, 0x412fd0
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov eax, dword [ebp - 0x34]
call fcn.0040a8fc
mov eax, dword [ebp - 4]
fstp qword [eax + 0x30]
wait
lea ecx, [ebp - 0x38]
mov edx, 0x412fe0
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov eax, dword [ebp - 0x38]
call fcn.0040a8fc
mov eax, dword [ebp - 4]
fstp qword [eax + 0x40]
wait
lea ecx, [ebp - 0x3c]
mov edx, 0x412ff8
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov eax, dword [ebp - 0x3c]
or edx, 0xffffffff
call sub.rtl60.bpl__Sysutils_StrToIntDef_qqrx17System_AnsiStringi
inc eax
je 0x412ec4
lea ecx, [ebp - 0x40]
mov edx, 0x412ff8
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov eax, dword [ebp - 0x40]
call sub.rtl60.bpl__Sysutils_StrToInt_qqrx17System_AnsiString
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov ecx, 0xe10
cdq
idiv ecx
mov eax, edx
mov ecx, 0x3c
cdq
idiv ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, 0xe10
cdq
idiv ecx
mov eax, edx
mov ecx, 0x3c
cdq
idiv ecx
mov dword [ebp - 8], edx
push 0
mov cx, word [ebp - 8]
mov dx, word [ebp - 0xc]
mov ax, word [ebp - 0x10]
call sub.rtl60.bpl__Sysutils_EncodeTime_qqrusususus
fstp qword [ebp - 0x48]
wait
call sub.rtl60.bpl__Sysutils_Now_qqrv
fadd qword [ebp - 0x48]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x38]
wait
jmp 0x412ee3
lea ecx, [ebp - 0x4c]
mov edx, 0x412ff8
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov eax, dword [ebp - 0x4c]
call fcn.0040a8fc
mov eax, dword [ebp - 4]
fstp qword [eax + 0x38]
wait
lea ecx, [ebp - 0x50]
mov edx, 0x413008
mov eax, dword [ebp - 0x14]
call fcn.00410880
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
add eax, 0x48
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412f30
lea eax, [ebp - 0x50]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x40]
mov edx, 0xb
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret