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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x10152034]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
xor ecx, ecx
mov dword [esp + 0x20], esi
push edi
xor edi, edi
mov dword [esp + 0x44], ecx
test byte [esi + 0x19], 2
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x14], edi
je 0x10045165
add eax, 4
mov byte [esp + 0x11], 1
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x5c], eax
jmp 0x10045169
mov byte [esp + 0x11], cl
movsx eax, byte [edx]
test eax, eax
je case.default.0x10045469
cmp eax, 0x25
je 0x100451d4
mov edi, edx
mov dword [esp + 0x14], edi
nop
mov al, byte [edx + 1]
inc edx
test al, al
je 0x1004518c
cmp al, 0x25
jne 0x10045180
mov eax, dword [esi + 0xc]
mov ecx, edx
sub ecx, edi
mov dword [esp + 0x54], edx
lea edx, [eax + ecx]
cmp edx, dword [esi + 0x10]
jb 0x100451ae
push ecx
mov edx, edi
mov ecx, esi
call fcn.100465f0
add esp, 4
jmp 0x100451c7
test ecx, ecx
je 0x100451c7
mov eax, dword [esi + 8]
push ecx
sub eax, ecx
mov dword [esi + 0xc], edx
add eax, edx
push edi
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 0x54]
cmp byte [edx], 0
je case.default.0x10045469
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x100463c0
xor al, al
mov byte [esp + 0x3b], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x23], al
mov byte [esp + 0x12], al
mov byte [esp + 0x29], al
jmp 0x10045200
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x1004520f.34
movzx eax, byte [eax + 0x10046434]
jmp dword [eax*4 + 0x10046414]
mov byte [esp + 0x29], 1
jmp 0x10045245
mov byte [esp + 0x12], 0x2b
jmp 0x10045245
mov byte [esp + 0x12], 0x20
jmp 0x10045245
mov byte [esp + 0x2a], 1
jmp 0x10045245
mov byte [esp + 0x2b], 1
jmp 0x10045245
mov byte [esp + 0x3b], 1
jmp 0x10045245
mov byte [esp + 0x23], 0x2c
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x10045200
mov dword [esp + 0x54], edx
cmp ecx, 0x2a
jne 0x100452e1
cmp byte [esp + 0x11], 0
je 0x1004529b
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x10045280
mov edx, dword [esp + 0x54]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x48]
jmp 0x100452a9
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.100623d0
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
jmp 0x100452a9
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x18], eax
test eax, eax
jns 0x100452d6
mov byte [esp + 0x29], 1
cmp eax, 0x80000001
jl 0x100452ce
movsx ecx, byte [edx + 1]
neg eax
inc edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], edx
jmp 0x10045320
mov dword [esp + 0x18], 0
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x54], edx
jmp 0x10045320
xor eax, eax
cmp ecx, 0x30
jl 0x10045317
mov edi, eax
lea ebx, [ebx]
cmp ecx, 0x39
jg 0x10045307
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x100452f0
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], edx
and eax, 0x7fffffff
mov dword [esp + 0x18], eax
cmp ecx, 0x2e
jne 0x100453d3
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x54], edx
cmp ecx, 0x2a
jne 0x100453a4
cmp byte [esp + 0x11], 0
je 0x10045379
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x1004535c
mov edx, dword [esp + 0x54]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov esi, dword [esp + 0x48]
jmp 0x10045387
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.100623d0
mov dword [esp + 0x4c], edx
mov esi, eax
mov edx, dword [esp + 0x54]
jmp 0x10045387
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov esi, dword [eax - 4]
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x54], edx
test esi, esi
jns 0x100453da
cmp esi, 0x80000001
jl 0x100453d3
neg esi
jmp 0x100453d6
xor esi, esi
cmp ecx, 0x30
jl 0x100453cb
jmp 0x100453b0
cmp ecx, 0x39
jg 0x100453c7
lea esi, [esi + esi*4]
inc edx
lea esi, [esi - 0x18]
lea esi, [ecx + esi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x100453b0
mov dword [esp + 0x54], edx
and esi, 0x7fffffff
jmp 0x100453d6
or esi, 0xffffffff
mov dword [esp + 0x2c], esi
cmp ecx, 0x6c
jne 0x10045402
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x22], 1
mov dword [esp + 0x54], edx
cmp ecx, 0x6c
jne 0x10045407
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x22], 2
mov dword [esp + 0x54], edx
jmp 0x10045407
mov byte [esp + 0x22], 0
xor eax, eax
mov dword [esp + 0x3c], 0x10129540
mov byte [esp + 0x13], 0x11
mov edx, 0x10129540
mov dword [esp + 0x40], eax
nop
movsx eax, byte [edx]
cmp ecx, eax
je 0x10045440
inc dword [esp + 0x40]
add edx, 6
cmp edx, 0x101295ca
jl 0x10045420
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x3c]
jmp 0x1004545d
mov eax, dword [esp + 0x40]
lea eax, [eax + eax*2]
mov dl, byte [eax*2 + 0x10129543]
lea ecx, [eax*2 + 0x10129540]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x13], dl
movzx eax, dl
cmp eax, 0x10
ja case.default.0x10045469
jmp dword [eax*4 + 0x10046448]
mov al, 1
mov byte [esp + 0x23], 0
jmp 0x10045488
mov al, byte [esp + 0x22]
mov byte [esp + 0x23], 0
jmp 0x10045488
mov al, byte [esp + 0x22]
test byte [ecx + 2], 1
je 0x10045548
cmp byte [esp + 0x11], 0
je 0x100454d9
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x100454c6
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov cl, byte [esp + 0x12]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edx
jmp 0x100455d3
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
call fcn.100623d0
jmp 0x1004550d
test al, al
je 0x100454fe
mov ecx, dword [esp + 0x1c]
cmp al, 2
jne 0x100454f3
mov eax, dword [ecx]
add ecx, 8
mov dword [esp + 0x1c], ecx
mov edx, dword [ecx - 4]
jmp 0x1004550d
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x1c], ecx
jmp 0x1004550c
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
cdq
test edx, edx
jg 0x100454b5
jl 0x10045517
test eax, eax
jae 0x100454b5
test eax, eax
jne 0x10045532
cmp edx, 0x80000000
jne 0x10045532
mov dword [esp + 0x30], edx
mov cl, 0x2d
mov dword [esp + 0x14], eax
jmp 0x100455cf
neg eax
mov cl, 0x2d
mov dword [esp + 0x14], eax
adc edx, 0
neg edx
mov dword [esp + 0x30], edx
jmp 0x100455cf
cmp byte [esp + 0x11], 0
je 0x10045590
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x10045575
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
jmp 0x100455cd
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
call fcn.100623d0
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
jmp 0x100455cd
test al, al
je 0x100455b5
mov edi, dword [esp + 0x1c]
cmp al, 2
jne 0x100455aa
mov eax, dword [edi]
add edi, 8
mov dword [esp + 0x1c], edi
mov edx, dword [edi - 4]
jmp 0x100455c5
mov eax, dword [edi]
add edi, 4
mov dword [esp + 0x1c], edi
jmp 0x100455c3
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
xor edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edx
xor cl, cl
mov byte [esp + 0x12], cl
or eax, edx
jne 0x100455db
mov byte [esp + 0x2a], al
mov al, byte [esp + 0x3b]
test al, al
je 0x100455f9
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x18]
setne al
sub ecx, eax
cmp esi, ecx
cmovl esi, ecx
mov dword [esp + 0x2c], esi
cmp esi, 0x25
jge 0x10045611
mov edi, 0x46
lea eax, [esp + 0x78]
mov dword [esp + 0x58], edi
mov dword [esp + 0x40], eax
jmp 0x10045665
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov edi, eax
mov ecx, edx
mov eax, esi
cdq
add edi, eax
adc ecx, edx
add edi, 0xa
mov eax, edi
mov dword [esp + 0x58], edi
adc ecx, 0
or eax, ecx
je 0x1004564d
push ecx
push edi
call fcn.100444d0
add esp, 8
mov dword [esp + 0x44], eax
mov ecx, eax
jmp 0x10045653
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov eax, ecx
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x1004639c
mov edx, dword [esp + 0x30]
dec edi
add edi, eax
cmp byte [esp + 0x13], 0xf
jne 0x100456ca
push 0
push 0xa
push edx
push dword [esp + 0x20]
call fcn.1010b360
mov dword [esp + 0x60], eax
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
add ecx, ecx
sub eax, ecx
mov dword [esp + 0x70], eax
cmp eax, 4
jge 0x100456ac
push 0
push 0xa
push edx
push dword [esp + 0x6c]
call fcn.1010b470
cmp eax, 1
jne 0x100456b0
test edx, edx
jne 0x100456b0
xor ecx, ecx
jmp 0x100456b4
mov ecx, dword [esp + 0x70]
mov al, byte [ecx*2 + 0x1012bed9]
mov byte [edi - 1], al
sub edi, 2
mov al, byte [ecx*2 + str.thstndrd]
mov byte [edi], al
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
movzx eax, byte [ecx + 4]
add eax, 0x1012c090
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x70], eax
push eax
push ecx
push edx
push esi
dec edi
call fcn.1010b3d0
mov dword [esp + 0x34], ebx
mov esi, eax
mov eax, dword [esp + 0x48]
mov al, byte [eax + ecx]
mov ecx, dword [esp + 0x60]
mov byte [edi], al
mov eax, dword [esp + 0x70]
test edx, edx
ja 0x100456f4
jb 0x1004571f
test esi, esi
jne 0x100456f4
mov edx, dword [esp + 0x40]
mov eax, edx
mov ecx, dword [esp + 0x58]
sub eax, edi
mov esi, dword [esp + 0x2c]
dec eax
add eax, ecx
mov dword [esp + 0x14], edi
cmp esi, eax
jle 0x1004574b
sub esi, eax
add eax, esi
mov edi, edi
dec edi
mov byte [edi], 0x30
dec esi
jne 0x10045740
mov dword [esp + 0x14], edi
cmp byte [esp + 0x23], 0
je 0x10045793
dec eax
mov ecx, 3
cdq
idiv ecx
xor ecx, ecx
mov esi, eax
inc edx
sub edi, esi
mov dword [esp + 0x14], edi
test esi, esi
jle 0x1004578f
lea ebx, [ebx]
lea eax, [esi + ecx]
mov al, byte [eax + edi]
mov byte [ecx + edi], al
dec edx
jne 0x1004578a
mov al, byte [esp + 0x23]
inc ecx
dec esi
mov edx, 3
mov byte [ecx + edi], al
inc ecx
test esi, esi
jg 0x10045770
mov edx, dword [esp + 0x40]
mov cl, byte [esp + 0x12]
test cl, cl
je 0x100457a2
dec edi
mov dword [esp + 0x14], edi
mov byte [edi], cl
cmp byte [esp + 0x2a], 0
je 0x100457d2
mov eax, dword [esp + 0x3c]
mov al, byte [eax + 5]
test al, al
je 0x100457d2
movzx eax, al
add eax, 0x1012bee4
mov cl, byte [eax]
test cl, cl
je 0x100457d2
dec edi
lea eax, [eax + 1]
mov byte [edi], cl
mov cl, byte [eax]
test cl, cl
jne 0x100457c2
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x58]
sub edx, edi
dec esi
add esi, edx
mov eax, dword [esp + 0x18]
sub eax, esi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x10046284
cmp byte [esp + 0x29], 0
jne 0x100461e6
mov dword [esp + 0x60], eax
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
cdq
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
adc ecx, edx
mov eax, dword [eax + 0x10]
js 0x100461c8
jg 0x1004582d
cmp dword [esp + 0x58], eax
jb 0x100461c8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
call fcn.10046490
mov edx, eax
test edx, edx
jle 0x100461e6
jmp 0x100461cc
cmp byte [esp + 0x11], 0
je 0x10045869
mov ecx, dword [esp + 0x5c]
call fcn.10045040
mov dl, byte [esp + 0x13]
movapd xmm2, xmm0
movsd qword [esp + 0x48], xmm0
jmp 0x1004587f
mov eax, dword [esp + 0x1c]
add eax, 8
mov dword [esp + 0x1c], eax
movsd xmm2, qword [eax - 8]
movsd qword [esp + 0x48], xmm2
test esi, esi
mov eax, 6
xorps xmm3, xmm3
cmovs esi, eax
comisd xmm3, xmm2
mov dword [esp + 0x2c], esi
jbe 0x100458ac
xorpd xmm2, xmmword [0x1013ec60]
mov dh, 0x2d
movsd qword [esp + 0x48], xmm2
mov byte [esp + 0x12], dh
jmp 0x100458b0
mov dh, byte [esp + 0x12]
cmp dl, 3
jne 0x100458be
test esi, esi
jle 0x100458be
dec esi
mov dword [esp + 0x2c], esi
movsd xmm1, qword [0x1013eae8]
and esi, 0xfff
movsd xmm4, qword [0x1013eae0]
cmp esi, 8
jl 0x10045913
lea ecx, [esi - 8]
shr ecx, 3
inc ecx
mov eax, ecx
neg eax
lea esi, [esi + eax*8]
jmp 0x100458f0
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
dec ecx
jne 0x100458f0
test esi, esi
jle 0x10045920
dec esi
mulsd xmm1, xmm4
test esi, esi
jg 0x10045917
cmp dl, 1
jne 0x10045933
movapd xmm0, xmm1
addsd xmm2, xmm0
movsd qword [esp + 0x48], xmm2
movsd qword [esp + 0x60], xmm2
xor ecx, ecx
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [esp + 0x60]
ucomisd xmm0, qword [esp + 0x70]
mov dword [esp + 0x30], ecx
lahf
test ah, 0x44
jnp 0x1004596e
mov edi, 0x1013981c
lea esi, [ecx + 3]
mov dword [esp + 0x14], edi
jmp 0x100457db
comisd xmm2, xmm3
jbe 0x10045aa0
movsd xmm5, qword [0x1013ebc8]
comisd xmm2, xmm5
movsd xmm6, qword [0x1013eaf0]
movapd xmm3, xmm6
jb 0x100459b3
cmp ecx, 0x15e
jg 0x100459af
mulsd xmm3, xmm5
add ecx, 0x64
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x10045992
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x1013eb90]
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x100459ed
lea esp, [esp]
cmp ecx, 0x15e
jg 0x100459e9
movapd xmm3, xmm0
add ecx, 0xa
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x100459d0
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x1013eb00]
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x10045a1e
cmp ecx, 0x15e
jg 0x10045a1a
movapd xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x10045a03
mov dword [esp + 0x30], ecx
divsd xmm2, xmm3
movsd xmm0, qword [0x1013ead0]
comisd xmm0, xmm2
movsd qword [esp + 0x48], xmm2
jbe 0x10045a57
movsd xmm3, qword [0x1013eb68]
mov edi, edi
mulsd xmm2, xmm3
sub ecx, 8
comisd xmm0, xmm2
ja 0x10045a40
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
comisd xmm6, xmm2
jbe 0x10045a75
lea ecx, [ecx]
mulsd xmm2, xmm5
dec ecx
comisd xmm6, xmm2
ja 0x10045a60
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
cmp ecx, 0x15e
jle 0x10045aa8
xor eax, eax
mov byte [esp + 0x78], dh
test dh, dh
lea edi, [esp + 0x78]
mov dword [esp + 0x14], edi
setne al
mov dword [esp + eax + 0x78], 0x666e49
lea esi, [eax + 3]
jmp 0x100457db
movsd xmm5, qword [0x1013eb00]
lea esi, [esp + 0x78]
cmp dl, 1
je 0x10045ad0
addsd xmm2, xmm1
comisd xmm2, xmm5
movsd qword [esp + 0x48], xmm2
jb 0x10045ad0
mulsd xmm2, xmm4
inc ecx
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
cmp dl, 3
jne 0x10045b63
cmp byte [esp + 0x2a], 0
sete byte [esp + 0x23]
cmp ecx, 0xfffffffc
jl 0x10045b56
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jg 0x10045b56
sub eax, ecx
mov byte [esp + 0x13], 1
mov dword [esp + 0x2c], eax
mov edx, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
xor eax, eax
test edx, edx
cmovg eax, edx
cdq
mov edi, eax
mov dword [esp + 0x14], edx
mov eax, ecx
cdq
add edi, eax
mov eax, dword [esp + 0x18]
adc dword [esp + 0x14], edx
cdq
add edi, eax
mov eax, dword [esp + 0x14]
adc eax, edx
js 0x10045b88
jg 0x10045b32
cmp edi, 0x37
jbe 0x10045b88
add edi, 0xf
adc eax, 0
mov dword [esp + 0x14], eax
mov eax, edi
mov edx, dword [esp + 0x14]
or eax, edx
je 0x10045b78
push edx
push edi
call fcn.100444d0
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x10045b7a
xor edx, edx
mov byte [esp + 0x13], 2
mov dword [esp + 0x40], edx
jmp 0x10045b01
mov al, byte [esp + 0x2b]
mov byte [esp + 0x23], al
cmp dl, 2
jne 0x10045afb
xor edx, edx
mov dword [esp + 0x40], edx
jmp 0x10045b01
xor eax, eax
mov dword [esp + 0x44], eax
mov esi, eax
test eax, eax
je 0x1004639c
movzx eax, byte [esp + 0x2b]
test ecx, ecx
mov edi, esi
mov dword [esp + 0x14], edi
lea eax, [eax + eax*4]
lea edx, [eax*2 + 0x10]
setg al
or al, byte [esp + 0x2b]
or al, byte [esp + 0x2a]
mov byte [esp + 0x22], al
mov al, byte [esp + 0x12]
mov dword [esp + 0x60], edx
test al, al
je 0x10045bbd
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd xmm2, qword [0x1013eb00]
test eax, eax
jns 0x10045be0
mov byte [esi], 0x30
inc esi
jmp 0x10045c11
test edx, edx
jg 0x10045be8
mov al, 0x30
jmp 0x10045bff
cvttsd2si eax, xmm1
dec edx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x40]
dec eax
mov dword [esp + 0x40], eax
jns 0x10045be0
mov dword [esp + 0x60], edx
cmp byte [esp + 0x22], 0
je 0x10045c1c
mov byte [esi], 0x2e
inc esi
inc eax
jns 0x10045c4c
neg eax
mov edi, esi
mov ecx, eax
mov dword [esp + 0x40], eax
mov edx, ecx
mov eax, 0x30303030
shr ecx, 2
add esi, edx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esp + 0x60]
test ecx, ecx
jle 0x10045c77
dec ecx
test edx, edx
jg 0x10045c59
mov al, 0x30
jmp 0x10045c70
cvttsd2si eax, xmm1
dec edx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
mov byte [esi], al
inc esi
test ecx, ecx
jg 0x10045c50
cmp byte [esp + 0x23], 0
je 0x10045cb4
cmp byte [esp + 0x22], 0
je 0x10045cb4
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x10045c9d
mov edi, edi
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x10045c90
cmp byte [esi - 1], 0x2e
jne 0x10045cb4
cmp byte [esp + 0x2b], 0
je 0x10045cb0
mov byte [esi], 0x30
inc esi
jmp 0x10045cb4
dec esi
mov byte [esi], 0
cmp byte [esp + 0x13], 2
jne 0x10045d46
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
movzx eax, byte [eax + 4]
mov al, byte [eax + 0x1012c090]
mov byte [esi], al
test ecx, ecx
jns 0x10045ce6
mov byte [esi + 1], 0x2d
add esi, 2
neg ecx
mov dword [esp + 0x30], ecx
jmp 0x10045ced
mov byte [esi + 1], 0x2b
add esi, 2
cmp ecx, 0x64
jl 0x10045d17
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 + 0x30]
add ecx, eax
mov dword [esp + 0x30], 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 + 0x30]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
mov al, byte [esp + 0x3b]
mov byte [esi], 0
sub esi, edi
test al, al
je 0x100457db
cmp byte [esp + 0x29], 0
jne 0x100457db
mov eax, dword [esp + 0x18]
cmp esi, eax
jge 0x100457db
mov edx, eax
mov ecx, eax
sub edx, esi
cmp eax, edx
jl 0x10045d8b
mov esi, edi
sub esi, edx
lea esp, [esp]
mov al, byte [esi + ecx]
mov byte [ecx + edi], al
dec ecx
cmp ecx, edx
jge 0x10045d80
mov cl, byte [esp + 0x12]
xor eax, eax
test cl, cl
setne al
test edx, edx
je 0x10045db3
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 + 0x14]
mov eax, dword [esp + 0x18]
mov esi, eax
jmp 0x100457df
cmp byte [esp + 0x11], 0
jne 0x10045ddc
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [eax - 4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
xor esi, esi
xor eax, eax
jmp 0x100457df
lea edi, [esp + 0x78]
mov byte [esp + 0x78], 0x25
mov dword [esp + 0x14], edi
mov esi, 1
jmp 0x100457db
cmp byte [esp + 0x11], 0
je 0x10045e1f
mov ecx, dword [esp + 0x5c]
call fcn.100450c0
test eax, eax
je 0x10045e15
movsx eax, byte [eax]
jmp 0x10045e2d
mov dword [esp + 0x3c], 0
jmp 0x10045e31
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x3c], eax
cmp esi, 1
jle 0x10045e7f
mov edi, dword [esp + 0x18]
mov eax, 1
sub eax, esi
add edi, eax
mov dword [esp + 0x18], edi
cmp edi, 1
jle 0x10045e6c
cmp byte [esp + 0x29], 0
jne 0x10045e6c
mov ecx, dword [esp + 0x24]
lea edx, [edi - 1]
push 0x20
call fcn.100465a0
add esp, 4
mov dword [esp + 0x18], 0
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
lea edx, [esi - 1]
call fcn.100465a0
add esp, 4
mov eax, dword [esp + 0x3c]
lea edi, [esp + 0x78]
mov esi, 1
mov byte [esp + 0x78], al
mov dword [esp + 0x14], edi
jmp 0x100457db
cmp byte [esp + 0x11], 0
je 0x10045eb3
mov ecx, dword [esp + 0x5c]
call fcn.100450c0
mov edi, eax
mov dword [esp + 0x14], eax
mov dl, 5
jmp 0x10045ec5
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov edi, dword [eax - 4]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x10045ed4
mov edi, 0x1013909c
mov dword [esp + 0x14], edi
jmp 0x10045ee2
mov eax, dword [esp + 0x44]
cmp dl, 6
cmove eax, edi
mov dword [esp + 0x44], eax
test esi, esi
js 0x10045f08
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x100457db
cmp byte [esi + edi], 0
je 0x100457db
inc esi
cmp esi, eax
jl 0x10045ef4
jmp 0x100457db
test edi, edi
jne 0x10045f13
xor esi, esi
jmp 0x100457db
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10045f18
sub esi, ecx
and esi, 0x3fffffff
jmp 0x100457db
cmp dl, 0xe
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0x11], 0
mov dword [esp + 0x3c], eax
je 0x10045fad
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x10045f5a
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x10045fbb
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
test ecx, ecx
jne 0x10045f72
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x10045fbb
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10045f93
cmp byte [ecx + 0xa], 1
jne 0x10045f93
mov eax, dword [ecx + 0x10]
mov dl, byte [esp + 0x13]
jmp 0x10045fbb
test dl, 1
je 0x10045fa0
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x10045fbb
mov dl, 1
call fcn.10062dd0
mov dl, byte [esp + 0x13]
jmp 0x10045fbb
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
xor ecx, ecx
mov dword [esp + 0x30], eax
test eax, eax
sete cl
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x10045fe2
cmp dl, 0xa
mov eax, str.NULL
mov ecx, str._NULL_
cmovne eax, ecx
mov dword [esp + 0x30], eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x60], edx
test esi, esi
je 0x1004600a
mov edi, edi
mov al, byte [edx + eax]
test al, al
je 0x10046006
cmp al, byte [esp + 0x3c]
jne 0x10045ffe
inc ecx
mov eax, dword [esp + 0x30]
inc edx
dec esi
jne 0x10045ff0
mov dword [esp + 0x60], edx
cmp dword [esp + 0x48], 0
jne 0x10046020
cmp byte [esp + 0x13], 0xa
mov dword [esp + 0x58], 1
je 0x10046028
mov dword [esp + 0x58], 0
lea eax, [edx + 3]
add eax, ecx
cmp eax, 0x46
jle 0x100460b7
cdq
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x10046099
test edx, edx
ja 0x10046099
jb 0x1004604d
cmp esi, 0x7fffff00
jae 0x10046099
cmp dword [0x10152ce8], 0
je 0x1004608d
mov eax, dword [0x101570b8]
test eax, eax
je 0x10046069
push eax
call dword [0x10152d40]
add esp, 4
lea edx, [esp + 0x6c]
mov ecx, esi
call fcn.100443e0
mov eax, dword [0x101570b8]
test eax, eax
je 0x10046087
push eax
call dword [0x10152d48]
add esp, 4
mov eax, dword [esp + 0x6c]
jmp 0x1004609f
push esi
call dword [0x10152d10]
add esp, 4
jmp 0x1004609b
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x44], eax
mov edi, eax
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004639c
mov edx, dword [esp + 0x60]
jmp 0x100460bf
lea edi, [esp + 0x78]
mov dword [esp + 0x14], edi
xor esi, esi
cmp dword [esp + 0x58], esi
je 0x100460d2
mov eax, dword [esp + 0x3c]
mov esi, 1
mov byte [edi], al
xor ecx, ecx
test edx, edx
jle 0x100460fa
jmp 0x100460e0
mov eax, dword [esp + 0x30]
mov al, byte [ecx + eax]
mov byte [esi + edi], al
inc esi
cmp al, byte [esp + 0x3c]
jne 0x100460f5
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, edx
jl 0x100460e0
cmp dword [esp + 0x58], 0
je 0x10046109
mov eax, dword [esp + 0x3c]
mov byte [esi + edi], al
inc esi
mov byte [esi + edi], 0
jmp 0x100457db
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x19], 1
je case.default.0x10045469
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov edx, dword [eax - 4]
test edx, edx
je 0x10046144
mov eax, dword [edx + 4]
test eax, eax
je 0x10046144
mov edx, dword [edx]
push eax
call fcn.10046630
add esp, 4
xor esi, esi
xor eax, eax
jmp 0x100457df
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x19], 1
je case.default.0x10045469
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
add eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], edx
mov eax, dword [eax - 4]
lea esi, [eax + eax*4]
add esi, esi
mov edx, dword [edx + esi*8 + 0xc]
test edx, edx
je 0x100461ae
call fcn.10046680
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
inc edx
cmp edx, dword [ecx + 0x10]
jb 0x1004619f
push 1
mov edx, 0x10139830
call fcn.100465f0
add esp, 4
jmp 0x100461ae
mov dword [ecx + 0xc], edx
mov ecx, dword [ecx + 8]
mov al, byte [0x10139830]
mov byte [ecx + edx - 1], al
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov edx, dword [edx + esi*8 + 0x10]
call fcn.10046680
xor esi, esi
xor eax, eax
jmp 0x100457df
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x24]
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 0x100461d0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
add ecx, esi
cmp ecx, dword [eax + 0x10]
jb 0x10046203
push esi
mov edx, edi
mov ecx, eax
call fcn.100465f0
add esp, 4
jmp 0x1004621c
test esi, esi
je 0x10046220
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
push esi
sub eax, esi
add eax, ecx
push edi
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x24]
cmp byte [esp + 0x29], 0
je 0x100462be
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, dword [esp + 0x18]
cdq
add esi, eax
adc ecx, edx
js 0x10046261
jg 0x10046246
mov eax, dword [esp + 0x24]
cmp esi, dword [eax + 0x10]
jb 0x1004625d
mov esi, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [esp + 0x18]
call fcn.10046490
mov edx, eax
test edx, edx
jle 0x100462c6
jmp 0x10046270
mov esi, eax
jmp 0x10046265
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
lea esp, [esp]
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 0x10046270
jmp 0x100462c6
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0xc]
add ecx, esi
cmp ecx, dword [edx + 0x10]
jb 0x100462a5
push esi
mov esi, dword [esp + 0x28]
mov edx, edi
mov ecx, esi
call fcn.100465f0
add esp, 4
jmp 0x100462c6
test esi, esi
je 0x100462c4
mov eax, dword [edx + 8]
push esi
sub eax, esi
mov dword [edx + 0xc], ecx
add eax, ecx
push edi
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x24]
jmp 0x100462c6
mov esi, edx
mov edx, dword [esp + 0x44]
test edx, edx
je 0x10046377
mov ecx, dword [esi]
test ecx, ecx
je 0x10046311
cmp dword [ecx + 0x1c8], 0
je 0x100462eb
call fcn.10044880
jmp 0x10046371
cmp edx, dword [ecx + 0x120]
jb 0x10046311
cmp edx, dword [ecx + 0x124]
jae 0x10046311
mov eax, dword [ecx + 0x11c]
mov dword [edx], eax
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], edx
jmp 0x10046371
cmp dword [0x10152ce8], 0
je 0x10046367
mov eax, dword [0x101570b8]
test eax, eax
je 0x10046331
push eax
call dword [0x10152d40]
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call dword [0x10152d1c]
mov ecx, dword [esp + 0x48]
add esp, 4
sub dword [0x101570f0], eax
dec dword [0x10157114]
push ecx
call dword [0x10152d14]
mov eax, dword [0x101570b8]
add esp, 4
test eax, eax
je 0x10046371
push eax
call dword [0x10152d48]
jmp 0x1004636e
push edx
call dword [0x10152d14]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x54]
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x10045174
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1010a06b
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov byte [eax + 0x18], 1
mov dword [eax + 0x10], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1010a06b
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
inc edx
cmp edx, dword [esi + 0x10]
jb 0x100463ef
push 1
mov edx, 0x10139818
mov ecx, esi
call fcn.100465f0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1010a06b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov al, byte [0x10139818]
mov byte [ecx + edx - 1], al
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010a06b
mov esp, ebp
pop ebp
ret