Function at 0xaa68d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x74]
mov dword [esp], 0
call sub.msvcrt.dll_time
mov dword [esp], ebx
mov dword [esp + 0x4c], eax
call sub.msvcrt.dll_strlen
test eax, eax
mov edx, eax
jle 0xaa6913
movzx eax, byte [ebx + eax - 1]
xor ecx, ecx
cmp al, 0x5a
sete cl
cmp al, 0x7a
sete al
mov esi, ecx
movzx eax, al
or esi, eax
lea ebp, [esp + 0x24]
xor eax, eax
mov ecx, 9
mov edi, ebp
rep stosd dword es:[edi], eax
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0xaa6a98
xor edi, edi
cmp byte [ebx], 0x2d
je 0xaa6c40
mov ecx, ebp
mov edx, str._H:_M:_S
mov eax, ebx
call fcn.00aa6020
test eax, eax
mov ecx, eax
mov dword [esp + 0x48], eax
je 0xaa6c70
mov eax, dword [esp + 0x78]
test eax, eax
je 0xaa69e0
imul edx, dword [esp + 0x2c], 0xe10
imul eax, dword [esp + 0x28], 0x3c
add eax, edx
add eax, dword [esp + 0x24]
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x18]
mov esi, 0xf4240
imul ebx, dword [esp + 0x1c], 0xf4240
mul esi
add edx, ebx
cmp byte [ecx], 0x2e
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
je 0xaa6b50
test edi, edi
je 0xaa69bc
neg dword [esp + 0x18]
adc dword [esp + 0x1c], 0
neg dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
xor eax, eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx], edx
mov dword [ebx + 4], ecx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
xor edi, edi
lea esi, [esi]
test esi, esi
mov dword [esp + 0x44], 0xffffffff
je 0xaa6c50
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
lea ebx, [eax + 1]
cmp ebx, 2
jg 0xaa6c00
lea ebx, [eax + 0xd]
add ecx, 0x76b
imul ebx, ebx, 0x99
mov edx, 0x66666667
sub ebx, 0x1c9
mov eax, ebx
imul edx
imul eax, ecx, 0x16d
sar ebx, 0x1f
sar edx, 1
sub edx, ebx
add esi, edx
mov edx, 0x51eb851f
add esi, eax
test ecx, ecx
lea eax, [ecx + 3]
cmovns eax, ecx
sar eax, 2
add esi, eax
mov eax, ecx
imul edx
sar ecx, 0x1f
mov ebx, ecx
mov eax, edx
sar eax, 5
sar edx, 7
sub ebx, eax
sub edx, ecx
add esi, ebx
imul ecx, dword [esp + 0x2c], 0xe10
imul eax, dword [esp + 0x28], 0x3c
lea edx, [esi + edx - 0xafa6d]
imul edx, edx, 0x15180
add eax, ecx
mov ecx, dword [esp + 0x48]
add eax, dword [esp + 0x24]
add eax, edx
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jmp 0xaa6985
mov dword [esp + 8], edx
mov dword [esp + 4], 0x1135fa8
mov dword [esp], ebx
call fcn.00aa1b10
test eax, eax
je 0xaa6c10
mov ecx, ebp
mov edx, str._Y__m__d
mov eax, ebx
call fcn.00aa6020
test eax, eax
mov edi, eax
mov dword [esp + 0x48], eax
jne 0xaa6ae8
mov ecx, ebp
mov edx, str._Y_m_d
mov eax, ebx
call fcn.00aa6020
test eax, eax
mov edi, eax
mov dword [esp + 0x48], eax
je 0xaa6cb0
movzx eax, byte [edi]
cmp al, 0x74
je 0xaa6af7
cmp al, 0x54
jne 0xaa6c30
add edi, 1
mov ecx, ebp
mov edx, str._H:_M:_S
mov eax, edi
call fcn.00aa6020
test eax, eax
mov dword [esp + 0x48], eax
jne 0xaa69d7
mov ecx, ebp
mov eax, edi
mov edx, str._H_M_S
xor edi, edi
call fcn.00aa6020
mov ecx, eax
mov dword [esp + 0x48], eax
test ecx, ecx
jne 0xaa695d
mov ebx, dword [esp + 0x70]
mov eax, 0xffffffea
mov dword [ebx], 0
mov dword [ebx + 4], 0x80000000
jmp 0xaa69cf
lea eax, [ecx + 1]
mov dword [esp + 0x48], eax
movsx edx, byte [ecx + 1]
xor eax, eax
sub edx, 0x30
cmp edx, 9
ja 0xaa6bed
imul eax, edx, 0x186a0
lea edx, [ecx + 2]
mov dword [esp + 0x48], edx
movsx edx, byte [ecx + 2]
sub edx, 0x30
cmp edx, 9
ja 0xaa6bed
imul edx, edx, 0x2710
add eax, edx
lea edx, [ecx + 3]
mov dword [esp + 0x48], edx
movsx edx, byte [ecx + 3]
sub edx, 0x30
cmp edx, 9
ja 0xaa6bed
imul edx, edx, 0x3e8
add eax, edx
lea edx, [ecx + 4]
mov dword [esp + 0x48], edx
movsx edx, byte [ecx + 4]
sub edx, 0x30
cmp edx, 9
ja 0xaa6bed
imul edx, edx, 0x64
add eax, edx
lea edx, [ecx + 5]
mov dword [esp + 0x48], edx
movsx edx, byte [ecx + 5]
sub edx, 0x30
cmp edx, 9
ja 0xaa6bed
lea edx, [edx + edx*4]
lea eax, [eax + edx*2]
lea edx, [ecx + 6]
mov dword [esp + 0x48], edx
movsx edx, byte [ecx + 6]
sub edx, 0x30
lea ecx, [eax + edx]
cmp edx, 9
cmovbe eax, ecx
mov edx, eax
sar edx, 0x1f
add dword [esp + 0x18], eax
adc dword [esp + 0x1c], edx
jmp 0xaa69ab
add ecx, 0x76c
jmp 0xaa6a11
mov ebx, dword [esp + 0x70]
mov eax, 0xf4240
imul dword [esp + 0x4c]
mov dword [ebx], eax
xor eax, eax
mov dword [ebx + 4], edx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp al, 0x20
jne 0xaa6afa
jmp 0xaa6af7
add ebx, 1
mov di, 1
jmp 0xaa6941
mov dword [esp], ebp
call sub.msvcrt.dll_mktime
mov ecx, eax
sar ecx, 0x1f
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
jmp 0xaa6985
lea eax, [esp + 0x48]
mov dword [esp + 8], 0xa
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strtol
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
mov dword [esp + 0x24], eax
je 0xaa6b32
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
jmp 0xaa6b2a
lea eax, [esp + 0x4c]
test esi, esi
mov dword [esp], eax
je 0xaa6d20
call sub.msvcrt.dll_gmtime
mov edx, dword [eax]
mov edi, ebx
mov dword [esp + 0x24], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], eax
jmp 0xaa6ae8
call sub.msvcrt.dll_localtime
jmp 0xaa6cc0