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

Disassembly:
sub esp, 0x68
push esi
push edi
mov edi, dword [esp + 0x78]
mov al, byte [edi]
mov byte [esp + 0x6f], al
movzx eax, al
movzx eax, byte [eax + 0x6e8f28]
add eax, 0xffffffd5
cmp eax, 0x4c
ja case.0x4ebb8c.44
movzx eax, byte [eax + 0x4ed068]
jmp dword [eax*4 + 0x4ed048]
push str.auto
push edi
call fcn.00526840
add esp, 8
test eax, eax
jne case.0x4ebb8c.44
cmp dword [esp + 0x84], 1
jg 0x4ebce4
mov esi, dword [esp + 0x80]
cmp byte [esi + 0x29], al
je 0x4ebc1e
cmp byte [esi + 0x28], al
jne 0x4ebc1e
movsd xmm1, qword [esi + 0x20]
comisd xmm1, xmmword [0x6f12a0]
jb 0x4ebc22
movsd xmm0, qword [0x6f11f0]
comisd xmm0, xmm1
jb 0x4ebc22
mulsd xmm1, qword [0x6f1190]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], al
addsd xmm1, qword [0x6f11f8]
addsd xmm1, qword [0x6f1140]
movaps xmm0, xmm1
call fcn.006dbc10
mov dword [esi], eax
xor ecx, ecx
pop edi
mov dword [esi + 4], edx
mov eax, ecx
pop esi
add esp, 0x68
ret
mov byte [esi + 0x29], 0
xor ecx, ecx
pop edi
mov eax, ecx
pop esi
add esp, 0x68
ret
push str.julianday
push edi
call fcn.00526840
add esp, 8
test eax, eax
jne case.0x4ebb8c.44
cmp dword [esp + 0x84], 1
jg 0x4ebce4
mov eax, dword [esp + 0x80]
cmp byte [eax + 0x28], 0
je case.0x4ebb8c.44
cmp byte [eax + 0x29], 0
je case.0x4ebb8c.44
xor ecx, ecx
pop edi
mov byte [eax + 0x29], cl
mov eax, ecx
pop esi
add esp, 0x68
ret
push str.localtime
push edi
call fcn.00526840
add esp, 8
test eax, eax
jne case.0x4ebb8c.44
mov esi, dword [esp + 0x74]
push esi
call fcn.005164d0
add esp, 4
test eax, eax
je case.0x4ebb8c.44
mov eax, dword [esp + 0x80]
push esi
push eax
call fcn.00543b50
add esp, 8
mov ecx, eax
pop edi
pop esi
add esp, 0x68
ret
push str.unixepoch
push edi
call fcn.00526840
mov esi, dword [esp + 0x88]
add esp, 8
test eax, eax
jne 0x4ebd4b
cmp byte [esi + 0x29], al
je 0x4ebd4b
cmp dword [esp + 0x84], 1
jle 0x4ebcef
pop edi
mov eax, 1
pop esi
add esp, 0x68
ret
movsd xmm0, qword [esi + 0x20]
mulsd xmm0, qword [0x6f1190]
addsd xmm0, qword [0x6f11f8]
comisd xmm0, xmmword [0x6f10f0]
jb case.0x4ebb8c.44
movsd xmm1, qword [0x6f1200]
comisd xmm1, xmm0
jbe case.0x4ebb8c.44
addsd xmm0, qword [0x6f1140]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], 0
call fcn.006dbc10
mov dword [esi], eax
xor ecx, ecx
pop edi
mov dword [esi + 4], edx
mov eax, ecx
pop esi
add esp, 0x68
ret
push 0x6ec4c8
push edi
call fcn.00526840
add esp, 8
test eax, eax
jne case.0x4ebb8c.44
push dword [esp + 0x74]
call fcn.005164d0
add esp, 4
test eax, eax
je case.0x4ebb8c.44
cmp byte [esi + 0x2d], 0
jne 0x4ec147
cmp byte [esi + 0x28], 0
mov dword [esp + 0x50], 0
jne 0x4ebdc7
cmp byte [esi + 0x2a], 0
je 0x4ebe8b
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x78], edx
cmp eax, 0xffffed97
jl 0x4ebdb6
cmp eax, 0x270f
jle 0x4ebe99
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi + 0x2e], 1
mov eax, dword [esi]
xorps xmm0, xmm0
mov ecx, dword [esi + 4]
mov edi, eax
movlpd qword [esp + 0x38], xmm0
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x78], eax
nop
push 0x30
lea eax, [esp + 0xc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub edi, dword [esp + 0x84]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x80]
sbb eax, esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
mov byte [esp + 0x44], 1
call fcn.00543b50
add esp, 0x14
test eax, eax
jne 0x4ec7b0
cmp byte [esp + 0x30], al
jne 0x4ebe7e
cmp byte [esp + 0x32], al
je 0x4ebfd3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x78], edx
lea eax, [ecx + 0x1269]
cmp eax, 0x3978
jbe 0x4ebfe1
push 0x30
lea eax, [esp + 0xc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x4ec0fc
mov ecx, 1
mov eax, 0x7d0
mov dword [esp + 0x78], ecx
cmp byte [esi + 0x29], 0
jne 0x4ebdb6
lea edi, [eax - 1]
cmp ecx, 2
cmovg edi, eax
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, 2
mov dword [esp + 0x54], eax
lea eax, [ecx + 0xc]
cmovg eax, ecx
inc eax
imul ecx, eax, 0x4ab51
mov eax, 0x68db8bad
imul ecx
lea eax, [edi + 0x126c]
imul ecx, eax, 0x8ead
mov eax, 0x51eb851f
sar edx, 0xc
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ecx
mov eax, dword [esp + 0x54]
sar edx, 5
mov ecx, edx
add esi, edx
cdq
shr ecx, 0x1f
and edx, 3
add eax, edx
add ecx, esi
sar eax, 2
add ecx, eax
mov eax, dword [esp + 0x78]
sub ecx, dword [esp + 0x54]
add eax, 2
add eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x6f1198]
mulsd xmm0, qword [0x6f11c0]
call fcn.006dbc10
mov esi, dword [esp + 0x80]
mov ecx, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
cmp byte [esi + 0x2b], 0
mov dword [esi], eax
mov dword [esi + 4], ecx
mov byte [esi + 0x28], 1
je 0x4ebdc7
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
movsd xmm0, qword [esi + 0x20]
mulsd xmm0, qword [0x6f1190]
shl ecx, 4
sub ecx, dword [esi + 0x14]
addsd xmm0, qword [0x6f1140]
lea eax, [eax + ecx*4]
imul eax, eax, 0xea60
cdq
mov edi, eax
mov dword [esp + 0x78], edx
call fcn.006dbc10
mov ecx, dword [esp + 0x78]
add edi, eax
adc ecx, edx
add edi, dword [esp + 0x54]
mov dword [esi], edi
adc ecx, dword [esp + 0x58]
cmp byte [esi + 0x2c], 0
mov dword [esi + 4], ecx
je 0x4ebdc7
imul eax, dword [esi + 0x1c], 0xea60
mov word [esi + 0x2a], 0
mov byte [esi + 0x2c], 0
cdq
sub edi, eax
mov dword [esi], edi
sbb ecx, edx
mov dword [esi + 4], ecx
jmp 0x4ebdc7
mov esi, 1
mov ecx, 0x7d0
mov dword [esp + 0x78], esi
cmp byte [esp + 0x31], 0
jne 0x4ebe6d
lea edi, [ecx - 1]
cmp esi, 2
mov eax, 0x51eb851f
cmovg edi, ecx
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, 2
mov dword [esp + 0x54], eax
lea eax, [esi + 0xc]
cmovg eax, esi
inc eax
imul ecx, eax, 0x4ab51
mov eax, 0x68db8bad
imul ecx
lea eax, [edi + 0x126c]
imul ecx, eax, 0x8ead
mov eax, 0x51eb851f
sar edx, 0xc
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ecx
mov eax, dword [esp + 0x54]
sar edx, 5
mov ecx, edx
add esi, edx
cdq
shr ecx, 0x1f
and edx, 3
add eax, edx
add ecx, esi
sar eax, 2
add ecx, eax
mov eax, dword [esp + 0x78]
sub ecx, dword [esp + 0x54]
add eax, 2
add eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x6f1198]
mulsd xmm0, qword [0x6f11c0]
call fcn.006dbc10
cmp byte [esp + 0x33], 0
mov ecx, eax
mov esi, edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x54], esi
je 0x4ec0f8
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x28]
mulsd xmm0, qword [0x6f1190]
shl esi, 4
sub esi, dword [esp + 0x1c]
addsd xmm0, qword [0x6f1140]
lea eax, [eax + esi*4]
imul eax, eax, 0xea60
cdq
mov esi, eax
mov edi, edx
call fcn.006dbc10
add esi, eax
adc edi, edx
add esi, dword [esp + 0x78]
mov ecx, esi
adc edi, dword [esp + 0x54]
cmp byte [esp + 0x34], 0
mov esi, edi
mov edi, dword [esp + 0x5c]
je 0x4ec0fc
imul eax, dword [esp + 0x24], 0xea60
cdq
sub ecx, eax
sbb esi, edx
jmp 0x4ec0fc
mov edi, dword [esp + 0x5c]
sub ecx, dword [esp + 0x58]
mov eax, ecx
mov dword [esp + 0x78], ecx
sbb esi, dword [esp + 0x64]
or eax, esi
je 0x4ec122
mov ecx, dword [esp + 0x50]
mov eax, ecx
inc ecx
mov dword [esp + 0x50], ecx
cmp eax, 3
jl 0x4ebdf0
mov esi, dword [esp + 0x80]
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov dword [esi], edi
mov dword [esi + 4], eax
mov byte [esi + 0x28], 1
mov byte [esi + 0x2d], 1
xor ecx, ecx
pop edi
mov eax, ecx
pop esi
add esp, 0x68
ret
mov ecx, str.weekday
mov edx, 8
mov esi, edi
mov dword [esp + 0x78], ecx
mov al, byte [esi]
dec edx
test al, al
je 0x4ec18b
movzx ecx, byte [ecx]
movzx eax, al
mov al, byte [eax + 0x6e8f28]
cmp al, byte [ecx + 0x6e8f28]
jne 0x4ec18b
mov ecx, dword [esp + 0x78]
inc esi
inc ecx
mov dword [esp + 0x78], ecx
test edx, edx
jg 0x4ec161
dec edx
test edx, edx
js 0x4ec1af
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x6e8f28]
mov eax, dword [esp + 0x78]
movzx eax, byte [eax]
movzx eax, byte [eax + 0x6e8f28]
sub ecx, eax
jne case.0x4ebb8c.44
add edi, 8
jne 0x4ec1b8
xor ecx, ecx
jmp 0x4ec1cf
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ec1c0
sub ecx, edx
and ecx, 0x3fffffff
push 1
push ecx
lea eax, [esp + 0x40]
push eax
push edi
call fcn.004f8820
add esp, 0x10
test eax, eax
jle case.0x4ebb8c.44
movsd xmm1, qword [esp + 0x38]
comisd xmm1, xmmword [0x6f10f0]
jb case.0x4ebb8c.44
movsd xmm0, qword [0x6f1150]
comisd xmm0, xmm1
jbe case.0x4ebb8c.44
cvttsd2si eax, xmm1
mov dword [esp + 0x50], eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp case.0x4ebb8c.44
mov edi, dword [esp + 0x80]
push edi
call fcn.004cfc80
push edi
call fcn.004cf7d0
add esp, 8
mov byte [edi + 0x2c], 0
cmp byte [edi + 0x2a], 0
mov byte [edi + 0x28], 0
je 0x4ec30d
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x78], edx
cmp eax, 0xffffed97
jl 0x4ec273
cmp eax, 0x270f
jle 0x4ec31b
push 0x30
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [edi + 0x2e], 1
lea eax, [edi + 0x2b]
mov dword [esp + 0x78], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
add ecx, 0x7b98a00
push 0
push 0x5265c00
adc eax, 0
push eax
push ecx
call fcn.006db890
push 0
push 7
push edx
push eax
call fcn.006db980
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x50]
cdq
cmp esi, edx
jl 0x4ec2cb
jg 0x4ec2c5
cmp ecx, eax
jbe 0x4ec2cb
add ecx, 0xfffffff9
adc esi, 0xffffffff
push 0
push 0x5265c00
push esi
push ecx
call fcn.006db940
mov ecx, eax
mov byte [edi + 0x2a], 0
mov eax, dword [esp + 0x50]
mov esi, edx
mov edx, 0x5265c00
mov byte [edi + 0x2c], 0
imul edx
sub eax, ecx
sbb edx, esi
add dword [edi], eax
mov eax, dword [esp + 0x78]
adc edx, dword [edi + 4]
xor ecx, ecx
mov dword [edi + 4], edx
pop edi
mov byte [eax], 0
mov eax, ecx
pop esi
add esp, 0x68
ret
mov ecx, 1
mov eax, 0x7d0
mov dword [esp + 0x78], ecx
cmp byte [edi + 0x29], 0
jne 0x4ec273
lea edi, [eax - 1]
cmp ecx, 2
cmovg edi, eax
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, 2
mov dword [esp + 0x54], eax
lea eax, [ecx + 0xc]
cmovg eax, ecx
inc eax
imul ecx, eax, 0x4ab51
mov eax, 0x68db8bad
imul ecx
lea ecx, [edi + 0x126c]
mov eax, 0x51eb851f
sar edx, 0xc
imul ecx, ecx, 0x8ead
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ecx
mov eax, dword [esp + 0x54]
sar edx, 5
mov ecx, edx
add esi, edx
cdq
shr ecx, 0x1f
and edx, 3
add eax, edx
add ecx, esi
sar eax, 2
add ecx, eax
mov eax, dword [esp + 0x78]
sub ecx, dword [esp + 0x54]
add eax, 2
add eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x6f1198]
mulsd xmm0, qword [0x6f11c0]
call fcn.006dbc10
mov edi, dword [esp + 0x80]
mov ecx, edx
cmp byte [edi + 0x2b], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [edi], eax
lea eax, [edi + 0x2b]
mov dword [edi + 4], ecx
mov byte [edi + 0x28], 1
mov dword [esp + 0x78], eax
je 0x4ec28b
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
shl ecx, 4
sub ecx, dword [edi + 0x14]
lea eax, [eax + ecx*4]
imul eax, eax, 0xea60
cdq
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x80]
movsd xmm0, qword [eax + 0x20]
mulsd xmm0, qword [0x6f1190]
addsd xmm0, qword [0x6f1140]
call fcn.006dbc10
add esi, eax
mov eax, dword [esp + 0x80]
adc edi, edx
add esi, dword [esp + 0x54]
adc edi, dword [esp + 0x58]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x80]
mov dword [eax], esi
mov eax, dword [esp + 0x78]
jmp 0x4ec287
mov eax, str.start_of
mov edx, 9
mov esi, edi
mov dword [esp + 0x5c], eax
nop word [eax + eax]
mov cl, byte [esi]
dec edx
mov byte [esp + 0x7b], cl
test cl, cl
je 0x4ec490
movzx ecx, byte [eax]
movzx eax, byte [esp + 0x7b]
mov al, byte [eax + 0x6e8f28]
cmp al, byte [ecx + 0x6e8f28]
mov eax, dword [esp + 0x5c]
jne 0x4ec490
inc eax
inc esi
mov dword [esp + 0x5c], eax
test edx, edx
jg 0x4ec460
dec edx
test edx, edx
js 0x4ec4e9
movzx eax, byte [eax]
movzx ecx, byte [eax + 0x6e8f28]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x6e8f28]
sub eax, ecx
je 0x4ec4e9
push str.subsec
push edi
call fcn.00526840
add esp, 8
test eax, eax
je 0x4ec4d4
push str.subsecond
push edi
call fcn.00526840
add esp, 8
test eax, eax
jne case.0x4ebb8c.44
mov eax, dword [esp + 0x80]
xor ecx, ecx
pop edi
pop esi
mov byte [eax + 0x2f], 1
mov eax, ecx
add esp, 0x68
ret
mov esi, dword [esp + 0x80]
mov al, byte [esi + 0x28]
test al, al
jne 0x4ec505
cmp byte [esi + 0x2a], al
jne 0x4ec505
cmp byte [esi + 0x2b], al
je case.0x4ebb8c.44
add edi, 9
cmp byte [esi + 0x2a], 0
mov dword [esp + 0x78], edi
jne 0x4ec65e
test al, al
jne 0x4ec539
mov eax, 0x7d0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 1
mov dword [esi + 8], eax
mov byte [esi + 0x2a], 1
jmp 0x4ec65e
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp ecx, 0x1a640
ja 0x4ec64d
jb 0x4ec557
cmp eax, 0x1072fdff
ja 0x4ec64d
add eax, 0x2932e00
push 0
push 0x5265c00
adc ecx, 0
push ecx
push eax
call fcn.006db890
mov esi, eax
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x6f11a8]
divsd xmm0, qword [0x6f11a0]
cvttsd2si ecx, xmm0
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
sub ecx, eax
add ecx, 0x5f5
add esi, ecx
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x6f1180]
divsd xmm0, qword [0x6f1188]
cvttsd2si edi, xmm0
mov eax, edi
and eax, 0x7fff
imul ecx, eax, 0x8ead
mov eax, 0x51eb851f
imul ecx
mov eax, esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6f1168]
cvttsd2si edx, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x6f1168]
cvttsd2si eax, xmm0
sub esi, eax
mov eax, dword [esp + 0x80]
sub esi, ecx
cmp edx, 0xe
mov ecx, 0xd
mov dword [eax + 0x10], esi
mov eax, 1
mov esi, dword [esp + 0x80]
cmovge eax, ecx
sub edx, eax
xor eax, eax
cmp edx, 2
setle al
mov dword [esi + 0xc], edx
add edi, 0xffffed94
add eax, edi
mov edi, dword [esp + 0x78]
mov dword [esi + 8], eax
mov byte [esi + 0x2a], 1
jmp 0x4ec65e
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi + 0x2e], 1
mov word [esi + 0x2b], 1
xorps xmm0, xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
movsd qword [esi + 0x20], xmm0
mov word [esi + 0x28], 0
test edi, edi
je case.0x4ebb8c.44
push str.month
push edi
call fcn.00526840
add esp, 8
test eax, eax
je 0x4ec6b3
push str.year
push edi
call fcn.00526840
add esp, 8
test eax, eax
jne 0x4ec6c4
mov dword [esi + 0xc], 1
xor ecx, ecx
mov dword [esi + 0x10], 1
pop edi
mov eax, ecx
pop esi
add esp, 0x68
ret
push 0x6ec4f4
push edi
call fcn.00526840
add esp, 8
test eax, eax
jne case.0x4ebb8c.44
xor ecx, ecx
pop edi
mov eax, ecx
pop esi
add esp, 0x68
ret
mov cl, byte [edi + 1]
lea edx, [edi + 1]
mov dword [esp + 0x5c], edi
mov esi, 1
mov dword [esp + 0x50], esi
test cl, cl
je 0x4ec754
nop dword [eax + eax]
cmp cl, 0x3a
je 0x4ec750
movzx eax, cl
test byte [eax + 0x6e9040], 1
jne 0x4ec750
cmp cl, 0x2d
jne 0x4ec747
cmp esi, 5
jne 0x4ec727
lea eax, [esp + 0x68]
push eax
push 0x6ec4f8
jmp 0x4ec736
cmp esi, 6
jne 0x4ec747
lea eax, [esp + 0x68]
push eax
push 0x6ec4fc
push edx
call fcn.004dcc40
add esp, 0xc
cmp eax, 1
je 0x4ec750
lea edx, [edi + 1]
mov cl, byte [edi + esi + 1]
inc esi
test cl, cl
jne 0x4ec700
mov dword [esp + 0x50], esi
push 1
push esi
lea eax, [esp + 0x40]
push eax
push edi
call fcn.004f8820
add esp, 0x10
test eax, eax
jle case.0x4ebb8c.44
cmp byte [edi + esi], 0x2d
jne 0x4eca4f
mov al, byte [esp + 0x6f]
cmp al, 0x2b
je 0x4ec77f
cmp al, 0x2d
jne case.0x4ebb8c.44
lea ecx, [esp + 0x64]
lea eax, [edi + 1]
push ecx
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x70]
push ecx
cmp esi, 5
jne 0x4ec7b6
push str.40f_20a_20d
push eax
call fcn.004dcc40
add esp, 0x14
cmp eax, 3
je 0x4ec7ce
mov ecx, 1
mov eax, ecx
pop edi
pop esi
add esp, 0x68
ret
push str.50f_20a_20d
push eax
call fcn.004dcc40
add esp, 0x14
cmp eax, 3
jne case.0x4ebb8c.44
inc edi
mov dword [esp + 0x78], edi
cmp dword [esp + 0x60], 0xc
jge case.0x4ebb8c.44
cmp dword [esp + 0x64], 0x1f
jge case.0x4ebb8c.44
mov esi, dword [esp + 0x80]
cmp byte [esi + 0x2a], 0
lea eax, [esi + 0x2a]
mov dword [esp + 0x5c], eax
jne 0x4ec946
cmp byte [esi + 0x28], 0
jne 0x4ec818
mov ecx, 0x7d0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 1
mov dword [esi + 8], ecx
mov byte [eax], 1
jmp 0x4ec942
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp ecx, 0x1a640
ja 0x4ec92e
jb 0x4ec836
cmp eax, 0x1072fdff
ja 0x4ec92e
add eax, 0x2932e00
push 0
push 0x5265c00
adc ecx, 0
push ecx
push eax
call fcn.006db890
mov esi, eax
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x6f11a8]
divsd xmm0, qword [0x6f11a0]
cvttsd2si ecx, xmm0
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
sub ecx, eax
add ecx, 0x5f5
add esi, ecx
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x6f1180]
divsd xmm0, qword [0x6f1188]
cvttsd2si edi, xmm0
mov eax, edi
and eax, 0x7fff
imul ecx, eax, 0x8ead
mov eax, 0x51eb851f
imul ecx
mov eax, esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6f1168]
cvttsd2si edx, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x6f1168]
cvttsd2si eax, xmm0
sub esi, eax
mov eax, dword [esp + 0x80]
sub esi, ecx
cmp edx, 0xe
mov ecx, 0xd
mov dword [eax + 0x10], esi
mov eax, 1
mov esi, dword [esp + 0x80]
cmovge eax, ecx
sub edx, eax
xor ecx, ecx
cmp edx, 2
lea eax, [esi + 0x2a]
setle cl
mov dword [esi + 0xc], edx
add edi, 0xffffed94
add ecx, edi
mov edi, dword [esp + 0x78]
mov dword [esi + 8], ecx
mov byte [eax], 1
jmp 0x4ec942
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi + 0x2e], 1
lea eax, [esi + 0x2a]
mov dword [esp + 0x5c], eax
push esi
call fcn.004cf7d0
mov edx, dword [esi + 8]
add esp, 4
cmp byte [esp + 0x6f], 0x2d
mov ecx, dword [esi + 0xc]
mov byte [esi + 0x28], 0
jne 0x4ec982
mov eax, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
neg eax
sub edx, dword [esp + 0x68]
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], eax
lea eax, [esi + 0xc]
mov dword [esp + 0x78], eax
lea eax, [esi + 8]
jmp 0x4ec9a4
add ecx, dword [esp + 0x60]
lea eax, [esi + 0xc]
add edx, dword [esp + 0x68]
mov dword [esp + 0x78], eax
lea eax, [esi + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [eax], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov dword [eax], ecx
mov eax, 0x2aaaaaab
test ecx, ecx
jle 0x4ec9c0
dec ecx
jmp 0x4ec9c3
add ecx, 0xfffffff4
imul ecx
mov eax, dword [esp + 0x50]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x54]
add eax, ecx
push esi
mov dword [esi + 8], eax
lea ecx, [ecx + ecx*2]
shl ecx, 2
sub edx, ecx
mov dword [esi + 0xc], edx
call fcn.004cf920
mov ecx, dword [esp + 0x60]
add esp, 4
mov eax, dword [esp + 0x58]
mov byte [esi + 0x2b], 0
mov byte [ecx], 0
mov ecx, 0x5265c00
imul ecx
add dword [esi], eax
adc dword [esi + 4], edx
mov al, byte [edi + 0xb]
test al, al
je 0x4ebc22
movzx eax, al
test byte [eax + 0x6e9040], 1
je case.0x4ebb8c.44
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x44]
push ecx
lea eax, [edi + 0xc]
push str.20c:20e
push eax
mov dword [esp + 0x6c], eax
call fcn.004dcc40
add esp, 0x10
cmp eax, 2
jne case.0x4ebb8c.44
jmp 0x4eca5a
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
cmp byte [ecx + eax], 0x3a
jne 0x4ecb21
push 0x30
lea eax, [esp + 0xc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x14]
push eax
movzx eax, byte [ecx]
test byte [eax + 0x6e9040], 4
lea eax, [ecx + 1]
cmovne eax, ecx
push eax
call fcn.004eb9a0
add esp, 0x14
test eax, eax
jne case.0x4ebb8c.44
lea eax, [esp + 8]
push eax
call fcn.004cf920
mov eax, dword [esp + 0xc]
add esp, 4
mov edi, dword [esp + 0xc]
sub eax, 0x2932e00
mov dword [esp + 0x78], eax
sbb edi, 0
push 0
push 0x5265c00
push edi
push eax
call fcn.006db890
push 0
push 0x5265c00
push edx
push eax
call fcn.006db940
mov ecx, dword [esp + 0x78]
sub ecx, eax
mov dword [esp + 0x78], ecx
sbb edi, edx
cmp byte [esp + 0x6f], 0x2d
jne 0x4ecafb
neg ecx
mov dword [esp + 0x78], ecx
adc edi, 0
neg edi
push esi
call fcn.004cf920
mov eax, dword [esp + 0x7c]
add esp, 4
add dword [esi], eax
mov word [esi + 0x2a], 0
adc dword [esi + 4], edi
xor ecx, ecx
pop edi
mov byte [esi + 0x2c], 0
mov eax, ecx
pop esi
add esp, 0x68
ret
add edi, eax
movzx eax, byte [edi]
test byte [eax + 0x6e9040], 1
je 0x4ecb3e
nop
movzx eax, byte [edi + 1]
inc edi
test byte [eax + 0x6e9040], 1
jne 0x4ecb30
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ecb43
sub ecx, edx
and ecx, 0x3fffffff
lea eax, [ecx - 3]
cmp eax, 7
ja case.0x4ebb8c.44
movzx eax, byte [edi + ecx - 1]
lea edx, [ecx - 1]
push esi
cmp byte [eax + 0x6e8f28], 0x73
cmovne edx, ecx
mov dword [esp + 0x7c], edx
call fcn.004cf920
movsd xmm1, qword [esp + 0x3c]
xorps xmm0, xmm0
add esp, 4
movsd qword [esp + 0x48], xmm1
comisd xmm0, xmm1
jbe 0x4ecb9c
movsd xmm0, qword [0x6f1290]
jmp 0x4ecba4
movsd xmm0, qword [0x6f1140]
movss xmm3, dword [0x6f1320]
xor eax, eax
mov edx, dword [esp + 0x78]
mov ecx, str.second
movsd qword [esp + 0x38], xmm0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], ecx
nop word [eax + eax]
movzx eax, byte [ecx - 1]
cmp eax, edx
jne 0x4ecc80
test ecx, ecx
jne 0x4ecbe8
mov eax, edi
neg eax
sbb eax, eax
jmp 0x4ecc54
cmp dword [esp + 0x78], 0
mov eax, ecx
mov ecx, edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
jle 0x4ecc31
nop dword [eax + eax]
mov al, byte [eax]
dec edx
test al, al
je 0x4ecc32
movzx ecx, byte [ecx]
movzx eax, al
mov al, byte [eax + 0x6e8f28]
cmp al, byte [ecx + 0x6e8f28]
mov ecx, dword [esp + 0x58]
jne 0x4ecc32
mov eax, dword [esp + 0x54]
inc ecx
inc eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
test edx, edx
jg 0x4ecc00
dec edx
test edx, edx
js 0x4ecc5a
movzx eax, byte [ecx]
movzx ecx, byte [eax + 0x6e8f28]
mov eax, dword [esp + 0x54]
movzx eax, byte [eax]
movzx eax, byte [eax + 0x6e8f28]
sub eax, ecx
mov ecx, dword [esp + 0x50]
test eax, eax
jne 0x4ecc7c
jmp 0x4ecc5e
mov ecx, dword [esp + 0x50]
movss xmm2, dword [ecx + 7]
movaps xmm0, xmm2
xorps xmm0, xmm3
cvtss2sd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x4ecc7c
cvtps2pd xmm0, xmm2
comisd xmm0, xmm1
ja 0x4eccae
mov edx, dword [esp + 0x78]
inc dword [esp + 0x5c]
add ecx, 0x10
mov dword [esp + 0x50], ecx
cmp ecx, 0x6e9de1
jl 0x4ecbd0
mov ecx, 1
mov word [esi + 0x2a], 0
pop edi
mov byte [esi + 0x2c], 0
mov eax, ecx
pop esi
add esp, 0x68
ret
mov eax, dword [esp + 0x5c]
sub eax, 4
je 0x4ece43
sub eax, 1
jne 0x4ecffa
cvttsd2si edi, xmm1
mov dword [esp + 0x78], edi
cmp byte [esi + 0x2a], al
jne 0x4ece2c
cmp byte [esi + 0x28], al
jne 0x4ecd00
mov edx, 0x2a
mov dword [esi + 0xc], 1
mov ecx, esi
mov dword [esi + 0x10], 1
mov eax, 0x7d0
mov dword [esi + 8], eax
mov byte [edx + ecx], 1
jmp 0x4ece2c
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp ecx, 0x1a640
ja 0x4ece1b
jb 0x4ecd1e
cmp eax, 0x1072fdff
ja 0x4ece1b
add eax, 0x2932e00
push 0
push 0x5265c00
adc ecx, 0
push ecx
push eax
call fcn.006db890
mov esi, eax
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x6f11a8]
divsd xmm0, qword [0x6f11a0]
cvttsd2si ecx, xmm0
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
sub ecx, eax
add ecx, 0x5f5
add esi, ecx
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x6f1180]
divsd xmm0, qword [0x6f1188]
cvttsd2si edi, xmm0
mov eax, edi
and eax, 0x7fff
imul ecx, eax, 0x8ead
mov eax, 0x51eb851f
imul ecx
mov eax, esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6f1168]
cvttsd2si edx, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x6f1168]
cvttsd2si eax, xmm0
sub esi, eax
mov eax, dword [esp + 0x80]
sub esi, ecx
cmp edx, 0xe
mov ecx, 0xd
mov dword [eax + 0x10], esi
mov eax, 1
mov esi, dword [esp + 0x80]
cmovge eax, ecx
sub edx, eax
mov ecx, esi
xor eax, eax
cmp edx, 2
mov dword [esi + 0xc], edx
setle al
add edi, 0xffffed94
mov edx, 0x2a
add eax, edi
mov edi, dword [esp + 0x78]
mov dword [esi + 8], eax
mov byte [edx + ecx], 1
jmp 0x4ece2c
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi + 0x2e], 1
push esi
call fcn.004cf7d0
movsd xmm1, qword [esp + 0x4c]
add esp, 4
add dword [esi + 8], edi
jmp 0x4ecfe0
cmp byte [esi + 0x2a], 0
jne 0x4ecfa0
cmp byte [esi + 0x28], 0
jne 0x4ece79
mov edx, 0x2a
mov dword [esi + 0xc], 1
mov ecx, esi
mov dword [esi + 0x10], 1
mov eax, 0x7d0
mov dword [esi + 8], eax
mov byte [edx + ecx], 1
jmp 0x4ecfa0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp ecx, 0x1a640
ja 0x4ecf8f
jb 0x4ece97
cmp eax, 0x1072fdff
ja 0x4ecf8f
add eax, 0x2932e00
push 0
push 0x5265c00
adc ecx, 0
push ecx
push eax
call fcn.006db890
mov esi, eax
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x6f11a8]
divsd xmm0, qword [0x6f11a0]
cvttsd2si ecx, xmm0
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
sub ecx, eax
add ecx, 0x5f5
add esi, ecx
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x6f1180]
divsd xmm0, qword [0x6f1188]
cvttsd2si edi, xmm0
mov eax, edi
and eax, 0x7fff
imul ecx, eax, 0x8ead
mov eax, 0x51eb851f
imul ecx
mov eax, esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6f1168]
cvttsd2si edx, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x6f1168]
cvttsd2si eax, xmm0
sub esi, eax
mov eax, dword [esp + 0x80]
sub esi, ecx
cmp edx, 0xe
mov ecx, 0xd
mov dword [eax + 0x10], esi
mov eax, 1
mov esi, dword [esp + 0x80]
cmovge eax, ecx
sub edx, eax
mov ecx, esi
xor eax, eax
cmp edx, 2
setle al
mov dword [esi + 0xc], edx
add eax, 0xffffed94
mov edx, 0x2a
add eax, edi
mov dword [esi + 8], eax
mov byte [edx + ecx], 1
jmp 0x4ecfa0
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi + 0x2e], 1
push esi
call fcn.004cf7d0
movsd xmm1, qword [esp + 0x4c]
add esp, 4
mov edi, dword [esi + 0xc]
cvttsd2si eax, xmm1
add edi, eax
mov eax, 0x2aaaaaab
lea ecx, [edi - 1]
test edi, edi
jg 0x4ecfc7
lea ecx, [edi - 0xc]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [esi + 8], eax
lea eax, [eax + eax*2]
shl eax, 2
sub edi, eax
mov dword [esi + 0xc], edi
cvttsd2si eax, xmm1
mov byte [esi + 0x28], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movsd qword [esp + 0x48], xmm1
push esi
call fcn.004cf920
mov eax, dword [esp + 0x60]
add esp, 4
movsd xmm1, qword [esp + 0x48]
mulsd xmm1, qword [0x6f1190]
shl eax, 4
movss xmm0, dword [eax + 0x6e9d8c]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm1
addsd xmm0, qword [esp + 0x38]
call fcn.006dbc10
add dword [esi], eax
pop edi
adc dword [esi + 4], edx
xor ecx, ecx
mov word [esi + 0x2a], cx
mov eax, ecx
mov byte [esi + 0x2c], cl
pop esi
add esp, 0x68
ret