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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [0x529748]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x6c], edx
mov edx, dword [ebp + 8]
xor ecx, ecx
push edi
mov dword [esp + 0x5c], ecx
xor edi, edi
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x41a202
and cl, 2
mov byte [esp + 0x16], cl
je 0x41a1fb
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], ecx
and byte [esp + 0x70], 1
jmp 0x41a20c
mov byte [esp + 0x70], 0
mov byte [esp + 0x16], 0
movsx eax, byte [edx]
test eax, eax
je case.default.0x41a51b
cmp eax, 0x25
je 0x41a2b1
mov edi, edx
mov dword [esp + 0x18], edi
movsx esi, byte [edx + 1]
inc edx
cmp esi, 0x25
je 0x41a234
test esi, esi
jne 0x41a226
mov eax, dword [esp + 0x30]
mov ecx, edx
sub ecx, edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0xc]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x30]
cmp eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x50]
jl 0x41a282
mov edx, ecx
mov ecx, dword [esp + 0x30]
call fcn.0041b3f0
mov dword [esp + 0x60], eax
test eax, eax
jle 0x41a2a1
mov ecx, dword [esp + 0x30]
push eax
push edi
mov eax, dword [ecx + 8]
add eax, dword [ecx + 0xc]
push eax
call fcn.004c1c20
mov eax, dword [esp + 0x6c]
jmp 0x41a297
mov eax, dword [esp + 0x30]
push ecx
push edi
mov eax, dword [eax + 8]
add eax, edx
push eax
call fcn.004c1c20
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
add dword [ecx + 0xc], eax
test esi, esi
je case.default.0x41a51b
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x30]
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x41b308
xor al, al
mov byte [esp + 0x46], al
mov byte [esp + 0x37], al
mov byte [esp + 0x27], al
mov byte [esp + 0x14], al
mov byte [esp + 0x47], al
mov byte [esp + 0x13], al
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x41a2e7.34
movzx eax, byte [eax + 0x41b394]
jmp dword [eax*4 + 0x41b378]
mov byte [esp + 0x13], 1
jmp 0x41a316
mov byte [esp + 0x47], 1
jmp 0x41a316
mov byte [esp + 0x14], 1
jmp 0x41a316
mov byte [esp + 0x27], 1
jmp 0x41a316
mov byte [esp + 0x37], 1
jmp 0x41a316
mov byte [esp + 0x46], 1
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x41a2d8
mov dword [esp + 0x54], edx
mov dword [esp + 0x20], 0
cmp ecx, 0x2a
jne 0x41a398
cmp byte [esp + 0x16], 0
je 0x41a370
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x41a355
mov edx, dword [esp + 0x54]
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov eax, dword [esp + 0x38]
jmp 0x41a37e
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.00435cc0
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x54]
jmp 0x41a37e
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x20], eax
test eax, eax
jns 0x41a391
neg eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x20], eax
movsx ecx, byte [edx + 1]
inc edx
jmp 0x41a3c0
cmp ecx, 0x30
jl 0x41a3c4
mov edi, dword [esp + 0x20]
cmp ecx, 0x39
jg 0x41a3b8
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x41a3a1
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x54], edx
cmp ecx, 0x2e
jne 0x41a471
movsx ecx, byte [edx + 1]
inc edx
xor esi, esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x28], esi
cmp ecx, 0x2a
jne 0x41a44a
cmp byte [esp + 0x16], 0
je 0x41a423
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x41a406
mov edx, dword [esp + 0x54]
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov esi, dword [esp + 0x38]
jmp 0x41a431
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.00435cc0
mov dword [esp + 0x3c], edx
mov esi, eax
mov edx, dword [esp + 0x54]
jmp 0x41a431
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov esi, dword [eax - 4]
mov dword [esp + 0x28], esi
test esi, esi
jns 0x41a43f
neg esi
mov dword [esp + 0x28], esi
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x54], edx
jmp 0x41a478
cmp ecx, 0x30
jl 0x41a478
nop
cmp ecx, 0x39
jg 0x41a478
inc edx
lea esi, [esi + esi*4]
lea esi, [esi - 0x18]
mov dword [esp + 0x54], edx
lea esi, [ecx + esi*2]
mov dword [esp + 0x28], esi
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x41a450
jmp 0x41a478
or esi, 0xffffffff
mov dword [esp + 0x28], esi
cmp ecx, 0x6c
jne 0x41a4a0
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x2f], 1
mov dword [esp + 0x54], edx
cmp ecx, 0x6c
jne 0x41a4a5
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x17], 1
mov dword [esp + 0x54], edx
jmp 0x41a4aa
mov byte [esp + 0x2f], 0
mov byte [esp + 0x17], 0
xor eax, eax
mov dword [esp + 0x50], 0x508e80
mov byte [esp + 0x15], 0
mov edx, 0x508e80
mov dword [esp + 0x58], eax
movsx eax, byte [edx]
cmp ecx, eax
je 0x41a4de
inc dword [esp + 0x58]
add edx, 6
cmp edx, 0x508f0a
jl 0x41a4c2
mov dl, byte [esp + 0x15]
jmp 0x41a508
cmp byte [esp + 0x70], 0
mov eax, dword [esp + 0x58]
lea eax, [eax + eax*2]
lea eax, [eax*2 + 0x508e80]
mov dword [esp + 0x50], eax
jne 0x41a501
test byte [eax + 2], 2
jne case.default.0x41a51b
mov dl, byte [eax + 3]
mov byte [esp + 0x15], dl
movzx eax, dl
xor ecx, ecx
dec eax
mov dword [esp + 0x58], ecx
cmp eax, 0xf
ja case.default.0x41a51b
jmp dword [eax*4 + 0x41b3a8]
xor al, al
mov cl, 1
jmp 0x41a530
mov al, byte [esp + 0x17]
mov cl, byte [esp + 0x2f]
mov edx, dword [esp + 0x50]
test byte [edx + 2], 1
je 0x41a613
cmp byte [esp + 0x16], 0
je 0x41a58e
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x41a57b
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp byte [esp + 0x47], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], edx
je 0x41a603
mov cl, 0x2b
jmp 0x41a6a0
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
call fcn.00435cc0
jmp 0x41a5c8
test al, al
je 0x41a5a5
mov ecx, dword [esp + 0x1c]
add ecx, 8
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx - 8]
mov edx, dword [ecx - 4]
jmp 0x41a5c8
test cl, cl
je 0x41a5b9
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx - 4]
jmp 0x41a5c7
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
cdq
test edx, edx
jg 0x41a561
jl 0x41a5d2
test eax, eax
jae 0x41a561
test eax, eax
jne 0x41a5ed
cmp edx, 0x80000000
jne 0x41a5ed
mov dword [esp + 0x18], edx
mov cl, 0x2d
mov dword [esp + 0x48], eax
jmp 0x41a6a0
neg eax
mov cl, 0x2d
mov dword [esp + 0x48], eax
adc edx, 0
neg edx
mov dword [esp + 0x18], edx
jmp 0x41a6a0
mov cl, byte [esp + 0x14]
neg cl
sbb cl, cl
and cl, 0x20
jmp 0x41a6a0
cmp byte [esp + 0x16], 0
je 0x41a65b
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x41a640
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], eax
jmp 0x41a69e
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
call fcn.00435cc0
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], eax
jmp 0x41a69e
test al, al
je 0x41a672
mov edi, dword [esp + 0x1c]
add edi, 8
mov dword [esp + 0x1c], edi
mov eax, dword [edi - 8]
mov edx, dword [edi - 4]
jmp 0x41a696
test cl, cl
je 0x41a686
mov edi, dword [esp + 0x1c]
add edi, 4
mov dword [esp + 0x1c], edi
mov eax, dword [edi - 4]
jmp 0x41a694
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
xor edx, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], edx
xor cl, cl
or eax, edx
mov byte [esp + 0x14], cl
jne 0x41a6ac
mov byte [esp + 0x27], al
mov al, byte [esp + 0x46]
test al, al
je 0x41a6ca
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x20]
setne al
sub ecx, eax
cmp esi, ecx
cmovl esi, ecx
mov dword [esp + 0x28], esi
cmp esi, 0x3c
jge 0x41a6e5
mov edi, 0x46
lea eax, [esp + 0x80]
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], eax
jmp 0x41a70b
lea edi, [esi + 0xa]
push edi
mov dword [esp + 0x44], edi
call fcn.00419960
mov ecx, eax
mov dword [esp + 0x64], eax
add esp, 4
mov dword [esp + 0x58], ecx
test ecx, ecx
je 0x41b171
mov edx, dword [esp + 0x18]
dec edi
add edi, eax
cmp byte [esp + 0x15], 0x10
jne 0x41a773
push 0
push 0xa
push edx
push dword [esp + 0x54]
call fcn.004c7be0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x78], eax
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
mov dword [esp + 0x6c], ecx
cmp ecx, 4
jge 0x41a755
push 0
push 0xa
push edx
push dword [esp + 0x84]
call fcn.004e5820
cmp eax, 1
jne 0x41a759
test edx, edx
jne 0x41a759
xor ecx, ecx
jmp 0x41a75d
mov ecx, dword [esp + 0x6c]
mov al, byte [ecx*2 + 0x508745]
mov byte [edi - 1], al
sub edi, 2
mov al, byte [ecx*2 + str.thstndrd]
mov byte [edi], al
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
movzx eax, byte [ecx + 4]
add eax, 0x50b4f0
mov dword [esp + 0x38], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x6c], eax
lea ecx, [ecx]
push eax
push ecx
push edx
push esi
dec edi
call fcn.004c6d70
mov dword [esp + 0x4c], ebx
mov esi, eax
mov eax, dword [esp + 0x38]
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x78]
mov byte [edi], al
mov eax, dword [esp + 0x6c]
test edx, edx
ja 0x41a7a0
jb 0x41a7cb
test esi, esi
jne 0x41a7a0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
sub eax, edx
sub eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x18], edi
add eax, edi
test eax, eax
jle 0x41a7f1
dec edi
dec eax
mov byte [edi], 0x30
test eax, eax
jg 0x41a7e4
mov dword [esp + 0x18], edi
mov al, byte [esp + 0x14]
test al, al
je 0x41a800
dec edi
mov dword [esp + 0x18], edi
mov byte [edi], al
cmp byte [esp + 0x27], 0
je 0x41a830
mov eax, dword [esp + 0x50]
mov al, byte [eax + 5]
test al, al
je 0x41a830
movzx eax, al
add eax, 0x50b3c0
mov cl, byte [eax]
test cl, cl
je 0x41a830
dec edi
lea eax, [eax + 1]
mov byte [edi], cl
mov cl, byte [eax]
test cl, cl
jne 0x41a820
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x40]
sub edx, edi
dec esi
add esi, edx
jmp 0x41ab1e
cmp byte [esp + 0x16], cl
je 0x41a87d
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x41a858
mov dl, byte [esp + 0x15]
xorps xmm1, xmm1
jmp 0x41a88d
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
push ecx
mov dword [edi + 4], eax
call fcn.0043b220
mov dl, byte [esp + 0x19]
add esp, 4
fstp qword [esp + 0x38]
movsd xmm1, qword [esp + 0x38]
jmp 0x41a88d
mov eax, dword [esp + 0x1c]
add eax, 8
mov dword [esp + 0x1c], eax
movsd xmm1, qword [eax - 8]
test esi, esi
movsd qword [esp + 0x38], xmm1
mov eax, 6
xorps xmm3, xmm3
cmovs esi, eax
comisd xmm3, xmm1
mov dword [esp + 0x28], esi
jbe 0x41a8bf
xorpd xmm1, xmmword [0x5153b0]
movsd qword [esp + 0x38], xmm1
mov byte [esp + 0x14], 0x2d
jmp 0x41a8db
cmp byte [esp + 0x47], 0
je 0x41a8cd
mov byte [esp + 0x14], 0x2b
jmp 0x41a8db
mov al, byte [esp + 0x14]
neg al
sbb al, al
and al, 0x20
mov byte [esp + 0x14], al
cmp dl, 4
jne 0x41a8e9
test esi, esi
jle 0x41a8e9
dec esi
mov dword [esp + 0x28], esi
movsd xmm2, qword [0x515218]
mov ecx, esi
movsd xmm4, qword [0x515210]
cmp esi, 8
jl 0x41a937
lea edx, [esi - 8]
shr edx, 3
inc edx
lea eax, [edx*8]
sub ecx, eax
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
mulsd xmm2, xmm4
dec edx
jne 0x41a910
mov dl, byte [esp + 0x15]
test ecx, ecx
jle 0x41a949
jmp 0x41a940
dec ecx
mulsd xmm2, xmm4
test ecx, ecx
jg 0x41a940
cmp dl, 2
jne 0x41a95c
movapd xmm0, xmm2
addsd xmm1, xmm0
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x60], xmm1
xor ecx, ecx
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [esp + 0x60]
ucomisd xmm0, qword [esp + 0x78]
mov dword [esp + 0x48], ecx
lahf
test ah, 0x44
jnp 0x41a997
mov edi, 0x50d20c
lea esi, [ecx + 3]
mov dword [esp + 0x18], edi
jmp 0x41ab1e
comisd xmm1, xmm3
jbe 0x41abae
movsd xmm5, qword [0x515310]
comisd xmm1, xmm5
movsd xmm7, qword [0x515220]
movapd xmm3, xmm7
jb 0x41a9e1
jmp 0x41a9c0
cmp ecx, 0x15e
jg 0x41a9dd
mulsd xmm3, xmm5
add ecx, 0x64
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x41a9c0
mov dword [esp + 0x48], ecx
movsd xmm5, qword [0x515300]
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x41aa14
cmp ecx, 0x15e
jg 0x41aa10
movapd xmm3, xmm0
add ecx, 0x40
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x41a9f7
mov dword [esp + 0x48], ecx
movsd xmm6, qword [0x5152b8]
movapd xmm0, xmm3
mulsd xmm0, xmm6
comisd xmm1, xmm0
jb 0x41aa4d
lea ebx, [ebx]
cmp ecx, 0x15e
jg 0x41aa49
movapd xmm3, xmm0
add ecx, 8
mulsd xmm0, xmm6
comisd xmm1, xmm0
jae 0x41aa30
mov dword [esp + 0x48], ecx
movsd xmm5, qword [0x515240]
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm1, xmm0
jb 0x41aa7e
cmp ecx, 0x15e
jg 0x41aa7a
movapd xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm1, xmm0
jae 0x41aa63
mov dword [esp + 0x48], ecx
divsd xmm1, xmm3
movsd xmm0, qword [0x515208]
comisd xmm0, xmm1
movsd qword [esp + 0x38], xmm1
jbe 0x41aab7
jmp 0x41aaa0
mulsd xmm1, xmm6
sub ecx, 8
comisd xmm0, xmm1
ja 0x41aaa0
mov dword [esp + 0x48], ecx
movsd qword [esp + 0x38], xmm1
comisd xmm7, xmm1
jbe 0x41aad5
lea ecx, [ecx]
mulsd xmm1, xmm5
dec ecx
comisd xmm7, xmm1
ja 0x41aac0
mov dword [esp + 0x48], ecx
movsd qword [esp + 0x38], xmm1
cmp ecx, 0x15e
jle 0x41abb6
mov al, byte [esp + 0x14]
cmp al, 0x2d
jne 0x41aaf2
mov edi, str._Inf
mov esi, edi
jmp 0x41ab06
cmp al, 0x2b
jne 0x41aaff
mov edi, str.Inf
mov esi, edi
jmp 0x41ab06
mov edi, 0x50d220
mov esi, edi
mov dword [esp + 0x18], edi
lea ebx, [ebx]
inc esi
cmp byte [esi], 0
jne 0x41ab10
sub esi, edi
and esi, 0x3fffffff
mov eax, dword [esp + 0x20]
mov cl, byte [esp + 0x13]
sub eax, esi
mov dword [esp + 0x20], eax
test eax, eax
jle 0x41ab69
test cl, cl
jne 0x41ab69
mov ecx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [ecx + 0xc]
add eax, edx
cmp eax, dword [ecx + 0x10]
jl 0x41ab4f
call fcn.0041b3f0
mov edx, eax
test edx, edx
jle 0x41ab69
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0xc]
dec edx
mov ecx, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x41ab53
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
lea eax, [edx + esi]
cmp eax, dword [ecx + 0x10]
jl 0x41b281
mov edx, esi
mov esi, ecx
call fcn.0041b3f0
mov dword [esp + 0x38], eax
test eax, eax
jle 0x41b29a
mov ecx, dword [esi + 8]
add ecx, dword [esi + 0xc]
push eax
push edi
push ecx
call fcn.004c1c20
mov eax, dword [esp + 0x44]
add esp, 0xc
add dword [esi + 0xc], eax
jmp 0x41b29a
movsd xmm5, qword [0x515240]
lea esi, [esp + 0x80]
cmp dl, 2
je 0x41abe1
addsd xmm1, xmm2
comisd xmm1, xmm5
movsd qword [esp + 0x38], xmm1
jb 0x41abe1
mulsd xmm1, xmm4
inc ecx
mov dword [esp + 0x48], ecx
movsd qword [esp + 0x38], xmm1
cmp dl, 4
jne 0x41ac11
cmp byte [esp + 0x27], 0
mov edx, dword [esp + 0x28]
sete byte [esp + 0x2f]
cmp ecx, 0xfffffffc
jl 0x41ac0a
cmp ecx, edx
jg 0x41ac0a
sub edx, ecx
mov byte [esp + 0x15], 2
mov dword [esp + 0x28], edx
jmp 0x41ac24
mov byte [esp + 0x15], 3
jmp 0x41ac22
mov dh, byte [esp + 0x37]
cmp dl, 3
mov byte [esp + 0x2f], dh
mov edx, dword [esp + 0x28]
jne 0x41ac24
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x40], ecx
test ecx, ecx
cmovg eax, ecx
add eax, edx
add eax, dword [esp + 0x20]
cmp eax, 0x37
jle 0x41ac54
add eax, 0xf
push eax
call fcn.00419960
add esp, 4
mov dword [esp + 0x58], eax
mov esi, eax
test eax, eax
je 0x41b171
mov cl, byte [esp + 0x37]
mov edi, esi
movzx eax, cl
mov dword [esp + 0x18], edi
lea eax, [eax + eax*4]
lea edx, [eax*2 + 0x10]
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x60], edx
setg byte [esp + 0x17]
or byte [esp + 0x17], cl
mov cl, byte [esp + 0x27]
or byte [esp + 0x17], cl
cmp byte [esp + 0x14], 0
mov ecx, dword [esp + 0x40]
je 0x41ac9c
mov cl, byte [esp + 0x14]
mov byte [esi], cl
inc esi
mov ecx, dword [esp + 0x40]
movsd xmm1, qword [esp + 0x38]
movsd xmm2, qword [0x515240]
test ecx, ecx
jns 0x41acb4
mov byte [esi], 0x30
inc esi
jmp 0x41ace6
test edx, edx
jg 0x41acbc
mov cl, 0x30
jmp 0x41acd4
cvttsd2si ecx, xmm1
dec edx
movd xmm0, ecx
add cl, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
mov byte [esi], cl
inc esi
mov ecx, dword [esp + 0x40]
dec ecx
mov dword [esp + 0x40], ecx
jns 0x41acb4
mov dword [esp + 0x60], edx
cmp byte [esp + 0x17], 0
je 0x41acf1
mov byte [esi], 0x2e
inc esi
inc ecx
jns 0x41ad21
neg ecx
mov edi, esi
mov dword [esp + 0x40], ecx
mov eax, 0x30303030
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
mov ecx, edx
mov edi, dword [esp + 0x18]
add esi, ecx
mov edx, dword [esp + 0x60]
sub eax, ecx
test eax, eax
jle 0x41ad4d
dec eax
test edx, edx
jg 0x41ad2e
mov cl, 0x30
jmp 0x41ad46
cvttsd2si ecx, xmm1
dec edx
movd xmm0, ecx
add cl, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
mov byte [esi], cl
inc esi
test eax, eax
jg 0x41ad25
cmp byte [esp + 0x2f], 0
je 0x41ad89
cmp byte [esp + 0x17], 0
je 0x41ad89
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x41ad71
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x41ad64
cmp byte [esi - 1], 0x2e
jne 0x41ad89
mov dh, byte [esp + 0x37]
test dh, dh
je 0x41ad85
mov byte [esi], 0x30
inc esi
jmp 0x41ad89
dec esi
mov byte [esi], 0
cmp byte [esp + 0x15], 3
jne 0x41ae1b
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
movzx eax, byte [eax + 4]
mov al, byte [eax + 0x50b4f0]
mov byte [esi], al
test ecx, ecx
jns 0x41adbb
mov byte [esi + 1], 0x2d
add esi, 2
neg ecx
mov dword [esp + 0x48], ecx
jmp 0x41adc2
mov byte [esi + 1], 0x2b
add esi, 2
cmp ecx, 0x64
jl 0x41adec
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
inc esi
imul eax, ecx, 0xffffff9c
mov ecx, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x48], ecx
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
mov al, cl
shl cl, 2
add al, cl
mov ecx, dword [esp + 0x48]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
mov al, byte [esp + 0x46]
mov byte [esi], 0
sub esi, edi
test al, al
je 0x41ab1e
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x20]
test cl, cl
jne 0x41ab26
cmp esi, eax
jge 0x41ab26
mov edx, eax
sub edx, esi
mov esi, eax
mov ecx, esi
cmp esi, edx
jl 0x41ae63
mov esi, edi
sub esi, edx
mov al, byte [esi + ecx]
mov byte [ecx + edi], al
dec ecx
cmp ecx, edx
jge 0x41ae54
mov esi, dword [esp + 0x20]
xor eax, eax
cmp byte [esp + 0x14], al
setne al
test edx, edx
je 0x41ab1e
add edi, eax
mov ecx, edx
shr ecx, 2
mov eax, 0x30303030
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x18]
jmp 0x41ab1e
cmp byte [esp + 0x16], cl
jne 0x41aeaf
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [eax - 4]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
xor esi, esi
xor eax, eax
jmp 0x41ab22
lea edi, [esp + 0x80]
mov byte [esp + 0x80], 0x25
mov dword [esp + 0x18], edi
mov esi, 1
jmp 0x41ab1e
cmp byte [esp + 0x16], cl
je 0x41af06
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jle 0x41af02
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dl, 1
mov dword [edi + 4], eax
call fcn.004365a0
test eax, eax
je 0x41af02
movsx eax, byte [eax]
jmp 0x41af14
xor eax, eax
jmp 0x41af14
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
mov byte [esp + 0x80], al
test esi, esi
js 0x41af59
cmp esi, 1
jle 0x41af5e
movzx eax, al
lea ecx, [esi - 1]
mov esi, ecx
imul eax, eax, 0x1010101
shr ecx, 2
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x28]
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [esp + 0x80]
mov dword [esp + 0x18], edi
jmp 0x41ab1e
mov esi, 1
lea edi, [esp + 0x80]
mov dword [esp + 0x18], edi
jmp 0x41ab1e
mov dh, byte [esp + 0x16]
test dh, dh
je 0x41afa8
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jle 0x41afbe
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dl, 1
mov dword [edi + 4], eax
call fcn.004365a0
mov dl, byte [esp + 0x15]
mov edi, eax
mov ecx, dword [esp + 0x58]
mov dh, byte [esp + 0x16]
mov dword [esp + 0x18], eax
jmp 0x41afba
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov edi, dword [eax - 4]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x41afc9
mov edi, 0x50cffc
mov dword [esp + 0x18], edi
jmp 0x41afd7
cmp dl, 7
jne 0x41afd7
test dh, dh
cmove ecx, edi
mov dword [esp + 0x58], ecx
test esi, esi
js 0x41b004
mov edx, dword [esp + 0x28]
xor esi, esi
test edx, edx
jle 0x41ab1e
lea esp, [esp]
cmp byte [esi + edi], 0
je 0x41ab1e
inc esi
cmp esi, edx
jl 0x41aff0
jmp 0x41ab1e
mov esi, edi
test edi, edi
je 0x41ab1e
cmp byte [edi], 0
je 0x41ab16
inc esi
cmp byte [esi], 0
jne 0x41b017
jmp 0x41ab16
cmp dl, 0xf
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0x16], 0
mov dword [esp + 0x48], eax
je 0x41b069
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x41b050
mov dl, byte [esp + 0x15]
xor eax, eax
jmp 0x41b077
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dl, 1
mov dword [edi + 4], eax
call fcn.004365a0
mov dl, byte [esp + 0x15]
jmp 0x41b077
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
xor ecx, ecx
mov dword [esp + 0x50], eax
test eax, eax
sete cl
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x41b09e
cmp dl, 0xb
mov eax, str.NULL
mov ecx, str._NULL_
cmovne eax, ecx
mov dword [esp + 0x50], eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x40], edx
test esi, esi
je 0x41b0ca
lea ebx, [ebx]
mov al, byte [edx + eax]
test al, al
je 0x41b0c6
cmp al, byte [esp + 0x48]
jne 0x41b0be
inc ecx
mov eax, dword [esp + 0x50]
inc edx
dec esi
jne 0x41b0b0
mov dword [esp + 0x40], edx
cmp dword [esp + 0x38], 0
jne 0x41b0df
cmp byte [esp + 0x15], 0xb
jne 0x41b0df
mov eax, 1
jmp 0x41b0e1
xor eax, eax
lea esi, [eax*2 + 1]
mov dword [esp + 0x28], eax
add esi, edx
add esi, ecx
cmp esi, 0x46
jle 0x41b195
cmp esi, 0x7fffff00
jge 0x41b15f
cmp dword [0x52b518], 0
je 0x41b145
mov eax, dword [0x52ff30]
test eax, eax
je 0x41b11d
push eax
call dword [0x52b56c]
add esp, 4
lea edx, [esp + 0x74]
mov ecx, esi
call fcn.00419870
mov eax, dword [0x52ff30]
test eax, eax
je 0x41b13b
push eax
call dword [0x52b574]
add esp, 4
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x40]
jmp 0x41b165
push esi
call dword [0x52b53c]
mov edx, dword [esp + 0x44]
mov edi, eax
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x74], edi
jmp 0x41b169
xor edi, edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x58], edi
test edi, edi
jne 0x41b1a0
mov eax, dword [esp + 0x30]
mov byte [eax + 0x19], 1
mov dword [eax + 0x10], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.004bd963
mov esp, ebp
pop ebp
ret
lea edi, [esp + 0x80]
mov dword [esp + 0x18], edi
xor esi, esi
cmp dword [esp + 0x28], esi
je 0x41b1b3
mov eax, dword [esp + 0x48]
mov esi, 1
mov byte [edi], al
xor ecx, ecx
test edx, edx
jle 0x41b1da
lea esp, [esp]
mov eax, dword [esp + 0x50]
mov al, byte [ecx + eax]
mov byte [esi + edi], al
inc esi
cmp al, byte [esp + 0x48]
jne 0x41b1d5
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, edx
jl 0x41b1c0
cmp dword [esp + 0x28], 0
je 0x41b1e9
mov eax, dword [esp + 0x48]
mov byte [esi + edi], al
inc esi
mov byte [esi + edi], 0
jmp 0x41ab1e
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov edx, dword [eax - 4]
test edx, edx
je 0x41b21a
mov eax, dword [edx + 4]
test eax, eax
je 0x41b21a
mov edx, dword [edx]
mov ecx, dword [esp + 0x30]
push eax
call fcn.0041b4f0
add esp, 4
xor esi, esi
xor eax, eax
jmp 0x41ab22
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov ecx, dword [eax]
add eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], ecx
mov eax, dword [eax - 4]
lea eax, [eax + eax*4]
shl eax, 4
mov dword [esp + 0x38], eax
mov edx, dword [eax + ecx + 0xc]
test edx, edx
je 0x41b26d
mov ecx, esi
call fcn.0041b550
push 1
mov edx, 0x507bb8
mov ecx, esi
call fcn.0041b4f0
mov eax, dword [esp + 0x3c]
add esp, 4
mov ecx, dword [esp + 0x60]
mov edx, dword [eax + ecx + 0x10]
mov ecx, esi
call fcn.0041b550
xor esi, esi
xor eax, eax
jmp 0x41ab22
mov eax, dword [ecx + 8]
push esi
add eax, edx
push edi
push eax
call fcn.004c1c20
mov eax, dword [esp + 0x3c]
add esp, 0xc
add dword [eax + 0xc], esi
mov esi, eax
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x41b2d2
cmp byte [esp + 0x13], 0
je 0x41b2d2
mov eax, dword [esi + 0xc]
add eax, edx
cmp eax, dword [esi + 0x10]
jl 0x41b2c0
mov ecx, esi
call fcn.0041b3f0
mov edx, eax
test edx, edx
jle 0x41b2d2
mov eax, dword [esi + 0xc]
dec edx
mov ecx, dword [esi + 8]
mov byte [ecx + eax], 0x20
inc dword [esi + 0xc]
test edx, edx
jg 0x41b2c0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x41b2e3
push eax
call fcn.00419c60
add esp, 4
mov edx, dword [esp + 0x54]
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x41a217
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.004bd963
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
lea eax, [edx + 1]
cmp eax, dword [esi + 0x10]
jl 0x41b352
mov edx, 1
mov ecx, esi
call fcn.0041b3f0
mov edi, eax
test edi, edi
jle case.default.0x41a51b
mov ecx, dword [esi + 8]
add ecx, dword [esi + 0xc]
push edi
push 0x50d208
push ecx
call fcn.004c1c20
add esp, 0xc
add dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.004bd963
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
mov al, byte [0x50d208]
mov byte [ecx + edx], al
inc dword [esi + 0xc]
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bd963
mov esp, ebp
pop ebp
ret