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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x10165034]
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 0x10052a15
add eax, 4
mov byte [esp + 0x11], 1
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x5c], eax
jmp 0x10052a19
mov byte [esp + 0x11], cl
movsx eax, byte [edx]
test eax, eax
je case.default.0x10052d19
cmp eax, 0x25
je 0x10052a84
mov edi, edx
mov dword [esp + 0x14], edi
nop
mov al, byte [edx + 1]
inc edx
test al, al
je 0x10052a3c
cmp al, 0x25
jne 0x10052a30
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 0x10052a5e
push ecx
mov edx, edi
mov ecx, esi
call fcn.10053ea0
add esp, 4
jmp 0x10052a77
test ecx, ecx
je 0x10052a77
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.0x10052d19
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x10053c70
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 0x10052ab0
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x10052abf.34
movzx eax, byte [eax + 0x10053ce4]
jmp dword [eax*4 + 0x10053cc4]
mov byte [esp + 0x29], 1
jmp 0x10052af5
mov byte [esp + 0x12], 0x2b
jmp 0x10052af5
mov byte [esp + 0x12], 0x20
jmp 0x10052af5
mov byte [esp + 0x2a], 1
jmp 0x10052af5
mov byte [esp + 0x2b], 1
jmp 0x10052af5
mov byte [esp + 0x3b], 1
jmp 0x10052af5
mov byte [esp + 0x23], 0x2c
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x10052ab0
mov dword [esp + 0x54], edx
cmp ecx, 0x2a
jne 0x10052b91
cmp byte [esp + 0x11], 0
je 0x10052b4b
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x10052b30
mov edx, dword [esp + 0x54]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x48]
jmp 0x10052b59
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.1006fc90
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
jmp 0x10052b59
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 0x10052b86
mov byte [esp + 0x29], 1
cmp eax, 0x80000001
jl 0x10052b7e
movsx ecx, byte [edx + 1]
neg eax
inc edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], edx
jmp 0x10052bd0
mov dword [esp + 0x18], 0
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x54], edx
jmp 0x10052bd0
xor eax, eax
cmp ecx, 0x30
jl 0x10052bc7
mov edi, eax
lea ebx, [ebx]
cmp ecx, 0x39
jg 0x10052bb7
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x10052ba0
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 0x10052c83
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x54], edx
cmp ecx, 0x2a
jne 0x10052c54
cmp byte [esp + 0x11], 0
je 0x10052c29
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x10052c0c
mov edx, dword [esp + 0x54]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov esi, dword [esp + 0x48]
jmp 0x10052c37
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.1006fc90
mov dword [esp + 0x4c], edx
mov esi, eax
mov edx, dword [esp + 0x54]
jmp 0x10052c37
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 0x10052c8a
cmp esi, 0x80000001
jl 0x10052c83
neg esi
jmp 0x10052c86
xor esi, esi
cmp ecx, 0x30
jl 0x10052c7b
jmp 0x10052c60
cmp ecx, 0x39
jg 0x10052c77
lea esi, [esi + esi*4]
inc edx
lea esi, [esi - 0x18]
lea esi, [ecx + esi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x10052c60
mov dword [esp + 0x54], edx
and esi, 0x7fffffff
jmp 0x10052c86
or esi, 0xffffffff
mov dword [esp + 0x2c], esi
cmp ecx, 0x6c
jne 0x10052cb2
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x22], 1
mov dword [esp + 0x54], edx
cmp ecx, 0x6c
jne 0x10052cb7
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x22], 2
mov dword [esp + 0x54], edx
jmp 0x10052cb7
mov byte [esp + 0x22], 0
xor eax, eax
mov dword [esp + 0x3c], 0x1013a4f0
mov byte [esp + 0x13], 0x11
mov edx, 0x1013a4f0
mov dword [esp + 0x40], eax
nop
movsx eax, byte [edx]
cmp ecx, eax
je 0x10052cf0
inc dword [esp + 0x40]
add edx, 6
cmp edx, 0x1013a57a
jl 0x10052cd0
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x3c]
jmp 0x10052d0d
mov eax, dword [esp + 0x40]
lea eax, [eax + eax*2]
mov dl, byte [eax*2 + 0x1013a4f3]
lea ecx, [eax*2 + 0x1013a4f0]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x13], dl
movzx eax, dl
cmp eax, 0x10
ja case.default.0x10052d19
jmp dword [eax*4 + 0x10053cf8]
mov al, 1
mov byte [esp + 0x23], 0
jmp 0x10052d38
mov al, byte [esp + 0x22]
mov byte [esp + 0x23], 0
jmp 0x10052d38
mov al, byte [esp + 0x22]
test byte [ecx + 2], 1
je 0x10052df8
cmp byte [esp + 0x11], 0
je 0x10052d89
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x10052d76
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 0x10052e83
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
call fcn.1006fc90
jmp 0x10052dbd
test al, al
je 0x10052dae
mov ecx, dword [esp + 0x1c]
cmp al, 2
jne 0x10052da3
mov eax, dword [ecx]
add ecx, 8
mov dword [esp + 0x1c], ecx
mov edx, dword [ecx - 4]
jmp 0x10052dbd
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x1c], ecx
jmp 0x10052dbc
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax - 4]
cdq
test edx, edx
jg 0x10052d65
jl 0x10052dc7
test eax, eax
jae 0x10052d65
test eax, eax
jne 0x10052de2
cmp edx, 0x80000000
jne 0x10052de2
mov dword [esp + 0x30], edx
mov cl, 0x2d
mov dword [esp + 0x14], eax
jmp 0x10052e7f
neg eax
mov cl, 0x2d
mov dword [esp + 0x14], eax
adc edx, 0
neg edx
mov dword [esp + 0x30], edx
jmp 0x10052e7f
cmp byte [esp + 0x11], 0
je 0x10052e40
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x10052e25
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 0x10052e7d
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
call fcn.1006fc90
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
jmp 0x10052e7d
test al, al
je 0x10052e65
mov edi, dword [esp + 0x1c]
cmp al, 2
jne 0x10052e5a
mov eax, dword [edi]
add edi, 8
mov dword [esp + 0x1c], edi
mov edx, dword [edi - 4]
jmp 0x10052e75
mov eax, dword [edi]
add edi, 4
mov dword [esp + 0x1c], edi
jmp 0x10052e73
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 0x10052e8b
mov byte [esp + 0x2a], al
mov al, byte [esp + 0x3b]
test al, al
je 0x10052ea9
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 0x10052ec1
mov edi, 0x46
lea eax, [esp + 0x78]
mov dword [esp + 0x58], edi
mov dword [esp + 0x40], eax
jmp 0x10052f15
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 0x10052efd
push ecx
push edi
call fcn.10051d70
add esp, 8
mov dword [esp + 0x44], eax
mov ecx, eax
jmp 0x10052f03
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov eax, ecx
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x10053c4c
mov edx, dword [esp + 0x30]
dec edi
add edi, eax
cmp byte [esp + 0x13], 0xf
jne 0x10052f7a
push 0
push 0xa
push edx
push dword [esp + 0x20]
call fcn.101189c0
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 0x10052f5c
push 0
push 0xa
push edx
push dword [esp + 0x6c]
call fcn.10118ad0
cmp eax, 1
jne 0x10052f60
test edx, edx
jne 0x10052f60
xor ecx, ecx
jmp 0x10052f64
mov ecx, dword [esp + 0x70]
mov al, byte [ecx*2 + 0x1013ce89]
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, 0x1013d040
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.10118a30
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 0x10052fa4
jb 0x10052fcf
test esi, esi
jne 0x10052fa4
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 0x10052ffb
sub esi, eax
add eax, esi
mov edi, edi
dec edi
mov byte [edi], 0x30
dec esi
jne 0x10052ff0
mov dword [esp + 0x14], edi
cmp byte [esp + 0x23], 0
je 0x10053043
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 0x1005303f
lea ebx, [ebx]
lea eax, [esi + ecx]
mov al, byte [eax + edi]
mov byte [ecx + edi], al
dec edx
jne 0x1005303a
mov al, byte [esp + 0x23]
inc ecx
dec esi
mov edx, 3
mov byte [ecx + edi], al
inc ecx
test esi, esi
jg 0x10053020
mov edx, dword [esp + 0x40]
mov cl, byte [esp + 0x12]
test cl, cl
je 0x10053052
dec edi
mov dword [esp + 0x14], edi
mov byte [edi], cl
cmp byte [esp + 0x2a], 0
je 0x10053082
mov eax, dword [esp + 0x3c]
mov al, byte [eax + 5]
test al, al
je 0x10053082
movzx eax, al
add eax, 0x1013ce94
mov cl, byte [eax]
test cl, cl
je 0x10053082
dec edi
lea eax, [eax + 1]
mov byte [edi], cl
mov cl, byte [eax]
test cl, cl
jne 0x10053072
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 0x10053b34
cmp byte [esp + 0x29], 0
jne 0x10053a96
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 0x10053a78
jg 0x100530dd
cmp dword [esp + 0x58], eax
jb 0x10053a78
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
call fcn.10053d40
mov edx, eax
test edx, edx
jle 0x10053a96
jmp 0x10053a7c
cmp byte [esp + 0x11], 0
je 0x10053119
mov ecx, dword [esp + 0x5c]
call fcn.100528f0
mov dl, byte [esp + 0x13]
movapd xmm2, xmm0
movsd qword [esp + 0x48], xmm0
jmp 0x1005312f
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 0x1005315c
xorpd xmm2, xmmword [0x10150030]
mov dh, 0x2d
movsd qword [esp + 0x48], xmm2
mov byte [esp + 0x12], dh
jmp 0x10053160
mov dh, byte [esp + 0x12]
cmp dl, 3
jne 0x1005316e
test esi, esi
jle 0x1005316e
dec esi
mov dword [esp + 0x2c], esi
movsd xmm1, qword [0x1014feb8]
and esi, 0xfff
movsd xmm4, qword [0x1014feb0]
cmp esi, 8
jl 0x100531c3
lea ecx, [esi - 8]
shr ecx, 3
inc ecx
mov eax, ecx
neg eax
lea esi, [esi + eax*8]
jmp 0x100531a0
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 0x100531a0
test esi, esi
jle 0x100531d0
dec esi
mulsd xmm1, xmm4
test esi, esi
jg 0x100531c7
cmp dl, 1
jne 0x100531e3
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 0x1005321e
mov edi, 0x1014abf4
lea esi, [ecx + 3]
mov dword [esp + 0x14], edi
jmp 0x1005308b
comisd xmm2, xmm3
jbe 0x10053350
movsd xmm5, qword [0x1014ff98]
comisd xmm2, xmm5
movsd xmm6, qword [0x1014fec0]
movapd xmm3, xmm6
jb 0x10053263
cmp ecx, 0x15e
jg 0x1005325f
mulsd xmm3, xmm5
add ecx, 0x64
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x10053242
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x1014ff60]
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x1005329d
lea esp, [esp]
cmp ecx, 0x15e
jg 0x10053299
movapd xmm3, xmm0
add ecx, 0xa
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x10053280
mov dword [esp + 0x30], ecx
movsd xmm5, qword [0x1014fed0]
movapd xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x100532ce
cmp ecx, 0x15e
jg 0x100532ca
movapd xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x100532b3
mov dword [esp + 0x30], ecx
divsd xmm2, xmm3
movsd xmm0, qword [0x1014fea0]
comisd xmm0, xmm2
movsd qword [esp + 0x48], xmm2
jbe 0x10053307
movsd xmm3, qword [0x1014ff38]
mov edi, edi
mulsd xmm2, xmm3
sub ecx, 8
comisd xmm0, xmm2
ja 0x100532f0
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
comisd xmm6, xmm2
jbe 0x10053325
lea ecx, [ecx]
mulsd xmm2, xmm5
dec ecx
comisd xmm6, xmm2
ja 0x10053310
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
cmp ecx, 0x15e
jle 0x10053358
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 0x1005308b
movsd xmm5, qword [0x1014fed0]
lea esi, [esp + 0x78]
cmp dl, 1
je 0x10053380
addsd xmm2, xmm1
comisd xmm2, xmm5
movsd qword [esp + 0x48], xmm2
jb 0x10053380
mulsd xmm2, xmm4
inc ecx
mov dword [esp + 0x30], ecx
movsd qword [esp + 0x48], xmm2
cmp dl, 3
jne 0x10053413
cmp byte [esp + 0x2a], 0
sete byte [esp + 0x23]
cmp ecx, 0xfffffffc
jl 0x10053406
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jg 0x10053406
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 0x10053438
jg 0x100533e2
cmp edi, 0x37
jbe 0x10053438
add edi, 0xf
adc eax, 0
mov dword [esp + 0x14], eax
mov eax, edi
mov edx, dword [esp + 0x14]
or eax, edx
je 0x10053428
push edx
push edi
call fcn.10051d70
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x1005342a
xor edx, edx
mov byte [esp + 0x13], 2
mov dword [esp + 0x40], edx
jmp 0x100533b1
mov al, byte [esp + 0x2b]
mov byte [esp + 0x23], al
cmp dl, 2
jne 0x100533ab
xor edx, edx
mov dword [esp + 0x40], edx
jmp 0x100533b1
xor eax, eax
mov dword [esp + 0x44], eax
mov esi, eax
test eax, eax
je 0x10053c4c
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 0x1005346d
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd xmm2, qword [0x1014fed0]
test eax, eax
jns 0x10053490
mov byte [esi], 0x30
inc esi
jmp 0x100534c1
test edx, edx
jg 0x10053498
mov al, 0x30
jmp 0x100534af
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 0x10053490
mov dword [esp + 0x60], edx
cmp byte [esp + 0x22], 0
je 0x100534cc
mov byte [esi], 0x2e
inc esi
inc eax
jns 0x100534fc
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 0x10053527
dec ecx
test edx, edx
jg 0x10053509
mov al, 0x30
jmp 0x10053520
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 0x10053500
cmp byte [esp + 0x23], 0
je 0x10053564
cmp byte [esp + 0x22], 0
je 0x10053564
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x1005354d
mov edi, edi
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x10053540
cmp byte [esi - 1], 0x2e
jne 0x10053564
cmp byte [esp + 0x2b], 0
je 0x10053560
mov byte [esi], 0x30
inc esi
jmp 0x10053564
dec esi
mov byte [esi], 0
cmp byte [esp + 0x13], 2
jne 0x100535f6
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
movzx eax, byte [eax + 4]
mov al, byte [eax + 0x1013d040]
mov byte [esi], al
test ecx, ecx
jns 0x10053596
mov byte [esi + 1], 0x2d
add esi, 2
neg ecx
mov dword [esp + 0x30], ecx
jmp 0x1005359d
mov byte [esi + 1], 0x2b
add esi, 2
cmp ecx, 0x64
jl 0x100535c7
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 0x1005308b
cmp byte [esp + 0x29], 0
jne 0x1005308b
mov eax, dword [esp + 0x18]
cmp esi, eax
jge 0x1005308b
mov edx, eax
mov ecx, eax
sub edx, esi
cmp eax, edx
jl 0x1005363b
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 0x10053630
mov cl, byte [esp + 0x12]
xor eax, eax
test cl, cl
setne al
test edx, edx
je 0x10053663
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 0x1005308f
cmp byte [esp + 0x11], 0
jne 0x1005368c
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 0x1005308f
lea edi, [esp + 0x78]
mov byte [esp + 0x78], 0x25
mov dword [esp + 0x14], edi
mov esi, 1
jmp 0x1005308b
cmp byte [esp + 0x11], 0
je 0x100536cf
mov ecx, dword [esp + 0x5c]
call fcn.10052970
test eax, eax
je 0x100536c5
movsx eax, byte [eax]
jmp 0x100536dd
mov dword [esp + 0x3c], 0
jmp 0x100536e1
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 0x1005372f
mov edi, dword [esp + 0x18]
mov eax, 1
sub eax, esi
add edi, eax
mov dword [esp + 0x18], edi
cmp edi, 1
jle 0x1005371c
cmp byte [esp + 0x29], 0
jne 0x1005371c
mov ecx, dword [esp + 0x24]
lea edx, [edi - 1]
push 0x20
call fcn.10053e50
add esp, 4
mov dword [esp + 0x18], 0
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
lea edx, [esi - 1]
call fcn.10053e50
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 0x1005308b
cmp byte [esp + 0x11], 0
je 0x10053763
mov ecx, dword [esp + 0x5c]
call fcn.10052970
mov edi, eax
mov dword [esp + 0x14], eax
mov dl, 5
jmp 0x10053775
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 0x10053784
mov edi, 0x1014a20c
mov dword [esp + 0x14], edi
jmp 0x10053792
mov eax, dword [esp + 0x44]
cmp dl, 6
cmove eax, edi
mov dword [esp + 0x44], eax
test esi, esi
js 0x100537b8
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x1005308b
cmp byte [esi + edi], 0
je 0x1005308b
inc esi
cmp esi, eax
jl 0x100537a4
jmp 0x1005308b
test edi, edi
jne 0x100537c3
xor esi, esi
jmp 0x1005308b
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100537c8
sub esi, ecx
and esi, 0x3fffffff
jmp 0x1005308b
cmp dl, 0xe
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0x11], 0
mov dword [esp + 0x3c], eax
je 0x1005385d
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x1005380a
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x1005386b
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
test ecx, ecx
jne 0x10053822
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x1005386b
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10053843
cmp byte [ecx + 0xa], 1
jne 0x10053843
mov eax, dword [ecx + 0x10]
mov dl, byte [esp + 0x13]
jmp 0x1005386b
test dl, 1
je 0x10053850
mov dl, byte [esp + 0x13]
xor eax, eax
jmp 0x1005386b
mov dl, 1
call fcn.10070690
mov dl, byte [esp + 0x13]
jmp 0x1005386b
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 0x10053892
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 0x100538ba
mov edi, edi
mov al, byte [edx + eax]
test al, al
je 0x100538b6
cmp al, byte [esp + 0x3c]
jne 0x100538ae
inc ecx
mov eax, dword [esp + 0x30]
inc edx
dec esi
jne 0x100538a0
mov dword [esp + 0x60], edx
cmp dword [esp + 0x48], 0
jne 0x100538d0
cmp byte [esp + 0x13], 0xa
mov dword [esp + 0x58], 1
je 0x100538d8
mov dword [esp + 0x58], 0
lea eax, [edx + 3]
add eax, ecx
cmp eax, 0x46
jle 0x10053967
cdq
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x10053949
test edx, edx
ja 0x10053949
jb 0x100538fd
cmp esi, 0x7fffff00
jae 0x10053949
cmp dword [0x10165ce8], 0
je 0x1005393d
mov eax, dword [0x1016a548]
test eax, eax
je 0x10053919
push eax
call dword [0x10165d40]
add esp, 4
lea edx, [esp + 0x6c]
mov ecx, esi
call fcn.10051c80
mov eax, dword [0x1016a548]
test eax, eax
je 0x10053937
push eax
call dword [0x10165d48]
add esp, 4
mov eax, dword [esp + 0x6c]
jmp 0x1005394f
push esi
call dword [0x10165d10]
add esp, 4
jmp 0x1005394b
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 0x10053c4c
mov edx, dword [esp + 0x60]
jmp 0x1005396f
lea edi, [esp + 0x78]
mov dword [esp + 0x14], edi
xor esi, esi
cmp dword [esp + 0x58], esi
je 0x10053982
mov eax, dword [esp + 0x3c]
mov esi, 1
mov byte [edi], al
xor ecx, ecx
test edx, edx
jle 0x100539aa
jmp 0x10053990
mov eax, dword [esp + 0x30]
mov al, byte [ecx + eax]
mov byte [esi + edi], al
inc esi
cmp al, byte [esp + 0x3c]
jne 0x100539a5
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, edx
jl 0x10053990
cmp dword [esp + 0x58], 0
je 0x100539b9
mov eax, dword [esp + 0x3c]
mov byte [esi + edi], al
inc esi
mov byte [esi + edi], 0
jmp 0x1005308b
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x19], 1
je case.default.0x10052d19
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
mov edx, dword [eax - 4]
test edx, edx
je 0x100539f4
mov eax, dword [edx + 4]
test eax, eax
je 0x100539f4
mov edx, dword [edx]
push eax
call fcn.10053ee0
add esp, 4
xor esi, esi
xor eax, eax
jmp 0x1005308f
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x19], 1
je case.default.0x10052d19
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 0x10053a5e
call fcn.10053f30
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
inc edx
cmp edx, dword [ecx + 0x10]
jb 0x10053a4f
push 1
mov edx, 0x1014ac08
call fcn.10053ea0
add esp, 4
jmp 0x10053a5e
mov dword [ecx + 0xc], edx
mov ecx, dword [ecx + 8]
mov al, byte [0x1014ac08]
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.10053f30
xor esi, esi
xor eax, eax
jmp 0x1005308f
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 0x10053a80
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
add ecx, esi
cmp ecx, dword [eax + 0x10]
jb 0x10053ab3
push esi
mov edx, edi
mov ecx, eax
call fcn.10053ea0
add esp, 4
jmp 0x10053acc
test esi, esi
je 0x10053ad0
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 0x10053b6e
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, dword [esp + 0x18]
cdq
add esi, eax
adc ecx, edx
js 0x10053b11
jg 0x10053af6
mov eax, dword [esp + 0x24]
cmp esi, dword [eax + 0x10]
jb 0x10053b0d
mov esi, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [esp + 0x18]
call fcn.10053d40
mov edx, eax
test edx, edx
jle 0x10053b76
jmp 0x10053b20
mov esi, eax
jmp 0x10053b15
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 0x10053b20
jmp 0x10053b76
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0xc]
add ecx, esi
cmp ecx, dword [edx + 0x10]
jb 0x10053b55
push esi
mov esi, dword [esp + 0x28]
mov edx, edi
mov ecx, esi
call fcn.10053ea0
add esp, 4
jmp 0x10053b76
test esi, esi
je 0x10053b74
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 0x10053b76
mov esi, edx
mov edx, dword [esp + 0x44]
test edx, edx
je 0x10053c27
mov ecx, dword [esi]
test ecx, ecx
je 0x10053bc1
cmp dword [ecx + 0x1c8], 0
je 0x10053b9b
call fcn.10052130
jmp 0x10053c21
cmp edx, dword [ecx + 0x120]
jb 0x10053bc1
cmp edx, dword [ecx + 0x124]
jae 0x10053bc1
mov eax, dword [ecx + 0x11c]
mov dword [edx], eax
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], edx
jmp 0x10053c21
cmp dword [0x10165ce8], 0
je 0x10053c17
mov eax, dword [0x1016a548]
test eax, eax
je 0x10053be1
push eax
call dword [0x10165d40]
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call dword [0x10165d1c]
mov ecx, dword [esp + 0x48]
add esp, 4
sub dword [0x1016a580], eax
dec dword [0x1016a5a4]
push ecx
call dword [0x10165d14]
mov eax, dword [0x1016a548]
add esp, 4
test eax, eax
je 0x10053c21
push eax
call dword [0x10165d48]
jmp 0x10053c1e
push edx
call dword [0x10165d14]
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 0x10052a24
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.101176fb
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.101176fb
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
inc edx
cmp edx, dword [esi + 0x10]
jb 0x10053c9f
push 1
mov edx, 0x1014abf0
mov ecx, esi
call fcn.10053ea0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov al, byte [0x1014abf0]
mov byte [ecx + edx - 1], al
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101176fb
mov esp, ebp
pop ebp
ret