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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov esi, ecx
mov ebx, dword [ebp + 0xc]
xorpd xmm0, xmm0
movupd xmmword [ebx + 0x20], xmm0
movupd xmmword [ebx + 0x10], xmm0
movupd xmmword [ebx], xmm0
test edx, edx
je 0x4e36a8
mov edi, edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
movzx ebx, word [ecx + 0x10]
mov edx, ebx
and edx, 0x3f
movzx edx, byte [edx + 0x52a9ea]
dec edx
cmp edx, 1
mov dword [esp + 0x14], esi
mov dword [esp + 8], edi
ja 0x4e36ef
test bl, 8
jne 0x4e3857
test bl, 0x24
je 0x4e48df
fild qword [ecx]
fstp qword [esp + 0xd0]
movsd xmm0, qword [esp + 0xd0]
jmp 0x4e385b
mov ecx, esi
call fcn.004e4cb0
test eax, eax
je case.0x4e399f.44
mov edi, esi
mov esi, dword [esi + 0xc]
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov edx, ecx
or edx, eax
je 0x4e481c
mov dword [ebx], ecx
mov dword [ebx + 4], eax
cmp ecx, 1
sbb eax, 0
mov eax, 1
jl 0x4e48d7
mov edx, ebx
mov byte [ebx + 0x28], 1
xor eax, eax
jmp 0x4e48d7
mov edx, ebx
not edx
test edx, 0x202
jne 0x4e3706
cmp byte [ecx + 0x12], 1
jne 0x4e3706
mov ebx, dword [ecx + 8]
jmp 0x4e3720
mov eax, 1
test bl, 1
jne 0x4e48d7
mov edx, 1
call fcn.00456040
mov ebx, eax
mov eax, 1
test ebx, ebx
je 0x4e48d7
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
movzx eax, byte [ebx]
xor ecx, ecx
mov byte [esp + 0x10], al
cmp al, 0x2d
sete cl
mov dword [esp + 4], ecx
lea eax, [ebx + ecx]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x4c]
lea esi, [esp + 0x90]
push ecx
push edx
push esi
push str.40f_21a_21d
push eax
call fcn.004e4f60
add esp, 0x14
cmp eax, 3
jne 0x4e37d3
mov eax, dword [esp + 4]
lea esi, [eax + ebx]
add esi, 9
nop dword [eax]
movzx eax, byte [esi + 1]
inc esi
test byte [eax + 0x52aaeb], 1
jne 0x4e37a0
cmp al, 0x54
je 0x4e37a0
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov edx, edi
call fcn.004e4d90
test eax, eax
je 0x4e49b3
cmp byte [esi], 0
mov edi, dword [esp + 8]
je 0x4e49ac
mov ecx, ebx
mov edx, dword [ebp + 0xc]
call fcn.004e4d90
test eax, eax
mov esi, dword [esp + 0x14]
je 0x4e38c9
xor eax, eax
jmp 0x4e3804
movzx ecx, byte [ecx + 0x52a853]
cmp cl, byte [edx + 0x52a853]
jne 0x4e48f2
inc eax
movzx ecx, byte [ebx + eax]
movzx edx, byte [eax + 0x5350d6]
cmp cl, dl
jne 0x4e37f0
test ecx, ecx
jne 0x4e3803
mov ecx, esi
call fcn.004e4cb0
test eax, eax
je 0x4e48f2
mov esi, dword [esi + 0xc]
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov edx, ecx
or edx, eax
mov edi, dword [ebp + 0xc]
je 0x4e49f5
mov dword [edi], ecx
mov dword [edi + 4], eax
cmp ecx, 1
sbb eax, 0
jl case.0x4e399f.44
mov byte [edi + 0x28], 1
mov edi, dword [esp + 8]
jmp 0x4e38c9
movsd xmm0, qword [ecx]
mov edx, dword [ebp + 0xc]
movsd qword [edx + 0x20], xmm0
mov byte [edx + 0x29], 1
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jb 0x4e38c9
movsd xmm1, qword [0x529b88]
ucomisd xmm1, xmm0
jbe 0x4e38c9
mulsd xmm0, qword [0x529b80]
addsd xmm0, qword [0x529b90]
movsd qword [esp + 0x78], xmm0
fld qword [esp + 0x78]
fnstcw word [esp + 0x24]
movzx eax, word [esp + 0x24]
or eax, 0xc00
mov word [esp + 0x44], ax
fldcw word [esp + 0x44]
fistp qword [esp + 0x78]
fldcw word [esp + 0x24]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov byte [edx + 0x28], 1
cmp edi, 2
jl 0x4e47e6
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + 8]
mov dword [esp + 0xc0], eax
lea eax, [ecx + 0x2a]
mov dword [esp + 0x34], eax
lea eax, [ecx + 0x2e]
mov dword [esp + 0xc4], eax
mov ebx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx + 0x10]
mov edx, eax
not edx
test edx, 0x202
jne 0x4e3920
cmp byte [ecx + 0x12], 1
jne 0x4e3920
mov edx, dword [ecx + 8]
jmp 0x4e3938
xor edx, edx
test al, 1
jne 0x4e3938
mov edx, 1
call fcn.00456040
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ebx*4]
movzx eax, word [ecx + 0x10]
test al, 2
mov dword [esp + 4], edx
jne 0x4e3950
test al, 0x11
jne 0x4e396c
jmp 0x4e395e
cmp byte [ecx + 0x12], 1
je 0x4e396c
and eax, 0x11
test ax, ax
jne 0x4e396c
mov edx, 1
call fcn.00456020
mov edx, dword [esp + 4]
mov eax, 1
test edx, edx
je 0x4e48d7
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x52a853]
add ecx, 0xffffffd5
cmp ecx, 0x4c
ja case.0x4e399f.44
jmp dword [ecx*4 + 0x529c20]
mov edi, 1
mov esi, edx
nop dword [eax]
movzx eax, byte [edx + edi]
test eax, eax
je 0x4e39d0
cmp eax, 0x3a
je 0x4e39d0
test byte [eax + 0x52aaeb], 1
jne 0x4e39d0
inc edi
inc esi
jmp 0x4e39b0
mov ecx, edx
lea edx, [esp + 0x28]
push 1
push edi
call fcn.004565e0
mov edx, dword [esp + 0xc]
add esp, 8
test eax, eax
jle case.0x4e399f.44
cmp byte [edx + edi], 0x3a
jne 0x4e3ac0
movzx eax, byte [edx]
add eax, 0xffffffc6
cmp eax, 0xfffffff6
mov ecx, edx
adc ecx, 0
xorpd xmm0, xmm0
movapd xmmword [esp + 0xb0], xmm0
movapd xmmword [esp + 0xa0], xmm0
movapd xmmword [esp + 0x90], xmm0
mov edi, edx
lea edx, [esp + 0x90]
call fcn.004e4d90
mov esi, 1
test eax, eax
jne 0x4e3aaf
lea ecx, [esp + 0x90]
call fcn.004e4ad0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
add eax, 0xfd6cd200
adc ecx, 0xffffffff
push 0
push 0x5265c00
push ecx
push eax
call fcn.0050f6d0
add esp, 0x10
xor esi, esi
mov ecx, eax
neg ecx
mov dword [esp + 0xc], ebx
mov ebx, edi
mov edi, 0
sbb edi, edx
cmp byte [ebx], 0x2d
cmovne edi, edx
cmovne ecx, eax
mov dword [esp + 4], ecx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.004e4ad0
mov word [ebx + 0x2a], 0
mov byte [ebx + 0x2c], 0
mov eax, dword [esp + 4]
add dword [ebx], eax
adc dword [ebx + 4], edi
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 8]
jmp 0x4e429a
movzx eax, byte [esi + 1]
inc esi
test byte [eax + 0x52aaeb], 1
jne 0x4e3ac0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, 0x3fffffff
lea ecx, [eax - 0xb]
cmp ecx, 0xfffffff8
jb case.0x4e399f.44
mov dword [esp + 0xc], ebx
lea edx, [eax - 1]
movzx ecx, byte [esi + eax - 1]
and cl, 0xdf
cmp cl, 0x53
cmovne edx, eax
mov dword [esp + 4], edx
mov ecx, dword [ebp + 0xc]
call fcn.004e4ad0
movsd xmm2, qword [esp + 0x28]
xor eax, eax
xorpd xmm0, xmm0
ucomisd xmm0, xmm2
seta al
movsd xmm3, qword [eax*8 + 0x529b98]
xor edi, edi
mov ecx, str.second
jmp 0x4e3b3d
inc edi
add ecx, 0x10
cmp edi, 6
je 0x4e3c30
mov eax, edi
shl eax, 4
mov dword [esp + 0x10], eax
movzx eax, byte [eax + 0x53513c]
cmp dword [esp + 4], eax
jne 0x4e3b30
xor edx, edx
nop word cs:[eax + eax]
movzx eax, byte [ecx + edx]
test eax, eax
je 0x4e3b87
movzx ebx, byte [eax + 0x52a853]
movzx eax, byte [esi + edx]
movzx eax, byte [eax + 0x52a853]
cmp bl, al
jne 0x4e3b94
inc edx
cmp dword [esp + 4], edx
jne 0x4e3b60
jmp 0x4e3b9b
movzx eax, byte [esi + edx]
movzx eax, byte [eax + 0x52a853]
xor ebx, ebx
movzx eax, al
cmp ebx, eax
jne 0x4e3b30
mov eax, dword [esp + 0x10]
movss xmm0, dword [eax + 0x535144]
movaps xmm1, xmm0
xorps xmm1, xmmword [0x529bb0]
cvtss2sd xmm1, xmm1
ucomisd xmm2, xmm1
jbe 0x4e3b30
cvtss2sd xmm0, xmm0
ucomisd xmm0, xmm2
jbe 0x4e3b30
cmp edi, 5
movsd qword [esp + 0x50], xmm2
movsd qword [esp + 0xc8], xmm3
je 0x4e4177
cmp edi, 4
mov ebx, dword [ebp + 0xc]
jne 0x4e4194
mov ecx, ebx
call fcn.004e52c0
movsd xmm1, qword [esp + 0x50]
cvttsd2si esi, xmm1
mov ecx, dword [ebx + 0xc]
add ecx, esi
mov edi, dword [esp + 8]
jle 0x4e41e5
lea eax, [ecx - 1]
mov edx, 0xaaaaaaab
mul edx
shr edx, 3
jmp 0x4e41f8
mov esi, 1
mov ebx, dword [ebp + 0xc]
mov edi, dword [esp + 8]
jmp 0x4e428c
mov ecx, 1
jmp 0x4e3c6f
movzx eax, al
movzx eax, byte [eax + 0x52a853]
cmp al, byte [edx + 0x52a853]
mov eax, dword [esp + 4]
jne case.0x4e399f.44
movzx eax, byte [eax + ecx]
inc ecx
movzx edx, byte [ecx + 0x535105]
cmp al, dl
jne 0x4e3c50
test al, al
mov eax, dword [esp + 4]
jne 0x4e3c6a
cmp ebx, 1
ja case.0x4e399f.44
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x29], 0
je 0x4e3c9e
cmp byte [eax + 0x28], 0
je 0x4e42ac
mov byte [eax + 0x29], 0
jmp 0x4e479e
mov ecx, 1
jmp 0x4e3ccf
movzx eax, al
movzx eax, byte [eax + 0x52a853]
cmp al, byte [edx + 0x52a853]
mov eax, dword [esp + 4]
jne case.0x4e399f.44
movzx eax, byte [eax + ecx]
inc ecx
movzx edx, byte [ecx + 0x535026]
cmp al, dl
jne 0x4e3cb0
test al, al
mov eax, dword [esp + 4]
jne 0x4e3cca
cmp ebx, 1
ja case.0x4e399f.44
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x28], 0
je case.0x4e399f.44
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x29], 0
je case.0x4e399f.44
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x29], 0
jmp 0x4e479e
mov ecx, 1
jmp 0x4e3d3f
movzx eax, al
movzx eax, byte [eax + 0x52a853]
cmp al, byte [edx + 0x52a853]
mov eax, dword [esp + 4]
jne case.0x4e399f.44
movzx eax, byte [eax + ecx]
inc ecx
movzx edx, byte [ecx + 0x53510a]
cmp al, dl
jne 0x4e3d20
test al, al
mov eax, dword [esp + 4]
jne 0x4e3d3a
mov ecx, dword [esp + 0x14]
call fcn.004e4cb0
test eax, eax
je case.0x4e399f.44
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
call fcn.004e5050
mov esi, eax
mov edi, dword [esp + 8]
jmp 0x4e429a
xor ecx, ecx
test al, al
je 0x4e419d
movzx eax, byte [edx + 1]
test eax, eax
je 0x4e41b1
mov edx, eax
and dl, 0xdf
cmp dl, 0x54
jne 0x4e41c5
mov edx, dword [esp + 4]
movzx eax, byte [edx + 2]
test eax, eax
je 0x4e4332
mov edx, eax
and dl, 0xdf
cmp dl, 0x41
jne 0x4e4343
mov edx, dword [esp + 4]
movzx eax, byte [edx + 3]
test eax, eax
je 0x4e4360
mov edx, eax
and dl, 0xdf
cmp dl, 0x52
jne 0x4e4371
mov edx, dword [esp + 4]
movzx eax, byte [edx + 4]
test eax, eax
je 0x4e438e
mov edx, eax
and dl, 0xdf
cmp dl, 0x54
jne 0x4e439f
mov edx, dword [esp + 4]
movzx eax, byte [edx + 5]
test eax, eax
je 0x4e4611
cmp al, 0x20
jne 0x4e4622
movzx eax, byte [edx + 6]
test eax, eax
je 0x4e463f
mov esi, ebx
mov edx, eax
and dl, 0xdf
cmp dl, 0x4f
jne 0x4e4658
mov eax, dword [esp + 4]
movzx eax, byte [eax + 7]
test eax, eax
je 0x4e47ad
mov edx, eax
and dl, 0xdf
cmp dl, 0x46
jne 0x4e47c4
mov eax, dword [esp + 4]
movzx eax, byte [eax + 8]
test eax, eax
je 0x4e47d6
cmp al, 0x20
mov ebx, esi
mov edx, dword [esp + 4]
je 0x4e43c3
lea ecx, [eax + 0x52a853]
mov eax, 0x53512a
jmp 0x4e43ae
mov dword [esp + 0xc], ebx
mov ecx, 1
mov edx, eax
jmp 0x4e3eaf
movzx edx, dl
movzx edx, byte [edx + 0x52a853]
cmp dl, byte [ebx + 0x52a853]
jne 0x4e4041
mov edx, dword [esp + 4]
movzx edx, byte [edx + ecx]
inc ecx
movzx ebx, byte [ecx + 0x535030]
cmp dl, bl
jne 0x4e3e90
test dl, dl
jne 0x4e3ea6
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0x29], 0
je 0x4e4041
mov eax, dword [esp + 0xc]
cmp eax, 1
ja case.0x4e399f.44
mov ebx, eax
mov eax, dword [ebp + 0xc]
movsd xmm0, qword [eax + 0x20]
mulsd xmm0, qword [0x529bc0]
addsd xmm0, qword [0x529bf8]
ucomisd xmm0, qword [0x529c18]
jb case.0x4e399f.44
movsd xmm1, qword [0x529c00]
ucomisd xmm1, xmm0
jbe case.0x4e399f.44
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x2c], 0
addsd xmm0, qword [0x529b90]
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov word [esp + 0x3c], ax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x68]
fldcw word [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
jmp 0x4e4321
xor ecx, ecx
test al, al
je 0x4e41a7
movzx eax, byte [edx + 1]
test eax, eax
je 0x4e41bb
mov edx, eax
and dl, 0xdf
cmp dl, 0x45
jne 0x4e41d5
mov edx, dword [esp + 4]
movzx eax, byte [edx + 2]
test eax, eax
je 0x4e4339
mov edx, eax
and dl, 0xdf
cmp dl, 0x45
jne 0x4e4350
mov edx, dword [esp + 4]
movzx eax, byte [edx + 3]
test eax, eax
je 0x4e4367
mov edx, eax
and dl, 0xdf
cmp dl, 0x4b
jne 0x4e437e
mov edx, dword [esp + 4]
movzx eax, byte [edx + 4]
test eax, eax
je 0x4e4395
mov edx, eax
and dl, 0xdf
cmp dl, 0x44
jne 0x4e4604
mov edx, dword [esp + 4]
movzx eax, byte [edx + 5]
test eax, eax
je 0x4e461b
mov edx, eax
and dl, 0xdf
cmp dl, 0x41
jne 0x4e4632
mov eax, dword [esp + 4]
movzx eax, byte [eax + 6]
test eax, eax
je 0x4e464d
mov esi, ebx
mov edx, eax
and dl, 0xdf
cmp dl, 0x59
jne 0x4e466a
mov eax, dword [esp + 4]
movzx eax, byte [eax + 7]
test eax, eax
je 0x4e47b4
cmp al, 0x20
mov ebx, esi
mov edx, dword [esp + 4]
je 0x4e4690
lea ecx, [eax + 0x52a853]
mov eax, 0x535120
jmp 0x4e467b
mov ecx, 1
mov ebx, dword [esp + 0xc]
jmp 0x4e406f
movzx eax, al
movzx eax, byte [eax + 0x52a853]
cmp al, byte [edx + 0x52a853]
mov eax, dword [esp + 4]
jne case.0x4e399f.44
movzx eax, byte [eax + ecx]
inc ecx
movzx edx, byte [ecx + 0x535114]
cmp al, dl
jne 0x4e4050
test al, al
mov eax, dword [esp + 4]
jne 0x4e406a
mov ecx, dword [esp + 0x14]
call fcn.004e4cb0
test eax, eax
je case.0x4e399f.44
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x2d], 0
jne 0x4e479e
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.004e4ad0
mov edi, dword [esi]
mov esi, dword [esi + 4]
mov dword [esp + 4], 0
mov dword [esp + 0x10], edi
xor eax, eax
lea edx, [esp + 0x98]
xorpd xmm0, xmm0
movupd xmmword [edx + 0x10], xmm0
movupd xmmword [edx], xmm0
mov dword [edx + 0x20], 0
mov ecx, eax
sar ecx, 0x1f
sub edi, eax
sbb esi, ecx
mov dword [edx + 0x24], 0
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], esi
mov byte [esp + 0xb8], 1
lea ebx, [esp + 0x90]
mov ecx, ebx
mov edx, dword [esp + 0x14]
call fcn.004e5050
test eax, eax
jne case.0x4e399f.44
mov ecx, ebx
call fcn.004e4ad0
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x10]
je 0x4e413c
mov edx, dword [esp + 4]
lea ecx, [edx + 1]
cmp edx, 3
mov dword [esp + 4], ecx
jb 0x4e40bd
mov eax, dword [esp + 0xc0]
xorpd xmm0, xmm0
movupd xmmword [eax + 0x10], xmm0
movupd xmmword [eax], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov ebx, dword [ebp + 0xc]
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov byte [ebx + 0x28], 1
mov byte [ebx + 0x2d], 1
mov ebx, dword [esp + 0xc]
jmp 0x4e479e
cvttsd2si esi, xmm2
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.004e52c0
movsd xmm1, qword [esp + 0x50]
add dword [ebx + 8], esi
mov edi, dword [esp + 8]
jmp 0x4e4209
mov edi, dword [esp + 8]
jmp 0x4e421e
mov eax, str.start_of
jmp 0x4e43b1
mov eax, str.weekday
jmp 0x4e467e
mov eax, 0x535123
jmp 0x4e43b1
mov eax, 0x53511a
jmp 0x4e467e
lea ecx, [eax + 0x52a853]
mov eax, 0x535123
jmp 0x4e43aa
lea ecx, [eax + 0x52a853]
mov eax, 0x53511a
jmp 0x4e4677
mov eax, 0xc
sub eax, ecx
mov edx, 0xaaaaaaab
mul edx
shr edx, 3
neg edx
mov ebx, dword [ebp + 0xc]
add dword [ebx + 8], edx
shl edx, 2
lea eax, [edx + edx*2]
sub ecx, eax
mov dword [ebx + 0xc], ecx
mov byte [ebx + 0x28], 0
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
subsd xmm1, xmm0
movsd qword [esp + 0x50], xmm1
mov ecx, ebx
call fcn.004e4ad0
movsd xmm1, qword [esp + 0x50]
mulsd xmm1, qword [0x529bc0]
mov eax, dword [esp + 0x10]
movss xmm0, dword [eax + 0x535148]
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm1
movsd xmm1, qword [esp + 0xc8]
addsd xmm1, xmm0
movsd qword [esp + 0x70], xmm1
fld qword [esp + 0x70]
fnstcw word [esp + 0x1a]
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov word [esp + 0x3a], ax
fldcw word [esp + 0x3a]
fistp qword [esp + 0x70]
fldcw word [esp + 0x1a]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
add dword [ebx], eax
adc dword [ebx + 4], ecx
xor esi, esi
mov word [ebx + 0x2a], 0
mov byte [ebx + 0x2c], 0
mov ebx, dword [esp + 0xc]
test esi, esi
mov eax, 1
je 0x4e47a2
jmp 0x4e48d7
movsd xmm0, qword [eax + 0x20]
ucomisd xmm0, qword [0x529c08]
jb case.0x4e399f.44
movsd xmm1, qword [0x529c10]
ucomisd xmm1, xmm0
jb case.0x4e399f.44
mulsd xmm0, qword [0x529bc0]
addsd xmm0, qword [0x529bf8]
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x2c], 0
addsd xmm0, qword [0x529b90]
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
fnstcw word [esp + 0x1e]
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov word [esp + 0x3e], ax
fldcw word [esp + 0x3e]
fistp qword [esp + 0x60]
fldcw word [esp + 0x1e]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 0x28], 1
jmp 0x4e479e
mov eax, 0x535124
jmp 0x4e43b1
mov eax, 0x53511b
jmp 0x4e467e
lea ecx, [eax + 0x52a853]
mov eax, 0x535124
jmp 0x4e43aa
lea ecx, [eax + 0x52a853]
mov eax, 0x53511b
jmp 0x4e4677
mov eax, 0x535125
jmp 0x4e43b1
mov eax, 0x53511c
jmp 0x4e467e
lea ecx, [eax + 0x52a853]
mov eax, 0x535125
jmp 0x4e43aa
lea ecx, [eax + 0x52a853]
mov eax, 0x53511c
jmp 0x4e4677
mov eax, 0x535126
jmp 0x4e43b1
mov eax, 0x53511d
jmp 0x4e467e
lea ecx, [eax + 0x52a853]
mov eax, 0x535126
mov edx, dword [esp + 4]
movzx ecx, byte [ecx]
movzx eax, byte [eax]
movzx eax, byte [eax + 0x52a853]
cmp ecx, eax
jne case.0x4e399f.44
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x28], 0
je 0x4e4416
add edx, 9
mov eax, dword [esp + 0x34]
cmp byte [eax], 0
jne 0x4e4531
mov dword [esp + 4], edx
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, 0x1072fdff
cmp edx, eax
mov edx, 0x1a640
sbb edx, ecx
jae 0x4e4458
xorpd xmm0, xmm0
movupd xmmword [edi + 0x20], xmm0
movupd xmmword [edi + 0x10], xmm0
movupd xmmword [edi], xmm0
mov eax, dword [esp + 0xc4]
jmp 0x4e452a
mov eax, dword [esp + 0x34]
cmp byte [eax], 0
je 0x4e4427
add edx, 9
jmp 0x4e4531
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x2b], 0
je case.0x4e399f.44
add edx, 9
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0x7d0
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 1
mov eax, dword [esp + 0x34]
jmp 0x4e452e
add eax, 0x2932e00
adc ecx, 0
push 0
push 0x5265c00
push ecx
push eax
call fcn.0050f870
add esp, 0x10
mov ecx, eax
cvtsi2sd xmm0, eax
addsd xmm0, qword [0x529bc8]
divsd xmm0, qword [0x529bd0]
cvttsd2si eax, xmm0
lea edx, [eax + 3]
test eax, eax
cmovns edx, eax
sar edx, 2
add ecx, eax
sub ecx, edx
add ecx, 0x5f5
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
addsd xmm0, qword [0x529bd8]
divsd xmm0, qword [0x529be0]
cvttsd2si esi, xmm0
mov eax, esi
and eax, 0x7fff
imul eax, eax, 0x8ead
mov edx, 0x51eb851f
mul edx
shr edx, 5
sub ecx, edx
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
movsd xmm1, qword [0x529be8]
divsd xmm0, xmm1
cvttsd2si eax, xmm0
cvttpd2dq xmm0, xmm0
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si edx, xmm0
sub ecx, edx
mov dword [edi + 0x10], ecx
xor ecx, ecx
cmp eax, 0xe
setl cl
neg ecx
or ecx, 0xfffffff3
add ecx, eax
mov dword [edi + 0xc], ecx
xor eax, eax
cmp ecx, 3
setge al
neg eax
add eax, esi
add eax, 0xffffed95
mov dword [edi + 8], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 4]
mov byte [eax], 1
mov eax, dword [ebp + 0xc]
mov word [eax + 0x2b], 1
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov word [eax + 0x28], 0
xor eax, eax
jmp 0x4e456b
test ecx, ecx
je 0x4e45e9
inc eax
mov edx, esi
mov esi, edx
movzx ecx, byte [edx + eax]
movzx edx, byte [eax + 0x53512c]
cmp cl, dl
je 0x4e4560
movzx ecx, byte [ecx + 0x52a853]
cmp cl, byte [edx + 0x52a853]
je 0x4e4568
xor eax, eax
jmp 0x4e4595
test ecx, ecx
je 0x4e45ee
inc eax
movzx ecx, byte [esi + eax]
movzx edx, byte [eax + 0x535132]
cmp cl, dl
je 0x4e4590
movzx ecx, byte [ecx + 0x52a853]
cmp cl, byte [edx + 0x52a853]
je 0x4e4594
xor eax, eax
mov ecx, esi
jmp 0x4e45cf
movzx ecx, byte [ecx + 0x52a853]
cmp cl, byte [edx + 0x52a853]
mov ecx, esi
jne case.0x4e399f.44
inc eax
movzx ecx, byte [ecx + eax]
movzx edx, byte [eax + 0x535137]
cmp cl, dl
jne 0x4e45b9
test ecx, ecx
mov ecx, esi
jne 0x4e45ce
jmp 0x4e479e
mov eax, dword [ebp + 0xc]
jmp 0x4e45f8
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 1
jmp 0x4e479e
lea ecx, [eax + 0x52a853]
mov eax, 0x53511d
jmp 0x4e4677
mov eax, 0x535127
jmp 0x4e43b1
mov eax, 0x53511e
jmp 0x4e467e
lea ecx, [eax + 0x52a853]
mov eax, 0x535127
jmp 0x4e43ae
lea ecx, [eax + 0x52a853]
mov eax, 0x53511e
jmp 0x4e4677
mov eax, 0x535128
mov edx, dword [esp + 4]
jmp 0x4e43b1
mov eax, 0x53511f
mov edx, dword [esp + 4]
jmp 0x4e467e
lea ecx, [eax + 0x52a853]
mov eax, 0x535128
mov ebx, esi
jmp 0x4e43aa
lea ecx, [eax + 0x52a853]
mov eax, 0x53511f
mov ebx, esi
mov edx, dword [esp + 4]
movzx ecx, byte [ecx]
movzx eax, byte [eax]
movzx eax, byte [eax + 0x52a853]
cmp ecx, eax
jne case.0x4e399f.44
add edx, 8
push edx
mov esi, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, 0x3fffffff
mov ecx, esi
lea edx, [esp + 0x28]
push 1
push eax
call fcn.004565e0
add esp, 8
test eax, eax
jle case.0x4e399f.44
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [0x529bf0]
ucomisd xmm1, xmm0
jbe case.0x4e399f.44
cvttsd2si esi, xmm0
test esi, esi
js case.0x4e399f.44
cvttpd2dq xmm1, xmm0
cvtdq2pd xmm1, xmm1
ucomisd xmm0, xmm1
jne case.0x4e399f.44
jp case.0x4e399f.44
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.004e52c0
mov byte [edi + 0x2c], 0
mov byte [edi + 0x28], 0
mov ecx, edi
call fcn.004e4ad0
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov edx, dword [edi + 4]
mov dword [esp + 4], edx
add eax, 0x7b98a00
mov ecx, edx
adc ecx, 0
push 0
push 0x5265c00
push ecx
push eax
call fcn.0050f570
add esp, 0x10
push 0
push 7
push edx
push eax
call fcn.0050f6d0
add esp, 0x10
mov dword [esp + 0xc], ebx
mov ebx, edx
mov ecx, eax
add ecx, 0xfffffff9
adc edx, 0xffffffff
cmp esi, eax
mov edi, 0
sbb edi, ebx
cmovge edx, ebx
mov ebx, dword [ebp + 0xc]
mov edi, dword [esp + 0xc]
cmovge ecx, eax
sub esi, ecx
mov ecx, 0
sbb ecx, edx
mov eax, esi
mov edx, 0x5265c00
mul edx
imul ecx, ecx, 0x5265c00
add edx, ecx
add eax, dword [esp + 0x10]
adc edx, dword [esp + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov word [ebx + 0x2a], 0
mov byte [ebx + 0x2c], 0
mov ebx, edi
mov edi, dword [esp + 8]
inc ebx
cmp ebx, edi
jne 0x4e38f5
jmp 0x4e47e6
mov eax, 0x535129
jmp 0x4e47db
mov eax, 0x535120
mov ebx, esi
mov edx, dword [esp + 4]
jmp 0x4e467e
lea ecx, [eax + 0x52a853]
mov eax, 0x535129
mov ebx, esi
jmp 0x4e43aa
mov eax, 0x53512a
mov ebx, esi
mov edx, dword [esp + 4]
jmp 0x4e43b1
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.004e4ad0
mov eax, 1
cmp byte [esi + 0x2e], 0
jne 0x4e48d7
mov eax, 0x1072fdff
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx]
mov eax, 0x1a640
sbb eax, dword [ecx + 4]
setb al
movzx eax, al
jmp 0x4e48d7
add esi, 0x38
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], 2
jl 0x4e4847
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x4e4847
push esi
push eax
call ecx
add esp, 8
test eax, eax
jne 0x4e48b8
mov ecx, dword [esi]
mov eax, dword [esi + 4]
jmp 0x4e36cc
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x90]
push ecx
push eax
call dword [eax + 0x40]
add esp, 8
movsd xmm0, qword [esp + 0x90]
mulsd xmm0, qword [0x529b80]
movsd qword [esp + 0x58], xmm0
fld qword [esp + 0x58]
fnstcw word [esp + 0x26]
movzx ecx, word [esp + 0x26]
or ecx, 0xc00
mov word [esp + 0x46], cx
fldcw word [esp + 0x46]
fistp qword [esp + 0x58]
fldcw word [esp + 0x26]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esi + 4], edx
mov dword [esi], ecx
test eax, eax
je 0x4e483d
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov eax, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test bl, 0x12
je 0x4e49a3
call fcn.004565a0
jmp 0x4e385b
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, 0x3fffffff
lea edx, [esp + 0x28]
mov ecx, ebx
push 1
push eax
call fcn.004565e0
add esp, 8
test eax, eax
mov eax, dword [ebp + 0xc]
jle case.0x4e399f.44
movsd xmm0, qword [esp + 0x28]
movsd qword [eax + 0x20], xmm0
mov byte [eax + 0x29], 1
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
mov edi, dword [esp + 8]
jb 0x4e38c9
movsd xmm1, qword [0x529b88]
ucomisd xmm1, xmm0
jbe 0x4e38c9
mulsd xmm0, qword [0x529b80]
addsd xmm0, qword [0x529b90]
movsd qword [esp + 0x80], xmm0
fld qword [esp + 0x80]
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
or eax, 0xc00
mov word [esp + 0x40], ax
fldcw word [esp + 0x40]
fistp qword [esp + 0x80]
fldcw word [esp + 0x20]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edx, dword [ebp + 0xc]
jmp 0x4e38c0
xorpd xmm0, xmm0
jmp 0x4e385b
mov edi, dword [ebp + 0xc]
mov byte [edi + 0x2b], 0
mov byte [edi + 0x28], 0
mov byte [edi + 0x2a], 1
mov eax, dword [esp + 0x90]
mov ecx, eax
neg ecx
cmp byte [esp + 0x10], 0x2d
cmovne ecx, eax
mov dword [edi + 8], ecx
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x10], eax
cmp byte [edi + 0x2c], 0
je 0x4e49ec
mov ecx, edi
call fcn.004e4ad0
mov edi, dword [esp + 8]
jmp 0x4e38c9
add esi, 0x38
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], 2
jl 0x4e4a18
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x4e4a18
push esi
push eax
call ecx
add esp, 8
jmp 0x4e4a94
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x90]
push ecx
push eax
call dword [eax + 0x40]
add esp, 8
movsd xmm0, qword [esp + 0x90]
mulsd xmm0, qword [0x529b80]
movsd qword [esp + 0x88], xmm0
fld qword [esp + 0x88]
fnstcw word [esp + 0x22]
movzx ecx, word [esp + 0x22]
or ecx, 0xc00
mov word [esp + 0x42], cx
fldcw word [esp + 0x42]
fistp qword [esp + 0x88]
fldcw word [esp + 0x22]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esi + 4], edx
mov dword [esi], ecx
test eax, eax
je 0x4e4ab7
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
jmp case.0x4e399f.44
mov ecx, dword [esi]
mov eax, dword [esi + 4]
jmp 0x4e383c