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

Disassembly:
sub esp, 0x60
mov eax, dword [0x1030fff4]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
xor edx, edx
push esi
mov esi, dword [esp + 0x6c]
inc edx
mov dword [esp + 0x28], eax
mov eax, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
movzx eax, byte [esi]
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x20], edi
movzx eax, byte [eax + 0x10280038]
cmp eax, 0x6c
ja 0x10133d93
je 0x10133d3f
sub eax, 0x2b
cmp eax, 0xe
ja case.0x10133a48.44
movzx eax, byte [eax + 0x101341ef]
jmp dword [eax*4 + 0x101341e7]
mov al, byte [esi + 1]
mov ecx, edx
mov dword [esp + 0x2c], edx
test al, al
je 0x10133a77
cmp al, 0x3a
je 0x10133a73
movzx eax, al
test byte [eax + 0x10280138], dl
jne 0x10133a73
inc ecx
mov al, byte [ecx + esi]
test al, al
jne 0x10133a5c
mov dword [esp + 0x2c], ecx
push edx
push ecx
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1013b985
add esp, 0x10
test eax, eax
jle case.0x10133a48.44
mov ecx, dword [esp + 0x2c]
add ecx, esi
mov dword [esp + 0x2c], ecx
cmp byte [ecx], 0x3a
lfence
jne 0x10133b7b
movzx eax, byte [esi]
push 0x30
push 0
test byte [eax + 0x10280138], 4
lea eax, [esi + 1]
cmovne eax, esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x3c]
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x30]
call fcn.1014ecdb
add esp, 0x14
test eax, eax
jne case.0x10133a48.44
lea eax, [esp + 0x34]
push eax
call fcn.10125e70
mov eax, dword [esp + 0x38]
pop ecx
mov ecx, dword [esp + 0x38]
sub eax, 0x2932e00
push 0
sbb ecx, 0
mov dword [esp + 0x30], eax
push 0x5265c00
push ecx
push eax
mov dword [esp + 0x38], ecx
call fcn.10236230
push 0
mov ecx, 0x5265c00
push ecx
push edx
push eax
call fcn.102363a0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
mov edx, eax
sub ecx, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
sbb eax, dword [esp + 0x24]
cmp byte [esi], 0x2d
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
jne 0x10133b59
sub edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
sbb eax, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
push edi
call fcn.10125e70
mov eax, dword [esp + 0x38]
pop ecx
xor ecx, ecx
add dword [edi], eax
mov eax, dword [esp + 0x38]
adc dword [edi + 4], eax
mov word [edi + 0x2a], cx
mov byte [edi + 0x2c], cl
jmp 0x101341d2
movzx eax, byte [ecx]
test byte [eax + 0x10280138], 1
je 0x10133b98
inc ecx
movzx eax, byte [ecx]
test byte [eax + 0x10280138], 1
jne 0x10133b87
mov dword [esp + 0x2c], ecx
push ecx
call fcn.1015666b
pop ecx
mov ecx, eax
mov dword [esp + 0x28], eax
lea eax, [ecx - 3]
cmp eax, 7
ja case.0x10133a48.44
mov esi, dword [esp + 0x2c]
lfence
movzx eax, byte [ecx + esi - 1]
cmp byte [eax + 0x10280038], 0x73
jne 0x10133bcb
dec ecx
mov dword [esp + 0x28], ecx
push edi
call fcn.10125e70
movsd xmm1, qword [esp + 0x14]
xorps xmm0, xmm0
comisd xmm0, xmm1
pop ecx
movsd qword [esp + 0x18], xmm1
jbe 0x10133bf1
movsd xmm0, qword [0x10273be0]
jmp 0x10133bf9
movsd xmm0, qword [0x10273bc8]
and dword [esp + 0x2c], 0
mov eax, 0x1028041c
mov ecx, dword [esp + 0x28]
xor edx, edx
movsd qword [esp + 8], xmm0
mov dword [esp + 0x24], eax
movzx eax, byte [eax - 3]
cmp eax, ecx
mov eax, dword [esp + 0x24]
jne 0x10133c5c
push ecx
push esi
push dword [eax]
call fcn.1011dfe0
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x10133c54
movsd xmm2, qword [eax + 4]
movsd xmm1, qword [esp + 0x10]
movaps xmm0, xmm2
xorps xmm0, xmmword [0x10269d30]
comisd xmm1, xmm0
jbe 0x10133c54
comisd xmm2, xmm1
ja 0x10133c82
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add eax, 0x18
inc edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
cmp eax, 0x102804ac
jl 0x10133c13
mov ecx, dword [esp + 0x30]
mov word [edi + 0x2a], 0
mov byte [edi + 0x2c], 0
jmp 0x101341d2
imul esi, dword [esp + 0x2c], 0x18
movzx eax, byte [esi + 0x10280418]
sub eax, 1
je 0x10133cb2
sub eax, 1
jne 0x10133d13
push edi
call fcn.10126275
movsd xmm1, qword [esp + 0x14]
cvttsd2si eax, xmm1
pop ecx
add dword [edi + 8], eax
movd xmm0, eax
jmp 0x10133d01
push edi
call fcn.10126275
movsd xmm1, qword [esp + 0x14]
pop ecx
cvttsd2si ecx, xmm1
mov dword [esp + 0x2c], ecx
add ecx, dword [edi + 0xc]
test ecx, ecx
jle 0x10133ce0
lea eax, [ecx - 1]
mov dword [esp + 0x20], 0xc
cdq
idiv dword [esp + 0x20]
jmp 0x10133cf0
lea eax, [ecx - 0xc]
mov dword [esp + 0x20], 0xc
cdq
idiv dword [esp + 0x20]
add dword [edi + 8], eax
movd xmm0, dword [esp + 0x2c]
imul eax, eax, 0xc
sub ecx, eax
mov dword [edi + 0xc], ecx
cvtdq2pd xmm0, xmm0
mov byte [edi + 0x28], 0
subsd xmm1, xmm0
movsd qword [esp + 0x18], xmm1
push edi
call fcn.10125e70
movsd xmm0, qword [esp + 0x1c]
mulsd xmm0, qword [esi + 0x10280428]
pop ecx
addsd xmm0, qword [esp + 8]
call fcn.10236560
add dword [edi], eax
adc dword [edi + 4], edx
xor ecx, ecx
jmp 0x10133c73
push str.localtime
push esi
call fcn.101565fc
pop ecx
pop ecx
test eax, eax
jne case.0x10133a48.44
mov esi, dword [esp + 0x2c]
push esi
call fcn.1014d53a
pop ecx
test eax, eax
je case.0x10133a48.44
push edi
call fcn.10125e70
lea eax, [esp + 0x2c]
push eax
push esi
push edi
call fcn.1012ed80
mov ecx, dword [esp + 0x38]
add esp, 0x10
add dword [edi], eax
adc dword [edi + 4], edx
xor eax, eax
mov word [edi + 0x2a], ax
mov byte [edi + 0x2c], al
jmp 0x101341d2
sub eax, 0x73
je 0x10134131
dec eax
sub eax, 1
je 0x10133ee0
dec eax
sub eax, 1
jne case.0x10133a48.44
push 8
push str.weekday
push esi
call fcn.1011dfe0
add esp, 0xc
test eax, eax
jne case.0x10133a48.44
add esi, 8
push 1
push esi
call fcn.1015666b
pop ecx
push eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1013b985
add esp, 0x10
test eax, eax
jle case.0x10133a48.44
cvttsd2si ecx, qword [esp + 0x10]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
ucomisd xmm0, qword [esp + 0x10]
lahf
test ah, 0x44
jp case.0x10133a48.44
test ecx, ecx
js case.0x10133a48.44
movsd xmm0, qword [0x10287268]
comisd xmm0, xmmword [esp + 0x10]
jbe case.0x10133a48.44
push edi
call fcn.10126275
push edi
mov byte [edi + 0x2c], 0
mov byte [edi + 0x28], 0
call fcn.10125e70
mov eax, dword [edi]
mov esi, 0x5265c00
mov edx, dword [edi + 4]
pop ecx
pop ecx
mov dword [esp + 0x30], eax
add eax, 0x7b98a00
push 0
mov dword [esp + 0x20], edx
adc edx, 0
push esi
push edx
push eax
call fcn.10236230
push 0
push 7
push edx
push eax
call fcn.102362e0
cvttsd2si ecx, qword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edi
mov eax, ecx
cdq
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
cmp eax, edx
jl 0x10133e9f
jg 0x10133e91
cmp edi, dword [esp + 0x28]
jbe 0x10133e9f
add edi, 0xfffffff9
mov dword [esp + 0x24], edi
adc eax, 0xffffffff
mov dword [esp + 0x2c], eax
mov eax, ecx
mov ecx, 0x5265c00
imul esi
push 0
push ecx
mov edi, edx
mov esi, eax
mov edx, dword [esp + 0x34]
push edx
push dword [esp + 0x30]
call fcn.102363a0
sub esi, eax
mov eax, dword [esp + 0x20]
sbb edi, edx
add esi, dword [esp + 0x30]
adc edi, dword [esp + 0x1c]
xor ecx, ecx
mov dword [eax], esi
mov dword [eax + 4], edi
mov word [eax + 0x2a], cx
mov byte [eax + 0x2c], cl
jmp 0x101341d2
push str.unixepoch
push esi
call fcn.101565fc
pop ecx
pop ecx
test eax, eax
jne 0x10133f4c
cmp byte [edi + 0x29], al
je 0x10133f4c
movsd xmm0, qword [edi + 0x20]
mulsd xmm0, qword [0x1026d9a0]
addsd xmm0, qword [0x102872e8]
comisd xmm0, xmmword [0x10269d00]
jb case.0x10133a48.44
movsd xmm1, qword [0x102872f0]
comisd xmm1, xmm0
jbe case.0x10133a48.44
addsd xmm0, qword [0x10273bc8]
mov dword [edi + 0x28], 1
mov byte [edi + 0x2c], al
call fcn.10236560
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x101341b0
push 0x10282ed4
push esi
call fcn.101565fc
pop ecx
pop ecx
test eax, eax
jne case.0x10133a48.44
push dword [esp + 0x2c]
call fcn.1014d53a
pop ecx
test eax, eax
je case.0x10133a48.44
cmp byte [edi + 0x2d], 0
jne 0x101341b0
cmp byte [edi + 0x28], 0
jne 0x10133fbc
cmp byte [edi + 0x2a], 0
je 0x10134016
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x24], edx
lea eax, [ecx + 0x1269]
mov dword [esp + 0x30], esi
cmp eax, 0x3978
jbe 0x10134028
push 0x30
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [edi + 0x2e], 1
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x30]
push edi
call fcn.1012ed80
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x1c], edx
mov esi, eax
test ecx, ecx
jne 0x1013400d
sub dword [edi], esi
sbb dword [edi + 4], edx
xor eax, eax
mov word [edi + 0x2a], ax
mov byte [edi + 0x2c], al
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x30]
push edi
call fcn.1012ed80
mov ecx, dword [esp + 0x34]
add esp, 0xc
sub esi, eax
mov eax, dword [esp + 0x1c]
sbb eax, edx
add dword [edi], esi
adc dword [edi + 4], eax
mov byte [edi + 0x2d], 1
jmp 0x101341d2
xor eax, eax
mov ecx, 0x7d0
inc eax
mov edx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
cmp byte [edi + 0x29], 0
jne 0x10133fab
cmp edx, 2
lea esi, [ecx - 1]
push 0x64
cmovg esi, ecx
pop ecx
mov eax, esi
cdq
idiv ecx
mov ecx, dword [esp + 0x24]
cmp ecx, 2
mov edi, eax
push 0x64
lea eax, [ecx + 0xc]
cmovg eax, ecx
mov ecx, 0x2710
inc eax
imul eax, eax, 0x4ab51
cdq
idiv ecx
mov ecx, eax
lea eax, [esi + 0x126c]
imul eax, eax, 0x8ead
pop esi
cdq
idiv esi
add ecx, eax
mov eax, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
add ecx, eax
mov eax, dword [esp + 0x30]
sub ecx, edi
add eax, 2
add eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x102872a0]
mulsd xmm0, qword [0x102872c0]
call fcn.10236560
mov edi, dword [esp + 0x20]
mov ecx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
cmp byte [edi + 0x2b], 0
mov dword [edi], eax
mov dword [edi + 4], ecx
mov byte [edi + 0x28], 1
je 0x10133fbc
imul eax, dword [edi + 0x14], 0x3c
movsd xmm0, qword [edi + 0x20]
mulsd xmm0, qword [0x10287330]
add eax, dword [edi + 0x18]
imul eax, eax, 0xea60
cdq
mov esi, eax
mov dword [esp + 0x1c], edx
call fcn.10236560
mov ecx, dword [esp + 0x1c]
sub esi, eax
sbb ecx, edx
add esi, dword [esp + 0x24]
mov dword [edi], esi
adc ecx, dword [esp + 0x30]
cmp byte [edi + 0x2c], 0
mov dword [edi + 4], ecx
je 0x10133fbc
imul eax, dword [edi + 0x1c], 0xea60
cdq
sub esi, eax
mov dword [edi], esi
sbb ecx, edx
xor eax, eax
mov dword [edi + 4], ecx
mov word [edi + 0x2a], ax
mov byte [edi + 0x2c], al
jmp 0x10133fbc
push 9
push str.start_of
push esi
call fcn.1011dfe0
add esp, 0xc
test eax, eax
jne case.0x10133a48.44
cmp byte [edi + 0x28], al
jne 0x10134158
cmp byte [edi + 0x2a], al
jne 0x10134158
cmp byte [edi + 0x2b], al
je case.0x10133a48.44
push edi
call fcn.1012614a
xor eax, eax
mov word [edi + 0x2b], 1
mov dword [edi + 0x18], eax
xorps xmm0, xmm0
mov dword [edi + 0x14], eax
movsd qword [edi + 0x20], xmm0
mov word [edi + 0x28], ax
pop ecx
add esi, 9
je case.0x10133a48.44
push str.month
push esi
call fcn.101565fc
pop ecx
pop ecx
test eax, eax
jne 0x10134198
mov dword [edi + 0x10], 1
jmp 0x101341b0
push str.year
push esi
call fcn.101565fc
pop ecx
pop ecx
test eax, eax
jne 0x101341b4
inc eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
xor ecx, ecx
jmp 0x101341d2
push 0x102819d8
push esi
call fcn.101565fc
pop ecx
xor edx, edx
test eax, eax
pop ecx
mov ecx, dword [esp + 0x30]
cmove ecx, edx
jmp 0x101341d2
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
call fcn.10236000
add esp, 0x60
ret